JPS63223690A - Oval acr lithography apparatus - Google Patents

Oval acr lithography apparatus

Info

Publication number
JPS63223690A
JPS63223690A JP62057109A JP5710987A JPS63223690A JP S63223690 A JPS63223690 A JP S63223690A JP 62057109 A JP62057109 A JP 62057109A JP 5710987 A JP5710987 A JP 5710987A JP S63223690 A JPS63223690 A JP S63223690A
Authority
JP
Japan
Prior art keywords
ellipse
end point
coordinates
coordinate
elliptical arc
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
JP62057109A
Other languages
Japanese (ja)
Inventor
正 久保田
誠治 中井
阿部 能夫
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62057109A priority Critical patent/JPS63223690A/en
Publication of JPS63223690A publication Critical patent/JPS63223690A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、図形表示装置に関し、楕円弧の始点位置終点
位置を高速かつ正確に求め、楕円弧を表示し得る楕円弧
描画装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a graphic display device, and more particularly to an elliptical arc drawing device that can quickly and accurately determine the starting and ending positions of an elliptical arc and display the elliptical arc.

従来の技術 近年、グラフィック表示機能を有するディスプレイ装置
において、図形描画機能を有するディスプレイ装置が普
及し始めている。この装置の基本的な機能の一つに円弧
もしくは楕円弧を描画する機能がある。
2. Description of the Related Art In recent years, among display devices having a graphic display function, display devices having a graphic drawing function have become popular. One of the basic functions of this device is the ability to draw circular arcs or elliptical arcs.

上記装置によって、円弧もしくは楕円弧を描画させる場
合、半径(楕円の場合は長軸方向半径と短軸方向半径)
と始点位置と終点位置を指定し描画する方法と、半径と
始角と終角から始点位置と終点位置を求め描画する方法
が考えられる。
When drawing a circular arc or an elliptical arc using the above device, the radius (in the case of an ellipse, the radius in the major axis direction and the radius in the minor axis direction)
There are two possible methods: specifying the starting point position and ending point position and drawing, and drawing by finding the starting point position and ending point position from the radius, starting angle, and ending angle.

以下図面を参照しながら、上述した従来の円弧もしくは
楕円弧描画装置の第1の例について説明する。
A first example of the conventional arc or elliptical arc drawing device described above will be described below with reference to the drawings.

第3図は従来の楕円弧描画装置の構成図であり、lは中
央処理装置(以下CPUと略す)、2は描画制御部で楕
円弧の座標と書き込み許可信号を発生する。3はリフレ
ッシュメモリで、描画制御部2で発生した楕円弧の座標
をメモリアドレスに変換し書き込み許可信号の制御によ
り該当メモリの内容を更新する。4はビデオ回路でリフ
レッシュメモリ3を周期的に読み出しビデオ信号を出力
し、5の表示器で表示する。
FIG. 3 is a block diagram of a conventional elliptical arc drawing device, where l is a central processing unit (hereinafter abbreviated as CPU), and 2 is a drawing control unit which generates the coordinates of an elliptical arc and a write permission signal. 3 is a refresh memory that converts the coordinates of the elliptical arc generated by the drawing control unit 2 into a memory address and updates the contents of the corresponding memory under the control of a write permission signal. A video circuit 4 periodically reads out the refresh memory 3 and outputs a video signal, which is displayed on a display 5.

第4図は、第3図中に示した楕円弧描画装置の描画制御
部2の第1の詳細図である。10は楕円弧座標発生部、
IIXは楕円座標発生部が発生するX座標値が出力され
ている出力線、llyは楕円座標発生部10が発生する
Y座標値が出力されている出力である。12は楕円弧の
始点位置のX座標値を保持するレジスタ、13は楕円弧
の終点位置のX座標値を保持するレジスタ、14は楕円
弧の始点位置のY座標値を保持するレジスタ、15は楕
円弧の終点位置のY座標値を保持するレジスタである。
FIG. 4 is a first detailed diagram of the drawing control section 2 of the elliptic arc drawing device shown in FIG. 10 is an elliptical arc coordinate generation part;
IIX is an output line to which the X coordinate value generated by the elliptical coordinate generator 10 is output, and lly is an output line to which the Y coordinate value generated by the elliptic coordinate generator 10 is output. 12 is a register that holds the X coordinate value of the starting point of the elliptical arc, 13 is a register that holds the X coordinate value of the ending point of the elliptical arc, 14 is a register that holds the Y coordinate value of the starting point of the elliptical arc, and 15 is the ending point of the elliptical arc. This is a register that holds the Y coordinate value of the position.

16はレジスタ12とレジスタ13の出力を選択するセ
レクタ、17はレジスタ14とレジスタ15の出力を選
択するセレクタである。18は楕円座標発生部10が出
力する座標値とセレクタ16が出力する値とを比較し一
致信号を出力する一致検出器、19は楕円座標発生部I
Oが出力する座標値とセレクタ7が出力する値とを比較
し一致信号を出力する一致検出器である。
A selector 16 selects the outputs of the registers 12 and 13, and a selector 17 selects the outputs of the registers 14 and 15. 18 is a coincidence detector that compares the coordinate values output by the elliptic coordinate generator 10 and the value output by the selector 16 and outputs a coincidence signal; 19 is an elliptic coordinate generator I;
This is a coincidence detector which compares the coordinate value outputted by O and the value outputted by selector 7 and outputs a coincidence signal.

20は始点終点判断部、21は書き込み許可信号、22
は始点終点選択信号である。また、出力線11x、ll
y、及び書き込み許可信号21は前記リフレッシュメモ
リ3に接続される。
20 is a start point/end point determination unit, 21 is a write permission signal, 22
is the start point/end point selection signal. In addition, output lines 11x, ll
y and the write permission signal 21 are connected to the refresh memory 3.

以下のように構成された楕円弧描画装置について、以下
その動作について説明する。
The operation of the elliptical arc drawing device configured as follows will be described below.

まず、レジスタ12.14に楕円弧の始点位置のX座標
値、Y座標値を、レジスタ13.15に楕円弧の終点位
置のX座標値、Y座標値を保持している時、始点終点判
断部20が出力する始点終点選択信号22を”始点”に
することによりセレクタ16.17はそれぞれレジスタ
12.14の出力を一致検出器18.19に出力する。
First, when the register 12.14 holds the X and Y coordinate values of the starting point of the elliptical arc and the register 13.15 holds the X and Y coordinate values of the ending point of the elliptical arc, the starting point and ending point determination unit The selectors 16 and 17 output the outputs of the registers 12 and 14 to the coincidence detectors 18 and 19, respectively, by setting the start and end point selection signals 22 outputted by the selectors 16 and 17 as the "start points".

楕円座標発生部10は、楕円座標を発生し、一致検出器
18.19およびリフレッシュメモリ3に楕円座標を出
力する。しかし、始点終点判断部20は、一致検出器が
18.19がともに一致信号を出力するまで書き込み許
可信号21を”書き込み不可”とし、リフレッシュメモ
リ3にメモリ内容更新を不可とする。楕円座標発生部1
0が順次楕円座標を発生し、一致検出器18.19がと
もに一致信号を出力した時、始点終点判断部20は始点
と判断し、書き込み許可信号21を“書き込み可”とし
、リフレッシュメモリ3に対し出力線11X、llyの
値を用いてメモリ内容更新を許可するとともに、始点終
点選択信号22を”終点”にする、始点終点選択信号2
2によって、セレクタ16.17はそれぞれレジスタ1
3.15の出力を一致検出器18.19に出力する。再
度、一致検出器18.19がともに一敗信号を出力する
まで、書き込み許可信号21は”書き込み可”を保持し
、その間に楕円座標発生部10が発生する楕円座標に対
する出力線11X、11yの値を用いてリフレッシュメ
モリ3のメモリ内容を更新することより楕円弧を描画で
きる。
The elliptic coordinate generating section 10 generates elliptic coordinates and outputs the elliptic coordinates to the coincidence detectors 18 and 19 and the refresh memory 3. However, the start/end point determination unit 20 sets the write permission signal 21 to "not writeable" until both the match detectors 18 and 19 output a match signal, making it impossible to update the memory contents in the refresh memory 3. Elliptical coordinate generator 1
0 sequentially generates elliptical coordinates, and when the coincidence detectors 18 and 19 both output coincidence signals, the start point and end point determination unit 20 determines that the start point is the start point, sets the write permission signal 21 to "writable", and stores the data in the refresh memory 3. On the other hand, the start/end point selection signal 2 allows the memory contents to be updated using the values of the output lines 11X and lly, and sets the start/end point selection signal 22 to the "end point".
2, selectors 16 and 17 respectively register 1
3.15 to the coincidence detector 18.19. Again, the write permission signal 21 holds "Writable" until both the coincidence detectors 18 and 19 output one-defeat signals, and during that time the ellipse coordinate generator 10 outputs the output lines 11X and 11y for the ellipse coordinates generated. An elliptical arc can be drawn by updating the memory contents of the refresh memory 3 using the values.

次に、図面参照しながら、従来の円弧もしくは楕円弧描
画装置の第2の例について説明する。従来の楕円弧描画
装置の構成図は第3図と同じであるが、第5図は第3図
中に示した楕円弧描画装置の描画制御部2の第2の詳細
図である。第5図中の楕円座標発生部lO1出力線11
x、11y−敗検出器18.19、始点終点判断部20
、書き込み許可信号21、始点終点選択信号22は、第
4図中のものと同一の動作を行なう。23は半径を保持
するレジスタ、24は始角を保持するレジスタ、25は
終角を保持するレジスタ、26はレジスタ24.25の
出力を選択するセレクタである。27は変換テーブルで
あり、レジスタ23の値である半径と、レジスタ24.
25の値をセレクタ26を通した始角または終角を用い
て、始角もしくは終角のX座標値、Y座標値を出力する
Next, a second example of a conventional circular arc or elliptical arc drawing device will be described with reference to the drawings. The configuration diagram of the conventional elliptical arc drawing device is the same as that shown in FIG. 3, but FIG. 5 is a second detailed diagram of the drawing control section 2 of the elliptic arc drawing device shown in FIG. Elliptical coordinate generator lO1 output line 11 in FIG.
x, 11y-defeat detector 18.19, start point end point judgment unit 20
, write permission signal 21, and start/end point selection signal 22 perform the same operations as those shown in FIG. 23 is a register that holds the radius, 24 is a register that holds the starting angle, 25 is a register that holds the ending angle, and 26 is a selector that selects the output of registers 24 and 25. 27 is a conversion table, in which the radius, which is the value of register 23, and register 24.
Using the value of 25 as the starting angle or ending angle passed through the selector 26, the X coordinate value and Y coordinate value of the starting angle or ending angle are output.

以下のように構成された楕円弧描画装置について、第1
の例と第2の例を比較しつつ動作を説明する。
Regarding the elliptical arc drawing device configured as follows, the first
The operation will be explained by comparing the example and the second example.

第1の例においては、直接、始点座標、終点座標を設定
し、一致検出器18.19に出力するよう構成している
のに対し、第2の例においては、半径と始角、終角を設
定し、変換テーブル27を用いて始点座標、終点座標を
導き出し一致検出器18.19に出力するよう構成して
おり、楕円弧の始点及び終点のパラメータの与え方が異
なるだけで、第1の例と同じ動作を第2の例でも実現で
きる。(例えば、特開昭58−107588号公報) 発明が解決しようとする問題点 しかしながら上記のような構成では、第1の例において
は楕円座標発生部10が発生する座標値と、設定した始
点もしくは終点座標のX座標値とY座標値がともに一致
しない時は正しく楕円弧を描くことができない。第2の
例においても同様のことが言える。さらに第2の例にお
いては楕円の縦横比が大きくなれば(偏平になれば)な
るほど誤差が大きくなるという問題点も有していた。
In the first example, the starting point coordinates and ending point coordinates are directly set and output to the coincidence detectors 18 and 19, whereas in the second example, the radius, starting angle, ending angle is set, the start point coordinates and end point coordinates are derived using the conversion table 27, and output to the coincidence detectors 18 and 19. The same operation as in the example can also be realized in the second example. (For example, Japanese Unexamined Patent Publication No. 58-107588) Problems to be Solved by the Invention However, in the above configuration, in the first example, the coordinate values generated by the elliptical coordinate generation unit 10 and the set starting point or If the X and Y coordinate values of the end point coordinates do not match, the elliptical arc cannot be drawn correctly. The same can be said for the second example. Furthermore, the second example has a problem in that the larger the aspect ratio of the ellipse (the flatter it becomes), the larger the error becomes.

本発明は上記問題点に鑑み、楕円の縦横比が大きくても
、また発生した楕円座標値と始点もしくは終点のX座標
値、Y座標値が同時に一致しない場合でも誤差の少ない
楕円弧を描画する楕円弧描画装置を提供するものである
In view of the above problems, the present invention is an elliptical arc that draws an elliptical arc with less error even when the aspect ratio of the ellipse is large or when the generated ellipse coordinate values and the X and Y coordinate values of the starting point or end point do not coincide at the same time. The present invention provides a drawing device.

問題点を解決するための手段 上記問題点を解決するために本発明の楕円弧描画装置は
、楕円の近似式により楕円の座標を発生する楕円座標発
生部と、楕円弧の始点、終点を検出するとともに描画制
御を行なう始点終点検出制御部と、前記楕円座標発生部
に接続され前記始点終点検出制御部に判定領域を指定す
る判定領域検出部とを有し、前記判定領域検出部は、楕
円の横方向半径と縦方向半径との差と、前記楕円座標発
生部が発生する楕円座標の横方向座標の絶対値と縦方向
座標の絶対値との差とを比較し、前記始点終点検出制御
部に判定領域を指示するように構成され、また前記始点
終点検出制御部は、楕円弧の始点座標と終点座標を記憶
しているレジスタと、始点座標と終点位座標とを選択す
るセレクタと、楕円座標発生部が発生する楕円座標とセ
レクタの出力とを比較する比較器と、比較器と判定領域
検出部に接続され描画制御信号とセレクタの選択信号を
出力する検出制御部から構成されるものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the elliptical arc drawing device of the present invention includes an ellipse coordinate generation section that generates the coordinates of an ellipse using an ellipse approximation formula, and detects the starting point and end point of the ellipse arc. It has a start point/end point detection control section that performs drawing control, and a judgment area detection section that is connected to the ellipse coordinate generation section and specifies a judgment area to the start/end point detection control section. The difference between the directional radius and the vertical radius is compared with the difference between the absolute value of the horizontal coordinate and the absolute value of the vertical coordinate of the ellipse coordinates generated by the ellipse coordinate generator, and the start point/end point detection controller The start and end point detection control unit is configured to indicate a determination area, and includes a register that stores start point coordinates and end point coordinates of an elliptical arc, a selector that selects the start point coordinates and end point position coordinates, and an ellipse coordinate generator. A comparator that compares the ellipse coordinates generated by the section with the output of the selector, and a detection control section that is connected to the comparator and the determination area detection section and outputs a drawing control signal and a selection signal of the selector.

作用 本発明は上記した構成によって、楕円弧を描画する場合
、特に楕円の縦横比が大きくなった時に始点・終点の座
標と楕円座標発生部が発生する楕円座標とが完全に一致
しなくても誤差の少ない始点・終点判断を行なうことに
より、楕円弧を描画することを可能とした。
Effect of the Invention With the above-described configuration, when drawing an elliptical arc, especially when the aspect ratio of the ellipse becomes large, the present invention eliminates errors even if the coordinates of the start point and end point and the ellipse coordinates where the ellipse coordinate generation part does not completely match. By determining the start and end points with fewer errors, it is possible to draw elliptical arcs.

実施例 以下本発明の一実施例の楕円弧描画装置について図面を
参照しながら説明する。
EXAMPLE Hereinafter, an elliptical arc drawing apparatus according to an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例における楕円弧描画装置の構
成図である。第1図において、■はCPU、3はリフレ
ッシュメモリ、4はビデオ回路、5は表示器であり、従
来例の説明に用いた第4図中のものと同じ機能を持つ、
6は判定領域検出部、7は始点終点検出制御部、10は
例えば右まわりに順次楕円座標発生する楕円座標発生部
である。第2図は、第1図中の判定領域検出部6、始点
終点検出制御部7、楕円座標発生部10の関係を示した
詳細説明図である。第2図において、11xは楕円座標
発生部10が発生するX座標値が出力されている出力線
、llyは楕円座標発生部10が発生するY座標値が出
力されている出力線、12は楕円弧の始点位置のX座標
値を保持するレジスタ、13は楕円弧の終点位置のX座
標値を保持するレジスタ、14は楕円弧の始点位置のY
座標値を保持するレジスタ、15は楕円弧の終点位置の
Y座標値を保持するレジスタ、16はレジスタ12とレ
ジスタ13の出力を選択するセレクタ、17はレジスタ
14とレジスタ15の出力を選択するセレクタ、22は
始点終点選択信号であり、従来例の説明に用いた第4図
中のものと同じ機能を持つ、28は楕円のX軸方向の半
径を保持するレジスタ、29は楕円のY軸方向の半径を
保持するレジスタである。30は出力線11xの値の絶
対値を算出する絶対値回路、31は出力線11yの値の
絶対値を算出する絶対値回路である。
FIG. 1 is a block diagram of an elliptical arc drawing device according to an embodiment of the present invention. In FIG. 1, ■ is a CPU, 3 is a refresh memory, 4 is a video circuit, and 5 is a display device, which has the same functions as those in FIG. 4 used to explain the conventional example.
Reference numeral 6 denotes a determination area detection section, 7 a start point/end point detection control section, and 10 an elliptical coordinate generation section that sequentially generates elliptical coordinates clockwise, for example. FIG. 2 is a detailed explanatory diagram showing the relationship among the determination area detection section 6, start point/end point detection control section 7, and ellipse coordinate generation section 10 in FIG. 1. In FIG. 2, 11x is an output line to which the X coordinate value generated by the elliptic coordinate generator 10 is output, lly is an output line to which the Y coordinate value generated by the elliptic coordinate generator 10 is output, and 12 is an elliptical arc. 13 is a register that holds the X coordinate value of the end point of the elliptical arc. 14 is a register that holds the Y coordinate value of the starting point of the elliptical arc.
15 is a register that holds the Y coordinate value of the end point position of the elliptical arc; 16 is a selector that selects the outputs of registers 12 and 13; 17 is a selector that selects the outputs of registers 14 and 15; Reference numeral 22 denotes a start point/end point selection signal, which has the same function as the one shown in FIG. This is a register that holds the radius. 30 is an absolute value circuit that calculates the absolute value of the value of the output line 11x, and 31 is an absolute value circuit that calculates the absolute value of the value of the output line 11y.

32はレジスタ28とレジスタ29の値の差を算出する
減算器、33は絶対値回路30と絶対値回路31が出力
する値の差を算出する減算器、34は減算器32と減算
器33が出力する値の大小比較を行なう比較器である。
32 is a subtracter that calculates the difference between the values of register 28 and register 29; 33 is a subtracter that calculates the difference between the values output by absolute value circuit 30 and absolute value circuit 31; and 34 is a subtracter that calculates the difference between the values of register 28 and register 29; This is a comparator that compares the magnitude of output values.

35は出力線11xの値とセレクタ16の値の大小比較
を行なう比較器、36は出力線11yの値とセレクタ1
7の値の大小比較を行なう比較器である。37は検出制
御部、38は書き込み許可信号であり、検出制御部37
は比較器34.35.36が出力する大小比較信号から
描画領域を判断し、始点終点選択信号22と書き込み許
可信号38を出力する。
35 is a comparator that compares the value of output line 11x and the value of selector 16; 36 is a comparison between the value of output line 11y and selector 1;
This is a comparator that compares the magnitude of the value of 7. 37 is a detection control unit, 38 is a write permission signal, and the detection control unit 37
determines the drawing area from the magnitude comparison signals output by the comparators 34, 35, and 36, and outputs the start point/end point selection signal 22 and the write permission signal 38.

以上のように構成された楕円描画装置について、以下第
1図及び第2図を用いてその動作を説明する。
The operation of the ellipse drawing apparatus configured as described above will be described below with reference to FIGS. 1 and 2.

第2図において、レジスタ12.14に楕円弧の始点位
置のX座標値、Y座標値をレジスタ13.15に楕円弧
の終点位置のX座標値、Y座標値を、レジスタ28.2
9に楕円弧のX軸方向の値(RXとする)、Y軸方向の
値(RYとする)を保持している時、検出制御部37が
出力する始点終点選択信号22を”始点”にすることに
よりセレクタ16.17はそれぞれレジスタ12.14
の出力を比較器35.36に出力する。(ここで、セレ
クタ16の出力する値をPX1セレクタ17の出力する
値をPYとする。)楕円座標発生部10は、楕円座標(
X座標値をx、X座標値をYとする。)を発生し、比較
器35.36および絶対値回路30.31、およびリフ
レッシュメモリ3に楕円座標を出力する。ここで比較器
34に入力される信号を考えると、減算器32からはR
X−RY17)値が、減算器33からはIXI−IYI
の値が入力される。比較器34は、RX−RYとIXI
−IYIの値の大小比較を行ない、その結果を、判定領
域を指示する信号として検出制御部37に出力する。
In FIG. 2, the X and Y coordinate values of the starting point of the elliptical arc are stored in register 12.14, the X and Y coordinate values of the ending point of the elliptical arc are stored in register 13.15, and register 28.2
When the value in the X-axis direction (referred to as RX) and the value in the Y-axis direction (referred to as RY) of the elliptical arc is held in 9, the start point/end point selection signal 22 output by the detection control unit 37 is set as the "start point". As a result, selectors 16 and 17 are connected to registers 12 and 14, respectively.
The outputs of are outputted to comparators 35 and 36. (Here, the value output by the selector 16 is PX, and the value output by the selector 17 is PY.) The elliptic coordinate generator 10 generates elliptic coordinates (
Let the X coordinate value be x and the X coordinate value be Y. ) and outputs the ellipse coordinates to the comparators 35 and 36, the absolute value circuits 30 and 31, and the refresh memory 3. Considering the signal input to the comparator 34, the signal from the subtracter 32 is R
X-RY17) value is IXI-IYI from the subtracter 33
The value is entered. Comparator 34 connects RX-RY and IXI
-IYI is compared in magnitude, and the result is output to the detection control unit 37 as a signal instructing the determination area.

検出制御部37は、 ■ PX、PYの示す点が第1象限にある時、比較器3
4が出力する値がRX−RY> l X l −IYI
なる関係を満たす時は比較器35が出力する値がPX≦
Xなる関係を示すまで、比較器34が出力する値がRX
−RY≦lX1−IYIなる関係を満たす時は比較器3
6が出力する値がPY≦Yなる関係を示すまで、■ P
X、PYの示す点が第2象限にある時、比較器34が出
力する値がRX−Ry< l X l −IYIなる関
係を満たす時は比較器36が出力する値がPX≧Yなる
関係を示すまで、比較器34が出力する値がRX−RY
≧lX1−IYIなる関係を満たす時は比較器35が出
力する値がPX≦Xなる関係を示すまで、■ PX、P
Yの示す点が第3象限にある時、比較器34が出力する
値がRX−RY> I X l −IYIなる関係を満
たす時は比較器35が出力する値がpx≧Xなる関係を
示すまで、比較器34が出力する値がRX−RY≦lX
1−IYIなる関係を満たす時は比較器36が出力する
値がPY≧Yなる関係を示すまで、■ PX、PYの示
す点が第4象限にある時、比較器34が出力する値がR
X−RY< l X l −IYIなる関係を満たす時
は比較器36が出力する値がPY≦Yなる関係を示すま
で、比較器34が出力する値がRX−RY≧lX1−I
YIなる関係を満たす時は比較器35が出力する値がp
xa;xなる関係を示すまで、書き込み許可信号38を
”書き込み不可”とし、リフレッシュメモリにメモリ内
容更新を不可とする。i円座標発生部10が順次楕円座
標発生部を発生しくたとえば右回りに)、検出制御部3
7は、前記■〜■のどれかを満足した時、その時点の楕
円座標発生部IOが発生するX、Yを始点と判断し、書
き込み許可信号38を”書き込み可”とし、リフレッシ
ュメモリ3に対して出力線11x。
The detection control unit 37 detects the comparator 3 when the points indicated by PX and PY are in the first quadrant.
The value output by 4 is RX-RY> l X l -IYI
When the following relationship is satisfied, the value output by the comparator 35 is PX≦
The value output by the comparator 34 is RX until it shows a relationship of
-RY≦lX1-IYI, comparator 3
Until the value output by 6 shows the relationship PY≦Y, ■ P
When the point indicated by until the value output by the comparator 34 is RX-RY
When the relationship ≧lX1-IYI is satisfied, ■ PX, P until the value output by the comparator 35 indicates the relationship PX≦X.
When the point indicated by Y is in the third quadrant, when the value output from the comparator 34 satisfies the relationship RX-RY>IXl-IYI, the value output from the comparator 35 indicates the relationship px≧X. Until the value output by the comparator 34 is RX-RY≦lX
When the relationship 1-IYI is satisfied, the value output from the comparator 34 is R until the value output from the comparator 36 shows the relationship PY≧Y.
When the relationship X-RY<lXl-IYI is satisfied, the value output from the comparator 34 is RX-RY
When the relationship YI is satisfied, the value output by the comparator 35 is p
Until the relationship xa; The i-circular coordinate generating section 10 sequentially generates elliptical coordinate generating sections (for example, clockwise), and the detection control section 3
7 determines that the X and Y generated by the elliptical coordinate generating unit IO at that time are the starting points when any of the above-mentioned conditions ■ to ■ are satisfied, sets the write permission signal 38 to "Writable", and writes the data to the refresh memory 3. On the other hand, the output line 11x.

11yの値を用いてメモリ内容更新を許可するとともに
、始点終点選択信号22を゛終点′とする。
The value of 11y is used to permit updating of the memory contents, and the start/end point selection signal 22 is set as the 'end point'.

始点終点選択信号22によって、セレクタ16.17は
それぞれレジスタ13.15の出力を比較器35.36
に出力する。再度、検出制御部37が前記■〜■のどれ
かを満足するまで、書き込み許可信号21は”書き込み
可”を保持し、その間に楕円座標発生部10が発生する
楕円座標に対する出力線11X、llyの値を用いてリ
フレッシュメモリ3のメモリ内容を更新することによっ
て楕円弧を描画できる。
Depending on the start point/end point selection signal 22, selectors 16 and 17 select the outputs of registers 13 and 15 from comparators 35 and 36, respectively.
Output to. Again, the write permission signal 21 maintains "writable" until the detection control unit 37 satisfies any of the above-mentioned conditions (■) to (■), and during that time, the output lines 11X, lly for the ellipse coordinates generated by the ellipse coordinate generation unit 10 By updating the memory contents of the refresh memory 3 using the value of , an elliptical arc can be drawn.

発明の効果 以上のように本発明は、楕円の近似式により楕円の座標
を発生する楕円座標発生部と、楕円弧の始点、終点を検
出するとともに描画制御を行なう始点終点検出制御部と
、前記楕円座標発生部に接続され前記始点終点検出制御
部に判定領域を指定する判定領域検出部とを有し、前記
判定領域検出部は、楕円の横方向半径と縦方向半径との
差と、前記楕円座標発生部が発生する楕円座標の横方向
座標の絶対値と縦方向座標の絶対値との差とを比較し、
前記始点終点検出制御部に判定領域をI旨示するように
構成され、また前記始点終点検出制御部は、楕円弧の始
点座標と終点座標を記憶しているレジスタと、始点座標
と終点位座標とを選択するセレクタと、楕円座標発生部
が発生する楕円座標とセレクタの出力とを比較する比較
器と、比較器と判定領域検出部に接続され描画制御信号
とセレクタの選択信号を出力する検出制御部から構成さ
れており、楕円弧を描画する場合、特に楕円弧の縦横比
が大きくなった時に、始点もしくは終点の座標と楕円座
標発生部の発生する楕円座標とが完全に一致しなくても
誤差の少ない始点、終点判断を行なうことにより、楕円
弧を描画することを可能とする優れた楕円弧描画装置を
提供するものである。
Effects of the Invention As described above, the present invention includes: an ellipse coordinate generation unit that generates the coordinates of an ellipse using an ellipse approximation formula; a start/end point detection control unit that detects the start point and end point of an elliptical arc and performs drawing control; a determination area detection unit connected to the coordinate generation unit and specifying a determination area to the start point/end point detection control unit, and the determination area detection unit detects the difference between the horizontal radius and the vertical radius of the ellipse, Compare the difference between the absolute value of the horizontal coordinate and the absolute value of the vertical coordinate of the elliptical coordinate generated by the coordinate generation part,
The start point/end point detection control section is configured to indicate a determination area I, and the start/end point detection control section includes a register storing the start point coordinates and end point coordinates of the elliptical arc, and a register storing the start point coordinates and end point position coordinates of the elliptical arc. a selector that selects the ellipse, a comparator that compares the ellipse coordinates generated by the ellipse coordinate generator with the output of the selector, and a detection control that is connected to the comparator and the judgment area detector and outputs a drawing control signal and a selector selection signal. When drawing an elliptical arc, especially when the aspect ratio of the elliptical arc becomes large, errors may occur even if the coordinates of the start point or end point and the ellipse coordinates generated by the ellipse coordinate generation part do not completely match. An object of the present invention is to provide an excellent elliptical arc drawing device that can draw an elliptical arc by making fewer start and end point determinations.

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

第1図は本発明の一実施例における楕円座標発生部の構
成図、第2図は第1図中の判定領域検出部、始点終点検
出制御部、楕円座標発生部の関係を示した詳細説明図、
第3図は従来の楕円弧描画装置の構成図、第4図は第3
図中の描画制御部の第1の詳細図、第5図は第3図中の
描画制御部の第2の詳細図である。 1・・・・・・CPU、3・・・・・・リフレッシュメ
モリ、4・・・・・・ビデオ回路、5・・・・・・表示
器、6・・・・・・判定領域検出部、7・・・・・・始
点終点検出制御部、10・・・・・・楕円座標発生部、
12,13,14,15.28゜29・・・・・・レジ
スタ、16.17・・・・・・セレクタ、30.31・
・・・・・絶対値回路、32.33・・・・・・減算器
、34.35.36・・・・・・比較器、37・・・・
・・検出制御部。
FIG. 1 is a configuration diagram of an elliptical coordinate generation section in an embodiment of the present invention, and FIG. 2 is a detailed explanation showing the relationship among the determination area detection section, start point/end point detection control section, and ellipse coordinate generation section in FIG. 1. figure,
Figure 3 is a configuration diagram of a conventional elliptical arc drawing device, and Figure 4 is a diagram of a conventional elliptical arc drawing device.
A first detailed view of the drawing control section in the figure, and FIG. 5 is a second detailed view of the drawing control section in FIG. 1...CPU, 3...Refresh memory, 4...Video circuit, 5...Display device, 6...Judgment area detection section , 7...Start point/end point detection control unit, 10...Ellipse coordinate generation unit,
12, 13, 14, 15.28゜29...Register, 16.17...Selector, 30.31.
...Absolute value circuit, 32.33...Subtractor, 34.35.36...Comparator, 37...
...Detection control section.

Claims (2)

【特許請求の範囲】[Claims] (1)グラフィック表示機能を有するラスタスキャン型
ディスプレイ装置において、楕円の近似式により楕円の
座標を発生する楕円座標発生部と、楕円弧の始点、終点
を検出するとともに描画制御を行なう始点終点検出制御
部と、前記楕円座標発生部に接続され前記始点終点検出
制御部に判定領域を指示する判定領域検出部とを有し、
前記判定領域検出部は、楕円の横方向半径と縦方向半径
との差と、前記楕円座標発生部が発生する楕円座標の横
方向座標の絶対値と縦方向座標の絶対値との差とを比較
し、前記始点終点検出制御部に判定領域を指示するよう
に構成されたことを特徴とする楕円弧描画装置。
(1) In a raster scan type display device having a graphic display function, an ellipse coordinate generation unit generates the coordinates of an ellipse using an ellipse approximation formula, and a start point and end point detection control unit that detects the start point and end point of an elliptical arc and performs drawing control. and a determination area detection unit that is connected to the ellipse coordinate generation unit and instructs the start point and end point detection control unit to determine the determination area,
The determination area detection unit detects the difference between the horizontal radius and the vertical radius of the ellipse, and the difference between the absolute value of the horizontal coordinate and the absolute value of the vertical coordinate of the ellipse coordinates generated by the ellipse coordinate generation unit. An elliptical arc drawing device, characterized in that the elliptical arc drawing device is configured to compare the start point and end point and instruct the start point and end point detection control unit to determine a determination area.
(2)始点終点検出制御部は、楕円弧の始点座標と終点
座標を記憶しているレジスタと、始点座標と終点座標と
を選択するセレクタと、前記楕円座標発生部が発生する
楕円座標と前記セレクタの出力とを比較する比較器と、
比較器と前記判定領域検出部に接続され描画制御信号と
前記セレクタの選択信号を出力する検出制御部とから構
成されることを特徴とする特許請求の範囲第(1)項記
載の楕円弧描画装置。
(2) The start point and end point detection control section includes a register that stores the start point coordinates and end point coordinates of the elliptical arc, a selector that selects the start point coordinates and the end point coordinates, and the ellipse coordinates generated by the ellipse coordinate generation section and the selector. a comparator that compares the output of
The elliptical arc drawing device according to claim 1, comprising a comparator and a detection control section connected to the judgment area detection section and outputting a drawing control signal and a selection signal of the selector. .
JP62057109A 1987-03-12 1987-03-12 Oval acr lithography apparatus Pending JPS63223690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62057109A JPS63223690A (en) 1987-03-12 1987-03-12 Oval acr lithography apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62057109A JPS63223690A (en) 1987-03-12 1987-03-12 Oval acr lithography apparatus

Publications (1)

Publication Number Publication Date
JPS63223690A true JPS63223690A (en) 1988-09-19

Family

ID=13046351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62057109A Pending JPS63223690A (en) 1987-03-12 1987-03-12 Oval acr lithography apparatus

Country Status (1)

Country Link
JP (1) JPS63223690A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63198172A (en) * 1987-02-13 1988-08-16 Nec Corp End point detecting circuit for arc

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63198172A (en) * 1987-02-13 1988-08-16 Nec Corp End point detecting circuit for arc

Similar Documents

Publication Publication Date Title
US4758690A (en) Coordinate detecting method
US4998211A (en) Method of and apparatus for generating a filled pattern defined by contour vectors
JPS63223690A (en) Oval acr lithography apparatus
JPS62151914A (en) Coordinate detection method
EP0254300A2 (en) Rotated graphic pattern generating system
JPH05181605A (en) Projection display device with coordinate reading function and its display screen and display
JPS63298387A (en) Oval arc lithography apparatus
JPS5893095A (en) Memory address controller
JP3385056B2 (en) Inertial principal axis calculation device, image pattern inclination correction device, and image processing device
KR100187003B1 (en) The cursor generation circuit of multi-sink digital convergence compensation apparatus
JPH0444136A (en) Memory access controller
JPS6116347A (en) Memory scanner
JP2753090B2 (en) Shortest distance and shortest route calculation device
JP2627112B2 (en) Vector generator
JPH0573256A (en) Crosshair cursor generating device
JP2638501B2 (en) Graphic data display device and graphic data display method
JPH01161537A (en) Interruption controller
JP2596628B2 (en) Italic processing circuit
JPH01112355A (en) Data transfer controller
JPH04137188A (en) Generating circuit for address in polygon
JPS62121556A (en) Information processor contained in trace memory
JPH05236253A (en) Picture processor
JPH01233674A (en) Circular arc and ellipse arc generator
JPS6274160A (en) Graphic drawing circuit
JPS62226330A (en) Cursor control method