JPH08221585A - System for plotting circle - Google Patents

System for plotting circle

Info

Publication number
JPH08221585A
JPH08221585A JP2516995A JP2516995A JPH08221585A JP H08221585 A JPH08221585 A JP H08221585A JP 2516995 A JP2516995 A JP 2516995A JP 2516995 A JP2516995 A JP 2516995A JP H08221585 A JPH08221585 A JP H08221585A
Authority
JP
Japan
Prior art keywords
circle
vertex
coordinates
size
plotted
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
JP2516995A
Other languages
Japanese (ja)
Inventor
Yutaka Honma
豊 本間
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2516995A priority Critical patent/JPH08221585A/en
Publication of JPH08221585A publication Critical patent/JPH08221585A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To accelerate the plotting speed at the time of plotting a small circle by performing reduction arithmetic to respective apex coordinate values based on the size of the circle to be plotted, calculating the coordinates of respective apexes to form the plotted circle and displaying the plotted circle by connecting the coordinates of respective mutually adjacent apexes among those respective calculated apexes. CONSTITUTION: Based on the size of the circle to be plotted, the respective apex coordinate values are thinned and extracted from a basic circle coordinate memory 1 by a skip number memory 2 and a microprocessor 3 as apex coordinate thinning means. The reduction arithmetic is performed to those respective extracted apex coordinate values based on the size of the circle to be plotted by the microprocessor 3 as an apex coordinate calculating means and the coordinates of respective apexes to form the plotted circle are calculated. The plotted circle is displayed by connecting the coordinates of respective mutually adjacent apexes among those respective calculated apex coordinates while using a straight line plotting means 5, frame memory 6, display control part 7 and monitor 9 as plotted circle display means. Thus, plotting speed at the time of plotting the small circle can be accelerated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、グラフィックディスプ
レイ装置を用いる円の描画方式に係わり、特に小さい円
を描画するときに描画速度を向上し得る円の描画方式に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circle drawing method using a graphic display device, and more particularly to a circle drawing method capable of improving a drawing speed when drawing a small circle.

【0002】[0002]

【従来の技術】一般に、幾何学的な図形を描画可能なグ
ラフィックディスプレイ装置では、円を描画する際に、
円を多角形によって近似的に描画するという円の描画方
式が広く用いられている。
2. Description of the Related Art Generally, in a graphic display device capable of drawing a geometrical figure, when drawing a circle,
A circle drawing method in which a circle is drawn approximately by a polygon is widely used.

【0003】この種の円の描画方式では、多角形を構成
する複数の頂点座標を予め記憶し、これら各頂点座標を
直線的に結んで多角形による近似円を描画している。こ
こで、近似円がグラフィックディスプレイ装置の画面一
杯に表示される場合であってもきれいな円を描画するよ
うに、例えば画面の縦の長さを直径とする円を基本円と
し、この基本円を144個の頂点座標からなる百四十四
角形により描画可能としている。
In this type of circle drawing method, a plurality of vertex coordinates forming a polygon are stored in advance, and each vertex coordinate is linearly connected to draw an approximate circle of the polygon. Here, in order to draw a beautiful circle even when the approximate circle is displayed on the full screen of the graphic display device, for example, a circle whose diameter is the vertical length of the screen is used as the basic circle, and this basic circle is It is possible to draw by a hundred and four quadrangles made up of 144 vertex coordinates.

【0004】また、描画対象である描画円が基本円より
も小さいときの描画処理では、基本円の各頂点座標を基
本円に対する描画円の縮小率に基づいて描画円の各頂点
座標に変換することにより、描画円を描画している。
Further, in the drawing process when the drawing circle to be drawn is smaller than the basic circle, each vertex coordinate of the basic circle is converted into each vertex coordinate of the drawing circle based on the reduction ratio of the drawing circle with respect to the basic circle. By doing so, the drawing circle is drawn.

【0005】[0005]

【発明が解決しようとする課題】しかしながら以上のよ
うな円の描画方式では、基本円の144個の頂点座標を
夫々描画円の各頂点座標に変換することから、描画円が
小さい場合であっても基本円と同等の描画時間がかかる
ため、小さい円の割には描画速度が遅いという問題があ
る。本発明は上記実情を考慮してなされたもので、小さ
い円を描画するときに描画速度を向上し得る円の描画方
式を提供することを目的とする。
However, in the above-described circle drawing method, since the coordinates of the 144 vertices of the basic circle are converted into the coordinates of the vertices of the drawing circle, the drawing circle may be small. However, since it takes the same drawing time as the basic circle, there is a problem that the drawing speed is slow for a small circle. The present invention has been made in consideration of the above situation, and an object of the present invention is to provide a circle drawing method capable of improving the drawing speed when drawing a small circle.

【0006】[0006]

【課題を解決するための手段】請求項1に対応する発明
は、描画円を多角形にて近似的に描画する円の描画方式
において、描画可能な最大の大きさをもつ基本円に対応
する多角形の複数の頂点座標値が記憶された基本円座標
メモリと、前記描画円の大きさに基づいて、前記基本円
座標メモリから前記各頂点座標値を間引きして取出す頂
点座標間引手段と、この頂点座標間引手段により取出さ
れた各頂点座標値を前記描画円の大きさに基づいて縮小
演算し、前記描画円を形成する各頂点座標を算出する頂
点座標算出手段と、この頂点座標算出手段により算出さ
れた各頂点座標のうち、互いに隣合う各頂点座標を結ん
で前記描画円を表示する描画円表示手段とを備えた円の
描画方式である。
The invention according to claim 1 corresponds to a basic circle having the maximum size that can be drawn in a drawing method of a circle in which a drawing circle is approximately drawn with a polygon. A basic circle coordinate memory that stores a plurality of vertex coordinate values of a polygon, and a vertex coordinate thinning-out means that thins out and extracts each vertex coordinate value from the basic circle coordinate memory based on the size of the drawing circle. A vertex coordinate calculation means for reducing each vertex coordinate value extracted by the vertex coordinate thinning means based on the size of the drawing circle to calculate each vertex coordinate forming the drawing circle; Among the vertex coordinates calculated by the calculation means, the drawing circle display means for connecting the adjacent vertex coordinates to display the drawing circle is a circle drawing method.

【0007】また、請求項2に対応する発明は、請求項
1に対応する円の描画方式において、前記描画円の大き
さが前記描画円の半径である円の描画方式である。さら
に、請求項3に対応する発明は、請求項1に対応する円
の描画方式において、前記描画円の大きさが前記描画円
の直径である円の描画方式である。
The invention according to claim 2 is the circle drawing method according to claim 1, wherein the size of the drawing circle is the radius of the drawing circle. Furthermore, the invention corresponding to claim 3 is the circle drawing method according to claim 1, wherein the size of the drawing circle is the diameter of the drawing circle.

【0008】[0008]

【作用】従って、請求項1に対応する発明は以上のよう
な手段を講じたことにより、描画可能な最大の大きさを
もつ基本円に対応する多角形の複数の頂点座標値が記憶
された基本円座標メモリを設け、頂点座標間引手段が、
描画円の大きさに基づいて、基本円座標メモリから各頂
点座標値を間引きして取出し、頂点座標算出手段が、こ
の頂点座標間引手段により取出された各頂点座標値を描
画円の大きさに基づいて縮小演算し、描画円を形成する
各頂点座標を算出し、描画円表示手段が、この頂点座標
算出手段により算出された各頂点座標のうち、互いに隣
合う各頂点座標を結んで描画円を表示するので、小さい
円を描画するときに描画速度を向上させることができ
る。
Therefore, in the invention according to claim 1, the plurality of vertex coordinate values of the polygon corresponding to the basic circle having the maximum drawable size are stored by taking the above means. A basic circular coordinate memory is provided, and the vertex coordinate thinning means is
Based on the size of the drawing circle, each vertex coordinate value is thinned out and taken out from the basic circle coordinate memory, and the vertex coordinate calculation means extracts each vertex coordinate value taken out by this vertex coordinate thinning means as the size of the drawing circle. The drawing circle display means draws by connecting adjacent vertex coordinates among the vertex coordinates calculated by the vertex coordinate calculation means by performing a reduction calculation based on Since the circle is displayed, the drawing speed can be improved when drawing a small circle.

【0009】また、請求項2に対応する発明は、描画円
の大きさが描画円の半径であるので、請求項1に対応す
る作用と同様の作用を奏することができる。さらに、請
求項3に対応する発明は、描画円の大きさが描画円の直
径であるので、請求項1に対応する作用と同様の作用を
奏することができる。
In the invention according to claim 2, since the size of the drawing circle is the radius of the drawing circle, the same operation as the operation corresponding to claim 1 can be achieved. Further, in the invention according to claim 3, since the size of the drawing circle is the diameter of the drawing circle, the same operation as the operation corresponding to claim 1 can be achieved.

【0010】[0010]

【実施例】以下、本発明の実施例について図面を参照し
ながら説明する。図1は本発明の一実施例に係る円の描
画方式の適用されたグラフィックディスプレイ装置の構
成を示すブロック図である。このグラフィックディスプ
レイ装置は、基本円座標メモリ1、飛越し数メモリ2、
マイクロプロセッサ3、ワークメモリ4、直線描画部
5、フレームメモリ6及び表示制御部7が共通のバス8
を介して接続され、表示制御部7がモニタ8に接続され
ている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a graphic display device to which a circle drawing method according to an embodiment of the present invention is applied. This graphic display device has a basic circular coordinate memory 1, an interlace number memory 2,
A common bus 8 for the microprocessor 3, the work memory 4, the line drawing unit 5, the frame memory 6, and the display control unit 7.
The display control unit 7 is connected to the monitor 8.

【0011】ここで、基本円座標メモリ1は、基本円に
対応して144個の頂点座標値(x,y)が記憶された
メモリであり、具体的には、図2に示すように、(x1
,y1 )=(cos360度/144,sin360
度/144)、(x2 ,y2 )=(cos360度×2
/144,sin360度×2/144)、…、(x14
4 ,y144 )=(cos360度×144/144,s
in360度×144/144)が記憶されている。
Here, the basic circle coordinate memory 1 is a memory in which 144 vertex coordinate values (x, y) corresponding to the basic circle are stored. Specifically, as shown in FIG. (X1
, Y1) = (cos 360 degrees / 144, sin 360
Degree / 144), (x2, y2) = (cos 360 degree × 2
/ 144, sin 360 degrees x 2/144), ..., (x14
4, y144) = (cos 360 degrees × 144/144, s
in 360 degrees × 144/144) is stored.

【0012】飛越し数メモリ2は、図3に示すように、
描画円の基本円に対する大きさの比率nに基づいて、基
本円座標メモリ1内の各頂点座標値を間引きするための
飛越し数mと、間引き後の基本円の各頂点座標値を描画
円の各頂点座標値に変換するための演算回数を示す角数
aとが記憶されたものである。
The jump number memory 2 is, as shown in FIG.
Based on the ratio n of the size of the drawing circle to the basic circle, the number m of jumps for thinning out the vertex coordinate values in the basic circle coordinate memory 1 and the vertex coordinate values of the basic circle after thinning are drawn in the drawing circle. And the angle number a indicating the number of times of calculation for converting each vertex coordinate value.

【0013】マイクロプロセッサ3は、図4に示す手順
に沿って本装置全体を制御するものであり、具体的に
は、描画円の基本円に対する大きさの比率nに基づい
て、基本円座標メモリ1及び飛越し数メモリ2を参照し
ながら基本円座標メモリ1内の各頂点座標値を間引きす
ると共に、間引き後の基本円の各頂点座標値を描画円の
各頂点座標値に変換し、この描画円の各頂点座標値を直
線描画部5に与える機能をもっている。
The microprocessor 3 controls the entire apparatus in accordance with the procedure shown in FIG. 4. Specifically, the basic circle coordinate memory is based on the ratio n of the size of the drawing circle to the basic circle. While referring to 1 and the jump number memory 2, each vertex coordinate value in the basic circle coordinate memory 1 is thinned out, and each vertex coordinate value of the basic circle after thinning is converted into each vertex coordinate value of the drawing circle. It has a function of giving each vertex coordinate value of the drawing circle to the straight line drawing unit 5.

【0014】ワークメモリ4は、マイクロプロセッサ3
により座標変換等の演算に使用される記憶部である。直
線描画部5は、マイクロプロセッサ3から与えられる描
画円の各頂点座標のうち、互いに隣接する各頂点座標値
を直線で結ぶことにより、描画円をフレームメモリ6に
描画する機能をもっている。
The work memory 4 is the microprocessor 3
Is a storage unit used for calculation such as coordinate conversion. The straight line drawing unit 5 has a function of drawing a drawing circle in the frame memory 6 by connecting adjacent vertex coordinate values of the drawing circles given by the microprocessor 3 with a straight line.

【0015】フレームメモリ6は、直線描画部5に描画
された描画円を示すデータをドット単位で画面イメージ
として記憶するものである。表示制御部7は、フレーム
メモリ6から順次1ライン毎にデータを取出し、該デー
タを映像信号としてモニタ9に出力するものである。
The frame memory 6 stores data representing a drawing circle drawn by the straight line drawing section 5 in dot units as a screen image. The display control unit 7 sequentially fetches data for each line from the frame memory 6 and outputs the data to the monitor 9 as a video signal.

【0016】モニタ9は、表示制御部7から受ける映像
信号を画面に表示するものである。次に、以上のように
構成されたグラフィックディスプレイ装置による円の描
画方式を図4のフローチャートを用いて説明する。
The monitor 9 displays the video signal received from the display controller 7 on the screen. Next, a drawing method of a circle by the graphic display device configured as described above will be described with reference to the flowchart of FIG.

【0017】いま、マイクロプロセッサ3では、操作者
の操作により、描画円の半径が入力されたとする(ST
1)。マイクロプロセッサ3は、描画円の基本円に対す
る比率nを求めるため、基本円の半径を描画円の半径に
て除算し、除算結果としての比率nを求める(ST
2)。
Now, in the microprocessor 3, it is assumed that the radius of the drawing circle is input by the operation of the operator (ST
1). The microprocessor 3 divides the radius of the basic circle by the radius of the drawing circle to obtain the ratio n of the drawing circle to the basic circle, and obtains the ratio n as a result of the division (ST
2).

【0018】続いて、マイクロプロセッサ3は、比率n
に従って、飛越し数メモリ2から飛越し数mと角数aと
を取出すと共に(ST3)、基本円座標メモリ1から頂
点座標(xi ,yi )を取出す(ST4)。
Subsequently, the microprocessor 3 determines the ratio n.
Accordingly, the number of jumps m and the number of corners a are fetched from the jump number memory 2 (ST3), and the vertex coordinates (xi, yi) are fetched from the basic circle coordinate memory 1 (ST4).

【0019】また、マイクロプロセッサ3は、この頂点
座標(xi ,yi )を比率nに基づいて描画円の頂点座
標(Xi ,Yi ){=(xi /n,yi /n)}に変換
すると共に(ST5)、求めた頂点座標(Xi ,Yi )
を直線描画部5に与える(ST6)。
The microprocessor 3 also converts the vertex coordinates (xi, yi) into the vertex coordinates (Xi, Yi) {= (xi / n, yi / n)} of the drawing circle based on the ratio n. (ST5), the obtained vertex coordinates (Xi, Yi)
Is given to the straight line drawing unit 5 (ST6).

【0020】直線描画部5は、この頂点座標(Xi ,Y
i )と、前回与えられた頂点座標とを直線で結ぶと共
に、この直線のデータをフレームメモリ6に更新する。
なお、フレームメモリ6内のデータは表示制御部7を介
してモニタ9に与えられる。すなわち、描画円の各頂点
座標を結ぶ直線が順次モニタ9に表示されていく。
The straight line drawing section 5 uses the vertex coordinates (Xi, Y
i) and the vertex coordinates given last time are connected by a straight line, and the data of this straight line is updated in the frame memory 6.
The data in the frame memory 6 is given to the monitor 9 via the display controller 7. That is, a straight line connecting the respective vertex coordinates of the drawing circle is sequentially displayed on the monitor 9.

【0021】一方、マイクロプロセッサ3は、基本円座
標メモリ1内の頂点座標(xi ,yi )のアドレスに飛
越し数mと“+1”とを加算して次の頂点座標(xi+1
,yi+1 )に対応する基本円座標メモリ1のアドレス
を求める(ST7)。例えば比率n=2のとき、飛越し
数m=1となることから、図5に示すように、基本円座
標メモリ1のアドレスは一つづつ飛越されることにな
り、現在のアドレスから2行先のアドレスが求められ
る。なお、このとき、角数a=144/(m+1)=1
44/2=72となる。
On the other hand, the microprocessor 3 adds the jump number m and "+1" to the address of the vertex coordinate (xi, yi) in the basic circular coordinate memory 1 to add the next vertex coordinate (xi + 1).
, Yi + 1) of the basic circular coordinate memory 1 is obtained (ST7). For example, when the ratio n = 2, the number of jumps is m = 1, so that the addresses of the basic circular coordinate memory 1 are skipped one by one, as shown in FIG. Is required. At this time, the angle number a = 144 / (m + 1) = 1
44/2 = 72.

【0022】また、マイクロプロセッサ3は、このよう
にして得られる角数aから1を減算して未描画の角数を
求めてこの角数が零であるか否かを判定し(ST8)、
未描画の角数が零ではないときにステップST4〜ST
7までを再度繰返す。これにより、描画円を形成する各
頂点座標が順次直線で結ばれていく。
Further, the microprocessor 3 subtracts 1 from the thus obtained angle a to obtain an undrawn angle, and determines whether or not this angle is zero (ST8).
When the number of undrawn corners is not zero, steps ST4 to ST
Repeat steps 7 to 7 again. As a result, the coordinates of the vertices forming the drawing circle are sequentially connected by a straight line.

【0023】しかる後、ステップST8における判定結
果が未描画の角数の零を示すようになると、描画円の描
画が完了したとして円の描画処理を終了する。上述した
ように本実施例によれば、描画可能な最大の大きさをも
つ基本円に対応する多角形の複数の頂点座標値が記憶さ
れた基本円座標メモリ1を設け、マイクロプロセッサ3
が、描画円の大きさに基づいて、基本円座標メモリ1か
ら各頂点座標値を間引きして取出し、これら各頂点座標
値を描画円の大きさに基づいて縮小演算し、描画円を形
成する各頂点座標を算出して直線描画部5に与え、直線
描画部5が、これら各頂点座標のうち、互いに隣合う各
頂点座標を結んでフレームメモリ6に描画することによ
り、表示制御部7を介してモニタ9に描画円を表示す
る。すなわち、描画円の大きさに対応して描画に用いる
頂点座標の数を減少させているので、小さい円を描画す
るときに描画速度を向上させることができる。
Thereafter, when the result of the determination in step ST8 shows that the number of undrawn corners is zero, it is considered that the drawing of the drawing circle has been completed, and the drawing process of the circle is ended. As described above, according to this embodiment, the basic circle coordinate memory 1 in which the plural vertex coordinate values of the polygon corresponding to the basic circle having the largest drawable size are stored is provided, and the microprocessor 3 is provided.
Based on the size of the drawing circle, the vertex coordinate values are thinned out from the basic circle coordinate memory 1 and the vertex coordinate values are reduced based on the size of the drawing circle to form the drawing circle. By calculating the respective vertex coordinates and giving them to the straight line drawing unit 5, the straight line drawing unit 5 draws in the frame memory 6 by connecting the respective adjacent vertex coordinates of these vertex coordinates, and the display control unit 7 A drawing circle is displayed on the monitor 9 via the monitor. That is, since the number of vertex coordinates used for drawing is reduced according to the size of the drawing circle, the drawing speed can be improved when drawing a small circle.

【0024】なお、上記実施例では、比率n=基本円の
半径/描画円の半径とする場合について説明したが、こ
れに限らず、ステップST2にて比率n=描画円の半径
/基本円の半径とする一方、ステップST5にて描画円
の頂点座標(Xi ,Yi ){=(xi ×n,yi ×
n)}とするようにしても、本発明を同様に実施して同
様の効果を得ることができる。
In the above embodiment, the ratio n = radius of the basic circle / radius of the drawing circle is described, but the present invention is not limited to this, and the ratio n = radius of the drawing circle / basic circle of step ST2. Meanwhile, in step ST5, the coordinates of the vertices of the drawing circle (Xi, Yi) {= (xi * n, yi *)
n)}, the same effects can be obtained by implementing the present invention in the same manner.

【0025】また、上記実施例では、基本円の半径と描
画円の半径とに基づいて比率nを求める場合について説
明したが、これに限らず、基本円の直径と描画円の直径
とに基づいて比率nを求めるようにしても、本発明を同
様に実施して同様の効果を得ることができる。
Further, in the above embodiment, the case where the ratio n is obtained based on the radius of the basic circle and the radius of the drawing circle has been described, but the present invention is not limited to this, and it is based on the diameter of the basic circle and the diameter of the drawing circle. Even if the ratio n is obtained by the above, the same effects can be obtained by implementing the present invention in the same manner.

【0026】また、上記実施例では、基本円の頂点座標
の数を144個とした場合について説明したが、これに
限らず、基本円の頂点座標の数を他の任意の数として
も、本発明を同様に実施して同様の効果を得ることがで
きる。その他、本発明はその要旨を逸脱しない範囲で種
々変形して実施できる。
In the above embodiment, the case where the number of vertex coordinates of the basic circle is 144 has been described, but the present invention is not limited to this, and the number of vertex coordinates of the basic circle may be any other number. The invention can be implemented in the same manner and similar effects can be obtained. In addition, the present invention can be modified in various ways without departing from the scope of the invention.

【0027】[0027]

【発明の効果】以上説明したように請求項1の発明によ
れば、描画可能な最大の大きさをもつ基本円に対応する
多角形の複数の頂点座標値が記憶された基本円座標メモ
リを設け、頂点座標間引手段が、描画円の大きさに基づ
いて、基本円座標メモリから各頂点座標値を間引きして
取出し、頂点座標算出手段が、この頂点座標間引手段に
より取出された各頂点座標値を描画円の大きさに基づい
て縮小演算し、描画円を形成する各頂点座標を算出し、
描画円表示手段が、この頂点座標算出手段により算出さ
れた各頂点座標のうち、互いに隣合う各頂点座標を結ん
で描画円を表示するので、小さい円を描画するときに描
画速度を向上できる円の描画方式を提供できる。
As described above, according to the invention of claim 1, a basic circle coordinate memory storing a plurality of vertex coordinate values of a polygon corresponding to a basic circle having the maximum drawable size is provided. The vertex coordinate thinning-out means thins out and extracts each vertex coordinate value from the basic circle coordinate memory based on the size of the drawing circle, and the vertex coordinate calculating means extracts each vertex coordinate thinning-out means. Reduce the vertex coordinate value based on the size of the drawing circle to calculate the coordinates of each vertex forming the drawing circle,
Since the drawing circle display means displays the drawing circle by connecting the adjacent vertex coordinates among the vertex coordinates calculated by the vertex coordinate calculating means, it is possible to improve the drawing speed when drawing a small circle. Can be provided.

【0028】また、請求項2の発明によれば、描画円の
大きさが描画円の半径であるので、請求項1と同様の効
果を奏することができる円の描画方式を提供できる。さ
らに、請求項3の発明によれば、描画円の大きさが描画
円の直径であるので、請求項1と同様の効果を奏するこ
とができる円の描画方式を提供できる。
According to the second aspect of the invention, since the size of the drawing circle is the radius of the drawing circle, it is possible to provide a circle drawing system which can achieve the same effect as in the first aspect. Further, according to the invention of claim 3, since the size of the drawing circle is the diameter of the drawing circle, it is possible to provide a circle drawing method which can achieve the same effect as in the first aspect.

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

【図1】本発明の一実施例に係る円の描画方式の適用さ
れたグラフィックディスプレイ装置の構成を示すブロッ
ク図、
FIG. 1 is a block diagram showing a configuration of a graphic display device to which a circle drawing method according to an embodiment of the present invention is applied;

【図2】同実施例における基本円座標メモリの構成図、FIG. 2 is a configuration diagram of a basic circular coordinate memory in the embodiment,

【図3】同実施例における飛越し数メモリの構成図、FIG. 3 is a configuration diagram of an interlace number memory in the embodiment,

【図4】同実施例における動作を説明するためのフロー
チャート、
FIG. 4 is a flow chart for explaining the operation of the embodiment.

【図5】同実施例における動作を説明するための模式
図。
FIG. 5 is a schematic diagram for explaining the operation in the embodiment.

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

1…基本円座標メモリ、2…飛越し数メモリ、3…マイ
クロプロセッサ、4…ワークメモリ、5…直線描画部、
6…フレームメモリ、7…表示制御部、8…バス、9…
モニタ。
1 ... Basic circular coordinate memory, 2 ... Jump number memory, 3 ... Microprocessor, 4 ... Work memory, 5 ... Straight line drawing section,
6 ... Frame memory, 7 ... Display control unit, 8 ... Bus, 9 ...
monitor.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 描画円を多角形にて近似的に描画する円
の描画方式において、 描画可能な最大の大きさをもつ基本円に対応する多角形
の複数の頂点座標値が記憶された基本円座標メモリと、 前記描画円の大きさに基づいて、前記基本円座標メモリ
から前記各頂点座標値を間引きして取出す頂点座標間引
手段と、 この頂点座標間引手段により取出された各頂点座標値を
前記描画円の大きさに基づいて縮小演算し、前記描画円
を形成する各頂点座標を算出する頂点座標算出手段と、 この頂点座標算出手段により算出された各頂点座標のう
ち、互いに隣合う各頂点座標を結んで前記描画円を表示
する描画円表示手段とを備えたことを特徴とする円の描
画方式。
1. A circle drawing method for drawing a drawing circle approximately by a polygon, in which a plurality of vertex coordinate values of a polygon corresponding to a basic circle having the largest drawable size are stored. A circle coordinate memory, a vertex coordinate thinning-out means for thinning out and extracting each vertex coordinate value from the basic circle coordinate memory based on the size of the drawing circle, and each vertex extracted by the vertex coordinate thinning means. Among the vertex coordinates calculated by the vertex coordinate calculation means for reducing the coordinate value based on the size of the drawing circle and calculating the vertex coordinates forming the drawing circle, A drawing circle display means for connecting the coordinates of adjacent vertices to display the drawing circle.
【請求項2】 請求項1に記載の円の描画方式におい
て、 前記描画円の大きさは、前記描画円の半径であることを
特徴とする円の描画方式。
2. The circle drawing method according to claim 1, wherein the size of the drawing circle is a radius of the drawing circle.
【請求項3】 請求項1に記載の円の描画方式におい
て、 前記描画円の大きさは、前記描画円の直径であることを
特徴とする円の描画方式。
3. The circle drawing method according to claim 1, wherein the size of the drawing circle is a diameter of the drawing circle.
JP2516995A 1995-02-14 1995-02-14 System for plotting circle Pending JPH08221585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2516995A JPH08221585A (en) 1995-02-14 1995-02-14 System for plotting circle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2516995A JPH08221585A (en) 1995-02-14 1995-02-14 System for plotting circle

Publications (1)

Publication Number Publication Date
JPH08221585A true JPH08221585A (en) 1996-08-30

Family

ID=12158510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2516995A Pending JPH08221585A (en) 1995-02-14 1995-02-14 System for plotting circle

Country Status (1)

Country Link
JP (1) JPH08221585A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011081663A (en) * 2009-10-08 2011-04-21 Canon Inc Image drawing apparatus, image drawing method and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011081663A (en) * 2009-10-08 2011-04-21 Canon Inc Image drawing apparatus, image drawing method and computer program

Similar Documents

Publication Publication Date Title
EP1847965A1 (en) Plotting device and plotting method
JP5178961B2 (en) Image synthesizer
JPH10269377A (en) Display control system, and display control method for three-dimensional graphics data
CN105094289B (en) A kind of method, equipment and system for realizing graphical user's interactive interface
JPH09212146A (en) Address generation device and picture display device
EP2346240B1 (en) Image processing method and device, and imaging apparatus using the image processing device
JPH08221585A (en) System for plotting circle
CN115761091A (en) Game picture rendering method and device, electronic equipment and storage medium
CN117453170B (en) Display control method, device and storage medium
JP2004166017A (en) Image display unit
JP3468985B2 (en) Graphic drawing apparatus and graphic drawing method
CN116166367B (en) Method for improving display frame buffer image reading efficiency
JP2971765B2 (en) Polygon drawing method and polygon drawing device
JPH05324840A (en) High-resolution image processor
JP3262065B2 (en) Image display device
JP3311905B2 (en) Image processing device
JPH03246590A (en) Process display device
CN111787355A (en) Remote image updating method and device
JP2013186247A (en) Moving picture display device
JPH0764530A (en) Control system for image display device
JP2001054112A (en) Image generating method, image generator, image browsing method, image browsing device and recording medium
JP2001109911A (en) Method and device for displaying three-dimensional graphic
JPH0535912B2 (en)
JPH0926749A (en) Device and method for image display
JPH05242214A (en) Input system for graphic processing system