JP2638362B2 - Figure management device - Google Patents

Figure management device

Info

Publication number
JP2638362B2
JP2638362B2 JP3328735A JP32873591A JP2638362B2 JP 2638362 B2 JP2638362 B2 JP 2638362B2 JP 3328735 A JP3328735 A JP 3328735A JP 32873591 A JP32873591 A JP 32873591A JP 2638362 B2 JP2638362 B2 JP 2638362B2
Authority
JP
Japan
Prior art keywords
graphic
procedure
storage unit
message
attribute
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
JP3328735A
Other languages
Japanese (ja)
Other versions
JPH06203114A (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 JP3328735A priority Critical patent/JP2638362B2/en
Publication of JPH06203114A publication Critical patent/JPH06203114A/en
Application granted granted Critical
Publication of JP2638362B2 publication Critical patent/JP2638362B2/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 for managing fixed and irregular figures.

【0002】[0002]

【従来の技術】近年、図形管理装置は、図形表示装置上
に表示される様々な図形を管理できるようになってい
る。
2. Description of the Related Art In recent years, a graphic management device can manage various graphics displayed on a graphic display device.

【0003】しかしながら従来の図形管理装置は、ウィ
ンドウシステムで用意されている定型(長方形、楕円
等)の図形を管理しており、不定形の図形を扱う場合
は、個々のシステムごとにそれら不定形の図形を管理し
ていた。
However, the conventional graphic management apparatus manages fixed (rectangular, elliptical, etc.) figures prepared in a window system. When dealing with irregular figures, the irregular figures are handled for each system. Was managing the shapes.

【0004】[0004]

【発明が解決しようとする課題】しかしながら上記の従
来の方式で不定形の図形を扱う場合は、個々のシステム
ごとに図形を管理しているので、不定形の図形を扱うシ
ステムを構築するのに非常に手間がかかるという課題を
有していた。
However, when an irregular figure is handled by the above-mentioned conventional method, since the figure is managed for each system, it is difficult to construct a system for handling the irregular figure. There was a problem that it was very troublesome.

【0005】本発明は上記従来技術の課題を解決するも
ので、図形の表示、管理手段を外部から与えることがで
き、簡単に表示装置上に定型及び不定形の図形を作成、
表示、編集し、管理することができる装置を提供するこ
とを目的とする。
The present invention solves the above-mentioned problems of the prior art, in which a means for displaying and managing graphics can be given from the outside, so that fixed and irregular graphics can be easily created on a display device.
It is an object of the present invention to provide a device capable of displaying, editing, and managing.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に本発明は、定型及び不定型の図形を管理する側に図形
を作成する手続きを格納する図形作成手続格納部と、管
理される各図形側に図形の境界を検索する手続きを格納
する境界手続格納部と、図形の属性を格納する図形属性
格納部と、前記図形属性格納部に格納された図形の属性
を編集する手続きを格納する編集手続格納部と、前記図
形属性格納部に格納された図形の属性に従い図形を描画
する手続きを格納する描画手続格納部と、前記描画手続
格納に格納された手続きにより描画された図形を格納す
るイメージ格納部とを備え、図形属性格納部に格納され
た属性に変更がない場合は、イメージ格納部に格納され
た図形を図形を管理する側の要求に従い表示する構成を
有している。
In order to achieve this object, the present invention provides a method for managing fixed-form and irregular-form graphics.
A graphic creation procedure storage section for storing procedures for creating
Stores a procedure to find the boundary of a figure on each figure to be processed
Boundary procedure storage unit and figure attributes to store figure attributes
A storage unit and attributes of the graphic stored in the graphic attribute storage unit
Editing procedure storage unit for storing a procedure for editing
Draws figures according to the attributes of figures stored in the shape attribute storage
A drawing procedure storage unit for storing a procedure to be performed, and the drawing procedure
Stores the figure drawn by the stored procedure
And an image storage unit.
If there is no change in the attribute, it is stored in the image storage.
The figure is displayed in accordance with the request of the figure managing side .

【0007】[0007]

【作用】本発明は上記構成によって、図形の作成手段及
び描画手段、編集手段、境界検索手段を与えることによ
り簡単に定型及び不定形の図形を作成、表示、編集し、
管理することができるのみならず、イメージ格納部を設
けることによて、図形の再描画を高速に実現することが
できる
According to the present invention, with the above-described configuration, by providing a figure creating means, a drawing means, an editing means, and a boundary search means, it is possible to easily create, display, and edit fixed and irregular figures.
Not only can it be managed, but also
By doing so, it is possible to achieve high-speed redrawing of figures.
I can .

【0008】[0008]

【実施例】以下、本発明の実施例について、図面を参照
しながら説明する。図1は本発明の一実施例における図
形管理装置のブロック図である。図1において、11は
キーボード、マウス等のメッセージ入力部、12は図形
を管理する図形管理手段、121は図形の管理リストを
持つ図形管理部、122は入ってきたメッセージに従っ
た処理を実行するメッセージ制御部、123は新しく図
形を作成するときに使用する手続きを格納する図形作成
手続格納部、124は図形を描画する手続きを実行する
描画処理部、13はディスプレイ等の図形表示部、14
a、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 graphic creation procedure storage unit for storing a procedure used when a new graphic is created, 124, a drawing processing unit for executing a procedure for drawing a graphic, 13 a graphic display unit such as a display, 14
a, 14b, and 14c are graphic objects; 141 is a graphic object message control unit; 142 is a boundary procedure storage unit that stores procedures for searching for graphic boundaries; and 143 is a procedure for changing graphic attribute values. An editing procedure storage unit 144 is a drawing procedure storage unit that stores a procedure for drawing a graphic, 145 is a graphic attribute storage unit that stores attribute values of a graphic, and 146 is an image storage unit that stores an image of a graphic on a memory. .

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

【0010】まず、図形管理手段のメッセージに対する
動作を説明する。ステップ201でメッセージ(図形管
理手段または図形オブジェクトに対する指示)を入力す
ると、ステップ202で図形作成手続きが登録されてい
るかどうかを調べ、登録されていればメッセージをその
図形作成手続に通知(ステップ203)し、その結果図
形が作成された場合(ステップ205)はその図形オブ
ジェクトを図形管理部に登録(ステップ210)する。
First, the operation of the graphic management means for a message will be described. When a message (instruction for a graphic management unit or a graphic object) is input in step 201, it is checked in step 202 whether a graphic creation procedure is registered. If the message is registered, the message is notified to the graphic creation procedure (step 203). If a graphic is created as a result (step 205), the graphic object is registered in the graphic management unit (step 210).

【0011】ステップ202で図形作成手続きが登録さ
れていなければそのメッセージのタイプを調べ(ステッ
プ204)、描画要求メッセージの場合はメッセージを
描画処理部(ステップ206)に通知する。選択状態の
変更メッセージの場合はステップ207で図形管理部で
管理している図形オブジェクトの中から対象オブジェク
トを検索(各図形オブジェクトに対して図形位置確認メ
ッセージを送信して調べる)し、対象オブジェクトを検
索できたどうかを調べ(ステップ211)、検索できた
場合はその対象図形オブジェクトの選択状態を調べ(ス
テップ214)、非選択状態にある場合は選択状態に変
更するメッセージを通知(ステップ216)し、選択状
態にある場合は非選択状態に変更するメッセージを通知
(ステップ217)する。
If the figure creation procedure has not been registered in step 202, the type of the message is checked (step 204). If the message is a drawing request message, the message is notified to the drawing processing unit (step 206). In the case of the change message of the selected state, in step 207, a target object is searched from the graphic objects managed by the graphic management unit (a graphic position confirmation message is transmitted for each graphic object to check), and the target object is searched. It is checked whether or not the search was successful (step 211). If the search was successful, the selected state of the target graphic object is checked (step 214). If it is not selected, a message for changing to the selected state is notified (step 216). If it is in the selected state, a message for changing to the non-selected state is notified (step 217).

【0012】ステップ211で検索できなかった場合は
図形管理部に登録されている図形オブジェクトで選択状
態にあるオブジェクト全てに対して非選択状態に変更す
るメッセージを通知(ステップ215)する。
If the search is not successful in step 211, a message to change to the non-selected state is sent to all of the selected graphic objects registered in the graphic management unit (step 215).

【0013】ステップ208でメッセージのタイプがオ
ブジェクトの削除の場合は、図形管理部からそのオブジ
ェクトを削除(ステップ209)し、その図形が存在し
ていた図形表示部上の領域(その図形を含む最小の長方
形)の描画要求メッセージを図形管理オブジェクトに発
行(ステップ213)する。
If the message type is object deletion in step 208, the object is deleted from the graphic management section (step 209), and the area on the graphic display section where the graphic existed (the minimum Is issued to the graphic management object (step 213).

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

【0015】次に図形表示部に図形を描画するための動
作を説明する。ステップ301で図形表示部の長方形の
領域に対する描画要求メッセージを入力すると、図形管
理部に管理している図形すべてに対して(ステップ30
2)、以下の処理を行なう。
Next, an operation for drawing a figure on the figure 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.

【0016】その図形オブジェクトの図形が描画要求領
域内にかかっているかどうかを調べる(ステップ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 section is designated as a drawing request area (step 304), and it is checked whether or not an image storage section exists (step 305).

【0017】イメージ格納部が存在しなければ図形描画
手続格納部にある図形描画手続を実行し、図形表示部に
描画する(ステップ309)。イメージ格納部が存在す
る場合は図形の属性値の変更があったかどうかを調べ
(ステップ306)、変更があった場合は図形描画手続
格納部にある図形描画手続を実行してイメージ格納部に
図形を描画(ステップ307)し、イメージ格納部の図
形を図形表示部にコピーする(ステップ308)。属性
値に変更がなかった場合はイメージ格納部の図形を図形
表示部にコピーする(ステップ308)。
If the image storage section does not exist, the graphic drawing procedure stored in the graphic drawing procedure storage section is executed, and drawing is performed on the graphic display section (step 309). If the image storage unit exists, it is checked whether the attribute value of the graphic has been changed (step 306). If the attribute value has been changed, the graphic drawing procedure in the graphic drawing procedure storage unit is executed to store the graphic in the image storage unit. Draw (step 307), and copy the figure in the image storage unit to the figure display unit (step 308). If the attribute value has not been changed, the graphic in the image storage is copied to the graphic display (step 308).

【0018】次に図形オブジェクトのメッセージに対す
る動作を説明する。ステップ401でメッセージを入力
すると、ステップ402でメッセージのタイプを調べ、
図形の位置確認メッセージの場合は境界手続格納部にあ
る手続きを実行(ステップ403)し、結果を図形管理
手段に返す(ステップ405)。なお境界手続格納部に
登録される手続きは、メッセージで与えられた座標値が
図形の中にあるか、外にあるか、境界にあるかを調べる
ものである。
Next, the operation of the graphic object with respect 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 figure position confirmation message, the procedure in the boundary procedure storage is executed (step 403), and the result is returned to the figure management means (step 405). The procedure registered in the boundary procedure storage unit checks whether the coordinate value given by the message is inside, outside, or on the boundary of the figure.

【0019】ステップ402でメッセージが位置確認メ
ッセージ以外の場合は、編集手続格納部に登録されてい
る手続きを実行(ステップ404)し、そのオブジェク
トが削除された場合は図形管理オブジェクトに削除メッ
セージを通知する(ステップ407)。オブジェクトが
削除されなかった場合は図形の属性値が変更されたかど
うかを調べ(ステップ408)、変更された場合はステ
ップ409で図形管理オブジェクトにその図形を含む最
小の長方形の領域に対する描画要求メッセージを通知す
る。
If the message is not a position confirmation message in step 402, the procedure registered in the editing procedure storage is executed (step 404). If the object is deleted, a delete message is notified to the graphic management object. (Step 407). If the object has not been deleted, it is checked whether or not the attribute value of the figure has been changed (step 408). If the attribute value has been changed, a drawing request message for the smallest rectangular area including the figure is sent to the figure management object in step 409. Notice.

【0020】以上のようにして図形を作成、境界検索、
表示、編集する手続きを外部から与えることにより、不
定形の図形を容易に扱える図形管理装置が実現できる。
さらに、イメージ格納部を設けることにより、再描画を
高速に実現することが可能である
As described above, a figure is created, a boundary is searched,
By giving a procedure for displaying and editing from the outside, a graphic management apparatus that can easily handle irregular figures can be realized.
In addition, by providing an image storage unit,
It can be realized at high speed .

【0021】[0021]

【発明の効果】以上のように本発明は図形作成手続格納
部、描画手続格納部、境界手続格納部、編集手続格納部
を設けることにより、それらの4つの手続きを外部より
与えるだけで、簡単に様々な形の図形を作成、表示、編
集及び管理することができる優れた図形管理装置を実現
できるものであり、さらに、イメージ格納部を設けるこ
とにより、再描画を高速に実現することを可能とするも
のである。
As described above, according to the present invention, by providing the graphic creation procedure storage section, the drawing procedure storage section, the boundary procedure storage section, and the editing procedure storage section, these four procedures can be simply provided from the outside. It is possible to realize an excellent figure management device that can create, display, edit and manage figures of various shapes, and to provide an image storage unit.
This makes it possible to achieve redrawing at high speed.
It is.

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

【図1】本発明の実施例における図形管理装置のブロッ
ク図
FIG. 1 is a block diagram of a graphic management device 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 in the embodiment of the present invention.

【図3】本発明の実施例における図形管理装置の図形表
示部に図形を描画する動作を示すフローチャート図
FIG. 3 is a flowchart illustrating an operation of drawing a graphic on a graphic display unit of the graphic management apparatus 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 in the embodiment of the present invention.

───────────────────────────────────────────────────── フロントページの続き (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 figure creation procedure storage unit for storing a procedure for creating a figure on a side that manages fixed and irregular forms of a figure,
A boundary procedure storage unit that stores a procedure for searching for a boundary of a graphic on each managed graphic side, and a graphic attribute that stores an attribute of the graphic.
Attribute storage unit and the attribute of the graphic stored in the graphic attribute storage unit.
An editing procedure storage unit for storing a procedure for editing a property,
Draws a figure according to the attributes of the figure stored in the figure attribute storage.
A drawing procedure storage unit for storing a drawing procedure;
Stores the figure drawn by the procedure stored in the connection storage
And a image storage unit, if there is no change in the attributes stored in the graphics attribute storage unit that,
The figure stored in the image storage unit is
A graphic management device for displaying according to a request .
JP3328735A 1991-12-12 1991-12-12 Figure management device Expired - Lifetime JP2638362B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3328735A JP2638362B2 (en) 1991-12-12 1991-12-12 Figure management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3328735A JP2638362B2 (en) 1991-12-12 1991-12-12 Figure management device

Publications (2)

Publication Number Publication Date
JPH06203114A JPH06203114A (en) 1994-07-22
JP2638362B2 true JP2638362B2 (en) 1997-08-06

Family

ID=18213593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3328735A Expired - Lifetime JP2638362B2 (en) 1991-12-12 1991-12-12 Figure management device

Country Status (1)

Country Link
JP (1) JP2638362B2 (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
JPH06203114A (en) 1994-07-22

Similar Documents

Publication Publication Date Title
US6605122B1 (en) Computer system integrating different data types into a single environment
US4905185A (en) Apparatus for transferring block data in original form and editing the block data
US7665017B2 (en) Computer system integrating different data types into a single environment
JPH06348762A (en) Equipment and method for search of database
JPH06180661A (en) File retreival method
JP2635025B2 (en) Tree display editing method
JP2638362B2 (en) Figure management device
JPH0677261B2 (en) Document image information search method
JP2638364B2 (en) Figure management device
JP2621486B2 (en) Document editing method and apparatus
JPH04101273A (en) Map retrieving method
JPH02230376A (en) Image processor
JP2656489B2 (en) Drawing management method and apparatus
JPH02151972A (en) Document retrieving system
JPS6360671A (en) Document picture processor
JP2675410B2 (en) Graphic processing method
JP2503222B2 (en) Image processing device
JPH0935083A (en) Animation editing device
JPH086751A (en) Message display control system
JPS617938A (en) Document retrieving device
JPH0765186A (en) Graphic editing device
JPS6159484A (en) Segment control system
JPH04205347A (en) Graph generator
JPH06195187A (en) Image editing device
JPH05266165A (en) Element selection system