JP2638364B2 - Figure management device - Google Patents

Figure management device

Info

Publication number
JP2638364B2
JP2638364B2 JP3333159A JP33315991A JP2638364B2 JP 2638364 B2 JP2638364 B2 JP 2638364B2 JP 3333159 A JP3333159 A JP 3333159A JP 33315991 A JP33315991 A JP 33315991A JP 2638364 B2 JP2638364 B2 JP 2638364B2
Authority
JP
Japan
Prior art keywords
graphic
message
unit
boundary
contact
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
Application number
JP3333159A
Other languages
Japanese (ja)
Other versions
JPH05165934A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3333159A priority Critical patent/JP2638364B2/en
Publication of JPH05165934A publication Critical patent/JPH05165934A/en
Application granted granted Critical
Publication of JP2638364B2 publication Critical patent/JP2638364B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、他の図形に接して図形
を配置、表示する図形を扱う機能の追加、拡張、変更等
を容易に実現することができる図形管理装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic management apparatus capable of easily realizing addition, extension, change, etc. of a function for handling a graphic to be arranged and displayed in contact with another graphic.

【0002】[0002]

【従来の技術】近年、図形管理装置は、図形表示部に表
示される様々な図形を管理できるようになっている。従
来の図形管理装置は、図形表示部上に表示されている図
形の位置、大きさ、重なり具合いを基に管理し、他の図
形に接して図を配置、表示するためには個々の機能毎に
図形を管理していた。
2. Description of the Related Art In recent years, a graphic management apparatus can manage various graphics displayed on a graphic display unit. A conventional graphic management device manages a graphic displayed on a graphic display unit based on the position, size, and degree of overlap, and arranges and displays a figure in contact with another graphic. Was managing the shapes.

【0003】[0003]

【発明が解決しようとする課題】しかしながら上記の従
来の図形管理装置では、表示部上にある他の図形に接し
て図形を配置、表示する場合は個々の機能毎に図形の位
置、大きさ、重なり具合いを管理しているので他の図形
に接して表示する図形を扱う機能を追加、拡張、変更す
るのに非常に手間がかかるという課題を有していた。
However, in the conventional graphic management apparatus described above, when a graphic is arranged and displayed in contact with another graphic on the display unit, the position, size, Since the degree of overlap is managed, there is a problem that it takes a lot of time to add, expand, and change a function of handling a figure displayed in contact with another figure.

【0004】本発明は上記従来技術の課題を解決するも
ので、他の図形に接して図形を配置、表示する図形を扱
う機能の追加、拡張、変更を容易に実現することができ
る図形管理装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention solves the above-mentioned problems of the prior art, and is a graphic management apparatus capable of easily realizing addition, extension, and change of a function of handling a graphic to be arranged and displayed in contact with another graphic. The purpose is to provide.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に本発明の図形管理装置は、図形を表示部上にある他の
図形に接して配置、表示するために必要となる図形の境
界を検索する境界検索部と、当該図形に接して配置及び
表示している図形の識別子を格納する接続先格納部とを
各図形毎に備え、当該図形の変更に伴い、当該図形と接
続先格納部に格納された識別子が示す図形との新たな境
界を当該図形の境界検索部により検索し検索した境界
に基づき接続先格納部に格納された識別子が示す当該図
形と接した図形を再描画する構成となっている。
In order to achieve the above object, a graphic management apparatus according to the present invention provides a graphic management apparatus for displaying a graphic on another display on a display unit.
The boundary of the figure required to place and display it in contact with the figure
A boundary search unit for searching for a world;
A connection destination storage unit that stores the identifier of the figure being displayed.
Be prepared for each figure, and as the figure changes,
A new boundary with the graphic indicated by the identifier stored in the connection destination storage unit
The world is searched by the boundary search unit of the figure, and the searched boundary
The figure indicated by the identifier stored in the connection destination storage unit based on
It is configured to redraw a figure in contact with a shape .

【0006】[0006]

【作用】本発明は上記構成によって、各図形毎に設けら
れた境界検索手段が他の図形に接して図形を配置、表示
するために必要となる図形の境界を探索し、接続先格納
手段に格納された接続する他の図形の識別子に基づき描
画処理することで、他の図形に接して図形を配置、表示
するために必要となる処理を個々の機能から分離するこ
とができる。
According to the present invention, the boundary search means provided for each figure searches for the boundary of the figure necessary for arranging and displaying the figure in contact with another figure and stores it in the connection destination storage means. By performing drawing processing based on the stored identifiers of other connected graphics, processing required for arranging and displaying graphics in contact with other graphics can be separated from individual functions.

【0007】[0007]

【実施例】以下、本発明の実施例について、図面を参照
しながら説明する。図1は本発明の一実施例における図
形管理装置のブロック図である。図1において、11は
キーボード、マウス等のメッセージ入力部、12は図形
を管理する図形管理手段、121は図形の管理リストを
持つ図形管理部、122は入ってきたメッセージに従っ
た処理を実行するメッセージ制御部、123は図形を描
画する手続きを実行する描画処理部、13はディスプレ
イ等の図形表示部、14a、14b、14cは図形デー
タと図形データを処理する手続きから構成される図形オ
ブジェクト、141は図形の境界点を検索する境界検索
手続部、142は図形オブジェクトのメッセージ制御
部、143は図形を描画する描画手続部、144は自オ
ブジェクトに接して表示しているオブジェクトの識別子
を格納する接続先格納部、145は図形の属性値を変更
するための編集手続部、146は図形の属性値を格納す
る図形属性格納部である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a graphic management device according to an embodiment of the present invention. In FIG. 1, 11 is a message input unit such as a keyboard and a mouse, 12 is a figure management unit for managing figures, 121 is a figure management unit having a figure management list, and 122 executes processing according to an incoming message. A message control unit 123, a drawing processing unit that executes a procedure for drawing a figure, 13 a figure display unit such as a display, 14a, 14b, and 14c a figure object composed of figure data and a procedure for processing the figure data; Is a boundary search procedure unit for searching for a boundary point of a figure, 142 is a message control unit for a figure object, 143 is a drawing procedure unit for drawing a figure, and 144 is a connection for storing the identifier of the object displayed in contact with the object. A destination storage unit 145 is an editing procedure unit for changing the attribute value of the figure, and 146 stores an attribute value of the figure. That is a figure attribute storage unit.

【0008】以上のように構成された図形管理装置につ
いて、図2に示す図形管理手段のメッセージ処理のフロ
ーチャート、図3に示す図形描画処理のフローチャー
ト、図4に示す図形オブジェクトのメッセージ処理のフ
ローチャートを用いてその動作を説明する。
FIG. 2 is a flow chart of the message processing of the graphic management means, FIG. 3 is a flowchart of the graphic drawing processing, and FIG. 4 is a flow chart of the message processing of the graphic object, for the graphic management apparatus configured as described above. The operation will be described with reference to FIG.

【0009】まず、図形管理手段のメッセージに対する
動作を説明する。ステップ201でメッセージ(図形管
理手段または図形オブジェクトに対する指示)を入力す
ると、そのメッセージのタイプを調べ(ステップ20
2)、描画要求メッセージの場合はメッセージを描画処
理部(ステップ203)に通知する。
First, the operation of the figure management means for a message will be described. When a message (instruction for the graphic management means or graphic object) is input in step 201, the type of the message is checked (step 20).
2) In the case of a drawing request message, the message is notified to the drawing processing unit (step 203).

【0010】メッセージのタイプが選択状態の変更メッ
セージの場合はステップ204で図形管理部で管理して
いる図形オブジェクトの中から対象オブジェクトを検索
(各図形オブジェクトに対して図形位置確認メッセージ
を送信して調べる)する。対象オブジェクトを検索でき
たどうかを調べ(ステップ210)、検索できた場合は
その対象図形オブジェクトの選択状態を調べ(ステップ
211)、非選択状態にある場合は選択状態に変更する
メッセージを通知(ステップ213)し、選択状態にあ
る場合は非選択状態に変更するメッセージを通知(ステ
ップ213)する。ステップ210で検索できなかった
場合は図形管理部に登録されている図形オブジェクトで
選択状態にあるオブジェクト全てに対して非選択状態に
変更するメッセージを通知(ステップ212)する。
If the message type is a change message of the selected state, a search is made for a target object from among the graphic objects managed by the graphic management unit in step 204 (a graphic position confirmation message is transmitted to each graphic object, and Check). It is checked whether or not the target object can be searched (step 210). If the target graphic object can be searched, the selected state of the target graphic object is checked (step 211). If the target graphic object is not selected, a message for changing to the selected state is notified (step 210). 213), and if it is in the selected state, a message for changing to the non-selected state is notified (step 213). If the search is not successful in step 210, a message to change to the non-selected state is sent to all the selected objects among the graphic objects registered in the graphic management unit (step 212).

【0011】ステップ205でメッセージのタイプがオ
ブジェクトの登録の場合は図形管理部にそのオブジェク
トを登録(ステップ206)し、オブジェクトの削除メ
ッセージの場合は図形管理部からそのオブジェクトを削
除(ステップ208)してその図形が存在していた図形
表示部上の領域(その図形を含む最小の長方形)の描画
要求メッセージを図形管理オブジェクトに発行(ステッ
プ209)する。
If the message type is object registration in step 205, the object is registered in the graphic management unit (step 206). If the message is an object deletion message, the object is deleted from the graphic management unit (step 208). Then, a drawing request message for the area (the smallest rectangle including the figure) on the figure display unit where the figure was present is issued to the figure management object (step 209).

【0012】メッセージのタイプがその他の場合は、図
形管理部に登録されている図形オブジェクトで選択状態
にあるオブジェクト全てに対してそのメッセージを通知
(ステップ207)する。
If the message type is any other type, the message is notified to all of the selected graphic objects registered in the graphic management unit (step 207).

【0013】次に図形表示部に図形を描画するための動
作を説明する。ステップ301で図形表示部の長方形の
領域に対する描画要求メッセージを入力すると、図形管
理部に管理している図形すべてに対して(ステップ30
2)、以下の処理を行なう。
Next, an operation for drawing a graphic on the graphic display unit will be described. When a drawing request message for a rectangular area of the graphic display unit is input in step 301, all the graphics managed by the graphic management unit are processed (step 30).
2) Perform the following processing.

【0014】その図形オブジェクトの図形が描画要求領
域内にかかっているかどうかを調べる(ステップ30
3)。領域内に図形がかかっていれば図形表示部に対す
るクリッピンッグ領域を描画要求領域に指定(ステップ
304)し、描画手続部を実行(ステップ305)し、
図形表示部に描画する。
It is checked whether or not the figure of the figure object is within the drawing request area (step 30).
3). If there is a figure in the area, a clipping area for the figure display unit is designated as a drawing request area (step 304), and a drawing procedure unit is executed (step 305).
Draw on the graphic display.

【0015】次に図形オブジェクトのメッセージに対す
る動作を説明する。ステップ401でメッセージを入力
すると、ステップ402でメッセージのタイプを調べ、
図形の境界点の検索結果メッセージの場合は編集手続を
実行(ステップ403)し、ステップ406で図形管理
手段にその図形を含む最小の長方形の領域に対する描画
要求メッセージを通知する。
Next, the operation of the graphic object in response to the message will be described. When a message is input in step 401, the type of the message is checked in step 402,
In the case of the search result message of the boundary point of the figure, the editing procedure is executed (step 403), and in step 406, a drawing request message for the smallest rectangular area including the figure is notified to the figure management means.

【0016】ステップ402でメッセージのタイプが境
界検索要求メッセージの場合は境界検索手続を実行(ス
テップ404)し、ステップ407で検索結果を要求し
たオブジェクトに通知する。
If the message type is a boundary search request message in step 402, a boundary search procedure is executed (step 404), and in step 407 the search result is notified to the requesting object.

【0017】それ以外のメッセージの場合はステップ4
05でメッセージのタイプを調べ、メッセージが接続先
の図形オブジェクトの形状変更メッセージの場合は、ス
テップ408でそのオブジェクトに境界の検索メッセー
ジを発行する。それ以外のメッセージの場合は、編集手
続格納部に登録されている手続きを実行(ステップ40
9)し、ステップ410でオブジェクトが削除されたか
どうかを調べ、そのオブジェクトが削除された場合は図
形管理オブジェクトに削除メッセージを通知(ステップ
411)し、接続先格納部に格納されているすべてのオ
ブジェクトに形状変更メッセージを通知(ステップ41
4)する。オブジェクトが削除されなかった場合は図形
の属性値が変更されたかどうかを調べ(ステップ41
2)、変更された場合はステップ413で図形管理オブ
ジェクトにその図形を含む最小の長方形の領域に対する
描画要求メッセージを通知し、接続先格納部に格納され
ているすべてのオブジェクトに形状変更メッセージを通
知(ステップ414)する。
Step 4 for other messages
At step 05, the type of the message is checked, and if the message is a shape change message of the connected graphic object, a boundary search message is issued to the object at step 408. For other messages, the procedure registered in the editing procedure storage is executed (step 40).
9) Then, it is checked whether or not the object has been deleted in step 410. If the object has been deleted, a deletion message is notified to the graphic management object (step 411), and all the objects stored in the connection destination storage unit are deleted. To notify the shape change message (step 41)
4) Yes. If the object has not been deleted, it is checked whether the attribute value of the figure has been changed (step 41).
2) If it is changed, in step 413, a drawing request message for the smallest rectangular area including the figure is notified to the figure management object, and a shape change message is notified to all objects stored in the connection destination storage unit. (Step 414).

【0018】以上のようにして各図形に図形の境界点を
検索する境界検索手続部と、接続先のオブジェクト識別
子を格納する接続先格納部を設け、表示部上にある他の
図形に接して図形を配置、表示する場合の境界検索手続
きを個々の機能から分離することにより、他の図形に接
して図形を配置、表示する図形を扱う機能の追加、拡
張、変更を容易に行うことが可能な図形管理装置を実現
できる。
As described above, a boundary search procedure section for searching for a boundary point of a figure in each figure and a connection destination storage section for storing an object identifier of a connection destination are provided, and are connected to other figures on the display section. Separating the boundary search procedure when placing and displaying figures from individual functions makes it easy to add, extend, and modify functions that handle figures to be placed and displayed in contact with other figures. A simple graphic management device can be realized.

【0019】[0019]

【発明の効果】以上のように本発明は各図形に境界検索
手続部と、接続先格納部を設け、境界検索手続きを個々
の機能から分離することにより他の図形に接して図形を
配置、表示する図形を扱う機能の追加、拡張、変更を容
易に行うことが可能な優れた図形管理装置を実現できる
ものである。
As described above, according to the present invention, a boundary search procedure unit and a connection destination storage unit are provided for each figure, and the boundary search procedure is separated from individual functions to arrange a figure in contact with another figure. It is possible to realize an excellent graphic management device that can easily add, expand, and change a function of handling a graphic to be displayed.

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

【図1】本発明の一実施例における図形管理装置のブロ
ック図
FIG. 1 is a block diagram of a graphic management apparatus according to an embodiment of the present invention.

【図2】本発明の一実施例における図形管理装置の図形
管理手段のメッセージ処理の動作を示すフローチャート
FIG. 2 is a flowchart showing the message processing operation of the graphic management means of the graphic management device according to one embodiment of the present invention.

【図3】本発明の一実施例における図形管理装置の図形
描画処理の動作を示すフローチャート
FIG. 3 is a flowchart illustrating an operation of a graphic drawing process of the graphic management device according to the embodiment of the present invention;

【図4】本発明の一実施例における図形管理装置の図形
オブジェクトのメッセージ処理の動作を示すフローチャ
ート
FIG. 4 is a flowchart showing an operation of message processing of a graphic object of the graphic management apparatus according to the embodiment of the present invention;

【符号の説明】[Explanation of symbols]

11 メッセージ入力部 12 図形管理手段 13 図形表示部 11 message input unit 12 figure management means 13 figure display unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 内原 亜紀 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (56)参考文献 特開 昭63−285675(JP,A) ────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Aki Uchihara 1006 Kazuma Kadoma, Osaka Prefecture Inside Matsushita Electric Industrial Co., Ltd. (56) References JP-A-63-285675 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 図形を表示部上にある他の図形に接して
配置、表示するために必要となる図形の境界を検索する
境界検索部と、当該図形に接して配置及び表示している
図形の識別子を格納する接続先格納部とを各図形毎に備
当該図形の変更に伴い、当該図形と接続先格納部に格納
された識別子が示す図形との新たな境界を当該図形の境
界検索部により検索し、検索した境界に基づき接続先格
納部に格納された識別子が示す当該図形と接した図形を
再描画することを特徴とする 図形管理装置。
1. A method in which a graphic is brought into contact with another graphic on a display unit.
Find the boundaries of shapes needed to place and display
It is arranged and displayed in contact with the boundary search part and the figure.
A connection destination storage unit that stores the identifiers of figures is provided for each figure.
When the figure is changed, the figure is stored in the connection destination storage unit.
The new boundary with the figure indicated by the
Search by the world search unit, and based on the searched boundary
The figure in contact with the figure indicated by the identifier stored in the
A graphic management device for redrawing .
JP3333159A 1991-12-17 1991-12-17 Figure management device Expired - Lifetime JP2638364B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3333159A JP2638364B2 (en) 1991-12-17 1991-12-17 Figure management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3333159A JP2638364B2 (en) 1991-12-17 1991-12-17 Figure management device

Publications (2)

Publication Number Publication Date
JPH05165934A JPH05165934A (en) 1993-07-02
JP2638364B2 true JP2638364B2 (en) 1997-08-06

Family

ID=18262950

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3333159A Expired - Lifetime JP2638364B2 (en) 1991-12-17 1991-12-17 Figure management device

Country Status (1)

Country Link
JP (1) JP2638364B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2674647B2 (en) * 1987-05-19 1997-11-12 富士通株式会社 Graphic processing system

Also Published As

Publication number Publication date
JPH05165934A (en) 1993-07-02

Similar Documents

Publication Publication Date Title
JPH0642137B2 (en) Display information processing device
JP2638364B2 (en) Figure management device
JPH01152527A (en) Retrieval data input method for data retrieving device
JP2638362B2 (en) Figure management device
JPH06180663A (en) Electronic filing system
JPH0261774A (en) Indicating device for graphic element
JPH06242760A (en) Multiwindow switching system
JP2747392B2 (en) Drawing display update device
JPH0264868A (en) Information retrieving device
JPH0719201B2 (en) Icon management method
JPH09204438A (en) Information retrieval support device
JPH04120628A (en) Reserved word maintaining and managing system
JPH02151972A (en) Document retrieving system
JPS6386021A (en) Screen control method
JPH0442366A (en) Data retrieving device
JPS617938A (en) Document retrieving device
JPH04142675A (en) Map display processor
JPH08212061A (en) Scenario display device and method and scenario class editing device
JPH03233680A (en) Map display system
JPH04205347A (en) Graph generator
JPH07146873A (en) Image data retrieval device
JPH06119425A (en) Pick input system
JPH04291416A (en) Data display
JPH01248193A (en) System for controlling display of image
JPH03135655A (en) Editing system for contents of table block