JP2720586B2 - Figure editing device - Google Patents
Figure editing deviceInfo
- Publication number
- JP2720586B2 JP2720586B2 JP2199464A JP19946490A JP2720586B2 JP 2720586 B2 JP2720586 B2 JP 2720586B2 JP 2199464 A JP2199464 A JP 2199464A JP 19946490 A JP19946490 A JP 19946490A JP 2720586 B2 JP2720586 B2 JP 2720586B2
- Authority
- JP
- Japan
- Prior art keywords
- graphic
- information
- information storage
- display unit
- relation
- 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 - Lifetime
Links
- 230000002452 interceptive effect Effects 0.000 description 8
- 238000000034 method Methods 0.000 description 7
- 230000014509 gene expression Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000010923 batch production Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は図形を表示する機能を有する対話型計算機シ
ステムに関し、特に表示される図形を編集するための図
形編集装置に関する。Description: BACKGROUND OF THE INVENTION The present invention relates to an interactive computer system having a function of displaying a graphic, and more particularly to a graphic editing apparatus for editing a displayed graphic.
[従来の技術] 近年において、各種業務を対話形式で遂行する対話形
計算機システムが広く使用されている。この対話形計算
機システムはパーソナルコンピュータ、ワークシテーシ
ョン等を利用して構成され、データを記憶するとともに
必要な処理を行う中央処理装置、処理結果を表示画面に
表示する表示装置、データ処理に必要なデータや命令等
を入力するキーボードおよびマウス(ポインティング入
力装置)、必要に応じてデータのハードコピーを出力す
る印字装置、データを保持する外部記憶装置等を備え
る。このような対話形データシステムにおいてはキーボ
ードあるいはマウスによって必要な指示を行うと、この
指示に対する応答が表示装置画面の表示に直ちに反映さ
れ、この応答に対して新たな指示を次々に繰返して行う
ことにより、利用者が求めようとしている処理結果が得
られる。[Related Art] In recent years, an interactive computer system that performs various tasks in an interactive manner has been widely used. This interactive computer system is configured using a personal computer, work station, etc., and stores a data and a central processing unit which performs necessary processing, a display device which displays a processing result on a display screen, data necessary for data processing. A keyboard and a mouse (pointing input device) for inputting commands and instructions, a printing device for outputting a hard copy of data as required, an external storage device for holding data, and the like. In such an interactive data system, when a necessary instruction is given by a keyboard or a mouse, a response to this instruction is immediately reflected on the display of the display device screen, and new instructions are repeatedly and repeatedly given to this response. As a result, the processing result that the user seeks is obtained.
このような対話型計算機システムには表示画面に図形
を表示する機能を有するものがあり、種々の図形を所望
の位置に所望の大きさで表示することができる。また、
表示画面上に複数の図形を表示し、これらの図形を編集
するに際しては該各図形を1つのグループとして扱い、
このグループを対象とする指示を入力すれば、該グルー
プに属する各図形が一括して処理されるというものがあ
る。Some of such interactive computer systems have a function of displaying graphics on a display screen, and can display various graphics at desired positions in desired sizes. Also,
A plurality of figures are displayed on the display screen, and when these figures are edited, each figure is treated as one group,
In some cases, when an instruction for this group is input, each figure belonging to the group is processed collectively.
例えば表示画面上に表示されている複数の図形を移動
もしくは拡大縮小しようとする場合は、これらの図形を
1つのグループとして扱い、このグループに対して移動
もしくは拡大縮小を指示すると、該各図形は一括して移
動もしくは拡大される。For example, when moving or enlarging or reducing a plurality of graphics displayed on the display screen, these graphics are treated as one group, and when the movement or enlargement / reduction is instructed for this group, each of the graphics becomes It is moved or enlarged at once.
このようにグループで処理を施すようにすれば、複数
の図形毎に逐一処理を施す必要がないので、処理のため
の操作を簡略化することができ、操作漏れおよび操作ミ
ス等を防止することができる。If the processing is performed in a group as described above, it is not necessary to perform the processing for each of a plurality of figures, so that the operation for the processing can be simplified, and the operation omission and operation error can be prevented. Can be.
しかしながら、このようなグループ単位で行われる一
括処理システム側で予め用意されたものであり、複数種
の一括処理が用意されていれば、これらの処理のうちか
らいずれかを選択することができるものの、該各処理の
うちに所望の処理が含まれていなければ、結局のところ
複数の図形毎にそれぞれの処理を繰返さなくてはならな
かった。However, such a batch processing system performed in units of groups is prepared in advance, and if a plurality of types of batch processing are prepared, any one of these processes can be selected. If the desired process is not included in each of the processes, the respective processes must be repeated for each of the plurality of figures.
例えば表示画面上に第6図に示すような複数の図形R
1,R2,R3,R4が表示されており、これらの図形を1つのグ
ループとして扱って幅方向に拡大するとともに高さ方法
で縮小すると、第7図に示すような各図形R′1,R′2,
R′3,R′4を得ることができるが、このときに各図形
R′2,R′4の幅を変化させず元の各図形R2,R4の幅と同
一にしたかったとしたならば、その一括処理は適当であ
るとはいえない。この場合、先の一括処理を施した後
に、各図形R′2,R′4の幅が各図形R2,R4の幅と同一と
なるように各図形R′2,R′4について幅方向で縮小処
理をそれぞれ施すか、または最初から各図形R1,R2,R3,R
4毎に高さ方向の縮小処理および幅方向の拡大処理をそ
れぞれ行う必要を生じ、グループ単位での一括処理を充
分に利用することはできない。For example, a plurality of graphics R as shown in FIG.
1, R2, R3, and R4 are displayed. When these figures are treated as one group and enlarged in the width direction and reduced by the height method, each figure R'1, R as shown in FIG. ′ 2,
R'3, R'4 can be obtained. At this time, if it is desired that the width of each figure R'2, R'4 is not changed and the width of each figure R2, R4 is the same, The batch processing is not appropriate. In this case, after performing the above collective processing, in the width direction of each of the figures R'2, R'4, the width of each of the figures R'2, R'4 is equal to the width of each of the figures R2, R4. Perform each reduction process, or from the beginning each figure R1, R2, R3, R
It becomes necessary to perform reduction processing in the height direction and enlargement processing in the width direction for each of the four steps, and it is not possible to make full use of batch processing in group units.
[発明が解決しようとする課題] このように従来の対話型計算機システムでは複数の図
形をグループとして扱い、このグループ単位で一括処理
を施す場合、その処理は該システム側で予め準備された
汎用のものであるため、必ずしも所望の処理を施すこと
はできず、グループ単位での処理に自在性を欠いてい
た。このような傾向はグループに属する図形の数が多く
なる程、また多様な一括処理が望まれる程に問題となっ
ていた。[Problems to be Solved by the Invention] As described above, in the conventional interactive computer system, when a plurality of figures are treated as a group and collective processing is performed for each group, the processing is performed by a general-purpose program prepared in advance in the system. Therefore, it is not always possible to perform desired processing, and processing in a group unit lacks flexibility. This tendency has become a problem as the number of figures belonging to the group increases and various batch processes are desired.
そこで、本発明と複数の図形を含むグループに対して
多様な一括処理を施すことが可能な図形編集装置を提供
することを目的とする。Accordingly, it is an object of the present invention to provide a graphic editing apparatus capable of performing various collective processing on a group including a plurality of graphics.
[課題を解決するための手段] 本発明は、少なくとも第1の図形及び第2の図形を表
示部に表示し、該表示部に表示した第1の図形又は第2
の図形を操作部の操作によって編集する図形編集装置に
おいて、前記第1の図形及び第2の図形の図形情報を記
憶する図形情報記憶手段と、前記第2の図形を形成する
図形要素のうちの所定の図形要素を前記第1の図形を形
成する図形要素のうちの所定の図形要素との相対関係で
記述した関係情報を記憶する関係情報記憶手段と、前記
表示部に表示した第1の図形が前記操作部の操作によっ
て編集されたならば、前記関係情報記憶手段に記憶した
関係情報に基づいて、前記表示部に表示した第2の図形
及び前記図形情報記憶手段に記憶した第2の図形の図形
情報を更新する更新手段とを具備することを特徴とす
る。Means for Solving the Problems According to the present invention, at least a first graphic and a second graphic are displayed on a display unit, and the first graphic or the second graphic displayed on the display unit is displayed.
In a graphic editing apparatus for editing a graphic by operating an operation unit, a graphic information storage unit for storing graphic information of the first graphic and the second graphic, and a graphic element of the graphic element forming the second graphic Relation information storage means for storing relation information describing a predetermined graphic element in a relative relationship with a predetermined graphic element among graphic elements forming the first graphic, and a first graphic displayed on the display unit Is edited by the operation of the operation unit, the second graphic displayed on the display unit and the second graphic stored in the graphic information storage based on the relation information stored in the relation information storage. And updating means for updating the graphic information.
また、本発明は、前記関係情報記憶手段は、前記第2
の図形を形成する図形要素のうちの所定の図形要素の座
標位置、サイズ又は色を、前記第1の図形を形成する図
形要素のうちの所定の図形要素の座標位置、サイズ又は
色を基準とした従属関係で記述した関係情報を記憶する
ことを特徴とする。Further, in the invention, it is preferable that the relation information storage means includes the second information storage means.
The coordinate position, size, or color of a predetermined graphic element of the graphic elements forming the first graphic is determined based on the coordinate position, size, or color of the predetermined graphic element of the graphic elements forming the first graphic. And storing relationship information described in the dependent relationship.
また、本発明は、それぞれ複数の図形要素からなる複
数の図形を表示部に表示し、該表示部に表示した複数の
図形を操作部による一括操作によって編集する図形編集
装置において、前記複数の図形の図形情報を記憶する図
形情報記憶手段と、各図形を形成する図形要素のうちの
所定の図形要素を他の図形を形成する図形要素のうちの
所定の図形要素との相対関係で記述した関係情報を記憶
する関係情報記憶手段と、前記表示部に表示した複数の
図形が操作部によって一括操作されたならば、前記関係
情報記憶手段に記憶した図形要素間の相対関係を維持し
つつ、前記表示部に表示した複数の図形及び前記図形情
報記憶手段に記憶した図形情報を更新する更新手段とを
具備することを特徴とする。The present invention also provides a graphic editing apparatus which displays a plurality of figures each including a plurality of figure elements on a display unit and edits the plurality of figures displayed on the display unit by batch operation by an operation unit. A graphic information storage means for storing graphic information of a graphic element, and a relation in which a predetermined graphic element of graphic elements forming each graphic is described in a relative relationship with a predetermined graphic element of graphic elements forming another graphic A relational information storage unit for storing information, and if a plurality of figures displayed on the display unit are collectively operated by an operation unit, while maintaining a relative relation between the graphic elements stored in the relational information storage unit, Updating means for updating the plurality of figures displayed on the display unit and the figure information stored in the figure information storage means is provided.
[作用] 本発明によれば、別個独立に存在する異なる第1及び
第2の図形の図形要素相互間の相対関係を関係情報とし
て規定し、第1の図形が編集されたならば関係情報に基
づいて第2の図形の図形情報及び表示内容を更新するた
め、第2の図形との所望の整合性を維持しつつ、第1の
図形を自在に編集することができる。[Operation] According to the present invention, the relative relationship between the graphic elements of the different first and second graphics which exist independently and independently is defined as the relationship information, and if the first graphic is edited, the relationship information is defined. Since the graphic information and display content of the second graphic are updated based on the first graphic, the first graphic can be edited freely while maintaining the desired consistency with the second graphic.
また、本発明によれば、複数の図形をそれぞれ形成す
る図形要素相互間の相対関係を関係情報として規定し、
例えば拡大操作等の一括操作が当該図形になされたなら
ば、関係情報に規定された図形要素間の相対関係を維持
しつつ、複数の図形の図形情報及び表示内容を更新する
ため、図形要素間の所望の整合性を維持しつつ、図形を
一括操作することができる。Further, according to the present invention, a relative relationship between graphic elements respectively forming a plurality of graphics is defined as relation information,
For example, if a collective operation such as an enlargement operation is performed on the graphic, the graphic information and display contents of the plurality of graphics are updated while maintaining the relative relationship between the graphic elements specified in the relationship information. Can be operated collectively while maintaining the desired consistency.
[実施例] 以下、本発明の実施例を添付図面を参照して詳細に説
明する。Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
第1図は本発明に係わる図形編集装置の一実施例を示
すブロック図であり、この実施例の装置は対話型計算機
システムに適用される。すなわち、同図における図形表
示手段1はCRT等の表示装置に該当し、命令入力手段2
はキーボード、マウス等に該当し、図形情報記憶手段3
および関係情報記憶手段4は中央処理装置に付設の記憶
装置、外部記憶装置等に該当し、命令解析手段5および
関係計算手段6は中央処理装置に該当する。FIG. 1 is a block diagram showing an embodiment of a graphic editing apparatus according to the present invention. The apparatus of this embodiment is applied to an interactive computer system. That is, the graphic display means 1 in the figure corresponds to a display device such as a CRT, and the command input means 2
Corresponds to a keyboard, a mouse, and the like;
The relation information storage means 4 corresponds to a storage device or an external storage device attached to the central processing unit, and the instruction analysis means 5 and the relation calculation means 6 correspond to the central processing unit.
命令入力手段2は図形の作成、編集のための各種のデ
ータおよび命令を入力したり、1つのグループに属する
複数の図形間の相互関係を入力するためのものである。
命令入力手段2から入力された図形の作成、編集のため
のデータおよび命令は命令解析手段5に伝送され、ここ
で解析されて、その解析結果である図形情報が図形情報
記憶手段3に記憶される。同様に、命令入力手段2から
入力された1つのグループに属する複数の図形間の相互
関係は命令解析手段5に伝送され、ここで解析されて、
その解析結果である関係情報が関係情報記憶手段4に記
憶される。The command input means 2 is for inputting various data and commands for creating and editing graphics, and for inputting a mutual relationship between a plurality of graphics belonging to one group.
The data and instructions for creating and editing the graphic input from the instruction input means 2 are transmitted to the instruction analyzing means 5, where they are analyzed and the graphic information as the analysis result is stored in the graphic information storage means 3. You. Similarly, the interrelationship between a plurality of figures belonging to one group input from the command input means 2 is transmitted to the command analysis means 5, where it is analyzed and
The related information as the analysis result is stored in the related information storage unit 4.
図形表示手段1は図形情報記憶手段3内の図形情報に
よって示される図形を表示するものであり、例えば第2
図に示すような4つの図形R1,R2,R3R4を表示する。The graphic display means 1 displays a graphic indicated by the graphic information in the graphic information storage means 3, for example, a second
The four figures R1, R2, R3R4 as shown in the figure are displayed.
いま、これらの図形R1,R2,R3,R4が1つのグループと
して扱われているものとすれば、該各図形の相互関係を
命令入力手段2から入力することができる。Now, assuming that these figures R1, R2, R3, R4 are treated as one group, the mutual relationship between the figures can be input from the command input means 2.
ここで、第2図に示す表示画面の左上隅を原点とし、
水平方向をx軸、垂直方向をy軸とする座標系を設定す
る。また、図形R1の幅、高さ,左側辺のx軸方向の位置
および上側辺のy軸方向の位置をR1.width,R1.height,R
1.leftおよびR1.topにそれぞれ設定し、図形R2の幅、高
さ,左側辺のx軸方向の位置および上側辺のy軸方向の
位置をR2.width,R2.height,R2.leftおよびR2.topにそれ
ぞれ設定し、図形R3の幅、高さ,左側辺のx軸方向の位
置および上側辺のy軸方向の位置をR3.width,R3.heigh
t,R3.leftおよびR3.topにそれぞれ設定し、図形R4の
幅、高さ,左側辺のx軸方向の位置および上側辺のy軸
方向の位置をR4.width,R4.height,R4.leftおよびR4.top
にそれぞれ設定する。Here, the upper left corner of the display screen shown in FIG.
A coordinate system is set with the horizontal direction as the x axis and the vertical direction as the y axis. Also, the width and height of the figure R1, the position of the left side in the x-axis direction, and the position of the upper side in the y-axis direction are represented by R1.width, R1.height, R
1. Left and R1.top are set respectively, and the width and height of the figure R2, the position of the left side in the x-axis direction and the position of the upper side in the y-axis direction are R2.width, R2.height, R2.left and Set R2.top as the width and height of figure R3, and set the position of the left side in the x-axis direction and the position of the upper side in the y-axis direction as R3.width, R3.heigh
t, R3.left and R3.top are set respectively, and the width and height of the figure R4, the position of the left side in the x-axis direction, and the position of the upper side in the y-axis direction are R4.width, R4.height, and R4. left and R4.top
Set to each.
このような場合、1つのグループに属する各図形R1,R
2,R3,R4間の相互関係として次のような各式を命令入力
手段2から入力することができる。In such a case, each figure R1, R belonging to one group
The following equations can be input from the instruction input means 2 as a mutual relationship between 2, R3 and R4.
R2.left=R1.left+R1.width …(1) R2.top=R1.top …(2) R2.height=R1.height …(3) R3.left=R1.left …(4) R3.top=R1.top+R1.height …(5) R3.height=R1.height/2 …(6) R4.top=R3.top …(7) R4.left=R2.left …(8) R4.width=R2.width …(9) R4.height=R3.height …(10) 上式(1)は図形R1の左側辺の位置に図形R1の幅を加
えると図形R2の左側辺の位置になることを表している。
上式(2)は図形R1の上側辺の位置と図形R2の上側辺の
位置とが同一であることを表している。上式(3)は図
形R1の高さと図形R2の高さが同一であることを表してい
る。上式(4)は図形R1の左側辺の位置と図形R3の左側
辺の位置とが同一であることを表している。上式(5)
は図形R1の上側辺の位置に図形R1の高さを加えると図形
R3の上側辺の位置になることを表している。上式(6)
は図形R1の高さの1/2が図形R3の高さになることを表し
ている。上式(7)は図形R3の上側辺の位置と図形R4の
上側辺の位置とが同一であることを表している。上式
(8)は図形R2の左側辺の位置と図形R4の左側辺の位置
とが同一であることを表している。上式(9)は図形R2
の幅と図形R4の幅とが同一であることを表している。上
式(10)は図形R3の高さと図形R4の高さとが同一である
ことを表している。R2.left = R1.left + R1.width ... (1) R2.top = R1.top ... (2) R2.height = R1.height ... (3) R3.left = R1.left ... (4) R3.top = R1.top + R1.height ... (5) R3.height = R1.height / 2 ... (6) R4.top = R3.top ... (7) R4.left = R2.left ... (8) R4.width = R2. width ... (9) R4.height = R3.height ... (10) The above equation (1) expresses that adding the width of figure R1 to the position of the left side of figure R1 results in the position of the left side of figure R2. I have.
The above equation (2) indicates that the position of the upper side of the graphic R1 is the same as the position of the upper side of the graphic R2. The above equation (3) indicates that the height of the graphic R1 is the same as the height of the graphic R2. The above equation (4) indicates that the position of the left side of the figure R1 is the same as the position of the left side of the figure R3. Equation (5) above
Is the shape of figure R1 by adding the height of figure R1 to the upper side of figure R1.
This indicates that the position is on the upper side of R3. Equation (6) above
Indicates that half the height of the figure R1 is the height of the figure R3. The above equation (7) indicates that the position of the upper side of the graphic R3 is the same as the position of the upper side of the graphic R4. The above equation (8) indicates that the position of the left side of the graphic R2 is the same as the position of the left side of the graphic R4. The above equation (9) is for figure R2
And the width of the graphic R4 are the same. The above equation (10) indicates that the height of the graphic R3 is the same as the height of the graphic R4.
こうして1つのグループに属する各図形R1,R2,R3,R4
間の相互関係、つまり上記各式を命令入力手段2から入
力すると、これらの式が命令解析手段5で解析され、関
係情報として関係情報記憶手段4に記憶される。Thus, each figure R1, R2, R3, R4 belonging to one group
When the interrelationships between the expressions, that is, the above expressions are input from the instruction input means 2, these expressions are analyzed by the instruction analysis means 5 and stored in the relation information storage means 4 as relation information.
さて、各図形R1,R2,R3,R4は関係情報記憶手段4内の
関係情報を満たす表示態様で図形表示手段1の表示画面
上に表示されており、図形R1の幅および高さが値a1およ
び値b1であるとする。ここで、例えば図形R1の幅および
高さとして第3図に示すような新たな値a2および値b2を
命令入力手段2からそれぞれ入力したとすると、これら
の値は命令解析手段5を介して図形情報記憶手段3に記
憶され、これにより図形R1の図形情報が更新される。Now, each of the figures R1, R2, R3, R4 is displayed on the display screen of the figure display means 1 in a display mode satisfying the relation information in the relation information storage means 4, and the width and height of the figure R1 are represented by the value a1. And the value b1. Here, for example, assuming that new values a2 and b2 as shown in FIG. 3 are input from the instruction input means 2 as the width and height of the graphic R1, these values are input to the graphic The information is stored in the information storage means 3, and the graphic information of the graphic R1 is thereby updated.
このとき、関係計算手段6は1つのグループに属する
各図形のうちの1つの図形が偏向されたことから該グル
ープに属する各図形R1,R2,R3,R4を示すそれぞれの図形
情報を図形情報記憶手段3から全て読出すとともに、該
グループの関係情報を関係情報記憶手段4から読出す。
そして、関係計算手段6は各図形情報によって示される
各図形が関係情報によって示される相互関係を保つよう
に該各図形情報を訂正し、訂正した各図形情報を図形情
報記憶手段3に記憶することにより記憶内容を更新す
る。At this time, since one of the figures belonging to one group is deflected, the relation calculating means 6 stores the respective figure information indicating the figures R1, R2, R3, R4 belonging to the group in the form of graphic information. All the information is read from the means 3 and the related information of the group is read from the related information storage means 4.
Then, the relation calculating means 6 corrects each graphic information so that each graphic indicated by each graphic information maintains the mutual relation indicated by the relevant information, and stores the corrected graphic information in the graphic information storage means 3. To update the stored contents.
すなわち、図形R1の新たな幅b2を上記(1)式に代入
することにより図形R2の左側辺の位置が求められ、図形
R1の新たな高さ2を上式(3)に代入することにより図
形R2の高さが求められ、図形R1の新たな高さa2が上記
(5)式に代入されることにより図形R3の上側辺の位置
が求められ、図形R1の新たな高さa2が上記(6)式に代
入されることにより図形R3の高さが求められ、先に求め
られた上式(5)の結果を上式(7)に代入することに
より図形R4の上側辺の位置が求められ、先に求められた
上式(1)の結果を上式(8)に代入することにより図
形R4の左側位置が求められ、先に求められた上記(6)
式の結果を上記(10)式に代入することにより図形R4の
高さが求められる。なお、各上式(2),(4),
(9)は演算の対象にならない。That is, by substituting the new width b2 of the graphic R1 into the above equation (1), the position of the left side of the graphic R2 is obtained.
By substituting the new height 2 of R1 into the above equation (3), the height of the figure R2 is obtained. By substituting the new height a2 of the figure R1 into the above equation (5), the figure R3 is obtained. The position of the upper side is obtained, and the new height a2 of the figure R1 is substituted into the above equation (6) to obtain the height of the figure R3. By substituting into the above equation (7), the position of the upper side of the figure R4 is obtained. By substituting the result of the above equation (1) into the above equation (8), the left side position of the figure R4 is obtained. The above-mentioned (6) which was obtained and previously obtained
By substituting the result of the expression into the above expression (10), the height of the graphic R4 is obtained. Note that the above equations (2), (4),
(9) is not a target of operation.
このような演算により図形情報記憶手段3内の各図形
情報が更新され、この結果として図形表示手段1の表示
画面には第4図に示すような図形が表示されることとな
る。ここでは各図形R1,R2,R3,R4の高さがそれぞれ縮小
されるとともに、各図形R1,R3の幅がそれぞれ拡大さ
れ、また各図形R2,R4の幅が変更されていない。By such an operation, each graphic information in the graphic information storage means 3 is updated, and as a result, a graphic as shown in FIG. 4 is displayed on the display screen of the graphic display means 1. Here, the height of each of the figures R1, R2, R3, and R4 is reduced, the width of each of the figures R1, R3 is enlarged, and the width of each of the figures R2, R4 is not changed.
次に、第4図に示すように図形R4の上側辺の位置およ
び左側辺の位置がそれぞれy1およびx1であって、例えば
図形R4の上側辺の位置および左側辺の位置として新たな
位置y2および位置x2を命令入力手段2からそれぞれ入力
したとすると、これらの位置は命令解析手段5を介して
図形情報記憶手段3に記憶され、これにより図形R4の図
形情報が更新される。そして、先に述べた各図形の形状
変更のときと同様に、関係計算手段6は各図形R1,R2,R
3,R4の図形情報を図形情報記憶手段3から全て読出すと
ともに、関係情報を関係情報記憶手段4から読出し、そ
れぞれの図形情報によって示される各図形が関係情報に
よって示される相互関係を保つように該各図形情報を更
新する。この場合、図形R4の位置y2および位置x2を各上
式(7)および(8)にそれぞれ代入することにより図
形R3の上側辺の位置および図形R2の左側辺の位置がそれ
ぞれ求められ、先に求められた図形R3の上側辺の位置を
上式(5)に代入することにより図形R1の上側辺の位置
が求められ、先に求められた図形R2の左側辺の位置を上
式(1)に代入することにより図形R1の左側辺の位置が
求められ、先に求められたR1の上側辺の位置を上式
(2)に代入することにより図形R2の上側辺の位置が求
められ、先に求められた図形R1の左側辺の位置を上式
(4)に代入することにより図形R3の左側辺の位置が求
められる。このような演算により各図形情報が更新され
ると、図形表示手段1の表示画面上で第5図に示すよう
に各図形R1,R2,R3,R4が移動することとなる。Next, as shown in FIG. 4, the position of the upper side and the position of the left side of the figure R4 are y1 and x1, respectively. For example, new positions y2 and Assuming that the position x2 is input from the instruction input means 2, these positions are stored in the graphic information storage means 3 via the instruction analysis means 5, whereby the graphic information of the graphic R4 is updated. Then, similarly to the case of changing the shape of each figure described above, the relation calculating means 6 sets each figure R1, R2, R
The graphic information of R3 and R4 are all read out from the graphic information storage means 3, and the related information is read out from the related information storage means 4 so that each graphic represented by the respective graphic information maintains the mutual relation indicated by the relevant information. The graphic information is updated. In this case, the position of the upper side of the figure R3 and the position of the left side of the figure R2 are obtained by substituting the position y2 and the position x2 of the figure R4 into the above equations (7) and (8), respectively. The position of the upper side of the figure R1 is obtained by substituting the obtained position of the upper side of the figure R3 into the above equation (5), and the position of the left side of the figure R2 obtained earlier is calculated by the above equation (1). , The position of the left side of the figure R1 is obtained, and the position of the upper side of the figure R1 obtained above is substituted into the above equation (2) to obtain the position of the upper side of the figure R2. By substituting the position of the left side of the figure R1 obtained in the above into the above equation (4), the position of the left side of the figure R3 is obtained. When each graphic information is updated by such a calculation, each graphic R1, R2, R3, R4 moves on the display screen of the graphic display means 1 as shown in FIG.
このように本実施例では各図形の相互関係を示す関係
情報を命令入力手段から入力して関係情報記憶手段に記
憶し、記憶された関係情報に基づいて関係計算手段によ
り図形情報を更新するようにしているので、所望の関係
情報を入力すれば、各図形を自在に一括処理することが
できる。As described above, in the present embodiment, the relation information indicating the mutual relation of each figure is input from the command input means, stored in the relation information storage means, and the figure information is updated by the relation calculation means based on the stored relation information. Therefore, if desired relationship information is input, each figure can be freely processed collectively.
なお、上記実施例では1つのグループに属する複数の
図形をそれらの形状、大きさ並びに位置について一括し
て偏向するという処理を述べているが、この様な処理に
のみ限定されるものでない。例えば各図形の色を一括し
て偏向するという処理も可能であり、第2図に示した各
図形R1,R4が同色であるとともに各図形R2,R3が同色であ
り、かつ図形R1が赤であれば図形R2が青、図形R1が青で
あれば図形R2が黄というような相互関係を設定した場
合、図形R1の色として赤または青のうちのいずれかを指
定すれば、他の各図形R2,R3,R4の色も同時に指定したこ
ととなる。In the above-described embodiment, the process of deflecting a plurality of figures belonging to one group collectively with respect to their shape, size and position is described. However, the present invention is not limited to such a process. For example, it is also possible to deflect the color of each figure collectively, and each figure R1, R4 shown in FIG. 2 is the same color, each figure R2, R3 is the same color, and figure R1 is red. If there is a mutual relationship such that the figure R2 is blue if the figure R1 is blue and the figure R2 is yellow if the figure R1 is blue, if either the red or blue is specified as the color of the figure R1, each other figure This means that the colors of R2, R3, and R4 are also specified at the same time.
[発明の効果] 以上説明したように、本発明では、第2の図形をなす
所定の図形要素を第1の図形をなす所定の図形要素との
相対関係で記述した関係情報を関係情報記憶手段に記憶
しておき、表示部に表示した第1の図形が操作部の操作
によって編集されたならば、関係情報記憶手段に記憶し
た関係情報に基づいて第2の図形の図形情報及び表示内
容を更新するよう構成したので、下記に示す効果が得ら
れる。[Effects of the Invention] As described above, in the present invention, the relation information in which the predetermined graphic element forming the second graphic is described in a relative relation with the predetermined graphic element forming the first graphic is stored in the relation information storage means. When the first graphic displayed on the display unit is edited by the operation of the operation unit, the graphic information and the display content of the second graphic are displayed based on the relation information stored in the relation information storage unit. Since the configuration is made to update, the following effects can be obtained.
1)第2の図形との所望の整合性を維持しつつ、第1の
図形を自在に編集することが可能となる。1) It is possible to freely edit the first graphic while maintaining desired consistency with the second graphic.
2)異なる複数の図形に対して多様な一括処理を効率良
く施すことが可能となる。2) Various collective processing can be efficiently performed on a plurality of different graphics.
3)異なる複数の図形をグループ化して結合図形としな
くとも、かかる複数の図形を一括して処理することが可
能となる。3) Even if a plurality of different figures are not grouped into a combined figure, the plurality of figures can be collectively processed.
また、本発明では、複数の図形をそれぞれ形成する図
形要素間の相互関係を示す関係情報を関係情報記憶手段
に記憶しておき、表示部に表示した複数の図形が操作部
によって一括操作されたならば、関係情報記憶手段に記
憶した図形要素間の相対関係を維持しつつ、表示部に表
示した複数の図形の図形情報及び表示内容を更新するよ
う構成したので、所望の図形要素間の相対関係を維持し
つつ、複数の図形全体に対する一括処理を行うことが可
能となる。Further, in the present invention, relation information indicating a mutual relation between graphic elements respectively forming a plurality of figures is stored in the relation information storage means, and the plurality of figures displayed on the display unit are collectively operated by the operation unit. Then, since the graphic information and display contents of the plurality of graphics displayed on the display unit are updated while maintaining the relative relationship between the graphic elements stored in the relation information storage means, the relative relationship between the desired graphic elements is maintained. It is possible to perform collective processing on a plurality of graphics as a whole while maintaining the relationship.
第1図は本発明に係わる図形編集装置の一実施例を示す
ブロック図、第2図、第3図、第4図および第5図は本
実施例における表示状態並びに動作を説明するために用
いられた図、第6図および第7図は複数の図形に対する
従来の一括処理を例示する図である。 1…図形表示手段、2…命令入力手段、3…図形情報記
憶手段、4…関係情報記憶手段、5…命令解析手段、6
…関係計算手段。FIG. 1 is a block diagram showing an embodiment of a graphic editing apparatus according to the present invention, and FIGS. 2, 3, 4, and 5 are used to explain the display state and operation in this embodiment. FIG. 6, FIG. 6 and FIG. 7 are diagrams illustrating a conventional batch processing for a plurality of figures. DESCRIPTION OF SYMBOLS 1 ... Graphic display means, 2 ... Instruction input means, 3 ... Graphic information storage means, 4 ... Relation information storage means, 5 ... Instruction analysis means, 6
... Relation calculation means.
Claims (3)
示部に表示し、該表示部に表示した第1の図形又は第2
の図形を操作部の操作によって編集する図形編集装置に
おいて、 前記第1の図形及び第2の図形の図形情報を記憶する図
形情報記憶手段と、 前記第2の図形を形成する図形要素のうちの所定の図形
要素を前記第1の図形を形成する図形要素のうちの所定
の図形要素との相対関係で記述した関係情報を記憶する
関係情報記憶手段と、 前記表示部に表示した第1の図形が前記操作部の操作に
よって編集されたならば、前記関係情報記憶手段に記憶
した関係情報に基づいて、前記表示部に表示した第2の
図形及び前記図形情報記憶手段に記憶した第2の図形の
図形情報を更新する更新手段と を具備することを特徴とする図形編集装置。A display unit for displaying at least a first figure and a second figure on the display unit;
A graphic editing device for editing graphic data by operating an operation unit; a graphic information storage unit configured to store graphic information of the first graphic and the second graphic; and a graphic element of the graphic element forming the second graphic. Relation information storage means for storing relation information describing a predetermined graphic element in a relative relationship with a predetermined graphic element among graphic elements forming the first graphic; a first graphic displayed on the display unit; Is edited by the operation of the operation unit, the second graphic displayed on the display unit and the second graphic stored in the graphic information storage based on the relation information stored in the relation information storage. And updating means for updating the graphic information.
要素の座標位置、サイズ又は色を、前記第1の図形を形
成する図形要素のうちの所定の図形要素の座標位置、サ
イズ又は色を基準とした従属関係で記述した関係情報を
記憶する ことを特徴とする請求項(1)記載の図形編集装置。2. The graphic information forming the first graphic includes a coordinate information, a size or a color of a predetermined graphic element among the graphic elements forming the second graphic. The graphic editing apparatus according to claim 1, wherein relation information described in a subordinate relation based on the coordinate position, size, or color of the predetermined graphic element is stored.
形を表示部に表示し、該表示部に表示した複数の図形を
操作部による一括操作によって編集する図形編集装置に
おいて、 前記複数の図形の図形情報を記憶する図形情報記憶手段
と、 各図形を形成する図形要素のうちの所定の図形要素を他
の図形を形成する図形要素のうちの所定の図形要素との
相対関係で記述した関係情報を記憶する関係情報記憶手
段と、 前記表示部に表示した複数の図形が操作部によって一括
操作されたならば、前記関係情報記憶手段に記憶した図
形要素間の相対関係を維持しつつ、前記表示部に表示し
た複数の図形及び前記図形情報記憶手段に記憶した図形
情報を更新する更新手段と を具備することを特徴とする図形編集装置。3. A graphic editing apparatus for displaying a plurality of figures each consisting of a plurality of figure elements on a display unit and editing the plurality of figures displayed on the display unit by batch operation by an operation unit. Graphic information storage means for storing graphic information, and relation information describing a predetermined graphic element of graphic elements forming each graphic in a relative relationship with a predetermined graphic element of graphic elements forming another graphic A plurality of graphics displayed on the display unit, if the plurality of graphics displayed on the display unit are collectively operated by an operation unit, while maintaining a relative relationship between the graphic elements stored in the relationship information storage means, Updating means for updating a plurality of figures displayed on the section and figure information stored in the figure information storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2199464A JP2720586B2 (en) | 1990-07-27 | 1990-07-27 | Figure editing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2199464A JP2720586B2 (en) | 1990-07-27 | 1990-07-27 | Figure editing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0484371A JPH0484371A (en) | 1992-03-17 |
| JP2720586B2 true JP2720586B2 (en) | 1998-03-04 |
Family
ID=16408242
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2199464A Expired - Lifetime JP2720586B2 (en) | 1990-07-27 | 1990-07-27 | Figure editing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2720586B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2666750B2 (en) * | 1994-12-26 | 1997-10-22 | 日本電気株式会社 | Figure placement device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4703321A (en) * | 1985-09-30 | 1987-10-27 | International Business Machines Corporation | Method for editing a graphic object in an interactive draw graphic system |
| JPH07113978B2 (en) * | 1986-08-19 | 1995-12-06 | 富士通株式会社 | Graphic data processing device |
-
1990
- 1990-07-27 JP JP2199464A patent/JP2720586B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0484371A (en) | 1992-03-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5539868A (en) | Character and figure transferring system | |
| US5313571A (en) | Apparatus for storing and displaying graphs | |
| JPH0225192B2 (en) | ||
| JP2828271B2 (en) | Shape generation method in CAD system | |
| US5517607A (en) | Graphic processing apparatus utilizing a CAD system | |
| JP2720586B2 (en) | Figure editing device | |
| EP0469915B1 (en) | Figure processing method and apparatus | |
| EP0469918B1 (en) | Figure processing method | |
| US5596689A (en) | Figure processing with magnification of designated portion of display | |
| JP2674647B2 (en) | Graphic processing system | |
| JP2766512B2 (en) | Parametric figure processing apparatus and its data input method and data management method | |
| JPH04373084A (en) | Character/graphic deformation processing device | |
| JP2842511B2 (en) | Form creation device | |
| JP3268667B2 (en) | Interactive polygon selection device | |
| Kilgore et al. | Animation design with CINEMA | |
| JPH05250483A (en) | Graph plotter | |
| JPS6355097B2 (en) | ||
| JP3570773B2 (en) | Graphic processing unit | |
| JPH02297673A (en) | Graphic processor | |
| JPS6043778A (en) | Graphic display device | |
| JP2000081872A (en) | Character and graphic deformation processor and processing method | |
| JPH06149944A (en) | 3D CAD device | |
| JPS62251788A (en) | Cursor control method | |
| JPH06332889A (en) | Document creation device and key line creation support method | |
| JPH0442375A (en) | Bit map editing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071121 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081121 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091121 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101121 Year of fee payment: 13 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101121 Year of fee payment: 13 |