JPS6249567A - Graphic display device - Google Patents

Graphic display device

Info

Publication number
JPS6249567A
JPS6249567A JP60188433A JP18843385A JPS6249567A JP S6249567 A JPS6249567 A JP S6249567A JP 60188433 A JP60188433 A JP 60188433A JP 18843385 A JP18843385 A JP 18843385A JP S6249567 A JPS6249567 A JP S6249567A
Authority
JP
Japan
Prior art keywords
grid
display
graphic display
displayed
graphic
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
JP60188433A
Other languages
Japanese (ja)
Inventor
Kazuaki Nakashiro
一明 中城
Yoshihiro Nishiyama
西山 順啓
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP60188433A priority Critical patent/JPS6249567A/en
Publication of JPS6249567A publication Critical patent/JPS6249567A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To display a grid of high density at a high speed by providing a segment generating/storing part which produces segments needed for display of the grid and stores them. CONSTITUTION:A segment generating/storing part 5 produces segments needed for display of a grid. When the grid is displayed, a CPU 3 supplies the segments obtained from a storage part 5 to a graphic display 1 via a graphic control part 2. Thus the desired segments are stored previously in the part 5 and therefore the grid can be displayed at a high speed.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はCA D/CAMシステムにおける図形表示時
や、ワードプロセッサにおける入力時のグリッドの表示
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to the display of grids during graphic display in a CAD/CAM system and during input in a word processor.

(従来の技術) 第4図は従来よシあるグラフィック表示装置の一構成例
を示すブロック図である(例えば特公昭50−9367
号参照)。同図において、1はグラフィックディスプレ
イ(以下CDと呼ぶ)であ!+CRTなどを用いて構成
される。2はこのCDIの表示を管理するグラフィック
コントロール部(以下GDCと呼ぶ)であシ、集積回路
を用いた記憶装置などからなる。3は装置全体の制御を
行ういわゆるマイクロコンピュータやメモリなどからな
る中央処理装置(以下CPUと呼ぶ)である。4はキー
ボード(以下KBと呼ぶ)であシ、図形処理の指示を所
定キーの押下により行う。
(Prior Art) FIG. 4 is a block diagram showing an example of the configuration of a conventional graphic display device (for example, Japanese Patent Publication No. 50-9367
(see issue). In the figure, 1 is a graphic display (hereinafter referred to as CD)! + Constructed using CRT or the like. Reference numeral 2 denotes a graphic control unit (hereinafter referred to as GDC) for managing the display of the CDI, which includes a storage device using an integrated circuit. Reference numeral 3 denotes a central processing unit (hereinafter referred to as CPU) comprising a so-called microcomputer, memory, etc., which controls the entire apparatus. 4 is a keyboard (hereinafter referred to as KB), on which graphic processing instructions are given by pressing predetermined keys.

本装置においては、表示する図形をKH2よシ指定し、
CPU3で所定の演算処理を行うことにより点、円、直
線等に分解する。そして、表示すべき図形(円、直線等
)を示すコードおよびその図形を表示する際必要な情報
(表示する点のXY座標、直線の始点XY座標、終点の
XY座標9色等)をあらかじめ決められた順にGDC2
に渡し、記憶装置の所定アドレスをアクセスし、GDl
に表示する。
In this device, specify the figure to be displayed as KH2,
The CPU 3 performs predetermined arithmetic processing to decompose it into points, circles, straight lines, etc. Then, determine in advance the code that indicates the figure to be displayed (circle, straight line, etc.) and the information necessary to display that figure (XY coordinates of the point to be displayed, XY coordinates of the starting point of the straight line, XY coordinates of the end point in 9 colors, etc.). GDC2 in the order of
, accesses the specified address of the storage device, and
to be displayed.

この様な装置ではGDC2とCPU3は、上で説明した
図形情報の引き渡し時以外は独立して処理を行ない、図
形表示処理中にCPU3を他の演算処理に有効利用した
。C1GDC2をグラフィック専用の回路構成とするこ
とにより、あるいはグラフィック処理専用の回路を特別
に付加することにより、処理の高速化が図られている。
In such a device, the GDC 2 and the CPU 3 perform processing independently except when transferring graphic information as described above, and the CPU 3 is effectively used for other arithmetic processing during the graphic display processing. By making C1GDC2 have a circuit configuration dedicated to graphics, or by adding a special circuit dedicated to graphics processing, processing speed is increased.

(発明が解決しようとする問題点) しかし、上記構成の装置で第2図に示す様な等間隔の格
子点(以下グリッドと呼ぶ)をCDIの表示画面に表示
する場合は、各点の座標を図形情報としてそれぞれCP
U3からGDC2へ渡し表示する必要があるため、グリ
ッド密度が高くなるにつれて処理時間が急激に増加して
しまう欠点があった。
(Problem to be Solved by the Invention) However, when displaying equally spaced grid points (hereinafter referred to as grid) as shown in Figure 2 on the CDI display screen using the device with the above configuration, the coordinates of each point are CP as graphic information
Since it is necessary to pass the data from U3 to GDC2 for display, there is a drawback that the processing time increases rapidly as the grid density increases.

本発明はグリッド密度の増加にともなうCPUからGD
Cへの図形情報の引き渡し回数および引き渡しデータ量
の増加の問題を除去し、高速に高密度のグリッドを表示
する装置を提供することを目的とする。
The present invention is designed to reduce GD from CPU as grid density increases.
It is an object of the present invention to provide a device that can display a high-density grid at high speed by eliminating the problem of an increase in the number of times graphic information is transferred to C and the amount of data to be transferred.

(問題点を解決するための手段) 本発明は、グラフィックディスプレイと該グラフィック
ディスプレイの表示を制御する制御部と該制御部及び前
記グラフィックディスプレイを制御する中央処理装置と
を有するグラフィック表示装置に係る。
(Means for Solving the Problems) The present invention relates to a graphic display device that includes a graphic display, a control unit that controls the display of the graphic display, and a central processing unit that controls the control unit and the graphic display.

本発明は、上記構成のグラフィック表示装置において、
グリッドを表示するために必要な線分を発生する線分発
生記憶部を設け、グリッドの表示は、中央処理装置又は
制御部により該線分発生記憶部から読出された前記線分
を前記グラフィックディスプレイに供給することにより
行なわれることによ多構成される。
The present invention provides a graphic display device configured as described above.
A line segment generation storage section is provided that generates line segments necessary for displaying the grid, and the display of the grid is performed by using the line segments read from the line segment generation storage section by the central processing unit or the control section on the graphic display. It consists of a lot of things that are done by supplying.

(作用) グリッドを表示する際、例えば中央処理装置は線分発生
記憶部から得られた線分を制御部に転送する。このよう
に、グリッドを表示するために必要な線分は予め線分発
生記憶部に格納されているので、グリッドを表示する際
の処理時間の高速化が図られる。
(Operation) When displaying a grid, for example, the central processing unit transfers line segments obtained from the line segment generation storage unit to the control unit. In this way, the line segments necessary to display the grid are stored in advance in the line segment generation storage section, so that the processing time when displaying the grid can be sped up.

(実施例) 以下、本発明の一実施例を図面を参照して詳細に説明す
る。なお、各図面を通じて共通の要素には同一の符号を
付す。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings. Note that common elements are given the same reference numerals throughout the drawings.

第1図は本発明の実施例を示すブロック図である。第1
図の1.2,3.4はそれぞれ第4図同様GD 、GD
C、CPU 、KBを示す。5は線分発生記憶部であシ
、表示すべき所定の線分について処理し記憶する。第1
図の装置では、図形表示の方法は従来と同じであるが、
グリッドを表示する際はグリッドの間隔・色・表示範囲
などのグリッド情報から線分発生記憶部5にょシ、第3
図に示す手順で線分を発生する。第3図において、破線
6で示す線分生成処理で、まずグリッドを表示すべきX
座標すべてに、たて方向の直線をグリッドとして表示す
べき色で発生する。次に破線7で示すグリッド生成処理
で、CDI上のすべてのX座標について、その座標がグ
リッドを表示すべき座標であるならば線分発生をせず、
グリッドが不要な座標ならば背景色の線分を横方向に発
生する。
FIG. 1 is a block diagram showing an embodiment of the present invention. 1st
Figures 1.2 and 3.4 are GD and GD, respectively, as in Figure 4.
C, CPU and KB are shown. 5 is a line segment generation storage unit which processes and stores predetermined line segments to be displayed. 1st
In the device shown in the figure, the method of displaying figures is the same as before, but
When displaying a grid, the line segment generation memory unit 5 and the third
Generate line segments using the procedure shown in the figure. In FIG. 3, in the line segment generation process indicated by broken line 6, first
All coordinates are generated in the color that should be displayed as a grid of vertical lines. Next, in the grid generation process shown by broken line 7, for all X coordinates on the CDI, if the coordinates are the coordinates where the grid should be displayed, line segments are not generated;
If the coordinates do not require a grid, line segments of the background color are generated horizontally.

以上の処理手順により発生した線分をCPU3の制御の
下にGDC2に渡し、発生順にCDIに表示することに
より、第2図に示すグリッドを表示する。
The line segments generated by the above processing procedure are passed to the GDC 2 under the control of the CPU 3 and displayed on the CDI in the order of occurrence, thereby displaying the grid shown in FIG. 2.

上記説明では先に縦方向に線分を表示したが、縦と横を
入れ換えても同様の結果が得られる。一般に、GDの表
示可能なドツト数が多い方に線分を先に表示した方が、
線分発生数が少なくなることが容易にわかる。
In the above explanation, line segments are displayed vertically, but the same result can be obtained even if the vertical and horizontal directions are switched. Generally, it is better to display line segments first on the side where the number of displayable dots in GD is larger.
It can be easily seen that the number of line segment occurrences decreases.

また、線分発生記憶部5をGDC2に設けてもよい。Furthermore, the line segment generation storage section 5 may be provided in the GDC 2.

第5図はグリッドの密度と表示に必要な時間の関係を示
すグラフであり、実線8が従来の方法による処理時間を
示し、点線9が本実施例による処理時間を示している。
FIG. 5 is a graph showing the relationship between grid density and time required for display, where a solid line 8 shows the processing time according to the conventional method, and a dotted line 9 shows the processing time according to this embodiment.

この図からもわかるように本実施例は第5図中a点よシ
もグリッド密度が高い時従来より処理時間が短縮でき、
有効である。
As can be seen from this figure, this embodiment can shorten the processing time compared to the conventional method when the grid density is high even at point a in FIG.
It is valid.

更に、a点を事前に求めておき、表示するグリッド密度
がa以下の時は従来方式で表示し、3以上の時は本実施
例で述べた方式による表示することにより、どのような
密度のグリッドでも高速に表示することが可能となる。
Furthermore, by determining point a in advance and displaying it using the conventional method when the grid density to be displayed is less than or equal to a, and displaying it using the method described in this example when it is 3 or more, it is possible to determine the grid density of any density. Even grids can be displayed at high speed.

(発明の効果) 以上説明したように本発明によれば高密度のグリッドを
表示する際、CPUからGDCへのデータの転送に要す
る処理時間が大幅に短縮でき、線分発生によるCPUの
処理時間の増加や、線分表示に必要なGDCの処理時間
の増加を考慮しても全体の処理時間の短縮ができる。
(Effects of the Invention) As explained above, according to the present invention, when displaying a high-density grid, the processing time required to transfer data from the CPU to the GDC can be significantly reduced, and the CPU processing time due to the generation of line segments. The overall processing time can be shortened even if an increase in the GDC processing time required for line segment display is considered.

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

第1図は本発明の一実施例を示すブロック図、第2図は
グリッドの表示例を示す図、第3図は第1図に示す実施
例の動作フローチャート、第4図は従来のグラフィック
表示装置を示すブロック図、及び第5図はグリッド密度
と表示処理時間の関係を示す図である。 1・・・グラフィックディスプレイ(GD)、2・・・
グラフィックコントロール部(GDC)、3・・・制御
部(CPU)、4・・・キーボード(KB)、5・・・
線分発生記憶部。
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a diagram showing an example of grid display, Fig. 3 is an operation flowchart of the embodiment shown in Fig. 1, and Fig. 4 is a conventional graphic display. A block diagram showing the apparatus and FIG. 5 are diagrams showing the relationship between grid density and display processing time. 1...Graphic display (GD), 2...
Graphic control unit (GDC), 3... Control unit (CPU), 4... Keyboard (KB), 5...
Line segment generation memory unit.

Claims (1)

【特許請求の範囲】 グラフィックディスプレイと該グラフィックディスプレ
イの表示を制御する制御部と該制御部及び前記グラフィ
ックディスプレイを制御する中央処理装置とを有するグ
ラフィック表示装置において、 グリッドを表示するために必要な線分を発生し記憶する
線分発生記憶部を設け、 グリッドの表示は、前記中央処理装置又は前記制御部に
より該線分発生記憶部から読出された前記線分を前記グ
ラフィックディスプレイに供給することにより行なわれ
ることを特徴とするグラフィック表示装置。
[Scope of Claims] A graphic display device comprising a graphic display, a control unit that controls display of the graphic display, and a central processing unit that controls the control unit and the graphic display, comprising lines necessary for displaying a grid. A line segment generation storage section is provided for generating and storing the line segment generation storage section, and the grid is displayed by supplying the line segments read from the line segment generation storage section by the central processing unit or the control section to the graphic display. A graphic display device characterized in that:
JP60188433A 1985-08-29 1985-08-29 Graphic display device Pending JPS6249567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60188433A JPS6249567A (en) 1985-08-29 1985-08-29 Graphic display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60188433A JPS6249567A (en) 1985-08-29 1985-08-29 Graphic display device

Publications (1)

Publication Number Publication Date
JPS6249567A true JPS6249567A (en) 1987-03-04

Family

ID=16223586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60188433A Pending JPS6249567A (en) 1985-08-29 1985-08-29 Graphic display device

Country Status (1)

Country Link
JP (1) JPS6249567A (en)

Similar Documents

Publication Publication Date Title
KR900006042B1 (en) Display control apparatus for use in composite document processing apparatus
US5847715A (en) Graphics display system including parallel graphics processors executing Bresenham's algorithm
JPS6326898B2 (en)
JP2797435B2 (en) Display controller
JP3191159B2 (en) Apparatus for processing graphic information
JPS6249567A (en) Graphic display device
JPS6098489A (en) Image data processor
JPH0315193B2 (en)
JPH05108832A (en) Graphic controller
JP3106246B2 (en) Image processing device
JP2622168B2 (en) Character processing apparatus and method
JP2940294B2 (en) Drafting equipment
JPH01177685A (en) Rendering processor and screen display device
JPH03211675A (en) Cad drawing display system
JPS62184577A (en) Display control circuit
JPH04235675A (en) Drafting device
JPS638975A (en) Cad drawing display device
JPS63206869A (en) Circuit diagram input cad system
JPS6139092A (en) Display unit
JPS6316377A (en) Input system for graphic data
JPH0373073A (en) Information processor with picture editing function
JPH04215121A (en) Display data generating device
JPS6247779A (en) Dot picture drawing system
JPS63244170A (en) Supporting device for circuit design
JPH0644385A (en) Z buffer control circuit