Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0145639B2 - - Google Patents
[go: Go Back, main page]

JPH0145639B2 - - Google Patents

Info

Publication number
JPH0145639B2
JPH0145639B2 JP56102932A JP10293281A JPH0145639B2 JP H0145639 B2 JPH0145639 B2 JP H0145639B2 JP 56102932 A JP56102932 A JP 56102932A JP 10293281 A JP10293281 A JP 10293281A JP H0145639 B2 JPH0145639 B2 JP H0145639B2
Authority
JP
Japan
Prior art keywords
point coordinates
end point
coordinates
display
temporarily stored
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.)
Expired
Application number
JP56102932A
Other languages
Japanese (ja)
Other versions
JPS584193A (en
Inventor
Shohei Yoshimura
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 JP10293281A priority Critical patent/JPS584193A/en
Publication of JPS584193A publication Critical patent/JPS584193A/en
Publication of JPH0145639B2 publication Critical patent/JPH0145639B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明はデイスプレイ装置、特にベクトル・ス
キヤーン型のグラフイツクデイスプレイ装置に関
し、任意の円弧を正多角形近似で表示する方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a display device, particularly a vector scan type graphic display device, and relates to a method for displaying an arbitrary circular arc by approximating a regular polygon.

ベクトルスキヤン型のグラフイツクデイスプレ
イ装置では一般に、始点座標と終点座標が与えら
れるとその間を結ぶ直線を蓄積型ブラウン管面上
に表示する機能を有している。よつて計算機で
は、表示したい図形を複数の線分に分解して、そ
の始点/終点座標を組にして順次デイスプレイ装
置に送ればよい。また直線的でない不定形の図形
は多数の微小線分に近似分解して上記と同様に表
示させるか、またはドツト分解してすべてのドツ
ト座標を送つてドツト表示させるかしていた。従
つてこのような不定形の図形の表示に際しては、
計算機における微小線分分解又はドツト分解の時
間を要し、また計算機とデイスプレイ装置との間
のデータ伝送量が増える等の欠点があつた。
A vector scan type graphic display device generally has a function of displaying a straight line connecting the starting point coordinates and the ending point coordinates on the storage type cathode ray tube surface. Therefore, in a computer, a figure to be displayed can be broken down into a plurality of line segments, and the starting point/end point coordinates of the lines can be sent as a set to the display device in sequence. In addition, non-linear, irregular figures are either approximately decomposed into a large number of minute line segments and displayed in the same manner as above, or they are decomposed into dots and all dot coordinates are sent and displayed as dots. Therefore, when displaying such irregular shapes,
This method has drawbacks such as the time required for fine line segment decomposition or dot decomposition in a computer, and the amount of data transmitted between the computer and the display device increases.

このため、従来でも円又は円弧の表示に限つて
は、計算機側から中心座標、半径(及び円弧にあ
つては始点/終点座標)を与えることにより、デ
イスプレイ装置側で自動的に画像を作成して表示
する機能を設けたものも見られるが、従来のデイ
スプレイ装置においては画面上にある中心点を基
点にその円の半径を算出し、その円の円周上の各
座標を求めていたために、中心点が画面上にない
円弧については表示困難であつた。
For this reason, conventionally, only when displaying circles or arcs, images are automatically created on the display device side by giving the center coordinates and radius (and starting point/end point coordinates for circular arcs) from the computer side. Some display devices are equipped with a display function, but in conventional display devices, the radius of a circle is calculated based on the center point on the screen, and each coordinate on the circumference of the circle is determined. , it was difficult to display arcs whose center point was not on the screen.

本発明は上記の問題を解決することを目的と
し、以下図面により詳説する。
The present invention aims to solve the above problems and will be explained in detail below with reference to the drawings.

第1図は本発明による表示形態の説明図であ
り、1は表示画面であり、図示の如く、画面上に
ない中心点O、半径Rの円弧(abcdef)を描く
場合、多数のベクトルV1〜V5に分解して表示
する。計算機からの指示情報としては始点aの座
標S、初期ベクトルV1(即ちθoとr)、増分角
Δθ、及び繰返し回数n(図の例では5回)を指示
する。
FIG. 1 is an explanatory diagram of a display form according to the present invention, where 1 is a display screen, and as shown in the figure, when drawing an arc (abcdef) with a center point O and a radius R that is not on the screen, a large number of vectors V1 to It is disassembled into V5 and displayed. The instruction information from the computer includes the coordinate S of the starting point a, the initial vector V1 (that is, θo and r), the increment angle Δθ, and the number of repetitions n (5 times in the example shown).

第2図は本発明の一実施例ブロツク図であり、
2〜6は上記各指示情報を一時記憶するレジス
タ、7は加算器、8は終点座標計算手段、9は終
点座標レジスタ、10はマイナス1回路、11は
これら2〜10の各手段の制御回路、12は従来
から具わつているベクトル表示器で、始点/終点
座標を与えられるとその間を結ぶ直線ベクトルを
表示するものである。
FIG. 2 is a block diagram of an embodiment of the present invention.
2 to 6 are registers for temporarily storing each of the above instruction information, 7 is an adder, 8 is an end point coordinate calculation means, 9 is an end point coordinate register, 10 is a minus 1 circuit, and 11 is a control circuit for each of these means 2 to 10. , 12 is a conventional vector display which, when given the start point/end point coordinates, displays a straight line vector connecting them.

第2図の動作を説明する。計算機からn,s,
r,θo,Δθの各値を受けると、先ず θoとrに基づいて初期ベクトルV1の終点
bの座標を計算手段8により算出してレジスタ
9にセツトする。
The operation shown in FIG. 2 will be explained. From the computer n, s,
When each value of r, θo, and Δθ is received, first, the coordinates of the end point b of the initial vector V1 are calculated by the calculation means 8 based on θo and r, and set in the register 9.

尚、終点座標計算手段8における各終点座標
の算出方法は、公知の数学的手段を用いて行わ
れる。例えば、始点aにおける終点bの座標
は、 bの座標 =(X0+r cosθ,Y0+r sinθ0) 尚、aの座標は(X0,Y0)とする。
Note that the method of calculating each end point coordinate in the end point coordinate calculating means 8 is performed using a known mathematical means. For example, the coordinates of the end point b at the starting point a are as follows: Coordinates of b = (X 0 + r cos θ, Y 0 + r sin θ 0 ) Note that the coordinates of a are (X 0 , Y 0 ).

レジスタ3及びレジスタ9を表示手段12に
与えて線分abを表示する。またレジスタ2の
内容を−1するとともに、加算器7によつて
θo+Δθをレジスタ5にセツトする。さらにレ
ジスタ9の終点座標をレジスタ3にセツトして
第2ベクトルV2の始点座標とする。
Register 3 and register 9 are provided to display means 12 to display line segment ab. Further, the contents of register 2 are incremented by 1, and θo+Δθ is set in register 5 by adder 7. Furthermore, the end point coordinates of register 9 are set in register 3 and used as the starting point coordinates of the second vector V2.

この状態でと同様に第2ベクトルV2の終
点座標を計算手段8にて算出してレジスタ9に
セツトし、 以下同様に〜をレジスタ2の内容がゼロ
になるまで繰り返えす。
In the same way as in this state, the end point coordinates of the second vector V2 are calculated by the calculation means 8 and set in the register 9, and steps .about. are repeated in the same manner until the contents of the register 2 become zero.

以上により円弧(abcdef)を表示することが
できる。尚、rとΔθは円の半径Rにより定まる
が、rについては充分小さな値を定数として適用
してもよい。
The arc (abcdef) can be displayed with the above steps. Note that r and Δθ are determined by the radius R of the circle, but a sufficiently small value may be applied as a constant for r.

また別の実施例として、繰り返し回数nを指定
する代りに最終点fの座標を指示し、順次算出さ
れる終点座標と毎回比較し、両者が一致又は所定
の許容誤差内で一致したことをもつて処理終了と
することもできる。
As another example, instead of specifying the number of repetitions n, the coordinates of the final point f are specified, and the coordinates of the final point f, which are calculated sequentially, are compared each time, and it is determined that the two match or match within a predetermined tolerance. You can also end the process.

いずれの場合にも、本発明によれば中心点が画
面に有ろうと無かろうと、任意の円弧を描くこと
ができ、かつ計算機からの指示情報もわずかで済
む。
In any case, according to the present invention, any arc can be drawn regardless of whether the center point is on the screen or not, and only a small amount of instruction information from the computer is required.

尚、上記Δθ及びrをnの関数とすることによ
り、円弧以外の任意の線図形の表示が可能とな
る。
Note that by setting Δθ and r as functions of n, it is possible to display any line figure other than a circular arc.

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

第1図は本発明による円弧作図の説明図、第2
図は本発明の一実施例ブロツク図である。 図中、2〜6及び9はレジスタ、7は加算器、
8は終点座標計算手段、10はマイナス1回路、
11は制御回路、12はベクトル表示手段であ
る。
FIG. 1 is an explanatory diagram of arc drawing according to the present invention, and FIG.
The figure is a block diagram of one embodiment of the present invention. In the figure, 2 to 6 and 9 are registers, 7 is an adder,
8 is the end point coordinate calculation means, 10 is the minus 1 circuit,
11 is a control circuit, and 12 is a vector display means.

Claims (1)

【特許請求の範囲】 1 始点座標と終点座標とが与えられて両点を結
ぶ直線を画面上に表示する表示手段を有するデイ
スプレイ装置において、 外部装置から与えられる始点座標、初期ベクト
ル、増分角、及び繰り返し回数又は最終点座標の
いずれか一方を一時記憶する手段と、 上記一時記憶した各情報に基づいて、前回の終
点座標を新たに始点座標として次の終点座標を順
次算出する算出手段と、 該算出動作を上記一時記憶した繰り返し回数ま
で又は算出した終点座標が上記一時記憶した最終
点座標と一致するまで繰り返す手段とを設け、該
算出手段から順次与えられる始点/終点座標の組
にもとづいて上記表示手段にて順次表示すること
を特徴とするデイスプレイ装置。
[Scope of Claims] 1. In a display device having display means for displaying a straight line connecting the two points on the screen given starting point coordinates and ending point coordinates, the starting point coordinates, the initial vector, the incremental angle given from an external device, and means for temporarily storing either the number of repetitions or the final point coordinates; and a calculating means for sequentially calculating the next end point coordinates by using the previous end point coordinates as new starting point coordinates based on the temporarily stored information. means for repeating the calculation operation up to the temporarily stored number of repetitions or until the calculated end point coordinates match the temporarily stored final point coordinates, and based on the start point/end point coordinate set sequentially given from the calculation means A display device characterized in that the display means displays images sequentially.
JP10293281A 1981-06-30 1981-06-30 Display unit Granted JPS584193A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10293281A JPS584193A (en) 1981-06-30 1981-06-30 Display unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10293281A JPS584193A (en) 1981-06-30 1981-06-30 Display unit

Publications (2)

Publication Number Publication Date
JPS584193A JPS584193A (en) 1983-01-11
JPH0145639B2 true JPH0145639B2 (en) 1989-10-04

Family

ID=14340610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10293281A Granted JPS584193A (en) 1981-06-30 1981-06-30 Display unit

Country Status (1)

Country Link
JP (1) JPS584193A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5237746B2 (en) * 1972-03-27 1977-09-24

Also Published As

Publication number Publication date
JPS584193A (en) 1983-01-11

Similar Documents

Publication Publication Date Title
EP0437630B1 (en) Image processor
US4748443A (en) Method and apparatus for generating data for a skeleton pattern of a character and/or a painted pattern of the character
US5363479A (en) System and method for rendering bezier splines
US5452372A (en) Image processing apparatus
US4819185A (en) Method and apparatus for drawing wide lines in a raster graphics display system
JPH0145639B2 (en)
US5838298A (en) Image processing apparatus and method for smoothing stairway-like portions of a contour line of an image
JP2904994B2 (en) Coordinate connection display method
JPH0315193B2 (en)
JP3214722B2 (en) Stroke character generator
JPH0350686A (en) Graphic processing system
JP3154343B2 (en) How to fill in polygonal shapes
JPS62285188A (en) Display method for segment
JPH0259871A (en) Image processing device and image processing method
JPH0950272A (en) Outline font generation method and outline font generation device
JPS6149278A (en) Circular pattern generator
JPH0244076B2 (en)
JPH05303650A (en) Graphic area filling device
JPS61107390A (en) Circular arc drawing system
JPH02161574A (en) Method and device for paint out outline font constituting character for each element
JPS63196987A (en) Graphic processing device
JPH02304683A (en) Image processor
JPH02275591A (en) Graphic generator
JPH04186292A (en) Character pattern creation device
JPS61267096A (en) Smear drawing display unit for polygonal graphic