JPH0415762A - Graphic editing system - Google Patents
Graphic editing systemInfo
- Publication number
- JPH0415762A JPH0415762A JP2116333A JP11633390A JPH0415762A JP H0415762 A JPH0415762 A JP H0415762A JP 2116333 A JP2116333 A JP 2116333A JP 11633390 A JP11633390 A JP 11633390A JP H0415762 A JPH0415762 A JP H0415762A
- Authority
- JP
- Japan
- Prior art keywords
- graphic
- graphics
- figures
- constraint relationship
- data
- 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.)
- Pending
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野〕
本発明はワードプロセッサやディスクトップパブリッシ
ング等において用いられる図形編集システムに関し、特
に複数の図形要素をグループ化してグループ単位で拡大
又は縮小を行えるようにした図形編集システムに関する
ものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a graphic editing system used in word processors, desktop publishing, etc., and particularly to a graphic editing system that allows a plurality of graphic elements to be grouped and enlarged or reduced in units of groups. The present invention relates to a graphic editing system.
従来図形編集システムにおいては、複数の図形要素をグ
ループとして認識して、グループ化して拡大縮小を行う
ことができるようにしたものがある。この場合には要素
図形間の間隔等の制約関係を考慮せず、各要素図形を単
純に同一の縮尺で拡大又は縮小した結果を組合せてグル
ープ変換結果として表示するようにしている。2. Description of the Related Art Some conventional graphic editing systems recognize a plurality of graphic elements as a group, and can scale the group. In this case, constraints such as spacing between elemental figures are not taken into account, and the results of simply enlarging or reducing each elemental figure at the same scale are combined and displayed as a group conversion result.
しかしながらこのような従来の図形編集システムは処理
が単純で高速化が図れるという利点があるが、拡大や縮
小変換によっては元々の対象図形が持っていた制約関係
を維持していないという欠点がある。例えば第2図(a
)に示すように、四角形の図形Aとその内部に包含され
る図形Bとがグループ化されているものとする。このと
き図形Aの横を引き伸ばして第2図ら)に示す横拡大図
形A1とする場合には、その内部の図形Bについても同
様の縮尺で横方向に拡大し横拡大図形B1として表示す
るようにしている。しかし図形A、B間の間隔を一定に
する必要がある場合にはその制約関係がくずれてしまい
、変換結果に対して更に修正編集を行う必要があるとい
う欠点があった。However, although such a conventional figure editing system has the advantage of simple processing and can achieve high speed, it has the disadvantage that the constraint relationship that the original target figure had is not maintained depending on the enlargement or reduction conversion. For example, in Figure 2 (a
), it is assumed that a rectangular figure A and a figure B included therein are grouped. At this time, when the side of figure A is stretched to form the horizontally enlarged figure A1 shown in Figure 2, etc., the figure B inside it is also enlarged laterally at the same scale and displayed as the horizontally enlarged figure B1. ing. However, if it is necessary to make the interval between figures A and B constant, the constraint relationship is broken, and there is a drawback that it is necessary to further modify and edit the conversion result.
本発明はこのような従来の図形編集システムの問題点に
鑑みてなされたものであって、グループ単位での拡大縮
小変換の際に対象となる要素図形間の制約関係を判定し
、元の制約関係を維持できるようにすることを技術的課
題とする。The present invention has been made in view of the problems of the conventional figure editing system. The technical challenge is to be able to maintain the relationship.
本発明は複数の図形要素を組合せて所望の図形を作成す
る図形編集システムであって、図形の種類、グループ化
された図形情報を含む図形データを保持する図形データ
管理部と、図形データに基づいて表示すべきデータを保
持する表示メモリと、表示メモリに保持されている図形
情報を表示する表示装置と、表示装置により表示されて
いる変換対象の図形を選択する図形選択手段と、−群の
グループ化された図形の変換時に指定された図形とその
グループに属する他の図形の図形データを読出して制約
関係を判定する制約関係判定手段と、選択された図形と
同一のグループ内の図形を制約関係判定手段により判定
された制約関係に基づいて拡大又は縮小する図形変換手
段と、を具備することを特徴とするものである。The present invention is a figure editing system that creates a desired figure by combining a plurality of figure elements, and includes a figure data management section that holds figure data including figure types and grouped figure information; a display memory that retains data to be displayed, a display device that displays graphic information held in the display memory, a graphic selection means that selects a graphic to be converted displayed by the display device; A constraint relationship determination means that reads the figure data of a specified figure and other figures belonging to the group when converting grouped figures and determines the constraint relationship, and constrains the figures in the same group as the selected figure. The present invention is characterized by comprising a figure converting means that enlarges or reduces the figure based on the constraint relationship determined by the relationship determining means.
〔作用]
このような特徴を有する本発明によれば、編集対象の図
形を図形選択手段によって選択すると、これとグループ
化されている他の図形との図形データを図形データ管理
部より読出し、制約関係判定手段によってそれらの間の
制約関係を判定する。[Operation] According to the present invention having such features, when a figure to be edited is selected by the figure selection means, figure data of this and other figures grouped together is read out from the figure data management section, and constraints are applied. A constraint relationship between them is determined by a relationship determination means.
そしてグループ化されている図形について、その制約関
係を維持するように拡大又は縮小を行って表示メモリに
書込み、表示装置によって表示するようにしている。Then, the grouped figures are enlarged or reduced so as to maintain the constraint relationship, and are written into the display memory and displayed on the display device.
第1図は本発明の一実施例による図形編集システムの全
体構成を示すブロック図である。本図において表示装置
1は画面上に編集対象となる図形を表示するものであり
、対象となる図形や変換方法等を選択する入力手段とし
てマウス2が接続されている。マウス2で選択された図
形やその変換方式情報は図形選択制御部3に与えられる
。図形選択制御部3はこの信号を解析し、選択された図
形の識別信号を図形データ管理部4に与えると共に、変
換方式の情報を描画制御部5に与える。図形データ管理
部4はグループ化されている図形やその種類、属性等の
図形データを管理するものであり、図形データ管理部4
は選択された図形信号に基づいてその図形データとその
図形と同一のグループに含まれる図形データとを描画制
御部5に与える。描画制御部5は一群のグループ化され
た図形の相互間の制約関係を判定する制約関係判定手段
6及びその関係に基づいて図形を変換する図形変換手段
7を有している。そして図形変換手段7によって変換さ
れた図形が表示メモリ8に与えられる。表示メモリ8は
図形データを保持するビデオRAM等によって構成され
ており、表示メモリ8から読出された情報が表示装置1
の表示ウィンドウに表示されることとなる。FIG. 1 is a block diagram showing the overall configuration of a graphic editing system according to an embodiment of the present invention. In this figure, a display device 1 displays a figure to be edited on a screen, and a mouse 2 is connected as an input means for selecting a figure to be edited, a conversion method, etc. The figure selected with the mouse 2 and its conversion method information are given to the figure selection control section 3. The figure selection control section 3 analyzes this signal, provides an identification signal of the selected figure to the figure data management section 4, and also provides information on the conversion method to the drawing control section 5. The figure data management unit 4 manages figure data such as grouped figures, their types, attributes, etc.
provides the graphic data and graphic data included in the same group as the selected graphic to the drawing control unit 5 based on the selected graphic signal. The drawing control section 5 has a constraint relationship determining means 6 that determines the constraint relationship between a group of grouped figures, and a figure converting means 7 that converts the figures based on the relationship. The figure converted by the figure converting means 7 is then given to the display memory 8. The display memory 8 is constituted by a video RAM etc. that holds graphic data, and the information read from the display memory 8 is displayed on the display device 1.
will be displayed in the display window.
次に描画制御部5の動作について更に詳細に説明する。Next, the operation of the drawing control section 5 will be explained in more detail.
第2図(a)に示すように、四角い枠状の図形Aとその
枠内に含まれた図形Bが1つのグループとして登録され
ているものとする。この図形を横方向に拡大する場合に
ついて説明する。まず第3図のフローチャートにおいて
動作を開始すると、まずステップ30において図形Aの
変換、即ち任意の倍率で横方向又は縦方向に拡大及び縮
小を行い、図形AI(又はA2)を描画する。そして使
用者はマウス2を用いて変換方法を入力する。そうすれ
ばステップ31に進んで図形選択制御部3より与えられ
た選択方式情報を判別し、従来通りの方式か又は制約関
係を伴った変換かどうかをチエツクする。従来と同様の
変換方式であればステップ32からステップ33に進ん
で、元の図形Aと外接する矩形の四隅の座標及び拡大後
の図形A1に外接する四隅の座標から図形Aの拡大縮小
率を演算する。As shown in FIG. 2(a), it is assumed that a rectangular frame-shaped figure A and a figure B included within the frame are registered as one group. A case of enlarging this figure in the horizontal direction will be explained. When the operation starts in the flowchart of FIG. 3, first, in step 30, the figure A is converted, that is, enlarged or reduced in the horizontal or vertical direction at an arbitrary magnification, and the figure AI (or A2) is drawn. The user then inputs the conversion method using the mouse 2. Then, the process proceeds to step 31, where the selection method information given by the figure selection control section 3 is determined, and it is checked whether the selection method is the conventional method or the conversion is accompanied by a constraint relationship. If the conversion method is the same as the conventional one, proceed from step 32 to step 33, and calculate the scaling ratio of figure A from the coordinates of the four corners of the rectangle circumscribing the original figure A and the coordinates of the four corners circumscribing the enlarged figure A1. calculate.
そしてステップ34に進んで、この拡大縮小率を図形B
に当てはめて拡大縮小した図形B1に変換する。そして
変換後のデータを図形データ管理部4に与えると共に表
示メモリ8に変換後のデータを書込む。そうすれば第2
図(b)に示すように、図形A1に対して同一の拡大縮
小率で変換された図形Blを表示装置1に出力すること
ができる。Then, proceed to step 34 and change this scaling ratio to figure B.
The figure B1 is converted into a scaled figure B1. Then, the converted data is given to the graphic data management section 4, and the converted data is written into the display memory 8. Then the second
As shown in FIG. 2B, the graphic Bl that has been converted with the same scaling factor as the graphic A1 can be output to the display device 1.
さて制約関係を伴って図形を変更する場合には、ステッ
プ32からステップ35に進んで図形Aに外接する矩形
の四隅の座標と図形Bに外接する四隅の座標によって対
応する座標間の四方の距離を演算する。そしてステップ
36に進み、ここで得た距離と拡大された図形A2に外
接する四隅の座標から図形B2に外接する矩形の四隅の
座標を計算する。Now, when changing a figure with a constraint relationship, proceed from step 32 to step 35 and calculate the four-way distance between the corresponding coordinates using the coordinates of the four corners of the rectangle circumscribing figure A and the coordinates of the four corners circumscribing figure B. Calculate. The process then proceeds to step 36, where the coordinates of the four corners of the rectangle circumscribing the figure B2 are calculated from the distance obtained here and the coordinates of the four corners circumscribing the enlarged figure A2.
そしてステップ37において図形Bに外接する矩形の四
隅の座標と、ステップ36で得た図形B2に外接する矩
形の四隅の座標とによって、図形の拡大縮小率を計算す
る。そしてこの拡大縮小率に基づいて図形Bを変換する
。そして変換したデータを図形データ管理部4に書込み
、表示メモリ内に保持させて処理を終了する。そうすれ
ば第2図(C)に示すように図形AとBとの間の枠部分
の長さが等しい状態で新たな横拡大図形B2を描画する
ことができる。ここで描画制御部5はステップ35にお
いて同一のグループに属する2つの図形の制約関係を判
定する制約関係判定手段6の機能を達成しており、ステ
ップ36〜38において判定された制約関係に基づいて
図形を拡大又は縮小する図形変換手段7を構成している
。Then, in step 37, the enlargement/reduction ratio of the figure is calculated based on the coordinates of the four corners of the rectangle circumscribing figure B and the coordinates of the four corners of the rectangle circumscribing figure B2 obtained in step 36. Then, figure B is converted based on this enlargement/reduction ratio. Then, the converted data is written to the graphic data management section 4 and held in the display memory, and the process ends. Then, as shown in FIG. 2(C), a new laterally enlarged figure B2 can be drawn with the lengths of the frame portions between figures A and B being equal. Here, the drawing control unit 5 achieves the function of the constraint relationship determining means 6 that determines the constraint relationship between two figures belonging to the same group in step 35, and based on the constraint relationship determined in steps 36 to 38. It constitutes a figure converting means 7 for enlarging or reducing figures.
以上詳細に説明したように本発明によれば、同一のグル
ープに属する図形相互間の制約関係を判別し、この制約
関係に基づいて図形を拡大又は縮小するようにしている
。従って同一のグループに属する図形を同一の制約関係
となるように修正して書き直す必要がなくなり、図形変
換時の作業を大幅に短縮することができるという効果が
得られる。従って人間の意図に即した編集が可能となり
、ワードプロセッサやディスクトップパブリッシング等
における図形編集システムとして効果的となる。As described in detail above, according to the present invention, the constraint relationship between figures belonging to the same group is determined, and the figures are enlarged or reduced based on this constraint relationship. Therefore, there is no need to modify and rewrite figures belonging to the same group so that they have the same constraint relationship, and it is possible to significantly shorten the work involved in converting figures. Therefore, it becomes possible to perform editing in accordance with human intentions, making it effective as a graphic editing system for word processors, desktop publishing, and the like.
【図面の簡単な説明】
第1図は本発明の一実施例による図形編集システムの構
成を示すブロック図、第2図は本実施例の図形編集シス
テムの図形編集例を示す図、第3図はその動作を示すフ
ローチャートである。
第1因
1−−−一表示装置 2−−−−−−−マウス 3
1.1.−図形選択制御部 4−−−−一図形データ
管理部 5描画制御部 6−−−−−一制約関係判
定手段 7図形変換手段 8−−−−一表示メモリ
。
特許出願人 松下電器産業株式会社[Brief Description of the Drawings] Fig. 1 is a block diagram showing the configuration of a figure editing system according to an embodiment of the present invention, Fig. 2 is a diagram showing an example of figure editing in the figure editing system of this embodiment, and Fig. 3 is a flowchart showing the operation. First factor 1 --- Display device 2 --- Mouse 3
1.1. - Figure selection control unit 4 - - Figure data management unit 5 Drawing control unit 6 - Constraint relationship determining means 7 Figure conversion means 8 - - Display memory. Patent applicant Matsushita Electric Industrial Co., Ltd.
Claims (1)
図形編集システムであって、 図形の種類、グループ化された図形情報を含む図形デー
タを保持する図形データ管理部と、前記図形データに基
づいて表示すべきデータを保持する表示メモリと、 前記表示メモリに保持されている図形情報を表示する表
示装置と、 前記表示装置により表示されている変換対象の図形を選
択する図形選択手段と、 一群のグループ化された図形の変換時に指定された図形
とそのグループに属する他の図形の図形データを読出し
て制約関係を判定する制約関係判定手段と、 選択された図形と同一のグループ内の図形を前記制約関
係判定手段により判定された制約関係に基づいて拡大又
は縮小する図形変換手段とを具備することを特徴とする
図形編集システム。(1) A figure editing system that creates a desired figure by combining a plurality of figure elements, comprising a figure data management unit that holds figure data including figure types and grouped figure information; a display memory that holds data to be displayed based on the display; a display device that displays the graphic information held in the display memory; a graphic selection unit that selects a graphic to be converted that is displayed by the display device; Constraint relationship determining means for determining a constraint relationship by reading figure data of a specified figure and other figures belonging to the group when converting a group of grouped figures, and figures in the same group as the selected figure. A graphic editing system comprising: a graphic converting means for enlarging or reducing the image based on the constraint relationship determined by the constraint relationship determining means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2116333A JPH0415762A (en) | 1990-05-02 | 1990-05-02 | Graphic editing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2116333A JPH0415762A (en) | 1990-05-02 | 1990-05-02 | Graphic editing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0415762A true JPH0415762A (en) | 1992-01-21 |
Family
ID=14684367
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2116333A Pending JPH0415762A (en) | 1990-05-02 | 1990-05-02 | Graphic editing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0415762A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2418236A1 (en) | 2010-08-11 | 2012-02-15 | Shin-Etsu Chemical Co., Ltd. | Novel organopolysiloxane and cosmetic containing the same |
| KR20180127635A (en) | 2016-03-28 | 2018-11-29 | 신에쓰 가가꾸 고교 가부시끼가이샤 | Process for preparing organopolysiloxane, cosmetic, and organopolysiloxane |
-
1990
- 1990-05-02 JP JP2116333A patent/JPH0415762A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2418236A1 (en) | 2010-08-11 | 2012-02-15 | Shin-Etsu Chemical Co., Ltd. | Novel organopolysiloxane and cosmetic containing the same |
| US8912354B2 (en) | 2010-08-11 | 2014-12-16 | Shin-Etsu Chemical Co., Ltd. | Organopolysiloxane and cosmetic containing the same |
| KR20180127635A (en) | 2016-03-28 | 2018-11-29 | 신에쓰 가가꾸 고교 가부시끼가이샤 | Process for preparing organopolysiloxane, cosmetic, and organopolysiloxane |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS63184879A (en) | Picture processor | |
| US6522335B2 (en) | Supplying data to a double buffering process | |
| JPH05216972A (en) | Enlargement / reduction display control method of window figure | |
| JPS63153626A (en) | Magnifier window control system | |
| JPS62128369A (en) | Enlarged image displaying method | |
| JPH11338456A (en) | Map display system and image scroll processing method in it | |
| JPH03211675A (en) | Cad drawing display system | |
| JP2781727B2 (en) | Continuous display of map symbols | |
| JPH01177680A (en) | Image edit processor | |
| JP2921312B2 (en) | 3D animation processing system | |
| JPS6127587A (en) | Wind data control system | |
| JPH09244527A (en) | How to display map simulation results | |
| JPH05333847A (en) | System for processing image data display | |
| JPS62262179A (en) | Display updating system for graphic display device | |
| JPH0668200A (en) | Logic circuit diagram input device | |
| JP2667187B2 (en) | Line clipping method in multi-window | |
| JPH01234890A (en) | Figure display method in multi-view | |
| JPS62233888A (en) | Graphic data display device | |
| JPS63165972A (en) | Image information processor | |
| JPH01191928A (en) | Data input device | |
| JPH01120619A (en) | Menu display system | |
| JPH05242088A (en) | Method for displaying picture | |
| JPH06139366A (en) | Zoom-up system of graphic display with scale | |
| JPH01184589A (en) | Graphic clipping method | |
| JPH0973468A (en) | Crt screen designing support method |