JP3041014B2 - Graphic output method - Google Patents

Graphic output method

Info

Publication number
JP3041014B2
JP3041014B2 JP2088009A JP8800990A JP3041014B2 JP 3041014 B2 JP3041014 B2 JP 3041014B2 JP 2088009 A JP2088009 A JP 2088009A JP 8800990 A JP8800990 A JP 8800990A JP 3041014 B2 JP3041014 B2 JP 3041014B2
Authority
JP
Japan
Prior art keywords
graphic
priority
graphic information
main
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2088009A
Other languages
Japanese (ja)
Other versions
JPH03286378A (en
Inventor
秀明 金近
靖忠 永野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2088009A priority Critical patent/JP3041014B2/en
Publication of JPH03286378A publication Critical patent/JPH03286378A/en
Application granted granted Critical
Publication of JP3041014B2 publication Critical patent/JP3041014B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、計算機システムを用いて、図形の形状や
位置などを示す図形情報を設定し、その図形情報に応じ
た図形を出力する図形出力方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention uses a computer system to set graphic information indicating the shape and position of a graphic and output a graphic corresponding to the graphic information. It is about the method.

[従来の技術] 第10図は従来のこの種の図形出力方式を示すブロック
図であり、図において、1は各図形の形状や位置などを
示す図形情報をディジタイザやタブレット等により設定
する図形情報設定手段、2は上記図形情報設定手段1で
設定された各図形情報をディスク装置や半導体メモリ等
に格納する図形情報格納手段、6は上記図形情報格納手
段2に格納された図形情報に応じた図形をディスプレイ
やプロッタ等に出力する出力手段である。
[Prior Art] FIG. 10 is a block diagram showing a conventional graphic output system of this kind. In the figure, reference numeral 1 denotes graphic information for setting graphic information indicating the shape and position of each graphic by a digitizer, a tablet, or the like. The setting means 2 is a graphic information storage means for storing each graphic information set by the graphic information setting means 1 in a disk device, a semiconductor memory or the like, and the reference numeral 6 is in accordance with the graphic information stored in the graphic information storage means 2. Output means for outputting a graphic to a display, a plotter or the like.

第11図は上記図形情報設定手段1から入力され図形情
報格納手段2に格納される図形情報例を示す図であり、
図形毎に、形状,サイズ,座標位置及び上書き優先度を
示す情報が図形情報として設定される。形状としては、
具体的には、形状を座標値で直接表わす場合と、文字コ
ードから文字フォントを発生するようにコードを与えて
形状データを生成する場合の2種がある。また、上書き
優先度とは、重なったときにどちらを上書きするかを決
めるための優先度である。この例では、図形#1は電柱
の記号、図形#2は電柱の名前を示す‘AB'、図形#3
は電柱の番号を示す‘123'であり、上書き優先度は図形
#1>図形#2>図形#3である。
FIG. 11 is a diagram showing an example of graphic information input from the graphic information setting means 1 and stored in the graphic information storage means 2;
Information indicating a shape, a size, a coordinate position, and an overwrite priority is set as graphic information for each graphic. As the shape,
Specifically, there are two types: a case where a shape is directly represented by coordinate values, and a case where shape data is generated by giving a code to generate a character font from a character code. In addition, the overwriting priority is a priority for determining which is overwritten when they are overlapped. In this example, figure # 1 is a utility pole symbol, figure # 2 is 'AB' indicating the name of a utility pole, and figure # 3
Is '123' indicating the number of a telephone pole, and the overwrite priority is graphic # 1> graphic # 2> graphic # 3.

次に動作について説明する。 Next, the operation will be described.

出力しようとする図形の図形情報は図形情報設定手段
1により設定される。これには、人手により対話形式で
計算機に入力していく方法と、プログラミングにより設
定する方法がある。設定した図形情報は、第11図に示す
ようなテーブルの形で図形情報格納手段2に格納され、
この情報に従ってディスプレイやプロッタ等の出力手段
6に図形が出力される。
The graphic information of the graphic to be output is set by the graphic information setting means 1. This includes a method of manually inputting information to the computer in an interactive manner and a method of setting by programming. The set graphic information is stored in the graphic information storage means 2 in the form of a table as shown in FIG.
In accordance with this information, a graphic is output to output means 6, such as a display or a plotter.

今、第11図に示すように、電柱の記号を示す図形#1
の配置位置は、位置が重要であるので(x1,y1)に置き
たいとし、この図形#1の付属情報である図形#2,図形
#3は図形#1の近くに配置すれば良いものとする。こ
のとき、図形同志が重なると見づらいので、図形#1に
重ならないように、人間がそれぞれの形状やサイズを考
慮して図形#2,図形#3の位置(x2,y2),(x3,y3)を
設定する。
Now, as shown in FIG. 11, FIG.
Since the position is important, it is desired to place it at (x 1 , y 1 ), and figure # 2 and figure # 3, which are the accessory information of figure # 1, may be placed near figure # 1. Shall be. At this time, since the hard to see the overlap figure comrades, so as not to overlap in the graphic # 1, human taking into account the respective shapes and sizes figure # 2, the position of figure # 3 (x 2, y 2 ), (x 3 , y 3 ) is set.

[発明が解決しようとする課題] 従来の図形出力方式は以上のようになされているの
で、上述したように、図形#1に対する付属情報である
図形#2,図形#3であっても、それらが出来るだけ重な
らないように、人間がそれぞれの形状やサイズを考慮し
て図形#2,図形#3の位置(x2,y2),(x3,y3)を設定
してやる必要があった。
[Problem to be Solved by the Invention] Since the conventional graphic output method is performed as described above, as described above, even if the graphic # 2 and the graphic # 3 are attached information to the graphic # 1, It was necessary for humans to set the positions (x 2 , y 2 ) and (x 3 , y 3 ) of figures # 2 and # 3 in consideration of their shapes and sizes so that they did not overlap as much as possible. .

また、一旦、第12図(a)のように図形#2,図形#3
を配置した後、それらの図形を変更すると、同図(b)
に示すように図形#1に重なってしまうので、その都
度,重ならないように配置位置を同図(c)に示す如く
修正しなければならなかった。
Also, once, as shown in FIG. 12 (a), FIG.
After arranging the figures, the figures are changed, as shown in FIG.
As shown in FIG. 5, the arrangement position has to be corrected as shown in FIG. 3C so as not to overlap the figure # 1 each time.

この発明は上記のような問題点を解決するためになさ
れたもので、主となる図形の付属情報である図形情報
は、配置位置を別途指定しなくとも付属先と同じにして
おけば自動的にその近くに配置され、また、図形情報が
修正されても人間が再配置を考えなくてもよい図形出力
方式を提供することを目的とする。
The present invention has been made in order to solve the above-described problems, and the graphic information, which is the auxiliary information of the main graphic, can be automatically set if the same as the attached destination without separately specifying the arrangement position. It is an object of the present invention to provide a graphic output system which is arranged near the object and which does not require a human to consider rearranging even if the graphic information is corrected.

[課題を解決するための手段] 本願発明に係る図形出力方式は、主となる図形に付属
する図形に対して主となる図形と同一の配置位置を設定
する図形情報設定手段と、主となる図形には高い配置優
先度を設定し、主となる図形に付属する図形には主とな
る図形よりも低い配置優先度を設定する配置優先度設定
手段と、この配置優先度設定手段で設定された優先度の
高い図形に重なる優先度の低い図形を優先度の高い図形
の近傍に再配置して対応する図形情報を作成する図形自
動配置手段と、この図形自動配置手段で作成された図形
情報に応じた図形を出力する出力手段とを備えたもので
ある。
[Means for Solving the Problems] A graphic output method according to the present invention comprises: a graphic information setting means for setting the same arrangement position as a main graphic with respect to a graphic attached to the main graphic; A layout priority setting means for setting a high layout priority to a figure and setting a lower layout priority to a figure attached to the main figure than the main figure, and the layout priority setting means. Automatic arrangement means for rearranging a low-priority graphic overlapping a high-priority graphic in the vicinity of a high-priority graphic to create corresponding graphic information, and graphic information created by the automatic graphic arrangement means And output means for outputting a figure corresponding to.

[作用] この発明においては、図形情報設定手段は主となる図
形に付属する図形に対して主となる図形と同一の配置位
置を設定する。これにより、主となる図形の位置を変更
した場合は必ず主となる図形と付属する図形との重なり
が生じる。このとき、主となる図形位置を基準にして付
属する図形に対して再配置を行うので、主となる図形に
対して付属する図形のずれが比較的に少ない良好な図形
出力が行われる。
[Operation] In the present invention, the graphic information setting means sets the same arrangement position as the main graphic with respect to the graphic attached to the main graphic. Thus, whenever the position of the main figure is changed, the main figure and the attached figure always overlap. At this time, since the rearrangement is performed on the attached figure with reference to the main figure position, a good figure output with a relatively small displacement of the attached figure with respect to the main figure is performed.

[実施例] 以下、この発明の一実施例を図について説明する。An embodiment of the present invention will be described below with reference to the drawings.

第1図はこの発明による図形出力方式を示すブロック
図であり、図において、1は図形の形状や位置などを示
す図形情報をディジタイザやタブレット等により設定す
る図形情報設定手段、2は上記図形情報設定手段1で設
定された各図形情報をディスク装置や半導体メモリ等に
格納する第一の図形情報格納手段、3は上記第一の図形
情報格納手段2に格納された各図形情報に対して配置優
先度をキーボード等により設定する配置優先度設定手
段、4は上記第一の図形情報格納手段2に格納された各
図形情報をそれぞれの配置優先度に従って優先度の高い
図形から優先的に配置していき、優先度の高い図形に重
なる優先度の低い図形は優先度の高い図形の近傍に再配
置した図形情報を作成する図形自動配置手段、5は上記
図形自動配置手段4により作成された図形情報をディス
ク装置や半導体メモリ等に格納する第二の図形情報格納
手段、6は上記第二の図形情報格納手段5に格納された
図形情報に応じた図形をディスプレイやプロッタ等に出
力する出力手段である。
FIG. 1 is a block diagram showing a graphic output system according to the present invention. In the figure, reference numeral 1 denotes graphic information setting means for setting graphic information indicating the shape and position of a graphic by a digitizer, a tablet, or the like; A first graphic information storage means for storing each graphic information set by the setting means 1 in a disk device, a semiconductor memory or the like, and a first graphic information storage means 3 is arranged for each graphic information stored in the first graphic information storage means 2. Arrangement priority setting means for setting the priority by using a keyboard or the like, and arranges each of the graphic information stored in the first graphic information storage means in accordance with the respective arrangement priority, from the graphic having the highest priority. The graphic automatic arrangement means for creating graphic information rearranged in the vicinity of the graphic with high priority for the graphic with low priority overlapping the graphic with high priority is assigned to the graphic automatic arrangement means 4. The second graphic information storage means 6 stores the generated graphic information in a disk device, a semiconductor memory, or the like. The second graphic information storage means 6 displays a graphic corresponding to the graphic information stored in the second graphic information storage means 5 on a display or a plotter. Output means.

次に動作について説明する。 Next, the operation will be described.

第2図は第一の図形情報格納手段2に格納されている
配置優先度設定後の図形情報例を示す図であり、配置優
先度設定手段3により設定される配置優先度は、主とな
る図形#1が最も高く、これに付属する図形#2,図形#
3はそれより低く設定されている(L1>L2>L3)。ま
た、付属する図形#2,図形#3の配置位置は主となる図
形1と同じ位置(x1,y1)に設定されている。
FIG. 2 is a diagram showing an example of the graphic information after setting the layout priority stored in the first graphic information storage means 2. The layout priority set by the layout priority setting means 3 is mainly. Figure # 1 is the highest, figure # 2 and figure # attached to it
3 is set lower (L 1 > L 2 > L 3 ). Further, accompanying figure # 2, the arrangement position of figure # 3 is set in the main become figure 1 the same position (x 1, y 1).

図形自動配置手段4では、配置優先度の高いものから
配置していく。今、優先度の高い順がL1(図形#1)>
L2(図形#2)>L3(図形#3)であるので、先ず、電
柱の記号である図形#1を(x1,y1)に配置する。次に
図形#2を(x1,y1)に配置しようとするが、ここには
図形#1が既に配置されており、重なりが生じてしまう
ことがわかる。
In the automatic figure arrangement means 4, the arrangement is performed in descending order of arrangement priority. Now, the order of priority is L 1 (Figure # 1)>
Since L 2 (figure # 2)> L 3 (figure # 3), first, figure # 1 which is a sign of a utility pole is placed at (x 1 , y 1 ). Next, an attempt is made to arrange the graphic # 2 at (x 1 , y 1 ). However, it can be seen that the graphic # 1 has already been arranged here and an overlap occurs.

この重なりを検出する手法の一実施例としては、例え
ば第3図に示すように、各図形#1,#2の外接長方形を
求めて、これらの外接長方形同志が重なっていないかど
うかを数学的にチェックすることにより実現される。
As an example of a method of detecting the overlap, as shown in FIG. 3, for example, as shown in FIG. 3, circumscribed rectangles of figures # 1 and # 2 are obtained, and it is mathematically determined whether or not these circumscribed rectangles overlap each other. Is realized by checking.

前記のように図形#2が図形#1に重なるのを検出し
たら、図形#2の配置位置を図形#1と重ならないその
近傍の位置(x1′,y1′)に修正する。
When it is detected that the graphic # 2 overlaps the graphic # 1 as described above, the arrangement position of the graphic # 2 is corrected to a position (x 1 ′, y 1 ′) near the graphic # 1 that does not overlap the graphic # 1.

この再配置する手法の一実施例としては、例えば第4
図に示すように、図形#2をそれぞれの外接長方形が重
ならないところで最も近いところに配置するが、この例
のような場合は一点鎖線上に(x1′,y1′)が置ける。
このように何ヵ所にも配置が可能なときは、予め右上か
ら右回りに置くなどのルールを決めておき、他の図形と
も重ならない位置に決める。
One example of this rearrangement method is, for example, the fourth method.
As shown in the figure, the figure # 2 is arranged at the closest place where the respective circumscribed rectangles do not overlap. In this case, (x 1 ′, y 1 ′) can be placed on the dashed line.
When it is possible to arrange in any number of places as described above, rules such as placing the figure from the upper right to the clockwise are determined in advance, and the position is determined so as not to overlap other figures.

図形#3を配置するのも上記と同様に行う。但し、今
度は重なりのチェックを図形#1,図形#2と行い、配置
可能な位置(x1″,y1″)を検出する必要がある。
The arrangement of figure # 3 is performed in the same manner as described above. However, now figure # 1 checks overlapping performs a figure # 2, deployable position (x 1 ", y 1" ) must be detected.

このようにして配置された各図形は、最終的に第5図
のようになる。このようにして配置位置が確定した各図
形情報は第二の図形情報格納手段5に格納されて出力手
段6から出力される。
Each figure thus arranged finally becomes as shown in FIG. Each piece of graphic information whose arrangement position has been determined in this way is stored in the second graphic information storage means 5 and output from the output means 6.

なお、重なる図形を主となる図形の近くに配置すると
き、最も近くにすると、第6図に示すように接触してし
まうことがあり、見にくくなる。そこで、ある距離dだ
け離して書きたいというときは、第7図に示すように、
既に配置されている図形の外接長方形の上下左右をdだ
け広げた外接長方形で重なりのチェックを行い、配置可
能な位置を検出するようにすればよい。
When arranging overlapping graphics near the main graphics, if they are located closest to each other, they may come into contact as shown in FIG. 6, making it difficult to see. So, if you want to write at a certain distance d, as shown in FIG.
The overlap may be checked with a circumscribed rectangle obtained by expanding the upper, lower, left, and right sides of the circumscribed rectangle of the already arranged figure by d to detect a position at which the figure can be arranged.

また、第8図(a)に示すように、例えば“線”など
で外接長方形がうまく取れない場合は、付属する図形が
離れた位置に配置される可能性があるが、これに対して
は、同図(b)に示すように複数の小さな矩形に分割し
て考えることにより上記のような不具合を防ぐことがで
きる。
Further, as shown in FIG. 8 (a), if the circumscribed rectangle cannot be properly obtained by, for example, a "line", the attached figure may be arranged at a distant position. By dividing into a plurality of small rectangles as shown in FIG.

また、配置優先度の同じ図形は、上書き優先度を見て
優先度の高い図形を上書きしていく。すなわち、第2図
の例で、L1=L2であったならば、P1>P2から第9図に示
すように図形#1が図形#2の上に上書きされる。
In addition, a figure having the same arrangement priority overwrites a figure having a higher priority by looking at the overwrite priority. That is, in the example of FIG. 2 , if L 1 = L 2 , the graphic # 1 is overwritten on the graphic # 2 from P 1 > P 2 as shown in FIG.

[発明の効果] 以上のように、この発明によれば、配置優先度設定手
段を備えるので、図形情報が修正されても人間が再配置
を考えなくてもよい。また、付属する図形に対して主と
なる図形と同一の配置位置を設定する図形情報設定手段
を備えているので、主となる図形の位置を変更した場合
は必ず主となる図形と付属する図形との重なりが生じ、
このとき、主となる図形位置を基準にして再配置を行う
ので、主となる図形に対して付属する図形のずれが比較
的に少ない良好な図形出力を行うことができるという効
果がある。
[Effect of the Invention] As described above, according to the present invention, since the arrangement priority setting means is provided, even if the graphic information is corrected, a human does not have to consider rearrangement. In addition, since there is provided a graphic information setting means for setting the same arrangement position as the main figure with respect to the attached figure, when the position of the main figure is changed, the main figure and the attached figure are always required. Overlap with
At this time, since the rearrangement is performed based on the position of the main figure, there is an effect that it is possible to output a good figure with a relatively small displacement of the figure attached to the main figure.

【図面の簡単な説明】[Brief description of the drawings]

第1図はこの発明による図形出力方式を示すブロック
図、第2図はこの発明における図形情報例を示す図、第
3図はこの発明における重なり検出の一実施例を示す
図、第4図はこの発明における再配置の一実施例を示す
図、第5図はこの発明による図形出力例を示す図、第6
図〜第9図はこの発明の他の実施例を示す図、第10図は
従来の図形出力方式を示すブロック図、第11図は従来例
における図形情報例を示す図、第12図は従来例の問題点
を説明するための図である。 1は図形情報設定手段、2は第一の図形情報格納手段、
3は配置優先度設定手段、4は図形自動配置手段、5は
第二の図形情報格納手段、6は出力手段。 なお、図中、同一符号は同一、又は相当部分を示す
FIG. 1 is a block diagram showing a graphic output system according to the present invention, FIG. 2 is a diagram showing an example of graphic information in the present invention, FIG. 3 is a diagram showing one embodiment of overlap detection in the present invention, and FIG. FIG. 5 is a diagram showing an embodiment of rearrangement according to the present invention. FIG. 5 is a diagram showing an example of graphic output according to the present invention.
9 are diagrams showing another embodiment of the present invention, FIG. 10 is a block diagram showing a conventional graphic output system, FIG. 11 is a diagram showing an example of conventional graphic information, and FIG. It is a figure for explaining a problem of an example. 1 is graphic information setting means, 2 is first graphic information storage means,
3 is an arrangement priority setting means, 4 is an automatic figure arrangement means, 5 is a second graphic information storage means, and 6 is an output means. In the drawings, the same reference numerals indicate the same or corresponding parts.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 G09B 29/00 - 29/14 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06T 1/00 G09B 29/00-29/14

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】主となる図形に付属する図形に対して主と
なる図形と同一の配置位置を設定する図形情報設定手段
と、主となる図形には高い配置優先度を設定し、主とな
る図形に付属する図形には主となる図形よりも低い配置
優先度を設定する配置優先度設定手段と、この配置優先
度設定手段で設定された優先度の高い図形に重なる優先
度の低い図形を優先度の高い図形の近傍に再配置して対
応する図形情報を作成する図形自動配置手段と、この図
形自動配置手段で作成された図形情報に応じた図形を出
力する出力手段とを備えたことを特徴とする図形出力方
式。
1. A figure information setting means for setting the same arrangement position as a main figure with respect to a figure attached to a main figure, and setting a high arrangement priority to the main figure, and A layout priority setting means for setting a layout priority lower than that of the main figure to a figure attached to a figure, and a low priority figure overlapping with the high priority figure set by the layout priority setting means Automatic arrangement means for rearranging a figure in the vicinity of a graphic having a high priority to create corresponding graphic information, and output means for outputting a figure corresponding to the graphic information created by the automatic figure arrangement means. A graphic output method characterized in that:
JP2088009A 1990-04-02 1990-04-02 Graphic output method Expired - Fee Related JP3041014B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2088009A JP3041014B2 (en) 1990-04-02 1990-04-02 Graphic output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2088009A JP3041014B2 (en) 1990-04-02 1990-04-02 Graphic output method

Publications (2)

Publication Number Publication Date
JPH03286378A JPH03286378A (en) 1991-12-17
JP3041014B2 true JP3041014B2 (en) 2000-05-15

Family

ID=13930825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2088009A Expired - Fee Related JP3041014B2 (en) 1990-04-02 1990-04-02 Graphic output method

Country Status (1)

Country Link
JP (1) JP3041014B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3569321B2 (en) * 1994-09-08 2004-09-22 エー・アイ・ソフト株式会社 Diagram creation device and diagram creation method
JP3718984B2 (en) * 1998-02-03 2005-11-24 ブラザー工業株式会社 Image editing apparatus, image editing method, and computer-readable recording medium recording image editing processing program
JP5426455B2 (en) * 2010-03-31 2014-02-26 株式会社ゼンリンデータコム Map image generating apparatus and program
JP5875897B2 (en) * 2012-03-05 2016-03-02 アズビル株式会社 Graphic screen creation device, graphic screen creation method, and graphic screen creation program

Also Published As

Publication number Publication date
JPH03286378A (en) 1991-12-17

Similar Documents

Publication Publication Date Title
JP3110837B2 (en) Map figure data management method
JP3041014B2 (en) Graphic output method
JP2916347B2 (en) Character string display method and apparatus and graphic information management system
JPH04204589A (en) Map display device
JPH0561405A (en) In-figure name display device
JP3054545B2 (en) Character / graphic editing method and apparatus
JPH0830666A (en) Method and device for arranging character string
JP3346597B2 (en) How to control windows
JPH0855214A (en) Map display control system
JP2781727B2 (en) Continuous display of map symbols
JP3012429B2 (en) Layout data creation device
JP2721364B2 (en) Diagram editing device
JP2986558B2 (en) Semiconductor device layout equipment
JPS61180283A (en) Word processor
JPH077404B2 (en) Document processor
JPH0462669A (en) Data display device
JP3028543B2 (en) Shape redisplay method
JPH03211675A (en) Cad drawing display system
JPS58146982A (en) Device for editing document
JPS62108285A (en) Layout display system for document generator
JPH05333847A (en) System for processing image data display
JPS6050588A (en) Layout indication system
JPH0273454A (en) Document processor
JPH06117869A (en) Additional information displaying method of map information system
JPH06324795A (en) Display picture selection method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees