JPH05242255A - Graphic display device - Google Patents

Graphic display device

Info

Publication number
JPH05242255A
JPH05242255A JP4044644A JP4464492A JPH05242255A JP H05242255 A JPH05242255 A JP H05242255A JP 4044644 A JP4044644 A JP 4044644A JP 4464492 A JP4464492 A JP 4464492A JP H05242255 A JPH05242255 A JP H05242255A
Authority
JP
Japan
Prior art keywords
color
display
register
graphic
color setting
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
JP4044644A
Other languages
Japanese (ja)
Inventor
Tetsuo Murata
哲夫 村田
Hiroshi Miura
浩 三浦
Daisaku Yamane
大作 山根
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.)
Japan Radio Co Ltd
Original Assignee
Japan Radio 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 Japan Radio Co Ltd filed Critical Japan Radio Co Ltd
Priority to JP4044644A priority Critical patent/JPH05242255A/en
Publication of JPH05242255A publication Critical patent/JPH05242255A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To accelerate plotting speed and display erasing speed by shortening the processing time of a color setting command. CONSTITUTION:Graphic information generated by a user is converted from a logical coordinate system to a physical coordinate system, and is developed on a frame buffer 14, and is displayed on the screen of a CRT display in a color set on a color register 20. A background color register 22 is provided in parallel with the color register 20. The color set on the frame buffet 14 as a display color is the content of either the color register 20 or the background color register 22, and it is set by switching by a register switch 24 under the control of a graphic processor 12. When re-plotting is performed, the register switch 24 is switched to a color register 20 side in advance. Adversely, when display erasure is performed, the switch 24 is switched to a background color register 22 side.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、図形を多色表示可能な
グラフィックディスプレイ装置に関し、特にその描画速
度の向上に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic display device capable of displaying graphics in multiple colors, and more particularly to improving the drawing speed thereof.

【0002】[0002]

【従来の技術】近年、コンピュータの出力装置として図
形表示装置が用いられている。図形表示装置としては、
例えば図4に示されるような構成のものが知られてお
り、この種の装置には描画速度の向上が要求されてい
る。
2. Description of the Related Art In recent years, a graphic display device has been used as an output device of a computer. As a graphic display device,
For example, a structure as shown in FIG. 4 is known, and an improvement in drawing speed is required for this type of device.

【0003】この図に示される装置は、セグメントバッ
ファ10、グラフィックプロセッサ12、フレームバッ
ファ14、ビデオジェネレータ16、CRT表示器18
及び色レジスタ20を備えている。セグメントバッファ
10には、ユーザによって作成された図形情報であるセ
グメントデータが登録されており、グラフィックプロセ
ッサ12にはこれをワーク座標系と呼ばれる論理座標系
から物理座標系に変換してフレームバッファ14上に展
開する。ビデオジェネレータ16は、フレームバッファ
14上に展開されたデータに基づきビデオ信号を発生さ
せ、CRT表示器18の画面表示を実行させる。
The device shown in this figure includes a segment buffer 10, a graphic processor 12, a frame buffer 14, a video generator 16, and a CRT display device 18.
And a color register 20. Segment data, which is graphic information created by a user, is registered in the segment buffer 10, and the graphic processor 12 converts the segment data from a logical coordinate system called a work coordinate system to a physical coordinate system and stores it on the frame buffer 14. Expand to. The video generator 16 generates a video signal based on the data expanded on the frame buffer 14, and causes the CRT display 18 to display a screen.

【0004】また、この従来例の装置は、CRT表示器
18の画面上に図形をカラー表示可能な装置である。セ
グメントバッファ10上に登録されているセグメント
は、図形プリミティブと呼ばれる図形情報の集合であ
る。図形プリミティブとは、直線、円、文字等の基本的
な要素であり、またこれら図形プリミティブには各種の
属性が付与されている。
Further, this conventional device is a device capable of displaying graphics on the screen of the CRT display 18 in color. The segments registered in the segment buffer 10 are a set of graphic information called graphic primitives. A graphic primitive is a basic element such as a straight line, a circle, or a character, and various attributes are given to these graphic primitives.

【0005】図形プリミティブに付与されている属性に
は、例えば、色、線種、文字の大きさ等の属性がある。
グラフィックプロセッサ12は、これらのうち特に色に
関する属性を用いて色設定コマンドを発行し、色レジス
タ20に表示色を設定する。フレームバッファ14は、
色レジスタ20に設定された色によりCRT表示器18
の画面上に図形を表示させることが可能なフレームバッ
ファである。すなわち、フレームバッファ14は、各色
に係るプレーンを有しており、いずれのプレーンに書込
みを行うかが色レジスタ20の値に応じて選択される。
The attributes given to the graphic primitives include, for example, attributes such as color, line type, and character size.
The graphic processor 12 issues a color setting command using the attribute relating to color among these, and sets the display color in the color register 20. The frame buffer 14 is
The CRT display 18 according to the color set in the color register 20
It is a frame buffer that can display graphics on the screen. That is, the frame buffer 14 has planes for each color, and which plane to write to is selected according to the value of the color register 20.

【0006】図5には、この従来例における色設定コマ
ンドの内容が示されている。グラフィックプロセッサ1
2は、既にセグメントバッファ10に登録されている図
形の描画(再描画)の際や、CRT表示器18の画面上
に表示されている図形を消去(表示消去)する際に、色
設定コマンドを発行する。色設定コマンドが発行される
と、グラフィックプロセッサ12は、そのモードを判定
し(100)、再描画であるか表示消去であるかを判定
する。グラフィックプロセッサ12は、再描画であると
判定した場合にはステップ102を実行し、表示消去で
あると判定した場合にはステップ104を実行する。
FIG. 5 shows the contents of the color setting command in this conventional example. Graphic processor 1
2 is a color setting command when drawing (redrawing) a graphic already registered in the segment buffer 10 or when deleting a graphic displayed on the screen of the CRT display 18 (display deletion). Issue. When the color setting command is issued, the graphic processor 12 determines the mode (100) and determines whether it is redrawing or display erasing. The graphic processor 12 executes step 102 when it is determined to be redrawing, and executes step 104 when it is determined to be display erase.

【0007】再描画の場合、グラフィックプロセッサ1
2は、色設定コマンドにより指定された色を色レジスタ
20に設定する。この場合、CRT表示器18の画面に
は、セグメントバッファ10に登録されているセグメン
トに係る図形プリミティブの色属性に応じ、カラー表示
が実行されることとなる。
In the case of redrawing, the graphic processor 1
2 sets the color designated by the color setting command in the color register 20. In this case, on the screen of the CRT display device 18, color display is executed according to the color attribute of the graphic primitive related to the segment registered in the segment buffer 10.

【0008】また、表示消去(セグメントの削除を含
む)の場合には、グラフィックプロセッサ12は色レジ
スタ20に背景色を設定する。すなわち、CRT表示器
18の画面上に表示されている図形上に再び同じ図形が
背景色で描画されることとなる。従って、CRT表示器
18の画面上から図形が消去される。
In the case of display erasure (including segment deletion), the graphic processor 12 sets the background color in the color register 20. That is, the same figure is again drawn in the background color on the figure displayed on the screen of the CRT display 18. Therefore, the graphic is erased from the screen of the CRT display 18.

【0009】[0009]

【発明が解決しようとする課題】このように、従来にお
ける表示消去は、色設定コマンドにより行っていた。す
なわち、色設定コマンドに応じて再描画か表示消去かを
判定する必要があり、従って、例えば色のコマンドを多
用しているセグメントの処理に非常に時間がかかってい
た。
As described above, the conventional display erasing is performed by the color setting command. That is, it is necessary to determine whether to perform redrawing or display erasing according to the color setting command. Therefore, for example, it takes a very long time to process a segment that frequently uses color commands.

【0010】本発明は、このような問題点を解決するこ
とを課題としてなされたものであり、色設定コマンドの
処理時間を短縮することにより描画、表示消去の速度を
向上させることを目的とする。
The present invention has been made to solve the above problems, and an object thereof is to improve the speed of drawing and erasing by shortening the processing time of the color setting command. ..

【0011】[0011]

【課題を解決するための手段】このような目的を達成す
るために、本発明のグラフィックディスプレイ装置は、
表示色に関する属性を有する図形情報が登録されるセグ
メントバッファと、画面と対応した座標系により図形情
報を記憶し設定された色で当該図形情報に係る図形を画
面に表示させるフレームバッファと、セグメントバッフ
ァから図形情報を読み出し画面と対応した座標系に変換
してフレームバッファに書き込む再描画手段と、前記属
性に基づき色設定コマンドを発行する色設定コマンド発
行手段と、色設定コマンドに応じフレームバッファによ
る表示色を設定する色設定手段と、を備えるグラフィッ
クディスプレイ装置において、フレームバッファによる
図形の表示色として背景色を設定する背景色設定手段
と、再描画の際には色設定手段による色設定を予め有効
としておき、表示消去の際には背景色設定手段による色
設定を予め有効としておく切替手段と、を備えることを
特徴とする。
In order to achieve such an object, the graphic display device of the present invention comprises:
A segment buffer in which graphic information having attributes relating to display colors is registered, a frame buffer for storing graphic information in a coordinate system corresponding to the screen and displaying a graphic related to the graphic information in the set color on the screen, and a segment buffer Redrawing means for reading the graphic information from the frame to a coordinate system corresponding to the screen and writing it in the frame buffer, a color setting command issuing means for issuing a color setting command based on the attribute, and a display by a frame buffer according to the color setting command In a graphic display device including a color setting unit for setting a color, a background color setting unit for setting a background color as a display color of a figure by a frame buffer, and a color setting by the color setting unit for re-drawing in advance. When deleting the display, the color setting by the background color setting means is set to be valid in advance. Characterized in that it comprises switching means for placing the.

【0012】[0012]

【作用】本発明においては、再描画の際に色設定手段に
よる色設定が予め有効とされ、表示消去の際に背景色設
定手段による色設定が予め有効とされる。従って、色設
定のコマンドが発行された場合、再描画であっても表示
消去であってもこのコマンドにより指定された色を色設
定手段により設定すれば良い。表示消去の際には、これ
に先立ち背景色設定手段が有効とされており、フレーム
バッファには背景色が設定される。従って、色設定コマ
ンドに応じてモード選択に係る判定を行う必要がなく、
描画速度、表示消去速度が向上する。
In the present invention, the color setting by the color setting means is validated beforehand when redrawing, and the color setting by the background color setting means is validated beforehand when the display is erased. Therefore, when a color setting command is issued, the color specified by this command may be set by the color setting means regardless of whether it is redrawing or display erasing. When the display is erased, the background color setting means is enabled prior to this, and the background color is set in the frame buffer. Therefore, it is not necessary to determine the mode selection according to the color setting command,
The drawing speed and the display erasing speed are improved.

【0013】[0013]

【実施例】以下、本発明の好適な実施例について図面に
基づき説明する。なお、図4乃至図5に示される従来例
と同様の構成には同一の符号を付し説明を省略する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. The same components as those in the conventional example shown in FIGS. 4 to 5 are designated by the same reference numerals and the description thereof will be omitted.

【0014】図1には、本発明の一実施例に係るグラフ
ィックディスプレイ装置の要部構成が示されている。こ
の図には図4に示される従来例と異なる部分のみを示し
たものであり、セグメントバッファ10、ビデオジェネ
レータ16、CRT表示器18などが省略されている。
FIG. 1 shows a main configuration of a graphic display device according to an embodiment of the present invention. In this figure, only the parts different from the conventional example shown in FIG. 4 are shown, and the segment buffer 10, the video generator 16, the CRT display 18, etc. are omitted.

【0015】本実施例の特徴とするところは、図1に明
らかに示されるように、色レジスタ20と並んで背景色
レジスタ22を設け、色レジスタ20及び背景色レジス
タ22の後段にレジスタ切替器24を設けた点にある。
すなわち、フレームバッファ14に表示色として設定さ
れるのは、色レジスタ20及び背景色レジスタ22のい
ずれかの内容であり、いずれが設定されるかは、グラフ
ィックプロセッサ12の制御のもと、レジスタ切替器2
4により切替設定される。
A feature of this embodiment is that, as clearly shown in FIG. 1, a background color register 22 is provided in parallel with the color register 20, and a register switch is provided at the subsequent stage of the color register 20 and the background color register 22. 24 is provided.
That is, what is set as the display color in the frame buffer 14 is either the content of the color register 20 or the background color register 22, which is set under register control under the control of the graphic processor 12. Bowl 2
It is switched and set by 4.

【0016】図2には、本実施例の動作の流れが示され
ている。この図に示されるように、本実施例において
は、再描画の際にはレジスタ切替器24が予め色レジス
タ20側に切り替えられる(106)。これとは逆に、
表示消去の際には、レジスタ切替器24が背景色レジス
タ22側に切り替えられる(108)。ステップ106
の実行後は、従来と同様色設定コマンドを用いた再描画
処理(110)に移行し、ステップ108の後は、背景
色レジスタ22に背景色を設定した上で(112)、再
描画処理(110)に移行する。
FIG. 2 shows the operation flow of this embodiment. As shown in this figure, in this embodiment, the register switching unit 24 is switched to the color register 20 side in advance when redrawing (106). On the contrary,
When the display is erased, the register switch 24 is switched to the background color register 22 side (108). Step 106
After executing, the process shifts to the redrawing process (110) using the color setting command as in the conventional method, and after step 108, the background color is set in the background color register 22 (112) and then the redrawing process ( 110).

【0017】図3には、再描画処理(110)における
色設定動作が示されている。この図に示されるように、
本実施例においては、色設定コマンドが発行された場合
にグラフィックプロセッサ12は従来のようなモード判
定(100)を実行せず、直ちにステップ102を実行
する。すなわち、表示消去を行おうとする場合であって
も、色レジスタ20にプリミティブの色属性値に応じた
色が設定される。
FIG. 3 shows the color setting operation in the redrawing process (110). As shown in this figure,
In this embodiment, when the color setting command is issued, the graphic processor 12 does not execute the conventional mode determination (100), but immediately executes step 102. That is, even when the display is to be erased, the color corresponding to the color attribute value of the primitive is set in the color register 20.

【0018】本実施例において、このように色設定コマ
ンドに応じた動作が簡素化されるのは、図2に示される
ように背景色レジスタ22を用いたからである。すなわ
ち、表示消去の際には色レジスタ20が無効、背景色レ
ジスタ22が有効とされており、背景色レジスタ22に
基づく表示色の設定(背景色の設定)が行われているた
め、色設定コマンドに応じて色レジスタ20へ設定する
色を変更する必要がない。この結果、色設定コマンドに
応じた動作が簡素化し、図形の再描画や表示消去の動作
がより高速化する。
In this embodiment, the operation in accordance with the color setting command is simplified because the background color register 22 is used as shown in FIG. That is, when the display is erased, the color register 20 is invalid, the background color register 22 is valid, and the display color is set (background color setting) based on the background color register 22. It is not necessary to change the color set in the color register 20 according to the command. As a result, the operation according to the color setting command is simplified, and the redrawing of the figure and the display erasing operation become faster.

【0019】なお、以上の説明では、セグメントバッフ
ァ10に登録されるセグメントに係る図形プリミティブ
の属性値や、色レジスタ20、背景色レジスタ22等に
設定される数値などについては言及しなかったが、本発
明はこのような内容に限定されるものではない。
In the above description, the attribute value of the graphic primitive related to the segment registered in the segment buffer 10 and the numerical values set in the color register 20, the background color register 22, etc. are not mentioned. The present invention is not limited to such contents.

【0020】[0020]

【発明の効果】以上説明したように、本発明によれば、
フレームバッファによる図形の表示色として背景色を設
定する背景色設定手段を設け、表示消去の際に背景色設
定手段による色設定を予め有効としておくようにしたた
め、色設定コマンドに応じた動作が簡素化し、再描画速
度、表示消去速度が高速化する。この結果、より性能の
向上した図形表示装置が得られる。
As described above, according to the present invention,
Since the background color setting means for setting the background color as the display color of the figure by the frame buffer is provided and the color setting by the background color setting means is enabled in advance when the display is erased, the operation according to the color setting command is simple. The redrawing speed and the display erasing speed are increased. As a result, a graphic display device with improved performance can be obtained.

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

【図1】本発明の一実施例に係るグラフィックディスプ
レイ装置の要部構成を示すブロック図である。
FIG. 1 is a block diagram showing a main configuration of a graphic display device according to an embodiment of the present invention.

【図2】この実施例の動作を示すフローチャートであ
る。
FIG. 2 is a flowchart showing the operation of this embodiment.

【図3】この実施例における色設定コマンドに対応した
動作の流れを示すフローチャートである。
FIG. 3 is a flowchart showing a flow of operations corresponding to a color setting command in this embodiment.

【図4】一従来例に係るグラフィックディスプレイ装置
の構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a graphic display device according to a conventional example.

【図5】従来例における色設定コマンドに対応した動作
の流れを示すフローチャートである。
FIG. 5 is a flowchart showing a flow of operations corresponding to a color setting command in a conventional example.

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

10 セグメントバッファ 12 グラフィックプロセッサ 14 フレームバッファ 16 ビデオジェネレータ 18 CRT表示器 20 色レジスタ 22 背景色レジスタ 24 レジスタ切替器 10 segment buffer 12 graphic processor 14 frame buffer 16 video generator 18 CRT display 20 color register 22 background color register 24 register switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 表示色に関する属性を有する図形情報が
登録されるセグメントバッファと、画面と対応した座標
系により図形情報を記憶し設定された色で当該図形情報
に係る図形を画面に表示させるフレームバッファと、セ
グメントバッファから図形情報を読み出し画面と対応し
た座標系に変換してフレームバッファに書き込む再描画
手段と、前記属性に基づき色設定コマンドを発行する色
設定コマンド発行手段と、色設定コマンドに応じフレー
ムバッファによる表示色を設定する色設定手段と、を備
えるグラフィックディスプレイ装置において、 フレームバッファによる図形の表示色として背景色を設
定する背景色設定手段と、 再描画の際には色設定手段による色設定を予め有効とし
ておき、表示消去の際には背景色設定手段による色設定
を予め有効としておく切替手段と、 を備えることを特徴とするグラフィックディスプレイ装
置。
1. A segment buffer in which graphic information having an attribute relating to a display color is registered, and a frame for storing graphic information by a coordinate system corresponding to the screen and displaying a graphic related to the graphic information on the screen in a set color. The buffer, the redrawing means for reading the graphic information from the segment buffer into the coordinate system corresponding to the screen and writing it in the frame buffer, the color setting command issuing means for issuing the color setting command based on the attribute, and the color setting command In a graphic display device including a color setting means for setting a display color according to a frame buffer, a background color setting means for setting a background color as a display color of a figure by the frame buffer, and a color setting means for redrawing. The color setting is made valid in advance, and when the display is erased, the background color setting means sets the color. Graphic display device, characterized in that it comprises a switching unit to keep the previously enabled, the.
JP4044644A 1992-03-02 1992-03-02 Graphic display device Pending JPH05242255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4044644A JPH05242255A (en) 1992-03-02 1992-03-02 Graphic display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4044644A JPH05242255A (en) 1992-03-02 1992-03-02 Graphic display device

Publications (1)

Publication Number Publication Date
JPH05242255A true JPH05242255A (en) 1993-09-21

Family

ID=12697153

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4044644A Pending JPH05242255A (en) 1992-03-02 1992-03-02 Graphic display device

Country Status (1)

Country Link
JP (1) JPH05242255A (en)

Similar Documents

Publication Publication Date Title
JP2585515B2 (en) Drawing method
JPS6118036A (en) Document correction system
JP2673897B2 (en) Graphic display device
JPH05242255A (en) Graphic display device
JP2586452B2 (en) Multi-window display device
JP2690925B2 (en) Display control method and display control method
JPH01191269A (en) Image controller
JP2595884B2 (en) Rubber band frame display device
JP3459663B2 (en) Character processing apparatus and method
JPH06187458A (en) Graphic display device
JPH0619675A (en) Graphics system
JP2541612B2 (en) Multi-window display
JPH1027086A (en) Display device
JPH05224872A (en) Mouse cursor control system for multi-window display system
JPH04262472A (en) Graphic display device
JPH0816809A (en) Drawing system
JPH058435B2 (en)
JPH05324178A (en) Pen input method and system
JPH05101044A (en) Document processor
JPS6159484A (en) Segment control system
JPH0786748B2 (en) Display controller
JPS6217768B2 (en)
JPH03168872A (en) Bit image information processor
JPH0550782B2 (en)
JPH10172001A (en) Plotter, plotting method, and its recording medium