JPS615285A - Raster scan graphic display unit - Google Patents

Raster scan graphic display unit

Info

Publication number
JPS615285A
JPS615285A JP59125562A JP12556284A JPS615285A JP S615285 A JPS615285 A JP S615285A JP 59125562 A JP59125562 A JP 59125562A JP 12556284 A JP12556284 A JP 12556284A JP S615285 A JPS615285 A JP S615285A
Authority
JP
Japan
Prior art keywords
coordinates
dot
raster scan
generation circuit
graphic display
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
JP59125562A
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP59125562A priority Critical patent/JPS615285A/en
Publication of JPS615285A publication Critical patent/JPS615285A/en
Pending legal-status Critical Current

Links

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 Application) The present invention relates to a raster scan graphic display device, and more particularly to a raster scan graphic display device in which the end points of thick lines are rounded.

(従来技術) 第1図に示されているような太線の中心線の各ドツト(
斜線を引いたドツト)に対してX軸方向またはy軸方向
に幅の量だけドツト(黒く塗りつぶしたドツト)を付加
することにより太線を表示する機構を持つラスタスキャ
ングラフィクディスプレイ装置においては、太線の端点
が、図示されているように、角度を持つものとなる。こ
のような端点に角度をもつ太線を複数用い、かつ、該太
線の中心線が連続するようにして図形を描くと、太線と
太線の接続部分が不自然になる。例えば、第2図に示さ
れているように太線18〜1dを用い、かつ、′その中
心線(接点で図示)が連続するようにして平行四辺形あ
るいは数字の「0」を描″くと、その角の部分28〜2
dに空部弁ができて不自然な図形になる。
(Prior art) Each dot (
In raster scan graphic display devices, which have a mechanism to display thick lines by adding dots (black dots) in the X-axis direction or y-axis direction by the width of the dots (shaded dots), The end points will be angled as shown. If a figure is drawn using a plurality of such thick lines with angles at their end points and the center lines of the thick lines are continuous, the connecting portions between the thick lines will become unnatural. For example, if you use thick lines 18 to 1d as shown in Figure 2 and draw a parallelogram or the number "0" so that their center lines (shown as tangents) are continuous, , its corner part 28-2
A hollow valve is formed at d, resulting in an unnatural shape.

このように、従来のラスタスキャングラフィクディスプ
レイ装置においては、太線で図形を描くと、太線の接合
部が不自然になるという欠点があった。
As described above, the conventional raster scan graphic display device has a drawback in that when a figure is drawn using thick lines, the joints of the thick lines become unnatural.

(目的) 本発明の目的は、前記した従来技術の欠点を除去し、太
線の端点に丸みを付加するドツトを生成する端点ドツト
発生回路を設け、良質な太線表示が可能なラスタスキャ
ングラフィクディスプレイ装置を提供することにある。
(Objective) An object of the present invention is to eliminate the drawbacks of the prior art described above, provide a raster scan graphic display device that can display high-quality thick lines, and provides an end point dot generation circuit that generates dots that add roundness to the end points of thick lines. Our goal is to provide the following.

(R要) 前記の目的を達成するために、本発明は、太線の中心線
の各ドツトに対してX軸方向又はY軸方向に幅の量だけ
ドツトを付加することにより太線を表示する機構を持つ
ラスタスキャングラフィクディスプレイ装置において、
太線の端点の座標と、幅情報とから円周の座標を出力す
る円発生回路および該円周の座標から該円周内に含まれ
る座標を抽出する端点ドツト発生回路を具備し、太線の
端点に丸みをつけるようにした点に特徴がある。
(R required) In order to achieve the above object, the present invention provides a mechanism for displaying a thick line by adding dots corresponding to the width in the X-axis direction or Y-axis direction to each dot on the center line of the thick line. In a raster scan graphic display device with
It is equipped with a circle generation circuit that outputs the coordinates of the circumference from the coordinates of the end points of the thick line and the width information, and an end point dot generation circuit that extracts the coordinates included in the circumference from the coordinates of the circumference. It is distinctive in that it is rounded.

(実施例) 以下に、図面を参照して、本発明の詳細な説明する。(Example) The present invention will be described in detail below with reference to the drawings.

第3図は本発明の一実施例のブロック図である。FIG. 3 is a block diagram of one embodiment of the present invention.

図において、1は始点座標aと終点座標すが与えられた
時、該始点座標aと終点座標すとを結ぶ線分のドツト列
を発生ずるベクトル発生回路である。
In the figure, reference numeral 1 denotes a vector generating circuit which generates a dot array of a line segment connecting the starting point coordinate a and the ending point coordinate S when the starting point coordinate A and the ending point coordinate S are given.

なお、該ベクトル発生回路は即知である。Note that this vector generation circuit is readily known.

2ば、方向判定回路を示す。この方向判定回路2は、今
、該回路2に入力してくる始点座標aを(Xr 、Y+
 )、終点座標すを(X2 、 Y2 )とすルト、該
座標(Xl、Yl )および(x2゜Y2 )により直
線のX成分△X (= I XlX21>、Y成分△Y
(=lYI  Y21)ダ算出する。そして、ΔX≧△
Yの場合はY軸方向に幅ドツトを付加する旨を示すため
方向情報信号eをハイレベルとし、一方、△X〈△Yの
場合はX軸方向に幅ドツトを付加する旨を示すため、方
向情報信号eをロウレベルとして、該方向情報信号を幅
ドツト発生回路3に出、力する。
2b shows a direction determination circuit. This direction determination circuit 2 calculates the starting point coordinate a that is now input to the circuit 2 (Xr, Y+
), the end point coordinates are (X2, Y2), the coordinates (Xl, Yl) and (x2゜Y2), the X component of the straight line △X (= I XlX21>, the Y component △Y
Calculate (=lYI Y21). And ΔX≧△
In the case of Y, the direction information signal e is set to a high level to indicate that a width dot is to be added in the Y-axis direction, and on the other hand, in the case of △X<△Y, to indicate that a width dot is to be added in the X-axis direction, The direction information signal e is set to a low level, and the direction information signal is outputted to the width dot generation circuit 3.

幅ドツト発生回路3は、方向情報信号eと幅情報Wとベ
クトル発生回路1よりのドツト座標(Ox 、 DV 
)群を入力とし、方向情報信号eがハイレベルの時はベ
クトル発生回路1よりの各ドツト座標(Dx、、Dy)
に対し、(Dx 、 Dy )を中心にY軸方向に±W
/2ドツト、すなわち、ドツト座標(DX 、DV−W
/2)、(DX 。
The width dot generation circuit 3 receives the direction information signal e, the width information W, and the dot coordinates (Ox, DV) from the vector generation circuit 1.
) group as input, and when the direction information signal e is at a high level, each dot coordinate (Dx, , Dy) from the vector generation circuit 1 is input.
±W in the Y-axis direction centered on (Dx, Dy)
/2 dots, that is, dot coordinates (DX, DV-W
/2), (DX.

DV+W/2)間のドツト列をオン状態とし、ビデオメ
モリ4の該ドツト座標に対応するアドレスに書き込む。
The dot row between DV+W/2) is turned on and written to the address corresponding to the coordinates of the dot in the video memory 4.

方向情報信号eがロウレベルの時はドツト座標(Dx 
、 ay )を中心にX軸方向に±W/2ドツト、すな
わちドツト座標(Dx−W/2.Dy )。
When the direction information signal e is low level, the dot coordinates (Dx
, ay) in the X-axis direction, that is, the dot coordinates (Dx-W/2.Dy).

(D’x +W/2. DV )間のドツト列をオン状
態として、ビデオメモリ4の該ドツト座標に対応するア
ドレスに書き込む。
The dot row between (D'x + W/2. DV) is turned on and written to the address corresponding to the coordinates of the dot in the video memory 4.

4は幅ドツト発生回路3の出力信号に対応するアドレス
に、例えば、データ゛1″を格納するビデオメモリ、5
は表示器である。
A video memory 4 stores, for example, data "1" at an address corresponding to the output signal of the width dot generation circuit 3;
is an indicator.

前記ベクトル発生回路1、方向判定回路2および幅ドツ
ト発生回路3を用いると、座標(Xl。
When the vector generation circuit 1, direction determination circuit 2 and width dot generation circuit 3 are used, the coordinate (Xl).

Yl’)を始点とし、座標(Xz 、 Yz )を終点
とする幅Wの線分を描くことができる。この線分を作る
装置は、本発明者によって発明され、特許出願されたも
のであり、その詳細は該特許出願明細書に詳細に記載さ
れているので、詳しい説明は省略する。
A line segment of width W can be drawn with the starting point at the coordinates (Xz, Yz) and the ending point at the coordinates (Xz, Yz). This device for creating line segments was invented by the present inventor and a patent application has been filed, and the details thereof are described in detail in the specification of the patent application, so a detailed explanation will be omitted.

6は円発生回路であり、始点座標aと終点座標すおよび
幅情報Wから、前記線分の始点と終点の各々に、それぞ
れ中心を(Xl、Yz )および(X2 、 Y2 )
とし、半径がW/2の円を描かせる。この円発生回路6
は既知であるので、詳細な説明は省略する。円発生回路
6からは、円周のドツトの座標(Xc 、 Yc )が
出力される。
6 is a circle generation circuit, which calculates the center of each of the starting point and ending point of the line segment from (Xl, Yz) and (X2, Y2), respectively, from the starting point coordinate a, the ending point coordinate, and the width information W.
Then, draw a circle with a radius of W/2. This circle generating circuit 6
Since this is already known, detailed explanation will be omitted. The circle generating circuit 6 outputs the coordinates (Xc, Yc) of a dot on the circumference.

7は端点ドツト発生回路であり、該7には前記座標(X
c 、 Yc )が入力す、る。該端点ドツト発生回路
は該座標(X、c 、 Yc )により形成される円の
内部を黒く塗りつぶす働らきをする。
7 is an end point dot generation circuit, and this 7 has the coordinates (X
c, Yc) is input. The end point dot generation circuit functions to fill in black the inside of the circle formed by the coordinates (X, c, Yc).

円発生回路6と端点ドツト発生回路7を用いると、例え
ば、第4図に示されているような、端点が丸くなった線
分を得ることができる。
By using the circle generating circuit 6 and the endpoint dot generating circuit 7, it is possible to obtain a line segment with rounded endpoints as shown in FIG. 4, for example.

次に、端点ドツト発生回路7の1具体例について説明す
る。この回路はマイクロコンピュータ等によってソフト
的に処理されるのが有利であるので、その機能を第5図
のフローチャートおよび第6図によって説明する。
Next, a specific example of the end point dot generation circuit 7 will be explained. Since this circuit is advantageously processed by software using a microcomputer or the like, its functions will be explained with reference to the flowchart of FIG. 5 and FIG. 6.

ステップS1・・・あるカウンタの値Cを0にクリアす
る。
Step S1: Clear the value C of a certain counter to 0.

ステップS2・・・前記円周のドツトの座標(Xc 。Step S2: Coordinates (Xc) of the dot on the circumference.

Y’c)のX座標XC中から、最大値と最小値を抽出す
る。最大値をXl1la×、最小値をX l1inとす
る(第6図参照)。
The maximum value and minimum value are extracted from the X coordinate XC of Y'c). The maximum value is assumed to be Xl1la×, and the minimum value is assumed to be Xl1in (see FIG. 6).

ステップS3・・・前記最小値X minにCを加えて
、Xoを求める。
Step S3: Add C to the minimum value X min to obtain Xo.

ステップS4・・・前記(Xc 、 Yc )の中から
X座標をXoとするY座標の最大値と最小値を抽出する
。最大値をYn+ax、最小値をY minとする(第
6図参照)。
Step S4: Extract the maximum and minimum values of the Y coordinate, where the X coordinate is Xo, from the above (Xc, Yc). Let the maximum value be Yn+ax and the minimum value Y min (see FIG. 6).

ステップS 5 ・・・座標(Xo 、 Ymax )
 、  (Xo 。
Step S5...Coordinates (Xo, Ymax)
, (Xo.

Ymax −1) 、  (Xo 、 Ymax −2
> 、 −・・(Xo 、 Ymin )を求め(第6
図番ff1) 、ビデオメモリ4に出力する。これによ
り前記円周(Xc 、 Yc )内のX座標をX。とす
る全てのY座標が抽出される。
Ymax -1), (Xo, Ymax -2
> , -...(Xo, Ymin) (6th
Figure number ff1) is output to the video memory 4. This makes the X coordinate within the circumference (Xc, Yc) X. All Y coordinates are extracted.

ステップS6・・・前記Cに1を加算する。Step S6... Add 1 to the above C.

ステップS7・・・XoがX maxに等しいか否かが
判断される。ノーであれば、ステップS3へ戻り、イエ
スであれば終了する。
Step S7: It is determined whether Xo is equal to Xmax. If no, the process returns to step S3; if yes, the process ends.

本実施例によって、第2図と同様の図形を描くと、第7
図のように、太線の端点2a〜2dが丸まった良好な図
形が得られる。なお、この図形を得る場合、本実施例の
装煮に、入力するデータは、太線1a、lb、lcおよ
び1dの中心線の端点の座標(Xa、Ya )、(Xa
 、Ya >、(X6 。
Using this example, when drawing a figure similar to that shown in Fig. 2, the figure 7.
As shown in the figure, a good figure with rounded end points 2a to 2d of the thick line is obtained. In addition, when obtaining this figure, the data to be input into the cooking process of this embodiment are the coordinates (Xa, Ya) of the end points of the center lines of the thick lines 1a, lb, lc, and 1d, (Xa
, Ya>, (X6.

Ys )および(X6.Ye )と、該太線18〜1d
の幅情報だけでよい。
Ys ) and (X6.Ye ), and the thick line 18 to 1d
Only the width information is required.

(効果) 以上の説明から明らかなように、本発明によれば、つぎ
のような効果が達成される。
(Effects) As is clear from the above description, according to the present invention, the following effects are achieved.

(1)太線の端点に丸味を付けることができるので、特
に太線を組み合せて図形を作るような場合、その接合部
が自然になり、良質の図形が得られる。
(1) Since the end points of thick lines can be rounded, especially when creating a figure by combining thick lines, the joints become natural and a high-quality figure can be obtained.

(′2J  太線を組み合せて任意の図形を表示しよう
どする場合、該図形を形成する太線の中心線の端点の座
標と太線の幅情報を入力するだけでよいので、操作が簡
単である。
('2J) When you want to display an arbitrary figure by combining thick lines, you only need to input the coordinates of the end points of the center lines of the thick lines forming the figure and the width information of the thick lines, so the operation is easy.

【図面の簡単な説明】 第1図は従来の太線表示機構によって作成された太線表
示の一例を示す図、第2図は該従来機構により平行四辺
形又は「0」を表示した時のパターン図、第3図は本発
明の一実施例のブロック図、第4図は本実施例によって
作成された太線の一例を示すパターン図、第5図は、第
3図の端点ドツト発生回路の機能を示すフローチャート
、第6図は第5図の70−ヂヤートの説明図、第7図は
本実施例によって形成された前記第2図のパターン図を
示す。 1・・・ベクトル発生回路、2・・・方向判定回路、3
  ゛・・・幅ドツト発生回路、4・・・ビデオメモリ
、5・・・表示器、°6・・・円発生回路、7・・・端
点ドツト発生回路、 代理人弁理士  平木退入 外1名 第   1   図 第2図 第   3   図 第5図 第   6   図 第   7   図
[Brief Description of the Drawings] Fig. 1 is a diagram showing an example of a thick line display created by a conventional thick line display mechanism, and Fig. 2 is a pattern diagram when a parallelogram or "0" is displayed by the conventional mechanism. , FIG. 3 is a block diagram of one embodiment of the present invention, FIG. 4 is a pattern diagram showing an example of a thick line created by this embodiment, and FIG. 5 shows the function of the end point dot generation circuit of FIG. 3. FIG. 6 is an explanatory diagram of the 70-diameter shown in FIG. 5, and FIG. 7 is a diagram of the pattern shown in FIG. 2 formed according to this embodiment. 1... Vector generation circuit, 2... Direction determination circuit, 3
゛...Width dot generation circuit, 4...Video memory, 5...Display device, °6...Circle generation circuit, 7...End point dot generation circuit, Representative Patent Attorney Enter Hiraki Outside 1 Figure 1 Figure 2 Figure 3 Figure 5 Figure 6 Figure 7

Claims (1)

【特許請求の範囲】[Claims] (1)太線の中心線の各ドットに対してx軸方向又はy
軸方向に幅の□だけドットを付加することにより太線を
表示する機構を持つラスタスキャングラフィクディスプ
レイ装置において、太線の端点の座標と、幅情報とから
円周の座標を出力する円発生回路および該円周の座標か
ら該円周内に含まれる座標を抽出する端点ドット発生回
路を具備し、太線の端点に丸みをつけるようにしたこと
を特徴とするラスタスキャングラフィクディスプレイ装
置。
(1) For each dot on the thick center line, in the x-axis direction or y-axis direction
In a raster scan graphic display device having a mechanism for displaying a thick line by adding dots equal to the width in the axial direction, a circle generating circuit outputs the coordinates of the circumference from the coordinates of the end points of the thick line and the width information, and A raster scan graphic display device comprising an end point dot generation circuit for extracting coordinates contained within a circumference from coordinates of the circumference, and rounding end points of thick lines.
JP59125562A 1984-06-19 1984-06-19 Raster scan graphic display unit Pending JPS615285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59125562A JPS615285A (en) 1984-06-19 1984-06-19 Raster scan graphic display unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59125562A JPS615285A (en) 1984-06-19 1984-06-19 Raster scan graphic display unit

Publications (1)

Publication Number Publication Date
JPS615285A true JPS615285A (en) 1986-01-11

Family

ID=14913264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59125562A Pending JPS615285A (en) 1984-06-19 1984-06-19 Raster scan graphic display unit

Country Status (1)

Country Link
JP (1) JPS615285A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63106083A (en) * 1986-10-23 1988-05-11 Nec Corp Graphic drawing system
JPS6437677A (en) * 1987-08-04 1989-02-08 Sanyo Electric Co Method for transformation of image data
JPH0259870A (en) * 1988-08-26 1990-02-28 Dainippon Printing Co Ltd Line drawing output device
JPH05108831A (en) * 1991-10-17 1993-04-30 Tohoku Nippon Denki Software Kk Polygonal graphic modifying device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63106083A (en) * 1986-10-23 1988-05-11 Nec Corp Graphic drawing system
JPS6437677A (en) * 1987-08-04 1989-02-08 Sanyo Electric Co Method for transformation of image data
JPH0259870A (en) * 1988-08-26 1990-02-28 Dainippon Printing Co Ltd Line drawing output device
JPH05108831A (en) * 1991-10-17 1993-04-30 Tohoku Nippon Denki Software Kk Polygonal graphic modifying device

Similar Documents

Publication Publication Date Title
KR900008399B1 (en) Image processing system
US3812491A (en) Raster-scanned display devices
JPS62256092A (en) Computer graphic apparatus and method for painting complicated polygon
US5159327A (en) Synchronous signal polarity converter of video card
JPS615285A (en) Raster scan graphic display unit
EP0062669A1 (en) Graphic and textual image generator for a raster scan display.
JPS58221887A (en) Graphic display control system
JPS6031355A (en) Facsimile equipment
US4703230A (en) Raster operation circuit
JP2001109902A (en) Texture blend method and picture display device using the same
JPH1153573A (en) Three-dimensional image processor and video window generating method
JPH044628B2 (en)
JPS61158394A (en) Fast circle circular arc generation system
JPS5827191A (en) Character display
JPS62204389A (en) Clipping/shielding method by any polygons
JP2689815B2 (en) Vector font fill information generator
JPH05159067A (en) Graphic plotting device
JPH03138781A (en) Edge emphasized polygon painting-out device
WO1987004547A1 (en) Figure drawing system
JPS63314591A (en) Smearing image generation system
JPH0381563U (en)
JPH0771558B2 (en) Digital skiyan converter
JPS63292378A (en) Image producing device
JPH02260080A (en) Character graphic generator
JPH09115003A (en) Z-value coordinate transformation circuit