JPS61248177A - Graphic generating device - Google Patents

Graphic generating device

Info

Publication number
JPS61248177A
JPS61248177A JP8926285A JP8926285A JPS61248177A JP S61248177 A JPS61248177 A JP S61248177A JP 8926285 A JP8926285 A JP 8926285A JP 8926285 A JP8926285 A JP 8926285A JP S61248177 A JPS61248177 A JP S61248177A
Authority
JP
Japan
Prior art keywords
generator
coordinate
line
generating device
point
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
JP8926285A
Other languages
Japanese (ja)
Inventor
Jun Yoshida
純 吉田
Sanae Aoyanagi
早苗 青柳
Yoshiyuki Miyabe
義幸 宮部
Makoto Yoshida
吉田 良
Tadashi Okada
正 岡田
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 Mobile Communications Co Ltd
Japan Broadcasting Corp
Panasonic Holdings Corp
Original Assignee
Nippon Hoso Kyokai NHK
Matsushita Communication Industrial Co Ltd
Japan Broadcasting Corp
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 Nippon Hoso Kyokai NHK, Matsushita Communication Industrial Co Ltd, Japan Broadcasting Corp, Matsushita Electric Industrial Co Ltd filed Critical Nippon Hoso Kyokai NHK
Priority to JP8926285A priority Critical patent/JPS61248177A/en
Publication of JPS61248177A publication Critical patent/JPS61248177A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To smear a graphic at a high speed by obtaining automatically the starting point coordinates of smearing and the end point coordinates of the smearing corresponding to (y) coorinates to generate the (y) coordinate generating device. CONSTITUTION:When the section between segments l1 and L2 is smeared, a (y) coordinate generating device 1 changes (y) coordinates one by one between scopes y1 and y2 stipulated by a (y) range register 2. An (x) coordinate value xs of one point on a starting line l1 in which (y) coordinate value comes to be yo by a starting point generating device 4, is obtained and the l1 is defined by a starting line data register 3. An (x) coordinate value xe of one point on an end line l2 is obtained by an end point generating device 6 and the l2 defined by an end line data register 5. When yo is given to xs and xe, the starting point generating device 4 and the end point generating device 6 are composed so that they can be simultaneously obtained, a straight line generating device 7 generates the picture element between xs and xe, and a writing control device 8 obtains the address on a frame memory 9 from the (c) coordinate value and Yo obtained by the straight line generating device 7 and executes the writing control.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、図形内部のぬシつぶしを行う図形発生装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION FIELD OF THE INVENTION The present invention relates to a figure generator for filling out the inside of a figure.

従来の技術 以下図面を参照しながら、従来の図形発生装置における
図形ぬりつぶしの例を説明する。
BACKGROUND OF THE INVENTION An example of figure filling in a conventional figure generator will be described below with reference to the drawings.

第4図は従来の図形発生装置のブロック図である。1o
は始点終点発生器で、7は直線発生器で、8は書き込み
制御回路で、9はフレームメモリで、3はぬシつぶしの
始線を定義するための始線データレジスタで、6はぬシ
つぶしの終線を定義するための終線データレジスタであ
る。
FIG. 4 is a block diagram of a conventional graphic generator. 1o
is a start and end point generator, 7 is a straight line generator, 8 is a write control circuit, 9 is a frame memory, 3 is a start line data register for defining the start line of blank filling, and 6 is a blank line generator. This is the end line data register for defining the end line of crushing.

以上のように構成された図形発生装置について、以下そ
の動作を説明する。
The operation of the graphic generator configured as described above will be explained below.

例えば第2図に示す線分11及びj2の間をぬシつぶす
場合、始点終点発生器10は、始線データレジスタ3で
”11# 71p ”21# 72によ如定義される始
線l 上で、y座標値y0に対応するX座標18を求め
る。同様に終線データレジスタ5で”121 ”1? 
”22’ 72により定義される終線12上で、y座標
値y0に対応するX座標値X。を求める。
For example, when filling out the space between the line segments 11 and j2 shown in FIG. Then, find the X coordinate 18 corresponding to the y coordinate value y0. Similarly, in the end line data register 5, "121" 1?
``22'' On the end line 12 defined by 72, find the X coordinate value X that corresponds to the y coordinate value y0.

このようにして求められたXsとX。の間に第3図に示
すように、直線発生器7により直線を発生する。前記直
線発生器により得られたX座標値と、1oから得られる
y座標値とから、書き込み制御器8がフレームメモリ上
のアドレスを求め、フレームメモリ9に書き込みを行う
Xs and X obtained in this way. During this time, as shown in FIG. 3, a straight line is generated by a straight line generator 7. The write controller 8 determines an address on the frame memory from the X coordinate value obtained by the linear generator and the y coordinate value obtained from 1o, and writes it into the frame memory 9.

発明が解決しようとする問題点 しかしながら第4図の構成のうち始点終点発生器はコン
ピュータプログラムにより実現されておシ、高速プロセ
ッサを用いたとしても速度に限界がある。
Problems to be Solved by the Invention However, in the configuration shown in FIG. 4, the start and end point generators are realized by a computer program, and even if a high-speed processor is used, there is a limit to the speed.

本発明は上記問題点に鑑み、高速図形ぬシつぶしを行な
うための図形発生装置を提供するものである。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, the present invention provides a graphic generation device for high-speed graphic crushing.

問題点を解決するための手段 上記問題点を解決するために、本発明の図形発生装置は
、y座標発生器が発生するy座標に対応するぬりつぶし
始点及び終点の座標値を同時に求めるように始点発生器
及び終点発生器を構成した。
Means for Solving the Problems In order to solve the above-mentioned problems, the figure generator of the present invention sets the starting point so that the coordinate values of the filling start point and end point corresponding to the y coordinate generated by the y coordinate generator are simultaneously determined. A generator and an endpoint generator were constructed.

作用 本発明は上記した構成によって、ぬりつぶしの始点及び
終点が同時に求めちれることとなシ高速図形ぬシつぶし
が可能となる。
Effect of the Invention With the above-described configuration, the present invention can simultaneously determine the starting point and ending point of filling, thereby making it possible to fill out figures at high speed.

実施例 以下本発明の一実施例の図形発生装置について、図面を
参照しながら説明する。
EXAMPLE Hereinafter, a graphic generator according to an example of the present invention will be described with reference to the drawings.

第1図は本発明の実施例における図形発生装置のブロッ
ク図であり、1はy座標発生器で、2はy座標の上限及
び下限を規定するアレンジレジスタで、3はぬりつぶし
開始線を定義するための始線データレジスタで、4は始
線上の一点の座標を発生する始点発生器で、5はぬりつ
ぶし終了線を定義するための終線データレジスタ、6は
路線上の一点の座標を発生するための終点発生器で、7
は始点及び終点間に画素データを発生する直線発生器で
、8は画素データをフレームメモリに書き込む時の制御
を行う書き込み制御器である。
FIG. 1 is a block diagram of a figure generator in an embodiment of the present invention, where 1 is a y-coordinate generator, 2 is an arrangement register that defines the upper and lower limits of the y-coordinate, and 3 defines a filling start line. 4 is the starting point generator that generates the coordinates of a point on the starting line, 5 is the ending line data register for defining the fill-in end line, and 6 is the starting point generator that generates the coordinates of one point on the route. with an endpoint generator for 7
8 is a linear generator that generates pixel data between the start point and the end point, and 8 is a write controller that controls when pixel data is written into the frame memory.

以上のように構成された図形発生装置について、以下そ
の動作について説明する。
The operation of the graphic generator configured as described above will be explained below.

例えば第2図に示す線分11及び12の間をぬりつぶす
場合、y座標発生器1は、アレンジレジスタ2が規定す
るy座標の範囲71*72の間で、y座標を1つづつ変
化させる。このときのy座標値がyoとなる始線l、上
の一点のI座標値!8を求めるのが始点発生器4であシ
良く知られているDDAで発生される。11は始線デー
タレジスタ3でs、 !11171# X21p 72
の値を用いて定義される。同様に、終線lt2上の一点
のI座標値!coを求めるのが終点発生器6である。1
2は終線データレジスタ6で”12’ ”1’ ”22
,72の値を用いて定義されるQXs及びx6はyoが
与えられたとき、同時に求められるように始点発生器及
び終点発生器が構成されている。直線発生器7はx、及
びX。の間に、第3図に示すように画素を発生する。前
記直線発生器で得られたX座標値と70と−A為医フレ
ームメモリ9←のアト0レスを重め11負込み制御する
のが書き込み制御器8である。
For example, when filling in between the line segments 11 and 12 shown in FIG. 2, the y-coordinate generator 1 changes the y-coordinate one by one within the y-coordinate range 71*72 defined by the arrangement register 2. The I coordinate value of a point on the starting line l whose y coordinate value at this time is yo! 8 is generated by the starting point generator 4 using the well-known DDA. 11 is the starting line data register 3, s, ! 11171#X21p 72
Defined using the value of Similarly, the I coordinate value of one point on the ending line lt2! The end point generator 6 calculates co. 1
2 is the end line data register 6 “12” “1” “22”
, 72 and x6 are determined simultaneously when yo is given, the starting point generator and the ending point generator are configured. The straight line generator 7 has x, and x. During this period, pixels are generated as shown in FIG. The write controller 8 controls the X-coordinate value obtained by the linear generator, 70, and the address of the medical frame memory 9← by weighting them by 11.

発明の効果 以上のように本発明は、y座標発生器と、前記y座標発
生器の発生するy座標に対応して、ぬシつぶしの始点座
標並びに終点座標を同時に求める構成にしたことによシ
、高速図形ぬりつぶしが可能となる。
Effects of the Invention As described above, the present invention has a configuration in which the y-coordinate generator and the coordinates of the start point and the coordinate of the end point of punching are simultaneously determined in accordance with the y-coordinate generated by the y-coordinate generator. It is now possible to fill in shapes at high speed.

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

第1図は本発明の実施例における図形発生装置のブロッ
ク図、第2図はぬりつぶし図形の一例を示す図、第3図
は直線発生の概念図、第4図は従来の図形発生装置のブ
ロック図である。 1・・・・・・y座標発生器、2・・印・アレンジレジ
スタ、3・・・・・・始線データレジスタ、4・・山・
始点発生器、6・・・・・・終線データレジスタ、6・
・川・終点発生器、7・・・・・・直線発生器、8・・
・・・・書き込み制御回路、9・・・・・・フレームメ
モリ。
Fig. 1 is a block diagram of a figure generator according to an embodiment of the present invention, Fig. 2 is a diagram showing an example of a filled-in figure, Fig. 3 is a conceptual diagram of straight line generation, and Fig. 4 is a block diagram of a conventional figure generator. It is a diagram. 1...y coordinate generator, 2...mark/arrange register, 3...start line data register, 4...mountain...
Start point generator, 6... End line data register, 6.
・River/end point generator, 7...Line line generator, 8...
...Write control circuit, 9...Frame memory.

Claims (1)

【特許請求の範囲】[Claims] y座標の範囲を規定するためのyレンジデータレジスタ
と、上記レジスタで規定された範囲のy座標を連続的に
発生するy座標発生器と、ぬりつぶしを開始する線分を
定義するための始線データレジスタと、前記始線データ
レジスタで定義された線分上で、上記y座標発生器が発
生するy座標に対応するx座標を発生する始点発生器と
、ぬりつぶしを終了する線分を定義するための終線デー
タレジスタと、前記終線データレジスタで定義された線
分上で、上記y座標発生器が発生するy座標に対応する
x座標を上記始点発生器と同時に発生する終点発生器と
、上記始点発生器及び終点発生器から得られる始点及び
終点の間に直線を発生する直線発生器と、前記直線発生
器の発生するx座標並びに上記y座標発生器の発生する
y座標とからフレームメモリ上のアドレスを求め、書き
込みを行うための書き込み制御回路と、フレームメモリ
を備えることを特徴とする図形発生装置。
A y-range data register for defining the range of y-coordinates, a y-coordinate generator for continuously generating y-coordinates in the range defined by the above register, and a starting line for defining the line segment from which to start filling. Define a data register, a start point generator that generates an x coordinate corresponding to the y coordinate generated by the y coordinate generator on the line segment defined by the start line data register, and a line segment at which filling is to be completed. an end point generator that generates an x coordinate corresponding to the y coordinate generated by the y coordinate generator at the same time as the start point generator on the line segment defined by the end line data register; , a straight line generator that generates a straight line between the starting point and the ending point obtained from the starting point generator and the ending point generator, and the x coordinate generated by the straight line generator and the y coordinate generated by the y coordinate generator. A graphic generation device characterized by comprising a write control circuit for determining and writing an address on a memory, and a frame memory.
JP8926285A 1985-04-25 1985-04-25 Graphic generating device Pending JPS61248177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8926285A JPS61248177A (en) 1985-04-25 1985-04-25 Graphic generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8926285A JPS61248177A (en) 1985-04-25 1985-04-25 Graphic generating device

Publications (1)

Publication Number Publication Date
JPS61248177A true JPS61248177A (en) 1986-11-05

Family

ID=13965840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8926285A Pending JPS61248177A (en) 1985-04-25 1985-04-25 Graphic generating device

Country Status (1)

Country Link
JP (1) JPS61248177A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5214055A (en) * 1975-06-30 1977-02-02 Toto Ltd Urinal flushing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5214055A (en) * 1975-06-30 1977-02-02 Toto Ltd Urinal flushing system

Similar Documents

Publication Publication Date Title
KR950001544A (en) Draw processor for high performance 3D graphics accelerators
JPS61248177A (en) Graphic generating device
JPS6310431B2 (en)
JPS5561844A (en) Graphic display unit of raster scan type
CN116092095B (en) Original handwriting stroke form generation method
JPS5871409A (en) Method and device for displaying running position of vehicle
JP2935189B2 (en) Outline font processor
JPS615285A (en) Raster scan graphic display unit
JPH0291688A (en) Character display device
JP2621410B2 (en) Information processing device
JPS6246899B2 (en)
JPS59188761A (en) Write system of picture memory
JPS6315288A (en) 3-d graphic display unit
JPH0381563U (en)
JPS6010390A (en) Pattern identification processing system by light pen in graphic processing system
JPS61248176A (en) Graphic generating device
JP2715496B2 (en) Image filling device
JPH05205070A (en) Graphic plotting method
Sandor APPLICATION OP THE DISPLAY FOCAL PROGRAM IN THE SCIENTIFIC RESEARCH
JPS63244275A (en) Information processor
JPS61223789A (en) Contour display
JPH0322185A (en) Device for painting-out closed graphic
JPS60172086A (en) Cursor controller
JPS60157620A (en) Information processor
JPH0293877A (en) Information processor