JPH01175087A - Image display device - Google Patents

Image display device

Info

Publication number
JPH01175087A
JPH01175087A JP33220887A JP33220887A JPH01175087A JP H01175087 A JPH01175087 A JP H01175087A JP 33220887 A JP33220887 A JP 33220887A JP 33220887 A JP33220887 A JP 33220887A JP H01175087 A JPH01175087 A JP H01175087A
Authority
JP
Japan
Prior art keywords
vector
memory
written
pattern
coordinate values
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
JP33220887A
Other languages
Japanese (ja)
Inventor
Yoshimi Terajima
寺嶋 義美
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP33220887A priority Critical patent/JPH01175087A/en
Publication of JPH01175087A publication Critical patent/JPH01175087A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To rapidly draw a drawing vector pattern by independently preparing a vector drawing memory in addition to a display memory and copying a repeated drawn pattern written in the vector drawing memory to a display memory. CONSTITUTION:A vector generating circuit 3 calculates increments in the X and Y directions from applied start point and end point coordinate values. While successively adding the increments to the start point coordinate values, a vector drawing coordinate value is generated and written in the vector drawing memory 4. At the time of deciding that a drawing vector to be calculated and written against the drawing vector written in the memory 4 is a repeated drawing pattern, a decision circuit 2 writes the drawing pattern stored in the memory 4 so as to copy it in the display memory 5.

Description

【発明の詳細な説明】 (概要) ベクトルを描画して表示する画像表示装置に関し、 表示メモリの他にベクトル描画メモリを別途準備し、こ
れに書き込まれた繰り返し描画パターンを表示メモリに
複写することにより、高速にヘクトルパターンを11N
画することを目的とし、指定された始点座標値および終
点座標値に対応する描画点アドレスを順次発生し、ベク
トル描画メモリに書き込むベクトル発生回路と、このベ
クトル発生回路によって発生される描画パターンが繰り
返しであるか否かを判定する判定回路とを備え、この判
定回路によって描画パターンが繰り返しであると判定さ
れた場合に、描画点アドレスの計算を停止し、上記ベク
トル描画メモリに書き込まれている繰り返し矩形領域を
、表示用メモリに複写する態様で8き込むように構成す
る。
[Detailed Description of the Invention] (Summary) Regarding an image display device that draws and displays vectors, a vector drawing memory is separately prepared in addition to the display memory, and a repeated drawing pattern written in the memory is copied to the display memory. The hector pattern can be created at high speed by 11N.
A vector generation circuit that sequentially generates drawing point addresses corresponding to specified start point coordinate values and end point coordinate values and writes them into vector drawing memory, and a drawing pattern generated by this vector generation circuit are repeated. and a determination circuit that determines whether or not the drawing pattern is repetitive, and if the determination circuit determines that the drawing pattern is repetitive, the calculation of the drawing point address is stopped and the repetition written in the vector drawing memory is A rectangular area is configured to be copied into a display memory 8 times.

〔産業上の利用分野〕[Industrial application field]

本発明は、ベクトルを描画して表示する画像表示装置に
関するものである。CAD等に用いられる画像表示装置
は、応答性の向上環のためベクトル描画速度の向上が望
まれている。
The present invention relates to an image display device that draws and displays vectors. Image display devices used in CAD and the like are desired to have improved vector drawing speed in order to improve responsiveness.

〔従来の技術と発明が解決しようとする問題点〕従来、
画像表示装置におけるベクトル描画は、第3図(イ)に
示すように、与えられたベクトルの始点座標値Aおよび
終点座標値BからX方向およびY方向の増分を計算し、
この増分を始点座標値Aに夫々加えながらベクトル描画
座標値N1、N2 ・・・N1を順次決定して始点から
終点まで描画するようにしている。この方法は、描画し
ようとするベクトルが長くなればなる程、描画時間が長
くなるという問題点があった。
[Problems to be solved by conventional technology and invention] Conventionally,
Vector drawing on an image display device involves calculating increments in the X and Y directions from the starting point coordinate value A and ending point coordinate value B of a given vector, as shown in FIG.
While adding these increments to the starting point coordinate value A, vector drawing coordinate values N1, N2, . . . , N1 are sequentially determined, and drawing is performed from the starting point to the ending point. This method has a problem in that the longer the vector to be drawn, the longer the drawing time.

この問題点を解決するため、長いベクトル描画パターン
が、ある繰り返しパターンとなったとき、座標計算を中
止し、第3図(ロ)に示すように、以降は前の描画パタ
ーンが存在する矩形領域(1点鎖線を用いて示す左下の
矩形領域)を、順次複写していく方法がある。しかし、
繰り返し描画パターンが存在する矩形領域を順次複写し
たのでは、ある画像の上に重書きした場合、例えば第3
図(ロ)図中左下の点線を用いて囲んだ矩形領域に浸入
する態様で図形す、を重書きした場合、この重書きした
矩形領域を順次複写してい(と、不必要な図形b1° 
 1. 、+t 、b、11”として描画されてしまい
、所望の11δ画パターンのみを表示し得ないという問
題点があった。
To solve this problem, when a long vector drawing pattern becomes a certain repeating pattern, coordinate calculation is stopped and the rectangular area where the previous drawing pattern exists is used as shown in Figure 3 (b). There is a method of sequentially copying (the lower left rectangular area indicated using a dashed line). but,
If a rectangular area in which a repeated drawing pattern exists is copied sequentially, if you overwrite a certain image, for example, the third
Figure (B) When a figure is overwritten in such a way that it intrudes into the rectangular area surrounded by the dotted line at the bottom left of the figure, the overwritten rectangular area is sequentially copied (and the unnecessary figure b1
1. , +t, b, 11'', and there was a problem that only the desired 11δ image pattern could not be displayed.

本発明は、表示メモリの他にベクトル描画メモリを別途
準備し、これに書き込まれた繰り返し描画パターンを表
示メモリに複写することにより、高速にヘクトルパター
ンを描画することを目的としている。
The present invention aims to draw a hector pattern at high speed by preparing a vector drawing memory separately in addition to the display memory and copying the repeated drawing pattern written in the vector drawing memory to the display memory.

〔問題点を解決するための手段〕[Means for solving problems]

第1図を参照して問題点を解決するための手段を説明す
る。
Means for solving the problem will be explained with reference to FIG.

第1図はおいて、ベクトル発生回路3は、与えられた始
点座標値および終点座標値からX方向およびY方向の増
分を計算し、この増分を始点座標値に加えながらベクト
ル描画座標値を順次発生するものである。
In FIG. 1, the vector generation circuit 3 calculates increments in the X and Y directions from the given start point coordinate values and end point coordinate values, and sequentially generates vector drawing coordinate values while adding these increments to the start point coordinate values. It is something to do.

判定回路2は、ベクトル発生回路3によって発生しよう
とする描画パターンが繰り返し描画パターンであるか否
かを判定するものである。
The determination circuit 2 determines whether the drawing pattern to be generated by the vector generation circuit 3 is a repetitive drawing pattern.

ベクトル描画メモリ4は、ベクトル発生回路3が発生し
たベクトル描画座標値に対応する位置にベクトルを順次
書き込むものである。
The vector drawing memory 4 sequentially writes vectors into positions corresponding to the vector drawing coordinate values generated by the vector generation circuit 3.

表示メモリ5は、表示部6に表示するベクトルなどを書
き込むものである。
The display memory 5 is used to write vectors and the like to be displayed on the display section 6.

〔作用〕[Effect]

本発明は、第1図に示すように、ベクトル発生回路3が
与えられた始点座標値および終点座標値からX方向およ
びY方向の増分を計算し、この増分を始点座標値に順次
加えながらベクトル描画座標値を発生してベクトルBT
 ii!iiメモリ4に書き込み、判定回路2がこのベ
クトル描画メモリ4に書き込んだ描画ベクトルに対して
これから計算し°ζ書き込もうとする描画ベクトルが繰
り返し描画パターンとなると判定した場合に、ベクトル
発生回路3による計算を中止させ、ベクトル描画メモリ
4に格納されいる描画パターンを表示メモリ5中に複写
する態様で書き込むようにしている。
As shown in FIG. 1, in the present invention, a vector generation circuit 3 calculates increments in the X direction and Y direction from given start point coordinate values and end point coordinate values, and sequentially adds these increments to the start point coordinate values to generate a vector. Generate drawing coordinate values and create vector BT
ii! ii) is written to the memory 4, and the determination circuit 2 calculates the drawing vector written in this vector drawing memory 4. If it is determined that the drawing vector to be written is a repeated drawing pattern, the vector generation circuit 3 calculates The drawing pattern stored in the vector drawing memory 4 is written into the display memory 5 in such a manner that it is copied.

従って、繰り返し描画パターンに対してベクトル発生回
路3がベクトル座標値の計算を行う必要がなく、ベクト
ルIff画メモリ4に書き込まれている描画パターンを
表示メモリ5に複写する態様で書き込めばよく、高速に
ベクトル描画を行うことが可能となる。
Therefore, there is no need for the vector generation circuit 3 to calculate vector coordinate values for the repeated drawing pattern, and the drawing pattern written in the vector If image memory 4 can be written in a manner of copying it to the display memory 5, which is fast. It becomes possible to perform vector drawing.

〔実施例〕〔Example〕

次に、第1図および第2図を用いて本発明の1実施例の
構成および動作を順次詳細に説明する。
Next, the configuration and operation of one embodiment of the present invention will be explained in detail using FIGS. 1 and 2.

第1図において、制御回路lは、始点座標値および終点
座標値をベクトル発生回路3に通知してベクトル描画メ
モリ4中にベクトル描画を行うように1旨示するなどの
各種制御を行うものである。
In FIG. 1, a control circuit 1 performs various controls such as notifying a starting point coordinate value and an ending point coordinate value to a vector generating circuit 3 and indicating that vector drawing should be performed in a vector drawing memory 4. be.

判定回路2は、ベクトル発生回路3によってベクトル描
画メモリ4に書き込もうとする描画パターンが繰り返し
描画パターンであるか否かを判定するものである。
The determination circuit 2 determines whether the drawing pattern to be written into the vector drawing memory 4 by the vector generation circuit 3 is a repeated drawing pattern.

ベクトル発生回路3は、与えられた始点座標値および終
点座標値からX方向およびY方向の増分を計算し、この
増分を始点座標値に加えながらベクトル描画座標値を順
次発生してベクトル描画メモリ4中に書き込むものであ
る。
The vector generation circuit 3 calculates increments in the X and Y directions from the given start point coordinate values and end point coordinate values, and while adding these increments to the start point coordinate values, sequentially generates vector drawing coordinate values and stores them in the vector drawing memory 4. It is something to write inside.

ベクトル描画メモリ4は、本発明によって新たに設けら
れたものであって、ベクトル発生回路3によって発生さ
れた描画ベクトルを書き込むものである。判定回路2に
よって繰り返し描画パターンであると判定された場合に
は、このベクトル描画メモリ4中の当該繰り返し描画パ
ターンが存在する矩形領域を、表示メモリ5中に複写す
る態様で書き込む。これにより、ベクトル発生回路3に
よって順次計算して描画ベクトルを書き込むに比し、所
望の描画ベクトルのみを極めて迅速に書き込むことが可
能となる。
The vector drawing memory 4 is newly provided according to the present invention, and is used to write the drawing vectors generated by the vector generation circuit 3. If the determination circuit 2 determines that the pattern is a repetitive drawing pattern, the rectangular area in the vector drawing memory 4 in which the repetitive drawing pattern exists is written in the display memory 5 in such a manner that it is copied. This makes it possible to write only a desired drawing vector extremely quickly, compared to writing drawing vectors by sequentially calculating them using the vector generation circuit 3.

表示メモリ5は、表示部6に表示しようとする描画パタ
ーンを書き込むものである。
The display memory 5 is used to write a drawing pattern to be displayed on the display section 6.

表示部6は、表示メモリ5に書き込まれている描画パタ
ーンを表示するデイスプレィである。
The display unit 6 is a display that displays the drawing pattern written in the display memory 5.

次に、第2図を用いて第1図構成の動作を詳細に説明す
る。第2図(イ)は表示メモリ5に書き込まれて表示部
6に表示される描画ベクトルを示し、第2図(ロ)はベ
クトル発生回路3が発生させたベクトル描画座標値N+
 Nz 、Ns 、Naをベクトル描画メモリ4に占き
込んで生成した描画ベクトルを示す。
Next, the operation of the configuration shown in FIG. 1 will be explained in detail using FIG. FIG. 2(a) shows the drawing vector written in the display memory 5 and displayed on the display unit 6, and FIG. 2(b) shows the vector drawing coordinate value N+ generated by the vector generation circuit 3.
A drawing vector generated by loading Nz, Ns, and Na into the vector drawing memory 4 is shown.

第2図(ロ)において、第1図ベクトル発生回路3は、
与えられた始点座標値Aおよび終点座標値BからX方向
およびY方向の増分を算出し、この増分を始点座標値A
に順次加えて発生させたベクトル描画座標値N1、N!
、N1、N4を図示のように書き込む。この時、同時に
表示メモリ5中にも図示1点t1線に示すように書き込
んでおく。
In FIG. 2(b), the vector generation circuit 3 in FIG.
Calculate the increments in the X and Y directions from the given starting point coordinate value A and ending point coordinate value B, and convert this increment to the starting point coordinate value A.
Vector drawing coordinate values N1, N! generated by sequentially adding to N!
, N1, and N4 are written as shown. At this time, the information is also written into the display memory 5 as shown by the line t1 at one point in the figure.

これらベクトル描画座標値Nl 、Ng 、Ns 、N
、によっt描画される描画パターンが、次に描画しよう
とする描画パターンと同じであって、繰り返し描画パタ
ーンであると第1図判定回路2が判定した場合、ベクト
ル発生回路3による計算を中止させ、第2図(イ)中の
点線を用いて囲んだ矩形領域に示すように、この繰り返
し描画パターンである第2図(ロ)ベクトル描画メモリ
4中に書き込まれている描画パターンを、複写する態様
で表示メモリ5中に順次、終点座標値Bに到達するまで
複写する。
These vector drawing coordinate values Nl, Ng, Ns, N
If the drawing pattern drawn by , t is the same as the drawing pattern to be drawn next and is determined by the judgment circuit 2 in FIG. 1 to be a repeated drawing pattern, the calculation by the vector generation circuit 3 is stopped. Then, as shown in the rectangular area surrounded by dotted lines in FIG. 2(a), the drawing pattern written in the vector drawing memory 4 in FIG. 2(b), which is this repeated drawing pattern, is copied. The coordinates are sequentially copied into the display memory 5 in this manner until the end point coordinate value B is reached.

以上のように、ベクトル発生回路3が計算して求めたベ
クトル描画座標値のみを書き込むベクトル描画メモリ4
を新たに設け、繰り返し描画パターンが発生した場合に
、このベクトル描画メモリ4中から読み出した描画ベク
トルを複写するB様で表示メモリ5に書き込むことによ
り、繰り返し描画パターンのみを迅速に描画することが
可能となる。
As described above, the vector drawing memory 4 writes only the vector drawing coordinate values calculated by the vector generation circuit 3.
is newly provided, and when a repeated drawing pattern occurs, Mr. B copies the drawing vector read out from this vector drawing memory 4 and writes it to the display memory 5, thereby making it possible to quickly draw only the repeated drawing pattern. It becomes possible.

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

以上説明したように、本発明によれば、ベクトル発生回
路3が算出したベクトル描画座標値を書き込むベクトル
描画メモリ4を新たに設け、繰り返し描画パターンが現
れた場合にこのベクトル描画メモリ4中のlu画パター
ンを複写する態様で表示メモリ5に書き込んで描画する
構成を採用しているため、繰り返し描画パターンに対し
てベクトル発生回路3がベクトル座標値の計算を繰り返
し行う必要がな(、しかも、繰り返し描画パターンのみ
を複写する態様で書き込むことが可能となり、高速にベ
クトル描画を行うことができる。
As explained above, according to the present invention, a vector drawing memory 4 is newly provided in which the vector drawing coordinate values calculated by the vector generation circuit 3 are written, and when a repeated drawing pattern appears, the lu in this vector drawing memory 4 is Since the configuration is such that the image pattern is written to the display memory 5 and drawn in a manner of copying it, there is no need for the vector generation circuit 3 to repeatedly calculate vector coordinate values for the repeated drawing pattern. It becomes possible to write in such a manner that only the drawing pattern is copied, and vector drawing can be performed at high speed.

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

第1図は本発明の1実施例構成図、第2図は本発明の動
作説明図、第3図は従来技術の説明図を示す。 図中、2は判定回路、3はベクトル発生回路、4はベク
トル描画メモリ、5は表示メモリ、6は表示部を表す。
FIG. 1 is a block diagram of one embodiment of the present invention, FIG. 2 is an explanatory diagram of the operation of the present invention, and FIG. 3 is an explanatory diagram of the prior art. In the figure, 2 represents a determination circuit, 3 represents a vector generation circuit, 4 represents a vector drawing memory, 5 represents a display memory, and 6 represents a display section.

Claims (1)

【特許請求の範囲】 ベクトルを描画して表示する画像表示装置において、 指定された始点座標値および終点座標値に対応する描画
点アドレスを順次発生し、ベクトル描画メモリ(4)に
書き込むベクトル発生回路(3)と、このベクトル発生
回路(3)によって発生される描画パターンが繰り返し
であるか否かを判定する判定回路(2)とを備え、 この判定回路(2)によって描画パターンが繰り返しで
あると判定された場合に、描画点アドレスの計算を停止
し、上記ベクトル描画メモリ(4)に書き込まれている
繰り返し矩形領域を、表示用メモリ(5)に複写する態
様で書き込むように構成したことを特徴とする画像表示
装置。
[Claims] In an image display device that draws and displays vectors, a vector generation circuit sequentially generates drawing point addresses corresponding to specified starting point coordinate values and ending point coordinate values and writes them into a vector drawing memory (4). (3) and a determination circuit (2) for determining whether or not the drawing pattern generated by the vector generation circuit (3) is repetitive; When it is determined that, the drawing point address calculation is stopped and the repeating rectangular area written in the vector drawing memory (4) is written in such a manner that it is copied to the display memory (5). An image display device characterized by:
JP33220887A 1987-12-29 1987-12-29 Image display device Pending JPH01175087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33220887A JPH01175087A (en) 1987-12-29 1987-12-29 Image display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33220887A JPH01175087A (en) 1987-12-29 1987-12-29 Image display device

Publications (1)

Publication Number Publication Date
JPH01175087A true JPH01175087A (en) 1989-07-11

Family

ID=18252384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33220887A Pending JPH01175087A (en) 1987-12-29 1987-12-29 Image display device

Country Status (1)

Country Link
JP (1) JPH01175087A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09218960A (en) * 1996-02-13 1997-08-19 Nec Corp Printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09218960A (en) * 1996-02-13 1997-08-19 Nec Corp Printer

Similar Documents

Publication Publication Date Title
JPS5995669A (en) Graphic processor
JPH0355832B2 (en)
JPH01175087A (en) Image display device
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JPS60171577A (en) Graphic generator
JPH0256678B2 (en)
JPH0544063B2 (en)
US5093905A (en) Inclined rectangular pattern generating system
JP2761220B2 (en) 3D graphic display system
JP2773458B2 (en) Vector controller
JPH0343838A (en) Tracer
JP3078958B2 (en) 3D graphic display
JPH0285977A (en) Closed area paint-out display method
JPS61187083A (en) Storage device of picture element information
JPS6095490A (en) Drawing pattern filling circuit
JPS62204389A (en) Clipping/shielding method by any polygons
JP2713219B2 (en) Graphic display device
JPS62184577A (en) Display control circuit
JPS6350714B2 (en)
JPH06266834A (en) Device and method for magnifying and reducing rectangular picture
JPH0346826B2 (en)
JPH01223580A (en) Method for displaying three-dimensional graphic
JPS59214086A (en) Graphic processor
JPS6242189A (en) Pattern writing apparatus
JPH03217987A (en) Drawing device