JPH02178696A - Graphic data control system - Google Patents

Graphic data control system

Info

Publication number
JPH02178696A
JPH02178696A JP63334045A JP33404588A JPH02178696A JP H02178696 A JPH02178696 A JP H02178696A JP 63334045 A JP63334045 A JP 63334045A JP 33404588 A JP33404588 A JP 33404588A JP H02178696 A JPH02178696 A JP H02178696A
Authority
JP
Japan
Prior art keywords
display
graphic
attribute information
data
execution
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
Application number
JP63334045A
Other languages
Japanese (ja)
Inventor
Kazuharu Yuno
油野 一晴
Takehiko Nishida
健彦 西田
Kazuhisa Ishikawa
石川 計久
Masamitsu Akatsu
赤津 正光
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.)
Hitachi Ltd
Hitachi Information and Control Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Process Computer Engineering Inc
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 Hitachi Ltd, Hitachi Process Computer Engineering Inc filed Critical Hitachi Ltd
Priority to JP63334045A priority Critical patent/JPH02178696A/en
Publication of JPH02178696A publication Critical patent/JPH02178696A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To shorten the saving and restoring processing time of attribute information and to improve the display processing performance for graphic data by saving and restoring only attribute information which is updated actually in graphic display attribute information which is provided for each graphic definition as an individual unit of graphic data. CONSTITUTION:When graphic data having hierarchic structure wherein while a display instruction group consisting of display instruction statements is executed, another display instruction group is called and executed is displayed, only graphic display attribute information to be updated is saved in a standby area 8 at the time of calling the called display instruction group and updating original graphic display attribute information. Then when the execution of the called display instruction group is completed and execution control returns to the calling origin display instruction group, graphic display attribute information on only the part updated by a saving the restoring processing control part 4 is taken out and the state of a display execution part 2 is restored to a state right before the calling origin display instruction group calls another display instruction group. Consequently, the amount of data of saved graphic display attribute information is reduced, the capacity of the standby area is decreased, and the saving the restoring processing time is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は図形データを階層的構造にて定義でき。[Detailed description of the invention] [Industrial application field] The present invention allows graphic data to be defined in a hierarchical structure.

その図形描画を行うグラフィック表示処理装置における
図形データ管理方式に関する。
The present invention relates to a graphic data management method in a graphic display processing device that performs graphic drawing.

(従来の技術〕 従来、階層的構造をもつ図形データの表示処理において
1図形定義の単位ごとにもつ図形表示属性情報の退避・
回復処理を退避されたデータの格納エリアにおけるデー
タ格納位置を示すスタックポインタを用い、全ての図形
表示属性情報のデータを一度に実行していた。
(Prior Art) Conventionally, in the display processing of graphic data having a hierarchical structure, it has been necessary to save and save graphic display attribute information for each unit of one graphic definition.
A stack pointer indicating the data storage position in the storage area of the saved data was used to execute the recovery process for all graphic display attribute information data at once.

本従来方式は日立製作新製のES−330に採用されて
おり、また、PIXEL  Nα33の192頁から1
96頁において記述されているグラフィック・デイスプ
レィの図形データファイル構造では、本従来方式を採用
している。
This conventional method is adopted in Hitachi's new ES-330, and is also used in PIXEL Nα33 from page 192 to 1.
The graphic data file structure of the graphic display described on page 96 employs this conventional method.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は階層的構造となっている図形データの表
示処理において、図形定義の単位ごとにもつ図形表示属
性情報の退避・回復処理時間の点について配慮がされて
おらず、属性情報の退避・回復処理時間が退避するデー
タ量が多いことから図形データの表示処理性能上、無視
できなくなり。
In the above-mentioned conventional technology, when displaying graphic data that has a hierarchical structure, no consideration is given to the processing time for saving and restoring graphic display attribute information for each unit of graphic definition. Since the amount of data to be saved during the recovery processing time is large, it can no longer be ignored in terms of graphic data display processing performance.

階層レベルが深い図形の描画速度が遅いという問題があ
った。
There was a problem that the drawing speed of figures with deep hierarchical levels was slow.

本発明の目的は、この属性情報の退避・回復処理時間の
短縮化をはかることにより図形データの表示処理性能を
向上することにある。
An object of the present invention is to improve graphic data display processing performance by shortening the processing time for saving and restoring attribute information.

〔課題を解決するための手段〕[Means to solve the problem]

通常、階層的構造をもつ図形データの定義として図形デ
ータの個々の単位となる図形定義ごとにもつ図形表示属
性情報を大幅に更新して使用する形態が少ない点に注目
し、実際に更新される属性情報のみを退避・回復処理を
行うことで退避および回復するデータ量を削減する。
We note that there are few forms in which the shape display attribute information for each shape definition, which is an individual unit of shape data, is usually significantly updated and used as a definition of shape data with a hierarchical structure. The amount of data to be saved and restored is reduced by saving and restoring only attribute information.

以上のことにより、上記目的が達成される。また、退避
エリアの容量削減もはかることができる。
Through the above, the above objective is achieved. Furthermore, it is possible to reduce the capacity of the evacuation area.

〔作用〕[Effect]

表示実行部2内部に存在する表示命令処理部5は第1図
(b)に示しているように動作する0本処理部では表示
命命文を一つずつ参照し、参照した命令が表示命命文の
最終であると検出すると現属性テーブル6へ、今まで退
避された全ての属性情報)のデータ回復処理を行うし、
他の図形定義した表示命令群の呼び出し命令であると検
出するとこの定義した表示命令群の呼び出し処理を行う
し、表示属性定義命令であることを検出しつつかつ本属
性定義命令が最上位階層の表示命令群において発行され
ていないならば呪属性テーブル6において新らたに定義
された属性情報を退避エリア8に退避した後、現属性テ
ーブル6で退避した属性情報を更新するし、表示属性定
義命令であることを検出し、かつ、本属性定義命令が最
上位階層の表示命令群において発行されているならば現
属性テーブル6において新らたに定義された属性情報を
退避することなしに更新するし1以上4ケースの場合に
該当しない場合は、その参照した命令に応じた処理を実
行する。
The display instruction processing section 5 existing inside the display execution section 2 operates as shown in FIG. When it is detected that it is the final imperative, data recovery processing is performed for all the attribute information saved up to now in the current attribute table 6,
If it detects that it is a call instruction for a group of display commands defined by another figure, it performs the call process for the group of display commands defined, and if it detects that it is a display attribute definition command, and if this attribute definition command is in the top hierarchy. If it has not been issued in the display command group, the newly defined attribute information in the curse attribute table 6 is saved to the save area 8, and then the saved attribute information is updated in the current attribute table 6, and the display attribute definition is If it is detected that the command is a command, and this attribute definition command has been issued in the display command group of the highest hierarchy, the newly defined attribute information is updated in the current attribute table 6 without saving it. If one or more of the four cases does not apply, the process corresponding to the referenced instruction is executed.

そしてこれを繰り返し行っている。And this is done repeatedly.

これによって図形表示属性情報の更新したデータのみし
か退避・回復処理を実行しない。
As a result, only the data whose graphic display attribute information has been updated is saved and restored.

〔実施例〕〔Example〕

以下、本発明の一実施例を説明する。 An embodiment of the present invention will be described below.

第2図に本実施例の構成を示す、構成としては現時点の
属性情報を管理格納している現属性テーブル6、図形表
示属性情報を一時的に格納する退避エリア8、退避エリ
ア8上における退避した属性情報のデータの格納位置を
示すスタックポインタ7、他の表示命令群を呼び出す呼
び出し命令が実行される度にその一つ前の本領が格納さ
れている退避エリア8上のアドレスを示すフレームポイ
ンタ33との箇所の属性情報のデータを退避したかどう
か判別するフラグの集まりである退避可否判定フラグ3
1を持つ。
FIG. 2 shows the configuration of this embodiment.The configuration includes a current attribute table 6 that manages and stores current attribute information, a save area 8 that temporarily stores graphic display attribute information, and a save area on the save area 8. A stack pointer 7 that indicates the storage location of the attribute information data that has been displayed, and a frame pointer that indicates the address in the save area 8 where the previous main text is stored every time a calling instruction that calls another display instruction group is executed. Saving possibility determination flag 3, which is a collection of flags that determines whether or not the attribute information data of the location 33 has been saved.
Has 1.

本実施例の内容を説明すると、他の図形定義した表示命
令群の呼び出し命令が実行されたときは、現時点の退避
可否判定フラグの値とフレームポインタの値を退避エリ
ア8に退避し、退避可否判定フラグ31を全てクリアす
る。また、表示属性定義命令が処理される度に退避可否
判定フラグ31が新らたに属性定義されたデータに対応
しているフラグがセットされているか判定し、セット状
態、つまりデータを退避法ならば属性情報の退避処理を
行なわず現属性テーブル6上の属性情報のデータを更新
する。リセット状態、つまりデータが未退避ならば本フ
ラグをセットし現属性テーブルの属性情報のデータを退
避エリア8上に退避し、データを退避する度にスタック
ポインタ7をインクリメントする。その後現属性情報の
データを更新する。
To explain the contents of this embodiment, when a call instruction for a group of display commands that define another figure is executed, the value of the current save possibility determination flag and the value of the frame pointer are saved to the save area 8, and All determination flags 31 are cleared. In addition, each time a display attribute definition command is processed, it is determined whether the save possibility determination flag 31 is set to a flag corresponding to data with newly defined attributes, and if the data is in the set state, that is, if the data is For example, the attribute information data on the current attribute table 6 is updated without performing the attribute information saving process. If the reset state is reached, that is, the data has not been saved, this flag is set and the data of the attribute information of the current attribute table is saved onto the save area 8, and the stack pointer 7 is incremented every time data is saved. After that, the data of the current attribute information is updated.

次に、図形定義した表示命令群の最終であることを指定
する表示命令が実行されたときはフレームポインタ33
とスタックポインタ7の値が一致するまで現属性テーブ
ル6上へ退避エリア8より属性情報のデータを回復する
。尚、データを回復する度にスタックポインタ7の値を
デクリメントする。そしてフレームポインタ33とスタ
ックポインタ7の値が一致したならば、以前表示命令群
の呼び出し命令が実行した際退避したフレームポインタ
の値と退避可否判定フラグの値を回復する。
Next, when a display command is executed that specifies that it is the last of a group of display commands that define a figure, the frame pointer 33
The attribute information data is restored from the save area 8 onto the current attribute table 6 until the value of the stack pointer 7 and the value of the stack pointer 7 match. Note that the value of the stack pointer 7 is decremented each time data is recovered. If the values of the frame pointer 33 and the stack pointer 7 match, the value of the frame pointer and the value of the save possibility determination flag that were saved when the call instruction of the display instruction group was previously executed are restored.

以上の処理動作をまとめた図が第3図である。FIG. 3 is a diagram summarizing the above processing operations.

ここで退避する属性情報のデータフォーマットを現属性
テーブル6の退避すべきデータの先頭アドレスを示す退
避属性データの先頭アドレス30と退避すべき属性情報
のデータそのものである退避属性データ32.および退
避すべき属性情報のデータの長さを示す退避属性データ
数50をもつように定義することで、どの箇所の属性情
報のデータが退避されたか認識できるようにしている。
Here, the data format of the attribute information to be saved is the start address 30 of the save attribute data indicating the start address of the data to be saved in the current attribute table 6, and the save attribute data 32 which is the data of the attribute information to be saved. By defining the number of attribute data to be saved as 50 indicating the length of the attribute information data to be saved, it is possible to recognize which location of the attribute information data has been saved.

これの関係を第4図に示す。This relationship is shown in FIG.

以上のようにして具体的に本実施例における属性情報が
退避されていく、退避エリア8上におけるデータの流れ
を示した図を第5図に記述する。
FIG. 5 is a diagram illustrating the flow of data in the save area 8 in which the attribute information in this embodiment is specifically saved as described above.

第5図の説明を行なう。FIG. 5 will be explained.

(a)には退避エリア8の初期状態であることを示して
いる。(b)には他の図形定義した表示命令群の呼び出
し命令が実行され、処理終了時の状態であり、この時点
ではフレームポインタ33とスタックポインタ7の値は
同値となっている。
(a) shows the initial state of the evacuation area 8. In (b), a call instruction for a group of display instructions defining another graphic is executed, and the state is at the end of processing, and at this point, the values of the frame pointer 33 and the stack pointer 7 are the same.

ここで60は退避した退避可否判定フラグの値が61は
退避したフレームポインタの値が格納される。(C)に
は(b)時点よりある一つの表示属性定義命令が実行さ
れた後の状態を示している。
Here, 60 is the value of the saved evacuation determination flag, and 61 is the value of the saved frame pointer. (C) shows the state after one display attribute definition command has been executed from the point in time (b).

スタックポインタ7のみがインクリメントされる。また
、62は表示属性定義命令によって退避させられた属性
情報のデータである0次に(d)には(c)時点から更
にもう一度表示属性定義命令が実行されたときを示して
いる。(C)と同様にスタックポインタ7のみがインク
リメントされていることがわかる。最後に(e)は(d
)の状態から新らたに他の図形定義した表示命令群の呼
び出し命令が実行されたときの状態を示す、また新らた
に退避可否判別フラグおよびフレームポインタの値が各
々64.65に退避される。
Only stack pointer 7 is incremented. Further, 62 is the data of the attribute information saved by the display attribute definition command.Next (d) shows the time when the display attribute definition command is executed again from the time point (c). As in (C), it can be seen that only the stack pointer 7 is incremented. Finally, (e) is (d
) indicates the state when a call command for a display command group that defines another figure is newly executed, and the values of the save possibility determination flag and frame pointer are each newly saved to 64.65. be done.

本実施例によればフレームポインタと退避可否判別フラ
グの値を退避するようにしたことにより、属性情報の回
復処理時、フレームポインタではデクリメント処理、退
避可否判別フラグではフラグのリセット制御を行なう必
要なく1回復処理時間の短縮をはかれる効果がある。
According to this embodiment, by saving the values of the frame pointer and the evacuation determination flag, there is no need to perform decrement processing for the frame pointer and reset control of the evacuation determination flag during attribute information recovery processing. This has the effect of shortening the recovery processing time.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、従来方式に比べ退避エリア8に退避さ
れる図形表示属性情報のデータ量が減少し、退避エリア
の容量削減および退避・回復処理時間の短縮化がはかれ
る。
According to the present invention, the amount of data of graphic display attribute information saved in the save area 8 is reduced compared to the conventional method, and the capacity of the save area and save/recovery processing time are reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の概略構成および処理方法を示した図、
第2図は本発明の一実施例の構成図、第3図は動作説明
図、第4図は第2図の補足説明図。 第5図は本実施例の動作内容の具体例を示した図である
。 7・・・スタックポインタ、8・・・退避エリア、9〜
11・・・退避した属性情報の集まり、30・・・退避
属性データの先頭アドレス、31・・・退避可否判定フ
ラグ、32・・・退避属性データ、33・・・フレーム
ポインタ、34,42,60,64・・・退避した退避
可否判定フラグ、35,43,61.65・・・退避し
たフレームポインタ、50・・・退避属性データ数。
FIG. 1 is a diagram showing the schematic configuration and processing method of the present invention;
FIG. 2 is a configuration diagram of an embodiment of the present invention, FIG. 3 is an explanatory diagram of operation, and FIG. 4 is a supplementary explanatory diagram of FIG. 2. FIG. 5 is a diagram showing a specific example of the operation contents of this embodiment. 7...Stack pointer, 8...Evacuation area, 9~
11... Collection of saved attribute information, 30... Start address of saved attribute data, 31... Saving possibility determination flag, 32... Saved attribute data, 33... Frame pointer, 34, 42, 60, 64... Saved save availability determination flag, 35, 43, 61.65... Saved frame pointer, 50... Number of saved attribute data.

Claims (1)

【特許請求の範囲】[Claims] 1、図形表示を行うための表示命命文を格納する表示命
令格納部(1)と図形表示属性情報を一時的に格納する
退避エリア(8)と現時点の属性情報を管理している現
属性テーブル(6)と退避エリア(8)の退避回復処理
を行う退避・回復処理制御部(4)をもち表示命令格納
部(1)内の表示命令文を参照して、これを処理する表
示命令処理部(5)から成る表示実行部(2)と表示実
行部(2)の実行結果を出力表示する出力表示部(3)
より成り立つ図形描画装置において、一つ以上の表示命
令文より成る表示命令群を実行中に、別の表示命令群を
呼び出して実行するような階層的構造をもつ図形データ
の表示処理を行う場合、呼び出された表示命令群が呼び
出し元の表示命令群の呼び出し時の図形表示属性情報を
更新する際に、更新される図形表示属性情報のみを退避
(17)・回復処理制御部(4)により退避エリア(8
)に格納(21)し、呼び出された表示命令群の実行を
終了して呼び出し元の表示命令群に実行制御が復帰する
際、退避エリア(8)から退避・回復処理制御部(4)
によつて本時点までの更新された部分のみの全ての図形
表示属性情報を取り出して表示実行部(2)の状態を呼
び出し元の表示命令群が別の表示命令群を呼び出す直前
の状態に回復させることを特徴とする図形データ管理方
式。
1. A display command storage section (1) that stores display instructions for graphic display, a save area (8) that temporarily stores graphic display attribute information, and a current attribute that manages the current attribute information. It has an evacuation/recovery processing control unit (4) that performs evacuation and recovery processing of the table (6) and evacuation area (8), and a display instruction that refers to and processes the display instruction statement in the display instruction storage unit (1). A display execution section (2) consisting of a processing section (5) and an output display section (3) that outputs and displays the execution results of the display execution section (2).
When displaying graphic data with a hierarchical structure in which a group of display commands consisting of one or more display command statements is executed, another group of display commands is called and executed in a graphic drawing device consisting of the following: When the called display command group updates the graphic display attribute information at the time of calling the calling display command group, only the updated graphic display attribute information is saved by the save (17)/recovery processing control unit (4). Area (8
) (21), and when execution of the called display command group is finished and execution control is returned to the calling display command group, the evacuation/recovery processing control unit (4) is stored in the evacuation area (8).
extracts all the graphic display attribute information of only the updated part up to this point and restores the state of the display execution unit (2) to the state immediately before the calling display command group called another display command group. A graphic data management method that is characterized by the ability to
JP63334045A 1988-12-28 1988-12-28 Graphic data control system Pending JPH02178696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63334045A JPH02178696A (en) 1988-12-28 1988-12-28 Graphic data control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63334045A JPH02178696A (en) 1988-12-28 1988-12-28 Graphic data control system

Publications (1)

Publication Number Publication Date
JPH02178696A true JPH02178696A (en) 1990-07-11

Family

ID=18272893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63334045A Pending JPH02178696A (en) 1988-12-28 1988-12-28 Graphic data control system

Country Status (1)

Country Link
JP (1) JPH02178696A (en)

Similar Documents

Publication Publication Date Title
JPH06231268A (en) Method and apparatus for storage and restoration of traversal-state attribute value of dag-structure network
JPH02178696A (en) Graphic data control system
JPS60134282A (en) System screen display system
JP2747055B2 (en) Graphic display device
JPS6126087B2 (en)
JPH04373015A (en) Cut and paste processing system
JPH06110670A (en) Graphic user interface function customizing system
JP3461872B2 (en) Screen display control method and device
JPH0816809A (en) Drawing system
JPS61105638A (en) Stepwise graphic clipping system
JPH0293688A (en) Drawing system for multiwindow displaying system
JP2731400B2 (en) Display output control method in document creation device
JPS61248086A (en) Page editing display system
JPH0773029A (en) Flow chart display system
JP2780384B2 (en) Contour editing device
JP3225633B2 (en) Image data management device
JPS63271672A (en) Graphic output controller
JPH0540592A (en) Drawing system for multiwindow display system
JPH04347777A (en) Cut and paste processing system
JPS60222890A (en) Multiwindow control system for bit map display
JPH09204457A (en) Display graphic editing system
JPH0676032A (en) Method and device for picture editing
JPS63220373A (en) Image expanding and contracting device
JPH04133127A (en) Data display device
JPS62219073A (en) Graphic data restoration system in graphic processing system