JPH02153483A - Horizontal side picture drawing system in graphic surface painting processing - Google Patents

Horizontal side picture drawing system in graphic surface painting processing

Info

Publication number
JPH02153483A
JPH02153483A JP22291088A JP22291088A JPH02153483A JP H02153483 A JPH02153483 A JP H02153483A JP 22291088 A JP22291088 A JP 22291088A JP 22291088 A JP22291088 A JP 22291088A JP H02153483 A JPH02153483 A JP H02153483A
Authority
JP
Japan
Prior art keywords
coordinate
horizontal side
output table
horizontal
coordinates
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
JP22291088A
Other languages
Japanese (ja)
Inventor
Shunjiro Izumi
泉 俊次郎
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 JP22291088A priority Critical patent/JPH02153483A/en
Publication of JPH02153483A publication Critical patent/JPH02153483A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To exactly execute the picture drawing of a graphic by inserting a horizontal side or deleting a specific X coordinate from an output table with respect to the output table before picture drawing is executed to a bit map memory. CONSTITUTION:The number of X coordinates in an output table being smaller than an X coordinate of a small or large horizontal side is counted, and when it is decided that its number is an even number, the X coordinate of a small horizontal side is inserted into the output table 3, but when it is decided that the counting value is an odd number, the X coordinate of the output table 3 remains unchanged. Also, X coordinate values in the output table being over the X coordinate of the small horizontal side, and also, under the X coordinate of the large horizontal side are all deleted. In such a manner, in accordance with the output table 3, picture drawing can be executed to a bit map memory 6, and accordingly, it does not occur that the horizontal side is missing due to the shape of a graphic and surface painting can be executed exactly.

Description

【発明の詳細な説明】 〔目 次〕 概要 産業上の利用分野 従来の技術と発明が解決しようとする課題課題を解決す
るための手段 作用 実施例 発明の効果 〔概要〕 任意の形をとる多角形を構成する頂点で図形を構成し、
その辺の内部を塗り潰すことにより面塗りを行う際に、
水平な辺以外の辺をX座標の値の順にソートした表と、
該表に基づいて、該辺の内部を塗り潰すのに必要な各点
を求める為のパラメータを生成したテーブル(AET)
とにより、該塗り潰す為の°対゛のX座標を求め、該“
対”のX座標の間の各ピクセルを出力することで図形の
面塗りに行う場合の水平辺描画方式に関し、図形によっ
ては、正確な面塗りが行われないことを解消することを
目的とし、 上記多角形を形成している水平辺の始点のX座標と終点
のX座標とからなる水平辺テーブルと。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Prior Art and Problems to be Solved by the Invention Means for Solving the Problems Action Examples Effects of the Invention [Summary] Multiple forms that take any form A figure is made up of vertices that make up a rectangle,
When performing surface painting by filling in the inside of that side,
A table in which sides other than horizontal sides are sorted in order of X coordinate values,
A table (AET) that generates parameters for finding each point necessary to fill the inside of the side based on the table.
Find the X coordinate of ° versus ゛ to fill in, and calculate the
The purpose of this project is to solve the problem that, depending on the shape, accurate surface painting is not performed depending on the horizontal edge drawing method when painting the surface of a shape by outputting each pixel between the X coordinates of the pair. A horizontal side table consisting of the X coordinate of the starting point and the X coordinate of the ending point of the horizontal side forming the polygon.

上記塗り潰す為の対”のX座標を記憶する出力テーブル
と、上記多角形を構成するX座標値毎に、該X座標と交
わる水平辺テーブルを検索して読出した1つの水平辺の
始点、終点のX座標と、上記出力テーブル内の“対”の
始点、終点のX座標とを比較する論理手段とを設けて、
上記論理手段において、水平辺の始点、又は終点のX座
標より小さい、上記出力テーブルのX座標の数を計数し
て、該数が「偶数」か「奇数」かを判定し、上記読出し
た1つの水平辺について、上記出力テーブルとから読出
される °対”のX座標に対して、該判定結果が「偶数
」の場合には、水平辺のX座標を上記出力テーブルのX
座標として、上記出力テーブルの゛対′のX座標に挿入
し、該判定結果が「奇数」の場合には、上記出力テーブ
ルの°対゛のX座標の侭とし、上記水平辺の始点と、終
点のX座標の間に存在する上記出力テーブル中のX座標
を削除することを、上記水平辺テーブル中の全ての水平
辺について行い、上記出力テーブルに水平辺テーブル中
のX座標を挿入、又は、上記出力テーブルから特定のX
座標を削除するように構成する。
an output table that stores the X-coordinates of the pairs for filling the polygon, and a starting point of one horizontal side read out by searching a horizontal side table that intersects with the X-coordinates for each X-coordinate value forming the polygon; providing logical means for comparing the X coordinate of the end point with the X coordinates of the "pair" of starting and ending points in the output table;
The logic means counts the number of X coordinates in the output table that are smaller than the X coordinates of the starting point or end point of the horizontal side, determines whether the number is an "even number" or "odd number," and reads the one For each horizontal side, if the determination result is an "even number" for the
As a coordinate, insert it into the X coordinate of 'v' in the output table, and if the judgment result is an "odd number", set it as the side of the X coordinate of 'v' in the output table, and the starting point of the horizontal side, Delete the X coordinate in the output table that exists between the X coordinates of the end point for all horizontal sides in the horizontal side table, and insert the X coordinate in the horizontal side table in the output table, or , specific X from the above output table
Configure to delete coordinates.

〔産業上の利用分野〕[Industrial application field]

本発明は、任意の形をとる多角形を構成する頂点で図形
を構成し、その辺の内部を塗り潰すことにより面塗りを
行う際に、水平な辺以外の辺をX座標の値の順にソート
した表と、該表に基づいて、該辺の内部を塗り潰すのに
必要な各点を求める為のパラメータを生成したテーブル
(AET)とにより、該塗り潰す為の“対”のX座標を
求め、該“対゛のX座標の間の各ピクセルを出力するこ
とで図形の面塗りを行う場合の水平辺描画方式に関する
In the present invention, when a figure is composed of vertices constituting a polygon having an arbitrary shape, and the area is painted by filling in the inside of the sides, the sides other than the horizontal sides are arranged in the order of the X coordinate value. Based on the sorted table and the table (AET) that generates parameters for finding each point necessary to fill in the inside of the side, the "pair" of X coordinates for filling in the side is determined. The present invention relates to a horizontal side drawing method when filling the surface of a figure by determining the value of , and outputting each pixel between the X coordinates of the pair.

最近、ワードプロセッサのように、計算機システムを用
いて、ドキュメントを作成する分野が注目されている。
Recently, the field of creating documents using computer systems such as word processors has been attracting attention.

このドキュメントでは、文書のみならず、グラフや図形
等を含むマルチメディア化が進んでいるが、現状では、
円や矩形といった単純な図形のみを取り扱う場合が多く
、任意の形を持つ多角形といった複雑な図形の描画機能
がなく、このような複雑な図形の描画を行うと、特定の
条件を持つ水平辺が描画できない等のケースが出てくる
問題があり、ワードプロセッサ等によるドキュメント作
成の分野においても、上記の如き複雑な図面の描画機能
が要求されるようになってきた。
This document is becoming more and more multimedia, including not only documents but also graphs and figures, but currently,
In many cases, only simple shapes such as circles and rectangles are handled, and there is no function to draw complex shapes such as polygons with arbitrary shapes. In the field of document creation using word processors and the like, there has been a demand for the ability to draw complex drawings as described above.

〔従来の技術と発明が解決しようとする課題〕第3図は
従来の図形面塗りにおける水平辺描画方式を説明する図
であり、(a)は描画機構の構成例を示し、(b)〜(
f)は従来方式の動作フローを示し、第4図は従来方式
の問題点を説明する図であって、(イ)は通常の場合を
示し、(ロ)は水平辺が描画できない場合を示し、(ハ
)は対処例を示している。
[Prior art and problems to be solved by the invention] Fig. 3 is a diagram explaining a horizontal edge drawing method in conventional figure surface painting, in which (a) shows an example of the configuration of a drawing mechanism, and (b) - (
f) shows the operation flow of the conventional method, and FIG. 4 is a diagram explaining the problems of the conventional method, in which (a) shows the normal case, and (b) shows the case where the horizontal side cannot be drawn. , (c) shows an example of how to deal with it.

従来から任意の形をとる多角形の処理においては、該多
角形を構成する頂点で図形を構成し、該構成された各辺
の内部を塗り潰すことにより面塗りを行う方式として、
例えば、(“ラスタ・グラフィックスのソフトウェア(
6)、r多角形のスキャン・コンバージョン(2)」大
野義夫著、雑誌“prXEL”1図形処理情報センター
刊、 llh 16.ページ136〜141.1984
)が知られている。
Conventionally, in processing polygons that take arbitrary shapes, a method is used in which a figure is constructed from the vertices that make up the polygon, and the area is filled by filling in the inside of each of the constructed sides.
For example, (“Raster graphics software (
6), "Scan conversion of r polygons (2)" by Yoshio Ohno, magazine "prXEL" 1, published by Graphic Processing Information Center, llh 16. Pages 136-141.1984
)It has been known.

以下、上記の文献に示されている面塗り方式の概略を第
3図によって以下に説明する。
Hereinafter, the outline of the surface coating method shown in the above-mentioned document will be explained below with reference to FIG.

■ 先ず、第3図(a)に示したデータ入力部10にお
いて、多角形を構成する頂点の表(第4図(イ)の(a
) 、 (b)参照)を生成し、演算処理部(5a)に
おいて、該多角形の各辺を1本宛調べる。
■ First, in the data input unit 10 shown in FIG. 3(a), a table of vertices forming a polygon ((a) in FIG. 4(a)
), see (b)) is generated, and each side of the polygon is examined one by one in the arithmetic processing unit (5a).

このとき、水平な辺は無視し、水平でない辺について、
Y座標の小さい方の端点に着目し、この端点が小さい順
に並ぶように、該辺を並べ換える。
At this time, horizontal sides are ignored, and for non-horizontal sides,
Focusing on the end point with the smaller Y coordinate, the sides are rearranged so that the end points are arranged in ascending order.

この並べ換えの方法として、例えば、所謂パケットソー
トを用いる。((b)図のステップ100. (c)参
照) このようにして生成されたソートテーブル1が第4図(
イ)(C)に示したものである。
As a method for this sorting, for example, so-called packet sorting is used. (See step 100 in Figure (b). (c)) The sort table 1 generated in this way is shown in Figure 4 (
B) This is shown in (C).

■ 最初、処理対象のY座標値yc =0とし、上記■
でY座標の昇順に並べ換えられた辺を小さいX座標値か
ら順に、以下の処理をする。
■ First, the Y coordinate value yc to be processed is set to 0, and the above ■
The following processing is performed on the sides rearranged in ascending order of Y coordinate in ascending order of X coordinate value.

即ち、これから調べるX座標値(yc)を始点とする辺
があれば、その辺(第4図(イ)(a)に示した多角形
の辺p、p、、p、p4..・−)を、前述のパラメー
タ生成テーブル(AET) 2に登録して、該パラメー
タ(各X座標値に対するX座標値、変化分(ΔX、ΔY
)、−)を生成し、該各辺の高さを計算(この計算方法
については後述する)する。
That is, if there is a side whose starting point is the X coordinate value (yc) to be examined, that side (sides p, p, , p, p4...- of the polygon shown in Figure 4 (a)) ) is registered in the parameter generation table (AET) 2 described above, and the parameters (X coordinate value for each X coordinate value, change amount (ΔX, ΔY
), -) and calculate the height of each side (the calculation method will be described later).

従って、該パラメータ生成テーブル(AET) 2に登
録されている辺は、未だ処理されていないX座標値(現
在処理中のものより大きなX座標値) (yc)との交
点を持つ。((b)図のステップ101. (d)参照
) ■ 上記■の処理で、高さが°O゛になった辺は該パラ
メータ生成テーブル(AET) 2から削除する。
Therefore, the edge registered in the parameter generation table (AET) 2 has an intersection with an unprocessed X coordinate value (an X coordinate value larger than the one currently being processed) (yc). (See step 101 in the figure (b). (d)) ① In the process ① above, the side whose height has become °O゛ is deleted from the parameter generation table (AET) 2.

即ち、上記の■の処理をし終えたX座標値(yc)と交
わっているが、未だ処理していないX座標値(yc)と
は交わらないような辺になった場合(即ち、該当選の高
さがO”になった場合)には、該辺を当該パラメータ生
成テーブノ喧AET) 2から削除するが、該高さが°
0゛になければ、次の処理■に移る。
In other words, if the edge intersects with the X coordinate value (yc) that has been processed in (■) above, but does not intersect with the X coordinate value (yc) that has not yet been processed (in other words, if the corresponding selection ), the height of the side becomes O", the side is deleted from the parameter generation table AET)2, but the height becomes O".
If it is not 0゛, move on to the next process (■).

この結果、該パラメータ生成テーブル(AET) 2の
中に残っている辺は、全部、これから処理されるX座標
値(yc)と交わるもののみとなる。((b)図のステ
ップ102. (e)のステップ102a参照)■ 上
記■の処理で削除されなかった辺について、現在処理中
のX座標値(yc)との交点のX座標値を順に並べ、そ
の奇数番目と偶数番目のペアを作り、例えば、出力テー
ブル3に登録し、該登録対象辺の高さをデクリメントす
る。
As a result, the only edges remaining in the parameter generation table (AET) 2 are those that intersect with the X coordinate value (yc) to be processed from now on. (See step 102 in the figure (b). Step 102a in (e)) ■ For the sides that were not deleted in the process of ■ above, the X coordinate values of the intersections with the X coordinate value (yc) currently being processed are arranged in order. , the odd-numbered and even-numbered pairs are created, and registered in the output table 3, for example, and the height of the registered side is decremented.

このX座標のペアの間が面塗りの対象領域である。The area between this pair of X coordinates is the area to be covered.

■ X座標値(yc)を“+1゛シて、次の処理すべき
Y座標を生成し、■に戻る。((b)図のステップ10
3.104. (f)参照) 上記■〜■の処理を全てのX座標値(yc)について実
行する。((b)のステップ105参照)上記■〜■の
処理を第4図(イ)(a)図に示した多角形について、
より具体的に説明する。
■ Add 1 to the X coordinate value (yc) to generate the next Y coordinate to be processed, and return to ■. (Step 10 in the figure (b)
3.104. (See (f)) The above-mentioned processes ① to ② are executed for all the X coordinate values (yc). (See step 105 in (b)) For the polygon shown in FIGS. 4(a) and 4(a),
This will be explained more specifically.

該多角形は8個の頂点からなり、(b)図に示されてい
るように、各頂点の座標値は順に、PI(5,25)、
Pz(5,5)、Pi(15,5)、P4(15,10
)、P5(20,10)、P6(25,15)、Pt(
25,20)、Pi(20,25)である。
The polygon consists of eight vertices, and as shown in figure (b), the coordinate values of each vertex are, in order, PI (5, 25),
Pz(5,5), Pi(15,5), P4(15,10
), P5(20,10), P6(25,15), Pt(
25,20) and Pi(20,25).

上記■の処理結果、第4図(イ)(C)図に示したソー
トテーブルlが得られる。
As a result of the above process (2), the sort table 1 shown in FIGS. 4(A) and 4(C) is obtained.

■〜■の処理は、上記ソートテーブル1を基に、X座標
値(yc)・0〜30について順に実行され、■で説明
したX座標のペアが得られる毎に、パラメータ生成テー
ブル(AET) 2中の辺の高さをデクリメントしてい
き、当該辺の高さが0”になった時に、■で説明したよ
うに、テーブル(AET) 2から該辺(上記の多角形
では、辺p4p、が該当する)の削除を行う。
The processes from ■ to ■ are executed in order for the X coordinate values (yc) 0 to 30 based on the above sort table 1, and each time the pair of X coordinates described in ■ is obtained, the parameter generation table (AET) is Decrement the height of the side in 2, and when the height of the side becomes 0", as explained in , is applicable).

ここで、前述の高さの算出方法を説明する。Here, the above-mentioned height calculation method will be explained.

第4図(イ) (a) (b)図に示した多角形の辺p
sp6とp、p、の毒うに、次の辺が縦に繋がっている
場合は、 高さ=(終点のY座標)−(始点のY座標)で求める。
Figure 4 (a) (a) The side p of the polygon shown in (b)
If the next side of sp6, p, and p is connected vertically, calculate the height = (Y coordinate of the end point) - (Y coordinate of the start point).

又、p、p、とP7pHのように、間にY座標の極大点
があるときには、 高さ=(終点のY座標)−(始点のY座標)で求める。
In addition, when there is a maximum point of the Y coordinate between p, p, and P7pH, the height is determined by height = (Y coordinate of the end point) - (Y coordinate of the starting point).

又、P3P、とP、P6のように、間に水平辺(P4P
S)が存在する場合には、該水平辺(P4.P%)は無
視して処理され、且つ、Y座標の極大点が存在しないの
で、該当の辺P:lP4の場合は、 高さ−(終点のY座標)−(始点のY座標)l で求める。
Also, like P3P, P, and P6, there is a horizontal side (P4P
S) exists, the horizontal side (P4.P%) is ignored and processed, and there is no maximum point of the Y coordinate, so in the case of the corresponding side P:lP4, the height - (Y coordinate of end point) - (Y coordinate of starting point) l.

何れの場合にも、間に水平辺が挟まっている場合は、そ
の水平辺を除いて処理される。
In either case, if there is a horizontal edge between them, that horizontal edge is excluded from processing.

このようにして、(イ)(d)図に示した実行結果であ
る登録テーブル3が得られる。このとき、該実行結果を
直接ピントマツプメモリ6に描画するようにしても良い
In this way, the registration table 3, which is the execution result shown in FIGS. (a) and (d), is obtained. At this time, the execution result may be directly drawn in the focus map memory 6.

上記のように概略説明した従来方式においては、前述の
文献にも指摘されているように、図形によっては、正確
な面塗りが実行されないことがある。
In the conventional method outlined above, as pointed out in the above-mentioned literature, accurate surface painting may not be performed depending on the figure.

例えば、第4図(ロ)(a)に示したような、(イ)図
(a)の多角形とは上下が反転させたものについて処理
すると、同図(d)から明らかなように、P4P、の辺
が描画されないことがある。即ち、水平辺が正確に描画
されないという問題がある。
For example, if we process the polygon shown in Figure 4(B)(a), which is upside down from the polygon in Figure 4(a), as is clear from Figure 4(d), P4P, edges may not be drawn. That is, there is a problem that the horizontal sides are not accurately drawn.

この問題点を解決する方法として、例えば、(ハ)図に
示したように、水平辺を別の表に登録しておいて、上記
の面塗り処理が終了した時点で、この水平辺のみを描画
する方法が考えられる。
As a way to solve this problem, for example, as shown in Figure (C), the horizontal edge is registered in a separate table, and when the above-mentioned surface painting process is completed, only this horizontal edge is registered. One possible method is to draw it.

然し、この方法では、2回描画される点(斜線で示す)
が生じる為、書き込み対象辺と論理演算、例えば、排他
的論理和をとると、上記描画できなかった辺p、p、の
描画はできるが、p2p、とP、P、で示される辺が消
去されてしまうという問題があった。
However, with this method, the points drawn twice (indicated by diagonal lines)
occurs, so if you perform a logical operation with the edge to be written, such as exclusive OR, it is possible to draw the edges p, p, which could not be drawn, but the edges indicated by p2p and P, P are erased. There was a problem with being exposed.

本発明は上記従来の欠点に鑑み、任意の形をとる多角形
を構成する頂点で図形を構成し、その辺の内部を塗り潰
すことにより面塗りを行う際に、水平な辺以外の辺をY
座標の値の順にソートした表と、線表に基づいて、該辺
の内部を塗り潰すのに必要な各点を求める為のパラメー
タを生成したテーブル(AET)とにより、該塗り潰す
為の°対゛のX座標を出力テーブルとして求め、該出力
テーブルに基づいて、該“対”のX座標の間の各ピクセ
ルを出力することで図形の面塗りに行う場合の水平辺描
画方式において、ビットマツプメモリに描画する前の出
力テーブルに対して、水平辺を挿入、又は、上記出力テ
ーブルから特定のX座標を削除することにより、正確な
図形の描画を行う図形面塗り処理における水平辺描画方
式を提供することを目的とするものである。
In view of the above-mentioned drawbacks of the conventional art, the present invention constructs a figure using vertices constituting a polygon having an arbitrary shape, and fills in the interior of the sides to fill in the sides other than the horizontal sides. Y
Based on the table sorted in the order of coordinate values and the table (AET) that generates parameters for finding each point necessary to fill in the inside of the side, it is possible to In the horizontal side drawing method when filling the surface of a figure by determining the X coordinate of the pair as an output table and outputting each pixel between the X coordinates of the pair based on the output table, bit Horizontal edge drawing method in figure surface painting process that draws accurate figures by inserting horizontal edges into the output table before drawing in the map memory or deleting specific X coordinates from the output table. The purpose is to provide the following.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の図形面塗り処理における水平辺描画方
式の原理図である。
FIG. 1 is a diagram showing the principle of the horizontal side drawing method in the figure surface painting process of the present invention.

上記問題点は下記の如くに構成・された水平辺の描画方
式によって解決される。
The above problem can be solved by a horizontal side drawing method configured as follows.

任意の形をとる多角形を構成する頂点で図形を構成し、
その辺の内部を塗り潰すことにより面塗りを行う際に、
水平な辺以外の辺をY座標の値の順にソートした表1と
、咳表1に基づいて、該辺の内部を塗り潰すのに必要な
各点を求める為のパラメータを生成したテーブル(^E
T) 2とにより、該塗り潰す為の°対”のX座標を、
該対゛のX座標の間の各ビクセルを出力することで図形
の面塗りを行う方式において、 上記対゛のX座標を出力テーブル4として記憶すると共
に、上記多角形を形成している水平辺の始点のX座標と
終点のX座標とからなる水平辺テーブル3を設け、 上記多角形を構成しているY座標(yc)毎に、該Y座
標値(yc)と交わる水平辺テーブル4を検索して読出
した1つの水平辺の始点、終点のX座標と、上記出力テ
ーブル3内の°対゛の始点、終点のX座標とを比較する
論理手段5とを設けて、上記論理手段5において、水平
辺の始点、又は終点のX座標より小さい、上記出力テー
ブル3のX座標の数を計数して、該数が「偶数」か「奇
数」かを判定し、 上記水平辺テーブル4から読出した1つの水平辺につい
て、上記出力テーブル3から読出される゛対゛のX座標
に対して、 該判定結果が「偶数」の場合には、水平辺のX座標を上
記出力テーブル3のX座標を、上記出力テーブル3の“
対′のX座標に挿入し、該判定結果が「奇数」の場合に
は、上記出力テーブル3の°対゛のX座標の侭とし、 上記水平辺の始点と、終点のX座標の間に存在する上記
出力テーブル3中のX座標を削除することを、上記水平
辺テーブル4中の全ての水平辺について行い、 上記出力テーブル3に水平辺テーブル4中のX座標を挿
入、又は、上記出力テーブル(3)から特定のX座標を
削除するように構成する。
A figure is composed of vertices that make up a polygon of any shape,
When performing surface painting by filling in the inside of that side,
Based on Table 1, in which sides other than the horizontal sides are sorted in order of Y-coordinate values, and Table 1, we create a table (^ E
T) 2, the x-coordinate of the "° vs."
In the method of painting the surface of a figure by outputting each pixel between the X coordinates of the pair, the X coordinates of the pair are stored as an output table 4, and the horizontal sides forming the polygon are A horizontal side table 3 consisting of the X coordinate of the starting point and the A logic means 5 is provided for comparing the X coordinates of the start point and end point of one horizontal side retrieved and read out with the X coordinates of the start point and end point of the ° pair in the output table 3. , count the number of X coordinates in the output table 3 that are smaller than the X coordinates of the starting point or end point of the horizontal side, determine whether the number is an "even number" or "odd number," and calculate from the horizontal side table 4. Regarding one read horizontal side, if the determination result is "even" with respect to the X coordinate of 'vs' read from the output table 3, the X coordinate of the horizontal side is set to the X coordinate of the output table 3. Coordinates in the above output table 3 “
If the judgment result is an "odd number", it is placed on the side of the X coordinate of the pair ' of the output table 3, and between the start point of the horizontal side and the X coordinate of the end point. Delete the existing X coordinate in the output table 3 for all horizontal edges in the horizontal edge table 4, and insert the X coordinate in the horizontal edge table 4 into the output table 3, or It is configured to delete a specific X coordinate from table (3).

〔作用〕[Effect]

即ち、本発明によれば、任意の形をとる多角形を構成す
る頂点で図形を構成し、その辺の内部を塗り潰すことに
より面塗りを行う際に、水平な辺以外の辺をX座標(y
c)の値の順にソートした表と、線表に基づいて、該辺
の内部を塗り潰すのに必要な各点を求める為のパラメー
タを生成したテーブル(AET)とにより、該塗り潰す
為の対”のX座標を出力テーブルとして求め、該出力テ
ーブルに基づいて、該°対゛のX座標の間の各ピクセル
を出力することで図形の面塗りに行う場合の水平辺描画
方式において、従来方式でソートテーブルを生成すると
きに、水平辺を別の表に登録しておく。
That is, according to the present invention, when a figure is made up of vertices constituting a polygon having an arbitrary shape and the area is painted by filling in the inside of the side, the X coordinate of the side other than the horizontal side is (y
c) A table sorted in the order of values and a table (AET) that generates parameters for finding each point necessary to fill in the inside of the side based on the line table. Conventionally, in the horizontal side drawing method when filling the surface of a figure by determining the X coordinate of the pair " as an output table and outputting each pixel between the X coordinate of the pair " based on the output table, When generating a sort table using the method, register the horizontal edge in a separate table.

又、従来方式でX座標値(Yc)と交点を持つ辺のX座
標値のペアを算出するとき、このペアのX座標値を直接
ビットマツプメモリに描画しないで、前述のように、出
力テーブルとして記憶しておく。
In addition, when calculating a pair of X coordinate values (Yc) and an X coordinate value of a side having an intersection using the conventional method, the X coordinate values of this pair are not drawn directly in the bitmap memory, but are written in the output table as described above. Remember it as.

この出力テーブルの上記多角形を構成するX座標値(y
c)毎の始点、終点のX座標と、上記水平辺テーブルの
始点のX座標、終点のX座標とを、該X座標値(yC)
毎に以下の論理で比較し、条件の成立した水平辺のX座
標を出力テーブルに挿入した後、該ビットマツプメモリ
に描画するようにする。
The X coordinate value (y
c) The X coordinates of the starting point and ending point for each, and the X coordinates of the starting point and the ending point of the horizontal side table, and the corresponding
After each comparison is made using the following logic and the X coordinate of the horizontal side for which the condition is met is inserted into the output table, it is drawn in the bitmap memory.

(1)水平辺の小さい方、又は大きい方のX座標より小
さい出力テーブル中のX座標の数を計数し、その数が偶
数であると判定された時には、上記水平辺の小さい方の
X座標を出力テーブルに挿入するが、上記計数値が奇数
と判定された時には、出力テーブルのX座標の侭とする
(1) Count the number of X coordinates in the output table that are smaller than the X coordinate of the smaller or larger horizontal side, and if the number is determined to be an even number, the X coordinate of the smaller horizontal side. is inserted into the output table, but if the count value is determined to be an odd number, it is set to the side of the X coordinate of the output table.

(2)水平辺の小さい方のX座標以上で、且つ該水平辺
の大きい方のX座標以下の出力テーブル中のX座標値を
全て削除する。
(2) Delete all X coordinate values in the output table that are greater than or equal to the X coordinate of the smaller horizontal side and less than or equal to the X coordinate of the larger horizontal side.

このように機能するので、本発明を実行した出力テーブ
ルに従ってビットマツプメモリにtliすることにより
、図形の形によって水平辺が欠けることがなく、正確な
面塗りができる効果がある。
Since it functions in this way, by storing the data in the bitmap memory according to the output table obtained by implementing the present invention, there is no possibility that the horizontal edges will be missing depending on the shape of the figure, and accurate filling can be achieved.

〔実施例〕〔Example〕

以下本発明の実施例を図面によって詳述する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

前述の第1図が本発明の図形面塗り処理における水平辺
描画方式の原理図であり、第2図は本発明の水平辺の挿
入論理を模式的に示した図であり、第1図に示した水平
辺テーブル4と、出力テーブル3.及び比較論理回路5
によって、第2図に示した如くに水平辺のX座標の挿入
、出力テーブル3中のX座標の削除を決定する手段が本
発明を実施するのに必要な手段である。尚、企図を通し
て同じ符号は同じ対象物を示している。
The above-mentioned FIG. 1 is a diagram showing the principle of the horizontal edge drawing method in the figure surface painting process of the present invention, and FIG. 2 is a diagram schematically showing the horizontal edge insertion logic of the present invention. The horizontal side table 4 shown and the output table 3. and comparison logic circuit 5
Accordingly, means for determining insertion of the X coordinate of the horizontal side and deletion of the X coordinate in the output table 3 as shown in FIG. 2 is necessary for carrying out the present invention. Note that the same reference numerals refer to the same objects throughout the plan.

以下、第1図を参照しながら第2図によって本発明の図
形面塗り処理における水平辺描画方式を説明する。
Hereinafter, the horizontal side drawing method in the figure surface painting process of the present invention will be explained with reference to FIG. 2 while referring to FIG.

本発明を実施しても、ソートテーブル1.及びパラメー
タ生成テーブル(AET) 2を生成し、該パラメータ
生成テーブル(AET) 2に基づいてビットマツプメ
モリ6に描画する塗り潰し対象となる区間を示すX座標
のペア情報を生成する迄の動作は従来方式と特に変わる
ことはないので省略し、ここでは、本発明の比較論理回
路5の動作を中心にして説明する。
Even if the present invention is implemented, sort table 1. The operations up to generating the parameter generation table (AET) 2 and generating the X coordinate pair information indicating the section to be filled out to be drawn in the bitmap memory 6 based on the parameter generation table (AET) 2 are conventional. Since there is no particular difference from the method, the explanation will be omitted, and the operation of the comparison logic circuit 5 of the present invention will be mainly explained here.

本発明においては、第1図の原理図で示したデータ入力
部10で多角形を構成する頂点の表を生成し、次に演算
処理部5aでソートテーブル1を生成する際、従来にお
いては除外していた水平辺テーブル4を生成しておく。
In the present invention, when the data input unit 10 shown in the principle diagram of FIG. 1 generates a table of vertices constituting a polygon, and then the arithmetic processing unit 5a generates the sort table 1, the conventional Create the horizontal side table 4 that was previously used.

そして、上記ソートテーブル1に基づいて演算処理部5
aで生成したパラメータ生成テーブル(AET) 2か
ら、X座標値との交点を持つ多角形の辺のX座標値のペ
アを算出した後、本発明の場合には、出力テーブル3に
記憶しておき、上記多角形を構成しているX座標値(y
c)毎に、上記出力テーブル3に記憶されているペア情
報の始点、終点のX座標値と、水平辺テーブル4の始点
、終点のX座標とを、それぞれ、次の比較論理回路5の
比較論理部(CI)、(C2) 5L52で、第2図(
11〜αυに示した11種類に場合分けして比較し、水
平辺の始点、終点のX座標より小さい出力テーブル3中
のX座標の数を計数して、その数が偶数個あるか。
Then, based on the sort table 1, the arithmetic processing unit 5
After calculating the pair of X coordinate values of the sides of the polygon that have the intersection with the X coordinate value from the parameter generation table (AET) 2 generated in step a, in the case of the present invention, the pair is stored in the output table 3. and the X coordinate value (y
c), the next comparison logic circuit 5 compares the X coordinate values of the start point and end point of the pair information stored in the output table 3 with the X coordinates of the start point and end point of the horizontal side table 4, respectively. Logic part (CI), (C2) 5L52, Fig. 2 (
Compare the cases in 11 cases shown in 11 to αυ, count the number of X coordinates in the output table 3 that are smaller than the X coordinates of the starting point and ending point of the horizontal side, and see if there is an even number.

奇数個あるかを偶奇判定部53.54で、第2図に示し
た如(に判定する。
Whether there is an odd number or not is determined by the even/odd determining sections 53 and 54 as shown in FIG.

例えば、(1)のケースでは、水平辺の小さい方のX座
標と出力テーブル3のX座標とを比較すると、水平辺の
X座標く出力テーブルのX座標であるので、該水平辺の
小さい方のX座標より小さい出力テーブル3のX座標の
数は°0゛である為、偶奇判定部53での判定結果は「
偶数」となる。
For example, in case (1), when comparing the X coordinate of the smaller horizontal side and the X coordinate of output table 3, the X coordinate of the smaller horizontal side is the Since the number of X coordinates in the output table 3 that is smaller than the
An even number.

又、水平辺の大きい方のX座憚と出力テーブルのX座標
とを比較すると、 水平辺の大きい方のX座標〉 出力テーブルの小さい方のX座標 なる関係があるので、該水平辺の大きい方のX座標より
小さい出力テーブルのX座標の数は“l゛である為、上
記偶奇判定部54での判定結果は「奇数」となる。
Also, when comparing the X coordinate of the larger horizontal side and the X coordinate of the output table, there is a relationship: X coordinate of the larger horizontal side > X coordinate of the smaller output table, so the larger horizontal side Since the number of X coordinates in the output table smaller than the other X coordinate is "l", the determination result by the even/odd determining section 54 is "odd number".

以下、同じようにして、(2)〜αυの各ケースについ
て、第2図に示した判定結果が得られる。
Hereinafter, in the same manner, the determination results shown in FIG. 2 are obtained for each of cases (2) to αυ.

この判定結果に基づいて、以下の論理で水平辺のX座標
値を出力テーブルの該当位置に挿入する。
Based on this determination result, the X coordinate value of the horizontal side is inserted into the corresponding position in the output table using the following logic.

1)水平辺の小さい方、又は大きい方のX座標より小さ
い出力テーブル3中のX座標の数を計数し、その数が偶
数であると判定された時には、上記水平辺の小さい方の
X座標を出力テーブル3に挿入するが、上記計数値が奇
数と判定された時には、出力テーブル3のX座標の侭と
する。(第1図の偶奇判定回路53 、54による)2
)水平辺の小さい方のX座標以上で、且つ該水平辺の大
きい方のX座標以下の出力テーブル3中のX座標値(例
えば、第2図(2)のケースで、第1図の削除判定部5
5による)を全て削除する。
1) Count the number of X coordinates in the output table 3 that are smaller than the X coordinate of the smaller or larger horizontal side, and if the number is determined to be an even number, calculate the X coordinate of the smaller horizontal side. is inserted into the output table 3, but when the count value is determined to be an odd number, it is set to the side of the X coordinate of the output table 3. (Based on the even-odd judgment circuits 53 and 54 in FIG. 1)2
) The X coordinate value in the output table 3 that is greater than or equal to the X coordinate of the smaller horizontal side and less than or equal to the X coordinate of the larger horizontal side (for example, in the case of Fig. 2 (2), the deletion of Fig. 1 Judgment section 5
5)).

このようにして生成された出力テーブル3の最終結果を
ビットマツプメモリ6に描画する。
The final result of the output table 3 generated in this way is drawn in the bitmap memory 6.

第4図(ロ) (a) (d)に示した多角形に、本発
明による水平辺描画処理を適用した場合、X座標値・5
.25の場合、第2図のαυのケースに分類され、Y座
標値=20の場合には第2図の00)のケースに分類さ
れるので、結果として、正確な水平辺の描画ができるこ
とになる。
When the horizontal side drawing process according to the present invention is applied to the polygons shown in FIG. 4(b) (a) and (d),
.. 25, it is classified as αυ case in Figure 2, and when Y coordinate value = 20, it is classified as 00) case in Figure 2, so as a result, the horizontal side can be drawn accurately. Become.

このように、本発明は、任意の形をとる多角形を構成す
る頂点で図形を構成し、その辺の内部を塗り潰すことに
より面塗りを行う際に、水平な辺以外の辺をX座標の値
の順にソートした表と、線表に基づいて、該辺の内部を
塗り潰すのに必要な各点を求める為のパラメータを生成
したテーブル(AET)とにより、該塗り潰す為の°対
゛のX座標を求め、該°対”のX座標の間の各ピクセル
を出力することで図形の面塗りに行う場合の水平辺描画
方式において、上記“対”のX座標を出力テブルとして
記憶しておき、且つ、水平辺テーブルを別に設けて、上
記X座標と交わる水平辺と出力テーブル中のペアのX座
標について、該出力テーブルと水平辺テーブルとを比較
することにより、上記水平辺の小さい方、及び大きい方
のX座標より小さい出力テーブルのX座標の数を計数し
、その数が偶数の場合には水平辺のX座標を出力テーブ
ルに挿入し、奇数の場合には、出力テーブル中のX座標
をその侭使用し、該水平辺の小さい方のX座標以上で、
且つ大きい方のX座標以下の出力テーブル中のX座標値
を全て削除することで、ビットマツプメモリに描画する
出力テーブルを生成するようにした所に特徴がある。
In this way, the present invention configures a figure with vertices constituting a polygon having an arbitrary shape, and when performing area painting by filling in the inside of the side, the X coordinate of the side other than the horizontal side is Based on the table sorted in the order of the values of , and the table (AET) that generates parameters for finding each point necessary to fill the inside of the side, the ° pairs for filling the inside of the side are generated. In the horizontal edge drawing method when filling a figure by finding the X coordinate of ゛ and outputting each pixel between the X coordinates of the ``pair'', the X coordinate of the ``pair'' is stored as an output table. In addition, by separately providing a horizontal side table and comparing the output table and the horizontal side table with respect to the horizontal side that intersects with the above X coordinate and the pair of X coordinates in the output table, the horizontal side table can be calculated. Count the number of X coordinates in the output table that are smaller than the X coordinates of the smaller and larger ones, and if the number is even, insert the X coordinate of the horizontal side into the output table, and if the number is odd, insert it into the output table Using the middle X coordinate, the smaller X coordinate of the horizontal side or higher,
The feature is that the output table to be drawn in the bitmap memory is generated by deleting all the X coordinate values in the output table below the larger X coordinate.

〔発明の効果〕〔Effect of the invention〕

以上、詳細に説明したように、本発明の図形面塗り処理
における水平辺描画方式は、任意の形をとる多角形を構
成する頂点で図形を構成し、その辺の内部を塗り潰すこ
とにより面塗りを行う際に、水平な辺以外の辺をX座標
の値の順にソートした表と、線表に基づいて、該辺の内
部を塗り潰すのに必要な各点を求める為のパラメータを
生成したテーブル(AET)とにより、該塗り潰す為の
゛対″のX座標を求め、該°対”のX座標の間の各ビク
セルを出力することで図形の面塗りに行う場合の水平辺
描画方式において、上記多角形を形成している水平辺の
始点のX座標と終点のX座標とからなる水平辺テーブル
と、上記塗り潰す為の″対′のX座標を記憶する出力テ
ーブルと、上記多角形を構成するX座標値毎に、該X座
標と交わる水平辺テーブルを検索して読出した1つの水
平辺の始点、終点のX座標と、上記出力テーブル内の対
゛の始点、終点のX座標とを比較する論理手段とを設け
て、上記論理手段において、水平辺の始点、又は終点の
X座標より小さい、上記出力テブルのX座標の数を計数
して、該数が「偶数」か「奇数」かを判定し、上記読出
した1つの水平辺について、上記出力テーブルとから読
出される対”のX座標に対して、該判定結果が「偶数J
の場合には、水平辺のX座標を上記出力テーブルのX座
標として、上記出力テーブルの′対゛のX座標に挿入し
、該判定結果が「奇数」の場合には、上記出力テーブル
の゛対゛のX座標の侭とし、上記水平辺の始点と、終点
のX座標の間に存在する上記出力テーブル中のX座標を
削除することを、上記水平辺テーブル中の全ての水平辺
について行い、上記出力テーブルに水平辺テーブル中の
X座標を挿入、又は、上記出力テーブルから特定のX座
標を削除するようにしたものであるので、本発明を実行
した出力テーブルの内容をビットマツプメモリに描画す
ることにより、図形の形によって水平辺が欠けることが
なく、正確な面塗りができる効果がある。
As explained above in detail, the horizontal edge drawing method in the figure surface painting process of the present invention constructs a figure with vertices that make up a polygon of an arbitrary shape, and then fills in the inside of the side to create a surface. When painting, create parameters to find each point necessary to fill the inside of the side based on a table in which sides other than horizontal sides are sorted in order of X coordinate value and a line table. Using the table (AET), calculate the X coordinate of the "pair" for filling, and output each pixel between the X coordinates of the "pair" to draw the horizontal side when filling the surface of the figure. In the method, a horizontal side table consisting of the X coordinate of the starting point and the X coordinate of the end point of the horizontal side forming the polygon, an output table storing the X coordinate of the pair for filling the polygon, and the above For each X coordinate value that constitutes a polygon, the X coordinates of the start point and end point of one horizontal side read out by searching the horizontal side table that intersects with the X coordinate, and the start point and end point of the pair in the output table. and a logical means for comparing the X coordinate with the X coordinate, and the logical means counts the number of X coordinates of the output table that are smaller than the X coordinate of the starting point or the ending point of the horizontal side, and determines that the number is an "even number". For the one horizontal side read above, the judgment result is "even number J" for the X coordinate of the pair read from the output table.
In this case, insert the X coordinate of the horizontal side as the X coordinate of the above output table into the X coordinate of ′ vs. For all horizontal sides in the horizontal side table, delete the X coordinate in the output table that exists between the X coordinate of the horizontal side and the starting point of the horizontal side and the X coordinate of the end point. , the X coordinate in the horizontal side table is inserted into the above output table, or a specific X coordinate is deleted from the above output table, so the contents of the output table by executing the present invention are stored in the bitmap memory. By drawing, the horizontal sides of the figure will not be missing depending on the shape of the figure, and the area will be painted accurately.

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

第1図は本発明の図形面塗り処理における水平辺描画方
式の原理図。 第2図は本発明の水平辺の挿入論理を模式的に示した図
。 第3図は従来の図形面塗りにおける水平辺描画方式を説
明する図。 第4図は従来方式の問題点を説明する図。 でをる。 4は水平辺テーブル、 5は比較論理回路。 5aは演算処理部。 51.52は比較論理部(CI 、 C2) 。 53.54は偶奇判定部、55は削除判定部。 6はビットマツプメモリ。 100、101a、 101〜105は処理ステップ。 (1)〜0υは水平辺テーブルと出力テーブルとの間の
水平辺のパターン。 P1〜P8は多角形の頂点。 p、p、、 −・は多角形を構成する辺。 y、ycはX座標、又はX座標値。 をそれぞれ示す。 図面において、 1は水平辺以外の表、又はソートテーブル。 10は多角形を構成する頂点の表。 2はパラメータ生成テーブル(AET)。 3は出力テーブル、又は、登録テーブル。 因 →得 (α) 才羨釆の図(を列面埜リドおけシ(平段J昌画カ氏3説
明130 葛 3図(ぞの1) (C) 牛 [Z (ンの3) (イ) 杖示2方〜の開匙0払)故日月する口 牛4 図 (之の1) (α) つ) オ疋爪オ弐〇駅避ゑ、乞説明する図 年4聞 αの3)
FIG. 1 is a diagram showing the principle of the horizontal side drawing method in the figure surface painting process of the present invention. FIG. 2 is a diagram schematically showing the horizontal edge insertion logic of the present invention. FIG. 3 is a diagram illustrating a horizontal side drawing method in conventional figure surface painting. FIG. 4 is a diagram explaining the problems of the conventional method. Go out. 4 is a horizontal table, and 5 is a comparison logic circuit. 5a is an arithmetic processing unit. 51 and 52 are comparison logic units (CI, C2). Reference numerals 53 and 54 denote an even-odd determining section, and 55 denotes a deletion determining section. 6 is bitmap memory. 100, 101a, and 101 to 105 are processing steps. (1) ~ 0υ is the horizontal side pattern between the horizontal side table and the output table. P1 to P8 are the vertices of the polygon. p, p, , -・ are the sides that make up the polygon. y and yc are X coordinates or X coordinate values. are shown respectively. In the drawing, 1 is a table other than the horizontal side or a sort table. 10 is a table of vertices that make up a polygon. 2 is a parameter generation table (AET). 3 is an output table or a registration table. Cause → Toku (α) Figure of the Saien (A row of lines) ) Opening spoon 0 payment of the 2 directions of the cane) Figure (No. 1) (α) Tsu) Ohi Tsumeo 2〇 station evacuation, please explain the illustration year 4 listening α No. 3 )

Claims (1)

【特許請求の範囲】 任意の形をとる多角形を構成する頂点で図形を構成し、
その辺の内部を塗り潰すことにより面塗りを行う際に、
水平な辺以外の辺をY座標の値の順にソートした表(1
)と、該多角形を形成するY座標値毎に、該表(1)に
基づいて、該辺の内部を塗り潰すのに必要な各点を求め
る為のパラメータを生成したテーブル(AET)(2)
とにより、該塗り潰す為の‘対’のX座標を求め、該‘
対’のX座標の間の各ピクセルを出力することで図形の
面塗りを行う方式において、 上記‘対’のX座標を出力テーブル(3)として記憶す
ると共に、 上記多角形を形成している水平辺の始点のX座標と終点
のX座標とからなる水平辺テーブル(4)上記多角形を
構成しているY座標の値毎に、該Y座標と交わる水平辺
テーブル(4)を検索して読出した1つの水平辺の始点
、終点のX座標と、上記出力テーブル(3)内の‘対’
の始点、終点のX座標とを比較する論理手段(5)とを
設けて、上記論理手段(5)において、水平辺の始点、
又は終点のX座標より小さい、上記出力テーブル(3)
のX座標の数を計数して、該数が「偶数」か「奇数」か
を判定し、 上記水平辺テーブル(4)から読出した1つの水平辺に
ついて、上記出力テーブル(3)から読出される‘対’
のX座標に対して、 該判定結果が「偶数」の場合には、水平辺のX座標を上
記出力テーブル(3)のX座標として、上記出力テーブ
ル(3)の‘対’のX座標に挿入し、該判定結果が「奇
数」の場合には、上記出力テーブル(3)の‘対’のX
座標の侭とし、 上記水平辺の始点と、終点のX座標の間に存在する上記
出力テーブル(3)中のX座標を削除することを、上記
水平辺テーブル(4)中の全ての水平辺について行い、 上記出力テーブル(3)に水平辺テーブル(4)中のX
座標を挿入、又は、上記出力テーブル(3)から特定の
X座標を削除することを特徴とする図形面塗りにおける
水平辺描画方式。
[Claims] A figure is constituted by vertices constituting a polygon having an arbitrary shape,
When performing surface painting by filling in the inside of that side,
Table in which sides other than horizontal sides are sorted in order of Y coordinate value (1
), and a table (AET) that generates parameters for finding each point necessary to fill the inside of the side based on the table (1) for each Y coordinate value forming the polygon ( 2)
Find the X coordinate of the 'pair' to fill in, and calculate the '
In a method that performs surface painting of a figure by outputting each pixel between the X coordinates of the pair, the X coordinates of the pair are stored as an output table (3), and the polygon is formed. A horizontal side table (4) consisting of the X coordinate of the starting point and the X coordinate of the end point of the horizontal side.For each value of the Y coordinate making up the above polygon, search the horizontal side table (4) that intersects with the Y coordinate. The X coordinates of the start point and end point of one horizontal side read out, and the 'pair' in the output table (3) above.
and a logical means (5) for comparing the starting point and the X coordinate of the ending point, and in the logical means (5), the starting point of the horizontal side,
Or smaller than the X coordinate of the end point, the above output table (3)
Count the number of X coordinates of , determine whether the number is "even" or "odd", and calculate the number of X coordinates read from the output table (3) for one horizontal side read from the horizontal side table (4). 'vs'
For the X coordinate of If the judgment result is "odd", the 'pair' X of the output table (3) above is inserted.
Deleting the X coordinates in the output table (3) that exist between the start point and the X coordinate of the end point of the horizontal side is specified for all horizontal sides in the horizontal side table (4). , and the above output table (3) contains the X in the horizontal side table (4).
A horizontal edge drawing method for drawing a figure surface, which is characterized by inserting a coordinate or deleting a specific X coordinate from the output table (3).
JP22291088A 1988-09-06 1988-09-06 Horizontal side picture drawing system in graphic surface painting processing Pending JPH02153483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22291088A JPH02153483A (en) 1988-09-06 1988-09-06 Horizontal side picture drawing system in graphic surface painting processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22291088A JPH02153483A (en) 1988-09-06 1988-09-06 Horizontal side picture drawing system in graphic surface painting processing

Publications (1)

Publication Number Publication Date
JPH02153483A true JPH02153483A (en) 1990-06-13

Family

ID=16789783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22291088A Pending JPH02153483A (en) 1988-09-06 1988-09-06 Horizontal side picture drawing system in graphic surface painting processing

Country Status (1)

Country Link
JP (1) JPH02153483A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04250582A (en) * 1991-01-09 1992-09-07 Fuji Xerox Co Ltd Method and device for drawing polygon

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04250582A (en) * 1991-01-09 1992-09-07 Fuji Xerox Co Ltd Method and device for drawing polygon

Similar Documents

Publication Publication Date Title
EP1125253B2 (en) Shading 3-dimensional computer generated images
JP4576050B2 (en) Shading of 3D computer generated images
EP1267309B1 (en) 3D Computer Modelling Apparatus
EP0163852B1 (en) Graphic display systems
US5051737A (en) Efficient graphics process for clipping polygons
EP0210554A2 (en) A method of windowing image data in a computer system
US6750867B1 (en) Image processing apparatus
US5455897A (en) Polygon and polyline clipping for computer graphic displays
US6052128A (en) Method and apparatus for clipping convex polygons on single instruction multiple data computers
JP3066599B2 (en) Method for clipping polygons for display on a computer output display
CN101014982A (en) Drawing device
JPH02153483A (en) Horizontal side picture drawing system in graphic surface painting processing
US10956368B2 (en) Device and method for comparing geometric files
JP3089525B2 (en) CAD system
JPH0350686A (en) Graphic processing system
JP2644812B2 (en) Symbol recognition method
JP2686012B2 (en) Thick line drawing method
Herman et al. New methods for improving the GKS fill area output primitive
JP2000242802A (en) Graphic processor
EP0163872A2 (en) Method of correlating on straight lines in an interactive display system
JPH0752466B2 (en) Raster operation device and method
JPH07122906B2 (en) Graphic display
JPH06168337A (en) Paint-out processing method
JPH0370085A (en) Deciding method for relation between display element and window
JPH06150015A (en) Creation method for file polygon