JPH0348928A - Display control system - Google Patents
Display control systemInfo
- Publication number
- JPH0348928A JPH0348928A JP18516889A JP18516889A JPH0348928A JP H0348928 A JPH0348928 A JP H0348928A JP 18516889 A JP18516889 A JP 18516889A JP 18516889 A JP18516889 A JP 18516889A JP H0348928 A JPH0348928 A JP H0348928A
- Authority
- JP
- Japan
- Prior art keywords
- display
- data
- pixel data
- saving
- drawing 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
- Digital Computer Display Output (AREA)
Abstract
Description
【発明の詳細な説明】 〔目 次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 作用 実施例 1、実施例と第1図との対応関係 ■、実施例の構成 ■、実施例の動作 (i)表示処理 (ii )再描画処理 (ji)BMMの切換処理 ■、実施例のまとめ ■0発明の変形態様 発明の効果 〔概 要] 入力された描画データに基づいて、文字、記号。[Detailed description of the invention] 〔table of contents〕 overview Industrial applications Conventional technology Problems that the invention aims to solve Means to solve problems action Example 1. Correspondence between the example and Figure 1 ■, Structure of the example ■, Operation of the example (i) Display processing (ii) Redraw processing (ji) BMM switching process ■Summary of examples ■Variation of 0 invention Effect of the invention 〔overview] Characters, symbols based on input drawing data.
図形などを表す画素データを生成して表示を行なうよう
にした表示制御方式に関し、
利用者の待ち時間を短縮することを目的とし、入力され
た描画データを保持し、退避指示に応じて、この退避指
示が供給される以前に入力された描画データを退避用描
画データとして出力するとともに自身の内容をクリアす
る保持手段と、入力された描画データに基づいて、表示
用の画素データを生成するとともに、保持手段から供給
された退避用描画データに基づいて退避用の画素データ
を生成する描画手段と、描画手段によって生成された画
素データを格納する第1格納手段、第2格納手段と、退
避指示に基づいて、描画手段から供給される画素データ
が表示用であるか退避用であるかを判断し、表示用の画
素データを第1格納手段に、退避用の画素データを第2
格納手段に格納する書込制御手段と、通常は第1格納手
段を選択し、取消要求に応じて第2格納手段を選択する
選択手段と、選択手段によって選択された第1格納手段
、第2格納手段の何れかに格納されている画素データに
基づいて表示を行なう表示手段とを備えるように構成す
る。Regarding the display control method that generates and displays pixel data representing figures, etc., the purpose of reducing user waiting time is to retain the input drawing data and, in response to evacuation instructions, to display this data. A storage means that outputs the drawing data that was input before the evacuation instruction is supplied as the evacuation drawing data and clears its own contents, and generates pixel data for display based on the input drawing data. , a drawing means that generates pixel data for saving based on the drawing data for saving supplied from the holding means, first storage means and second storage means that store the pixel data generated by the drawing means, and an evacuation instruction. Based on this, it is determined whether the pixel data supplied from the drawing means is for display or for saving, and the pixel data for display is stored in the first storage means, and the pixel data for saving is stored in the second storage means.
write control means for storing in the storage means; selection means for normally selecting the first storage means and selecting the second storage means in response to a cancellation request; and the first storage means selected by the selection means, the second storage means and display means for performing display based on pixel data stored in any of the storage means.
本発明は、ワークステーションやパーソナルコンピュー
タの表示装置の表示制御方式に関し、特に、入力された
描画データに基づいて、文字、記号1図形などを表す画
素データを生成して表示するようにした表示制御方式に
関するものである。The present invention relates to a display control method for a display device of a workstation or a personal computer, and in particular, a display control system that generates and displays pixel data representing characters, symbols, figures, etc. based on input drawing data. It is related to the method.
例えば、利用者がワークステーションなどにおいて、新
聞などの編集を行なうアプリケーションを実行している
場合に、新しい記事に対応する画像を挿入したり、画像
の移動や回転を指示したりする操作を行なった後に、こ
れらの操作を行なう前の状態に画面を回復させたいとい
う要望がある。For example, when a user is running an application that edits newspapers or other articles on a workstation, the user inserts an image that corresponds to a new article, or instructs the user to move or rotate the image. Afterwards, there is a desire to restore the screen to the state before performing these operations.
このような要望に対応するために、利用者が取消キーな
どを押下して取消要求を行なうことにより、最後に入力
された操作を取り消して、以前の画面を回復するような
機能(以下、取消機能と称する)が実現されている。In order to respond to such requests, we have created a function (hereinafter referred to as "cancel") that allows the user to cancel the last input operation and restore the previous screen by pressing the cancel key etc. functions) have been realized.
上述した新聞などの編集アプリケーションのように試行
錯誤の多い作業を行なう場合には、利用者とワークステ
ーションなどのシステムとの間のインタフェースとして
、この取消機能は特に重要である。This cancellation function is particularly important as an interface between the user and a system such as a workstation when performing work that involves a lot of trial and error, such as in the above-mentioned newspaper editing application.
上述した取消機能は、従来のワークステーションなどに
おいては、以下に述べる2つの方式によって実現されて
いる。The above-mentioned cancellation function is realized in conventional workstations and the like by the following two methods.
■の方式
一連の操作(例えば図形を描く1図形を移動するなど)
が終了するごとに、利用者あるいはアプリケーションか
ら退避指示が供給され、この退避指示に応じて、ビット
マツプメモリに格納されている画素データを主記憶装置
などに退避する。■Method A series of operations (for example, drawing a figure and moving one figure)
Each time the process is completed, an evacuation instruction is supplied from the user or an application, and in response to this evacuation instruction, the pixel data stored in the bitmap memory is saved to the main storage device or the like.
利用者が取消キーを押下して取消要求を行なったときに
、主記憶装置に退避されていた画素データがビットマツ
プメモリに転送され、退避されていた画像がビットマツ
プデイスプレィによって表示される。When the user presses the cancel key to request cancellation, the pixel data saved in the main storage device is transferred to the bitmap memory, and the saved image is displayed on the bitmap display.
■の方式
画像の作成の開始以降に利用者によって入力される描画
データ(後述する)を順次に主記憶装置などに退避して
おく。(2) Method Drawing data (described later) input by the user after the start of image creation is sequentially saved in the main storage device or the like.
ここで、描画データとは、図形の作図や画像の移動9回
転などの操作を行なうために、画素データを生成する描
画用のハードウェア(例えばグラフィック・プロセッサ
など)に供給する命令(コマンド)およびデータである
。また、この描画データに基づいて画素データを生成す
ることをビット展開するという。Here, drawing data refers to instructions (commands) and instructions supplied to drawing hardware (such as a graphics processor) that generates pixel data in order to perform operations such as drawing figures and moving images 9 times. It is data. Furthermore, generating pixel data based on this drawing data is called bit expansion.
この方式においては、利用者が取消キーを押下して取消
要求を行なったときに、主記憶装置に退避されていた描
画データに基づいて、グラフィック・プロセッサが再び
ビット展開を行なう(再描画を行なう)。これにより、
画像の作成の開始時点から利用者あるいはアプリケーシ
ョンによって指定されたチエツクポイントまでの過程が
再現され、このチエツクポイントにおける画像が復元さ
れる。In this method, when the user presses the cancel key to request cancellation, the graphics processor again performs bit expansion (redrawing) based on the drawing data saved in the main memory. ). This results in
The process from the start of image creation to the checkpoint specified by the user or application is reproduced, and the image at this checkpoint is restored.
ところで、上述した従来の■の方式にあっては、ビット
マツプデイスプレィが高解像度となってビットマツプメ
モリに格納される画素データの量が増大した場合に、ビ
ットマツプメモリの内容の主記憶装置への退避および主
記憶装置からビットマツプメモリへの復帰に時間がかか
り、利用者の待ち時間が生じるという問題点があった。By the way, in the conventional method (2) mentioned above, when the bitmap display becomes high-resolution and the amount of pixel data stored in the bitmap memory increases, the contents of the bitmap memory are stored in the main memory. There is a problem in that it takes time to save the data to the bitmap memory and restore it from the main memory to the bitmap memory, resulting in waiting time for the user.
特に、■の方式にあってアプリケーションが退避指示を
行なう場合は、利用者が取消要求を行なう意志があるか
否かにかかわらず上述したビットマツプメモリの内容の
退避による待ち時間が生じるので、取消要求を行なう意
志のない利用者の不満を招いていた。In particular, when an application issues an evacuation instruction in accordance with method (2), there will be a waiting time due to evacuation of the contents of the bitmap memory as described above, regardless of whether the user intends to issue a cancellation request or not. This caused dissatisfaction among users who had no intention of making requests.
また、上述した従来の■の方式にあっては、描画データ
が退避されるので、画像の作成中にデータの退避のため
の待ち時間が生じることはないが、取消要求に応じて画
像の作成の開始から再描画を行なうため、複雑な画像を
再現する際に時間がかかり、取消要求が行なわれてから
画像が復元されるまでの待ち時間が長いという問題点が
あった。In addition, in the conventional method (2) mentioned above, since the drawing data is saved, there is no waiting time for data saving while the image is being created. Since redrawing is performed from the start of the image, it takes time to reproduce a complex image, and there is a problem that there is a long waiting time from when a cancellation request is made until the image is restored.
本発明は、このような点にかんがみて創作されたもので
あり、利用者の待ち時間を短縮するようにした表示制御
方式を提供することを目的としている。The present invention was created in view of these points, and an object of the present invention is to provide a display control method that reduces the waiting time for users.
〔課題を解決するための手段]
第1図は、本発明の表示制御方式の原理ブロック図であ
る。[Means for Solving the Problems] FIG. 1 is a block diagram of the principle of the display control method of the present invention.
図において、入力された描画データに基づいて、文字、
記号2図形などを表す画素データを生成して表示を行な
うようにした表示制御方式における保持手段112は、
入力された描画データを保持し、退避指示に応じて、こ
の退避指示が供給される以前に入力された描画データを
退避用描画データとして出力するとともに自身の内容を
クリアする。In the diagram, characters,
The holding means 112 in a display control system that generates and displays pixel data representing symbol 2 figures, etc.
It holds the input drawing data, and in response to a save instruction, outputs the drawing data that was input before the save instruction is supplied as save drawing data, and clears its own contents.
描画手段111は、入力された描画データに基づいて、
表示用の画素データを生成するとともに、保持手段11
2から供給された退避用描画データに基づいて退避用の
画素データを生成する。The drawing means 111, based on the input drawing data,
In addition to generating pixel data for display, the holding means 11
Pixel data for saving is generated based on the drawing data for saving supplied from 2.
第1格納手段114.第2格納手段115は、描画手段
111によって生成された画素データを格納する。First storage means 114. The second storage means 115 stores the pixel data generated by the drawing means 111.
書込制御手段116は、退避指示に基づいて、描画手段
111から供給される画素データが表示用であるか退避
用であるかを判断し、表示用の画素データを第1格納手
段114に、退避用の画素データを第2格納手段115
に格納する。The write control means 116 determines whether the pixel data supplied from the drawing means 111 is for display or evacuation based on the evacuation instruction, and stores the pixel data for display in the first storage means 114. The pixel data for saving is stored in the second storage means 115.
Store in.
選択手段117は、通常は第1格納手段114を選択し
、取消要求に応じて第2格納手段115を選択する。The selection means 117 normally selects the first storage means 114, and selects the second storage means 115 in response to a cancellation request.
表示手段101は、選択手段117によって選択された
第1格納手段114.第2格納手段115の何れかに格
納されている画素データに基づいて表示を行なう。The display means 101 displays the first storage means 114 . selected by the selection means 117 . Display is performed based on pixel data stored in any of the second storage means 115.
入力された描画データに基づいて、描画手段111によ
り表示用の画素データが生成され、書込制御手段116
に供給される。Based on the input drawing data, the drawing means 111 generates pixel data for display, and the writing control means 116 generates pixel data for display.
supplied to
また、上述した描画データは、保持手段112に入力さ
れて保持され、退避指示に応じて、この退避指示以前に
保持手段112に入力されて保持されていた描画データ
が退避用描画データとして出力され、描画手段111に
供給される。このとき、保持手段112により、自身の
内容がクリアされる。Further, the above-mentioned drawing data is input to the holding means 112 and held, and in response to an evacuation instruction, the drawing data that was input to and held in the holding means 112 before this evacuation instruction is outputted as evacuation drawing data. , are supplied to the drawing means 111. At this time, the holding means 112 clears its own contents.
例えば、所定量の描画データが入力されるごとに、上述
した退避指示が供給されるものとすると、退避指示が供
給されるごとに、以前の退避指示との間に入力された描
画データが、保持手段112によって退避用描画データ
として出力され、この退避用描画データに基づいて、描
画手段111により退避用の画素データが生成されて書
込制御手段116に供給される。For example, if the above-mentioned evacuation instruction is supplied every time a predetermined amount of drawing data is input, each time the evacuation instruction is supplied, the drawing data input between the previous evacuation instruction and The holding unit 112 outputs the save drawing data, and based on this save drawing data, the drawing unit 111 generates save pixel data and supplies it to the write control unit 116.
上述した退避指示に基づいて、書込制御手段116によ
り、描画手段111から供給された画素データが表示用
であるか退避用、であるかが判断され、表示用の画素デ
ータは書込制御手段116により第1格納手段114に
、退避用の画素データは第2格納手段115に格納され
る。Based on the above-mentioned save instruction, the write control means 116 determines whether the pixel data supplied from the drawing means 111 is for display or for save, and the pixel data for display is sent to the write control means. 116, the pixel data for saving is stored in the first storage means 114, and the pixel data for saving is stored in the second storage means 115.
表示用の画素データは描画データが入力されるごとに生
成されるので、入力された全ての描画データに基づいて
生成された画素データが、第1格納手段114に格納さ
れている。Since pixel data for display is generated every time drawing data is input, pixel data generated based on all input drawing data is stored in the first storage means 114.
一方、退避用の画素データは、退避指示が供給されるご
とに生成されるので、最近に供給された退避指示より以
前に入力された描画データに基づいて生成された画素デ
ータが第2格納手段115に格納されている。従って、
第2格納手段115に格納された画素データは、最近に
退避指示が供給されたときに第1格納手段114に格納
されていた画素データに対応し、上述した退避指示以降
に入力された描画データに対応する画素データを含んで
いない。On the other hand, pixel data for evacuation is generated every time an evacuation instruction is supplied, so the pixel data generated based on the drawing data input earlier than the most recently supplied evacuation instruction is stored in the second storage means. 115. Therefore,
The pixel data stored in the second storage means 115 corresponds to the pixel data stored in the first storage means 114 when the evacuation instruction was recently supplied, and the drawing data input after the evacuation instruction described above. does not contain pixel data corresponding to .
通常は、選択手段117により第1格納手段114が選
択され、大力された全ての描画データに基づいて生成さ
れた画素データに基づいて、表示手段101による表示
が行なわれる。Normally, the first storage means 114 is selected by the selection means 117, and the display means 101 performs display based on pixel data generated based on all the input drawing data.
一方、取消要求に応じて、選択手段117により第2格
納手段115が選択され、表示手段101により最近に
供給された退避指示以前に供給された描画データに基づ
いて生成された画素データに基づいて表示が行なわれる
。On the other hand, in response to the cancellation request, the second storage means 115 is selected by the selection means 117, and the pixel data generated based on the drawing data supplied before the evacuation instruction most recently supplied by the display means 101 is selected. Display is performed.
本発明にあっては、入力された描画データに基づいた表
示を行なうとともに、退避用描画データに基づいて退避
用の画素データが生成され、第2格納手段115に格納
される。これにより、最近に退避指示が供給されたとき
の画像に対応する画素データが再現され、取消要求に応
じて、選択手段117によって上述した第2格納手段1
15を選択することにより、最近に供給された退避指示
以降に入力された描画データに応じて変化する前の画像
が表示される。In the present invention, display is performed based on the input drawing data, and pixel data for saving is generated based on the drawing data for saving, and is stored in the second storage means 115. As a result, the pixel data corresponding to the image when the evacuation instruction was recently supplied is reproduced, and in response to the cancellation request, the selection means 117
By selecting 15, an image before being changed according to drawing data input after the most recently supplied evacuation instruction is displayed.
以下、図面に基づいて本発明の実施例について詳細に説
明する。Hereinafter, embodiments of the present invention will be described in detail based on the drawings.
第2図は、本発明の一実施例における表示制御方式を通
用したワークステーションの構成を示す。FIG. 2 shows the configuration of a workstation that uses a display control method according to an embodiment of the present invention.
1の
ここで、本発明の実施例と第1図との対応関係を示して
おく。1, the correspondence between the embodiment of the present invention and FIG. 1 will be shown.
表示手段101は、ビットマツプデイスプレィ201に
相当する。Display means 101 corresponds to bitmap display 201.
描画手段111は、中央処理装置(CPU)211、グ
ラフィック・プロセッサ(GP)213に相当する。The drawing means 111 corresponds to a central processing unit (CPU) 211 and a graphics processor (GP) 213.
保持手段112は、メモリ212に相当する。The holding means 112 corresponds to the memory 212.
第1格納手段114.第2格納手段115は、ビットマ
ツプメモリ (BMM)214a、214bに相当する
。First storage means 114. The second storage means 115 corresponds to bitmap memories (BMM) 214a and 214b.
書込制御手段116は、BMM制御回路216に相当す
る。The write control means 116 corresponds to the BMM control circuit 216.
選択手段117は、表示制御回路217に相当する。The selection means 117 corresponds to the display control circuit 217.
以上のような対応関係があるものとして、以下本発明の
実施例について説明する。Examples of the present invention will be described below assuming that the correspondence relationship as described above exists.
■−1」l■旧l戊
第2図に示した実施例による表示制御方式を適用したワ
ークステーションにおいて、211は中央処理装置(C
PU)、212はメモリ、213はグラフィック・プロ
セッサ(CP)、214aおよび214bはビットマツ
プメモリ(BMM)、216はBMM制御回路、217
は表示制御回路、201はビットマツプデイスプレィを
示している。211 is a central processing unit (C
PU), 212 is a memory, 213 is a graphics processor (CP), 214a and 214b are bitmap memories (BMM), 216 is a BMM control circuit, 217
Reference numeral 201 indicates a display control circuit, and 201 indicates a bitmap display.
また、202は入力装置制御回路であり、キーボード2
21およびマウス222を制御する。Further, 202 is an input device control circuit, and the keyboard 2
21 and mouse 222.
203は外部記憶制御回路であり、フロッピーディスク
装置などの外部記憶装置(図示せず)とワークステージ
タンとの間でのデータの授受を制御する。An external storage control circuit 203 controls data exchange between an external storage device (not shown) such as a floppy disk device and the work stage.
上述したCPU211.メモリ212.CP213.2
つの8MM214a、214b、BMM制御制御回路2
1麦1
制御回路202,外部記憶制御回路203は、バスを介
して相互に接続されている0図においては、8MM2
1 4 bとバスとを接続する線は省略した。The CPU 211 described above. Memory 212. CP213.2
8MM214a, 214b, BMM control control circuit 2
1 Mugi 1 The control circuit 202 and the external storage control circuit 203 are connected to each other via a bus.
The line connecting 14b and the bus is omitted.
ここで、第2図に示したワークステーションにおいて、
図形を作成するアプリケーションが実行されており、C
PU2 1 1はこのアプリケーションプログラムに従
って動作するものとする。Here, at the workstation shown in Figure 2,
An application that creates shapes is running and C
It is assumed that PU2 1 1 operates according to this application program.
利用者がキーボード221およびマウス222を操作す
ることにより、作図のためのコマンドや文字.数値など
のデータおよび座標データが入力装置制御回路202に
供給され、バスを介してメモリ212に蓄積されるよう
になっている。By operating the keyboard 221 and mouse 222, the user can issue drawing commands and characters. Data such as numerical values and coordinate data are supplied to the input device control circuit 202 and stored in the memory 212 via the bus.
以下、上述した作図のためのコマンドや文字。Below are the commands and characters for drawing mentioned above.
数値データおよび座標データなどを描画データと称する
。Numerical data, coordinate data, etc. are called drawing data.
また、メモリ212には、上述した描画データの一部を
退避する描画データ退避領域と、CPU211からの指
示に応じて、線や塗り潰しパターンの種類や強調表示の
有無などを示す表示属性を退避するための表示属性退避
領域が設けられている。In addition, the memory 212 has a drawing data save area for saving part of the above-mentioned drawing data, and saves display attributes indicating types of lines and fill patterns, presence or absence of highlighting, etc. in accordance with instructions from the CPU 211. A display attribute save area is provided for this purpose.
GP213は、CPU2 1 1の指示に応じて、メモ
リ212に蓄積された描画データの読み出しを行ない、
この描画データに基づいて、文字,記号2図形などを表
す画素データを生成して、BMM制御回路216に供給
するように構成されている。The GP 213 reads out the drawing data stored in the memory 212 according to instructions from the CPU 211,
Based on this drawing data, pixel data representing characters, symbols, 2 figures, etc. is generated and supplied to the BMM control circuit 216.
このBMM制御回路216は、CPU2 1 1からの
指示に応じて、2つの8MM214a,214bの何れ
か一方に上述したCP213から供給された画素データ
を格納するとともに、2つの8MM214a,214b
の一方の内容の他方への複写を行なうように構成されて
いる。This BMM control circuit 216 stores the pixel data supplied from the above-mentioned CP 213 in either one of the two 8MMs 214a, 214b according to instructions from the CPU 211, and
is configured to copy the contents of one to the other.
表示制御回路217は、CPU2 1 1からの指示に
応じて2つの8MM214a,214bの何れか一方を
選択し、該当する8MM214に格納されている画素デ
ータに基づいて、ビットマツプデイスプレィ201によ
る表示が行なわれるようになっている。The display control circuit 217 selects one of the two 8MMs 214a and 214b in response to instructions from the CPU 211, and controls the display on the bitmap display 201 based on the pixel data stored in the corresponding 8MM 214. It is supposed to be done.
以下、この表示制御回路217によって選択されて表示
に用いられるBMMを表示用BMMと称し、他方を退避
用BMM(後述する)と称する。Hereinafter, the BMM selected by the display control circuit 217 and used for display will be referred to as a display BMM, and the other one will be referred to as a save BMM (described later).
ところで、利用者が一連の操作を指示し、この指示に応
じて表示される画像が変化した後に、この一連の操作を
取り消して、処理を行なう前の画像を復元させたいとい
う要望がある。By the way, after a user instructs a series of operations and the displayed image changes in accordance with the instructions, there is a desire to cancel the series of operations and restore the image before any processing was performed.
このため、利用者が取消キーを押下して取消要求を行な
ったときに、予め指定しておいたチエツクポイントにお
いてビットマツプデイスプレィ201が表示していた画
像を復元するようになっている(以下、このような機能
を取消機能と称する)。Therefore, when the user presses the cancel key to request cancellation, the image displayed on the bitmap display 201 at the pre-specified check point is restored (see below). , such a function is called a cancel function).
上述したチエツクポイントは、例えば1つの図形(線分
,多角形1円など)の描画処理が終了するごとに、アプ
リケーション側から指定するようにする。The above-mentioned check points are specified from the application side, for example, each time the drawing process of one figure (line segment, polygon, one circle, etc.) is completed.
f列1作 第3図に、実施例の動作を表す流れ図を示す。1 piece in row f FIG. 3 shows a flowchart representing the operation of the embodiment.
また、第4図に、実施例の動作の説明図を示す。Further, FIG. 4 shows an explanatory diagram of the operation of the embodiment.
以下、第2図〜第4図を参照し、実施例による表示制御
方式を適用したワークステーションにおける表示処理お
よび取消機能を実現するための再描画処理とBMMの切
換処理の動作を説明する。Hereinafter, with reference to FIGS. 2 to 4, the operations of redrawing processing and BMM switching processing for realizing display processing and cancellation functions in a workstation to which the display control method according to the embodiment is applied will be described.
ここで、初期状態においては、8MM214 aを表示
用BMMとし、8MM214 bをチエツクポイントに
おける画像に対応する画素データが復元される退避用B
MMとする。Here, in the initial state, the 8MM214a is used as the display BMM, and the 8MM214b is used as the save BMM where pixel data corresponding to the image at the check point is restored.
Let's say MM.
また、初期状態においては、メモリ212に設けられた
描画データ退避領域はクリアされており、表示属性退避
領域には第1表に示すような所定の暗黙値が格納されて
いるものとする。Further, in the initial state, the drawing data save area provided in the memory 212 is cleared, and the display attribute save area stores predetermined implicit values as shown in Table 1.
第1表
入力装置制御回路202を介して、キーボード221、
マウス222によって利用者が入力した描画データがC
PU211に供給される(ステップ301)。Through the input device control circuit 202 in Table 1, the keyboard 221,
The drawing data input by the user using the mouse 222 is C.
It is supplied to the PU 211 (step 301).
ステップ301において供給された描画データに基づい
て、GP213によりビット展開が行なわれて画素デー
タが生成され、BMM制御回路216に供給される(ス
テップ302)。Based on the drawing data supplied in step 301, the GP 213 performs bit expansion to generate pixel data, which is supplied to the BMM control circuit 216 (step 302).
例えば、ステップ301において、r円を描く」コマン
ドと半径Rや位置(X+ 、 ’j’+ )およびr塗
り潰しパターンの変更」コマンドと“格子”を示すコー
ドなどのデータが入力された場合は、ステップ302に
おけるビット展開によって、座標(X、、Y、)を中心
とした半径Rの円の内部を格子パターンで塗り潰したも
のを表す画像(第4図(a)参照)に対応する画素デー
タが生成される。For example, in step 301, if data such as the command ``Draw a circle r'', the command ``Change radius R, position (X+, 'j'+), and r filling pattern'', and the code indicating ``grid'' are input, Through the bit expansion in step 302, pixel data corresponding to an image (see FIG. 4(a)) representing the inside of a circle of radius R centered at the coordinates (X,,Y,) filled with a grid pattern is obtained. generated.
このとき、CPU211はr表示用BMMに画素データ
を格納する1旨の指示をBMM制御回路216に供給し
、また、「表示用BMMを選択する1旨の指示を表示制
御回路217に供給する。At this time, the CPU 211 supplies the BMM control circuit 216 with an instruction to store pixel data in the r display BMM, and also supplies the display control circuit 217 with an instruction to select the display BMM.
この指示に応じて一1BMMI111回路216により
ステップ302で生成された画素データは表示用BMM
に格納される。また、上述した指示に応じて、表示制御
回路217により表示用BMMが選択され、この表示用
BMMに格納されている画素データに基づいて、ビット
マツプデイスプレィ201による表示が行なわれる。In response to this instruction, the pixel data generated in step 302 by the 11 BMMI 111 circuit 216 is transferred to the display BMM.
is stored in Further, in response to the above-mentioned instruction, a display BMM is selected by the display control circuit 217, and a display is performed on the bitmap display 201 based on the pixel data stored in this display BMM.
次に、CPU211は、ステップ301において入力さ
れた描画データを、メモリ212内に設けられた描画デ
ータ退避領域に退避する(ステップ303)。Next, the CPU 211 saves the drawing data input in step 301 to a drawing data save area provided in the memory 212 (step 303).
これにより、例えば第2表に示すような描画データが、
描画データ退避領域に退避される。As a result, the drawing data as shown in Table 2, for example,
It is saved to the drawing data save area.
第2表
ステップ304において、利用者によって取消キーが押
下されたか否かが判定され、このステップ304の否定
判定となった場合は、ステップ305において、CPU
211はチエツクポイントを指定するか否かを判定する
。In step 304 of Table 2, it is determined whether or not the cancel key has been pressed by the user. If the determination in step 304 is negative, in step 305, the CPU
At step 211, it is determined whether or not a checkpoint is specified.
チエツクポイントが指定されなかった場合はステップ3
05における否定判定となり、上述したステップ301
〜ステツプ305を繰り返す。この場合は、上述したよ
うな通常の表示処理(ステップ301〜302参照)が
行なわれるとともに、利用者によって次々に入力される
描画データが順次に描画データ退避領域に蓄積される。If no checkpoint is specified, step 3
A negative determination is made in step 05, and the step 301 described above is
~Repeat step 305. In this case, normal display processing as described above (see steps 301 to 302) is performed, and drawing data input one after another by the user is sequentially stored in the drawing data save area.
このようにして、以前に指定されたチエツクポイント以
降に入力された描画データが描画データ退避領域に蓄積
される。In this way, the drawing data input after the previously specified check point is accumulated in the drawing data save area.
1」ユ」口旧14皿
一方、アプリケーション側からチエツクポイントが指定
され、ステップ305における肯定判定となった場合は
、上述した描画データ退避領域に蓄積された描画データ
と表示属性退避領域に格納された表示属性とがGP21
3に供給される。GP213はこれらに基づいて再描画
を行ない、生成した画素データをBMM制御回路216
に供給する(ステップ306)。On the other hand, if a check point is specified from the application side and an affirmative determination is made in step 305, the drawing data accumulated in the above-mentioned drawing data save area and the display attribute save area are stored. The displayed attributes are GP21
3. The GP 213 performs redrawing based on these and sends the generated pixel data to the BMM control circuit 216.
(step 306).
このとき、CPU211はBMM制御回路216にr退
避用BMMに画素データを格納する」旨の指示を供給し
、この指示に応じて、BMM制御回路216はステップ
306において生成された画素データを退避用BMMと
なった8MM214bに格納する。At this time, the CPU 211 supplies the BMM control circuit 216 with an instruction to "store the pixel data in the r save BMM," and in response to this instruction, the BMM control circuit 216 stores the pixel data generated in step 306 in the save BMM. It is stored in the 8MM 214b which has become the BMM.
次に、CPU211は、描画データ退避領域の描画デー
タの再描画が終了した時点における表示属性を表示属性
退避領域に退避しくステップ307)、描画データ退避
領域の内容をクリアする(ステップ308)。Next, the CPU 211 saves the display attributes at the time when the redrawing of the drawing data in the drawing data saving area is completed to the display attribute saving area (step 307), and clears the contents of the drawing data saving area (step 308).
例えば、上述した半径Rの円を塗り潰した時点において
、CPU211が一連の処理が終了したと判定し、この
時点をチエツクポイントとして指定する場合は、メモリ
212の描画データ退避領域に退避された描画データ(
第2表参照)に基づいてCP213により画素データが
生成され、退避用BMM (8MM214 b)に格子
パターンで塗り潰された円を表す画素データが格納され
る。For example, if the CPU 211 determines that a series of processes are completed at the time when the circle with radius R described above is filled in, and designates this point as a check point, the drawing data saved in the drawing data save area of the memory 212 (
Pixel data is generated by the CP 213 based on the data (see Table 2), and the pixel data representing a circle filled with a grid pattern is stored in the save BMM (8MM 214 b).
また、ステップ307において、上述した描画データに
応じて表示属性を表示属性退避領域に退避することによ
り、例えば、第1表の塗り潰しパターンは°“格子°゛
に変更される。これにより、上述したチエツクポイント
における表示属性と同じものが表示属性退避領域に格納
される。Furthermore, in step 307, by saving the display attributes to the display attribute save area according to the above-mentioned drawing data, for example, the fill pattern in Table 1 is changed to ``grid''. The same display attributes as those at the checkpoint are stored in the display attribute save area.
上述したステップ301〜ステツプ308は、ステップ
309において全ての作図指示が終了したと判定される
まで繰り返される。Steps 301 to 308 described above are repeated until it is determined in step 309 that all drawing instructions have been completed.
このように、アプリケーションによりチエツクポイント
が指定されるごとに、上述した再描画処理(ステップ3
06〜ステツプ308)を行なうことにより、最後に指
定されたチエツクポイントの時点においてビットマツプ
デイスプレィ201によって表示されていた画像に対応
する画素データが復元されて退避用BMM (8MM2
14 b)に格納される。In this way, each time a checkpoint is specified by an application, the above-mentioned redrawing process (step 3) is performed.
By performing steps 06 to 308), the pixel data corresponding to the image displayed on the bitmap display 201 at the time of the last specified check point is restored and saved in the save BMM (8MM2).
14 b).
iii BMMの
ところで、ステーツブ301において新たな描画データ
として、例えばr線を描く」コマンドと線分の始点と終
点を示す座標データおよびrvAの色の変更」コマンド
と変更後の色として゛青゛°を指定するデータが供給さ
れると、ステップ302において上述した描画データに
基づいてビット展開が行なわれ、ビットマツプデイスプ
レィ201により、以前に表示されていた格子パターン
で塗り潰された円の他に、第4図(b)に示すように青
の線分が表示される。iii In the BMM, as new drawing data in the state 301, for example, draw an r line command, coordinate data indicating the start and end points of the line segment, and change the color of rvA" command, and the changed color is "blue". When data specifying is supplied, bit expansion is performed in step 302 based on the drawing data described above, and the bitmap display 201 displays, in addition to the previously displayed circle filled with the grid pattern, A blue line segment is displayed as shown in FIG. 4(b).
これらの処理が行なわれた後に、利用者が取消キーを押
下して取消要求を行なった場合は、ステップ304にお
ける肯定判定となる。この場合は、CPU211により
r退避用BMMを選択するJ旨の指示が表示制御回路2
17に供給される。これに応じて、表示制御回路217
により、退避用BMM (例えば8MM214 b)が
選択される(ステップ310)。After these processes are performed, if the user presses the cancellation key to request cancellation, an affirmative determination is made in step 304. In this case, the CPU 211 instructs the display control circuit 2 to select the r evacuation BMM.
17. In response, the display control circuit 217
As a result, an evacuation BMM (for example, 8MM214b) is selected (step 310).
上述したように、退避用BMMには最後に指定されたチ
エツクポイントにおける表示用BMMの内容が復元され
ている。従って、ステップ310において、表示制御回
路217により退避用BMMを選択し、この退避用BM
Mに格納されている画素データをビットマツプデイスプ
レィ201に供給することにより、最後に指定されたチ
エツクポイントの時点で表示していた画像(第4図(a
)参照)がビットマツプデイスプレィ201によって表
示される。As described above, the contents of the display BMM at the last designated checkpoint are restored in the save BMM. Therefore, in step 310, the display control circuit 217 selects the evacuation BMM, and this evacuation BM
By supplying the pixel data stored in the bitmap display 201 to the bitmap display 201, the image displayed at the time of the last specified checkpoint (Fig. 4(a)
) is displayed on the bitmap display 201.
また、このとき、CPU211はメモリ212内の描画
データ退避領域をクリアしくステップ311)、また、
CPU211はBMM制御回路216にr退避用BMM
の内容を表示用BMMに複写する1旨の指示を供給し、
これに応じて、BMM制御回路216は、退避用BMM
(例えば8MM214 b)に格納されている画素デー
タを表示用BMM(例えば8MM214 a)に複写す
る(ステップ312)。Also, at this time, the CPU 211 clears the drawing data save area in the memory 212 (step 311);
The CPU 211 causes the BMM control circuit 216 to control the r evacuation BMM.
supplies an instruction to copy the contents of to the display BMM,
In response, the BMM control circuit 216 controls the evacuation BMM.
The pixel data stored in the display BMM (for example, 8MM214b) is copied to the display BMM (for example, 8MM214a) (step 312).
このとき、表示用BMMと退避用BMMとが切り換えら
れ、以後は、例えば8MM214 bが表示用BMM、
BMM214 aが退避用BMMとなる。At this time, the display BMM and the evacuation BMM are switched, and from now on, for example, 8MM214b is used as the display BMM,
The BMM 214a becomes the evacuation BMM.
上述したBMMの切換処理の終了後は、ステップ309
において全ての作図作業が終了したと判定されるまで、
上述したステップ301〜ステツプ303の描画処理お
よびステップ306〜ステツプ308の退避処理が行な
われる。After the above-described BMM switching process is completed, step 309
Until it is determined that all drawing work has been completed,
The drawing processing in steps 301 to 303 and the saving processing in steps 306 to 308 described above are performed.
■ の とめ 上述したようにして、2つの8MM214 a。■ Stop of Two 8MM214a as described above.
214bの何れか1つを表示用BMM、他方を退避用B
MMとし、以前に指定されたチエツクポイント以降に入
力された描画データを描画データ退避領域に格納し、以
前に指定されたチエツクポイントにおける表示属性を表
示属性退避領域に格納する。214b as BMM for display and the other as BMM for evacuation.
MM, the drawing data input after the previously specified check point is stored in the drawing data save area, and the display attribute at the previously specified check point is stored in the display attribute save area.
チエツクポイントが指定されるごとに、上述したステッ
プ306〜ステツプ308の再描画処理を行なうことに
より、退避用BMMに最後に指定されたチエツクポイン
トの時点における表示用BMMの内容が復元される。Each time a checkpoint is specified, the contents of the display BMM at the time of the last checkpoint specified in the save BMM are restored by performing the redrawing process of steps 306 to 308 described above.
従って、利用者が取消キーを押下して取消要求を行なっ
たときに、上述したステップ310〜ステツプ312を
行なって、表示用BMMと退避用BMMとを切り換える
ことにより、ビットマ・ンブディスプレイ201により
、最後に指定されたチエツクポイントの時点における画
像が表示される。Therefore, when the user presses the cancel key to request cancellation, the bitmap display 201 performs steps 310 to 312 described above to switch between the display BMM and the save BMM. The image at the time of the last designated checkpoint is displayed.
この切換処理は、短時間で実行することが可能であるの
で、利用者による取消要求に即座に対応することができ
る。Since this switching process can be executed in a short time, it is possible to immediately respond to a cancellation request from a user.
また、アプリケーションにより一連の描画処理(例えば
、円を描いて格子パターンで塗り潰す。The application also performs a series of drawing processes (for example, drawing a circle and filling it with a grid pattern.
線分を描(などの処理)が終了するごとに、チエツクポ
イントを指定するので、描画データ退避領域に退避され
ている描画データの量は少なく、この描画データをビッ
ト展開するために要する時間も短いと考えられる。Since a checkpoint is specified each time a line segment is drawn (or other processing), the amount of drawing data saved in the drawing data save area is small, and the time required to bit-expand this drawing data is also reduced. considered to be short.
一方、利用者が一連の描画データを入力してから次の描
画データを入力するまでには、所定の時間があると考え
られ、この所定の時間内に描画データ退避領域に退避さ
れている描画データのビット展開を行なうこ−とが可能
である。従って、チエツクポイントごとに再描画処理(
ステップ306〜ステツプ308参照)を行なうことに
より、利用者の待ち時間が生じることはない。On the other hand, it is thought that there is a predetermined time between when the user inputs a series of drawing data and when the user inputs the next drawing data, and the drawings that are saved in the drawing data save area within this predetermined time are It is possible to perform bit expansion of data. Therefore, the redrawing process (
By performing steps 306 to 308), there is no waiting time for the user.
V 日 の ・ ノ能
なお、上述した本発明の実施例にあっては、アプリケー
ションによりチエツクポイントが指定される場合を考え
たが、利用者がチエツクポイントを指定するようにして
もよい。Note that in the embodiment of the present invention described above, a case was considered in which checkpoints were specified by the application, but checkpoints may also be specified by the user.
また、rl、実施例と第1図との対応間係Jにおいて、
本発明と実施例との対応関係を説明しておいたが、これ
に限られることはなく、本発明には各種の変形態様があ
ることは当業者であれば容易に推考できるであろう。In addition, in rl, the correspondence J between the example and FIG. 1,
Although the correspondence between the present invention and the embodiments has been described, those skilled in the art will easily assume that the present invention is not limited to this and that there are various modifications.
上述したように、本発明によれば、退避指示が供給され
るごとに、退避用描画データに基づいて生成された画素
データを第2格納手段に格納することにより、第2格納
手段に格納されている画素データは、退避指示が供給さ
れた以前に入力された描画データに対応するものとなる
。従って、選択手段により取消要求に応じてこの第2格
納手段を選択し、この第2格納手段に格納されている画
素データに基づいた表示を行なうことにより、取消要求
に即座に対応することが可能となり、利用者の待ち時間
を短縮することができるので、実用的には極めて有用で
ある。As described above, according to the present invention, each time an evacuation instruction is supplied, the pixel data generated based on the evacuation drawing data is stored in the second storage means. The pixel data corresponding to the drawing data input before the evacuation instruction was supplied. Therefore, by selecting this second storage means in response to a cancellation request by the selection means and performing display based on the pixel data stored in this second storage means, it is possible to immediately respond to the cancellation request. This is extremely useful in practical terms because it can shorten the waiting time for users.
第1図は本発明の表示制御方式の原理ブロック図、第2
図は本発明の一実施例による表示制御方式を適用したワ
ークステーションの構成図、第3図は実施例の動作を表
す流れ図、
第4図は実施例の動作の説明図である。
図において、
101は表示手段、
111は描画手段、
112は保持手段、
114は第1格納手段、
115は第2格納手段、
116は書込制御手段、
117は選択手段、
201はビットマツプデイスプレィ、
202は入力装置制御回路、
203は外部記憶制御回路、
211は中央処理装置、
212はメモリ、
213はグラフィック・プロセッサ(GP)214はビ
ットマツプメモリ (BMM)、216はBMM制御回
路、
217は表示制御回路、
221はキーボード、
222はマウスである。Figure 1 is a principle block diagram of the display control method of the present invention, Figure 2
FIG. 3 is a block diagram of a workstation to which a display control method according to an embodiment of the present invention is applied, FIG. 3 is a flowchart showing the operation of the embodiment, and FIG. 4 is an explanatory diagram of the operation of the embodiment. In the figure, 101 is a display means, 111 is a drawing means, 112 is a holding means, 114 is a first storage means, 115 is a second storage means, 116 is a write control means, 117 is a selection means, and 201 is a bitmap display. , 202 is an input device control circuit, 203 is an external storage control circuit, 211 is a central processing unit, 212 is a memory, 213 is a graphics processor (GP), 214 is a bitmap memory (BMM), 216 is a BMM control circuit, 217 is a A display control circuit, 221 is a keyboard, and 222 is a mouse.
Claims (1)
図形などを表す画素データを生成して表示を行なうよう
にした表示制御方式において、 入力された前記描画データを保持し、退避指示に応じて
、この退避指示が供給される以前に入力された描画デー
タを退避用描画データとして出力するとともに自身の内
容をクリアする保持手段(112)と、 入力された前記描画データに基づいて、表示用の画素デ
ータを生成するとともに、前記保持手段(112)から
供給された前記退避用描画データに基づいて退避用の画
素データを生成する描画手段(111)と、 前記描画手段(111)によって生成された画素データ
を格納する第1格納手段(114)、第2格納手段(1
15)と、 前記退避指示に基づいて、前記描画手段(111)から
供給される画素データが表示用であるか退避用であるか
を判断し、表示用の画素データを前記第1格納手段(1
14)に、退避用の画素データを第2格納手段(115
)に格納する書込制御手段(116)と、 通常は前記第1格納手段(114)を選択し、前記取消
要求に応じて前記第2格納手段(115)を選択する選
択手段(117)と、 前記選択手段(117)によって選択された前記第1格
納手段(114)、第2格納手段(115)の何れかに
格納されている画素データに基づいて表示を行なう表示
手段(101)と、 を備えるように構成したことを特徴とする表示制御方式
。(1) Based on the input drawing data, characters, symbols,
In a display control method that generates and displays pixel data representing figures, etc., the inputted drawing data is held, and in response to an evacuation instruction, the drawing that was input before the evacuation instruction was supplied is a holding means (112) that outputs data as save drawing data and clears its own contents; and a holding means (112) that generates pixel data for display based on the inputted drawing data, and that generates pixel data from the holding means (112). a drawing device (111) that generates pixel data for saving based on the supplied drawing data for saving; a first storage device (114) that stores the pixel data generated by the drawing device (111); 2 storage means (1
15) Based on the evacuation instruction, it is determined whether the pixel data supplied from the drawing means (111) is for display or evacuation, and the pixel data for display is stored in the first storage means (15). 1
14), the pixel data for saving is stored in the second storage means (115).
); and selection means (117) for normally selecting the first storage means (114) and selecting the second storage means (115) in response to the cancellation request. , display means (101) that performs display based on pixel data stored in either the first storage means (114) or the second storage means (115) selected by the selection means (117); A display control method comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18516889A JPH0348928A (en) | 1989-07-17 | 1989-07-17 | Display control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18516889A JPH0348928A (en) | 1989-07-17 | 1989-07-17 | Display control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0348928A true JPH0348928A (en) | 1991-03-01 |
Family
ID=16166025
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP18516889A Pending JPH0348928A (en) | 1989-07-17 | 1989-07-17 | Display control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0348928A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100698233B1 (en) * | 2005-07-27 | 2007-03-22 | 이분옥 | Pallets with double buffering means |
-
1989
- 1989-07-17 JP JP18516889A patent/JPH0348928A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100698233B1 (en) * | 2005-07-27 | 2007-03-22 | 이분옥 | Pallets with double buffering means |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0249399A2 (en) | Multiwindow control method and apparatus for work station having multiwindow function | |
| JPH0348928A (en) | Display control system | |
| KR100225061B1 (en) | High-speed graphic drawing method | |
| JP2671365B2 (en) | Character / graphic editing device | |
| JP3807052B2 (en) | Graphic drawing apparatus and storage medium | |
| JP3461872B2 (en) | Screen display control method and device | |
| JPS6370386A (en) | Graphics display and control system | |
| JPS6061866A (en) | Chamfering system of graphic processing system | |
| JP2001083954A (en) | Interactive display of computer control having dual cursor image memory device for smooth transition in change of cursor image | |
| JP2997600B2 (en) | Display control device | |
| JP2982535B2 (en) | Graph creation device | |
| JPS62256175A (en) | Picture editing processor | |
| JPH09134396A (en) | Table processing equipment | |
| JPH0493994A (en) | Character processor | |
| JP2005011372A (en) | Device and method for displaying | |
| JPH1027086A (en) | Display device | |
| JPS63245514A (en) | Display control system | |
| JPH01273123A (en) | Coordinate input method by touch panel | |
| JPS63220373A (en) | Image expanding and contracting device | |
| JPH0822553A (en) | Entry condition setting method and method | |
| JPH01209489A (en) | Image display device | |
| JPH0315892A (en) | Font generating device | |
| JPH0752466B2 (en) | Raster operation device and method | |
| JPH0490046A (en) | Ruled line processor | |
| JPH02201688A (en) | Image data editing device |