JPH08147485A - Method and device for painting out closed pattern - Google Patents

Method and device for painting out closed pattern

Info

Publication number
JPH08147485A
JPH08147485A JP28527294A JP28527294A JPH08147485A JP H08147485 A JPH08147485 A JP H08147485A JP 28527294 A JP28527294 A JP 28527294A JP 28527294 A JP28527294 A JP 28527294A JP H08147485 A JPH08147485 A JP H08147485A
Authority
JP
Japan
Prior art keywords
closed
area
unit
bit value
line segment
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
JP28527294A
Other languages
Japanese (ja)
Inventor
Motoyuki Suzuki
基之 鈴木
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 JP28527294A priority Critical patent/JPH08147485A/en
Publication of JPH08147485A publication Critical patent/JPH08147485A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE: To easily paint out a closed pattern without taking the intersection point of each line segment to constitute the closed pattern, a singular point, and projecting and recessing parts, etc., into consideration. CONSTITUTION: A plotting area in which plural unit areas to be displayed in a paint-out state or a null state in accordance with a bit value are arranged in the form of a matrix is generated, and a rectangular area 19 to surround the objective closed pattern 17 to be painted out plotted in the plotting area is set, and each passing unit area through which each line S1 to S7 to constitute the closed pattern 17 passes among the unit areas in the rectangular area 19 is determined, and in the rectangular area 19, the bit value of each unit area located in a prescribed direction such as, for instance, an x-axis direction, etc., is inverted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は描かれた閉図形を塗潰す
閉図形塗潰し方法及び閉図形塗潰し装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a closed figure painting method and a closed figure painting apparatus for painting a drawn closed figure.

【0002】[0002]

【従来の技術】CAD等で作成した図形をCRTや液晶
表示器等の2次元表示装置やプリンタ等で印字出力した
場合に、図形を観察者が見易くするためにこの図形の一
部を塗潰す事が行われている。
2. Description of the Related Art When a figure created by CAD or the like is printed out by a two-dimensional display device such as a CRT or a liquid crystal display or a printer, a part of the figure is painted in order to make it easy for an observer to see. Things are being done.

【0003】塗潰し対象図形は、三角形,四角形,五角
形,六角形,……等の多角形や円、楕円等の曲形であ
る。また、直線と曲線とが組合わされた図形もある。し
かし、いずれも閉図形である。この閉図形を効率的に塗
潰す一般的手法は、閉図形内に多数の直線を隙間無く描
くことである。
The figure to be filled is a polygon such as a triangle, a quadrangle, a pentagon, a hexagon, ... Or a curved shape such as a circle or an ellipse. There are also figures in which straight lines and curved lines are combined. However, both are closed figures. A general method for efficiently filling the closed figure is to draw a large number of straight lines in the closed figure without any gaps.

【0004】図12及び図13を用いて一般的な塗潰し
手順を説明する。図12に示すような各頂点の座標が
A,B,Cである三角形1を塗潰す場合は、先ず、三角
形1を囲む最小矩形領域2を設定する。そして、最小矩
形領域2のXY座標上の位置を特定するx軸,y軸上に
おける各最小値Xmin ,Ymin 及び各最大値Xmax ,Y
max を求める。
A general painting procedure will be described with reference to FIGS. 12 and 13. When painting the triangle 1 whose coordinates of the vertices are A, B, and C as shown in FIG. 12, first, the minimum rectangular area 2 surrounding the triangle 1 is set. Then, the minimum values Xmin, Ymin and the maximum values Xmax, Y on the x-axis and the y-axis that specify the position on the XY coordinate of the minimum rectangular area 2 are specified.
Find max.

【0005】次に、図13に示すように、任意のy座標
について、x軸と平行な線分を仮定し、この線分と三角
形1を構成する各線分AB,ACとの交点QAB,QAC
求める。そして、交点QAB,QAC相互を接続する線分3
を作図する。この線分3の作図操作をy座標の最小値Y
min から最大値Ymax までy値を1づつ順番に増加して
いく事により、三角形1を多数の線分3で満たし、結果
的に三角形1を塗潰すことができる。
Next, as shown in FIG. 13, a line segment parallel to the x-axis is assumed for an arbitrary y coordinate, and the intersection Q AB between this line segment and each line segment AB, AC forming the triangle 1 is set. Find Q AC . And the line segment 3 connecting the intersection points Q AB and Q AC to each other
To draw. Perform the drawing operation of this line segment 3 with the minimum value Y of the y coordinate.
By sequentially increasing the y value by 1 from min to the maximum value Ymax, the triangle 1 can be filled with a large number of line segments 3 and, as a result, the triangle 1 can be filled.

【0006】しかし、上述した塗潰し手法においては、
図14(a)に示すように、塗潰し対象の閉図形が、閉
図形の内側へ屈曲した線分を有する場合は、内側へ屈曲
した部分が塗潰されてしまう。また、図14(b)に示
すように、閉図形の中に窓部分が存在する場合は、この
窓部分も塗潰されてしまう。
However, in the painting method described above,
As shown in FIG. 14A, when the closed figure to be filled has a line segment that is bent inward of the closed figure, the part that is bent inward is painted. Further, as shown in FIG. 14B, when a window part exists in the closed figure, this window part is also painted.

【0007】このような不都合を解消するために、図1
5に示すように、任意のy座標について、x軸と平行な
線分4を仮定し、この線分4と閉図形5を構成する各線
分との各交点Q1 ,Q2 ,Q3 ,Q4 を順番に求めて、
線分4をXmin からXmax まで描く過程において、線分
4が各交点Q1 〜Q4 に到達する毎に、白(空白)と黒
(塗潰し)とを反転していく。例えば、図15において
は、白から出発すると、Q1 〜Q2 ,Q3 〜Q4 の区間
が黒線となり、結果的に閉図形5が正しく塗潰される。
In order to eliminate such inconvenience, FIG.
As shown in FIG. 5, a line segment 4 parallel to the x-axis is assumed for an arbitrary y coordinate, and intersection points Q 1 , Q 2 , Q 3 , of this line segment 4 and each line segment forming the closed figure 5 are Find Q 4 in order,
In the process of drawing the line segment 4 from Xmin to Xmax, white (blank) and black (painted) are inverted every time the line segment 4 reaches each of the intersections Q 1 to Q 4 . For example, in FIG. 15, starting from white, the sections Q 1 to Q 2 and Q 3 to Q 4 become black lines, and as a result, the closed figure 5 is correctly filled.

【0008】[0008]

【発明が解決しようとする課題】しかし、図15に示し
た手法で閉図形5を塗り潰す手法においても、まだ解消
すべき次のような課題があった。すなわち、多角形から
なる閉図形5においては、頂点R1 ,R2 .R3 ,R4
等のように、閉図形5の線分がx軸と平行する線分4と
1点で接する特異点が存在する場合は、白黒の反転を禁
止する必要がある。よって、この塗潰し処理を例えばコ
ンピュータ等を用いてソフト的に実行する場合、プログ
ラムが複雑化する。また、塗潰し処理能率が低下する懸
念がある。
However, even in the method of filling the closed figure 5 by the method shown in FIG. 15, there are still the following problems to be solved. That is, in the closed figure 5 composed of polygons, the vertices R 1 , R 2 . R 3 , R 4
When there is a singular point where the line segment of the closed figure 5 is in contact with the line segment 4 parallel to the x-axis at one point, it is necessary to prohibit black and white reversal. Therefore, when the painting process is executed by software using, for example, a computer, the program becomes complicated. In addition, there is a concern that the coating treatment efficiency may decrease.

【0009】さらに、一つの線分4を描く毎に、該当線
分4と閉図形5を構成する各線分との交点Q1 ,Q2
3 ,Q4 を求めて各座標を算出する必要があり、上述
と同様にプログラムが複雑化し、塗潰し処理能率が低下
する懸念がある。
Further, every time one line segment 4 is drawn, the intersection points Q 1 , Q 2 , between the line segment 4 and each line segment forming the closed figure 5 are drawn.
Since it is necessary to calculate Q 3 and Q 4 to calculate each coordinate, there is a concern that the program will be complicated and the painting efficiency will be reduced as in the above case.

【0010】本発明はこのような事情に鑑みてなされた
ものであり、閉図形を構成する各線分の各位置から所定
方向に一定の法則に従って線を描くことにより、閉図形
を構成する各線文との交点や特異点を考慮することな
く、簡単なプログラムで能率的に閉図形を塗潰すことが
できる閉図形塗潰し方法及び閉図形塗潰し装置を提供す
ることを目的とする。
The present invention has been made in view of such circumstances, and each line sentence forming a closed figure is drawn by drawing a line in a predetermined direction from each position of each line segment forming the closed figure according to a certain law. An object of the present invention is to provide a closed figure filling method and a closed figure filling apparatus that can efficiently fill a closed figure with a simple program without considering the intersections and the singular points.

【0011】[0011]

【課題を解決するための手段】上記課題を解消するため
に本発明の閉図形塗潰し方法においては、ビット値に応
じて塗潰し状態又は空白状態に表示される複数の単位領
域をマトリックス状に配列した作図領域を作成し、この
作図領域内に描かれた塗潰し対象の閉図形を囲む矩形領
域を設定し、この矩形領域内の各単位領域のうち閉図形
を構成する各線が通過する各通過単位領域を決定し、矩
形領域内において、各通過単位領域から所定方向に存在
する各単位領域のビット値を反転するようにしている。
In order to solve the above problems, in the closed figure filling method of the present invention, a plurality of unit areas displayed in a filled state or a blank state according to a bit value are arranged in a matrix. Create an arrayed drawing area, set a rectangular area that encloses the closed figure to be filled drawn in this drawing area, and set each of the unit areas in this rectangular area to which each line that makes up the closed figure passes. The passing unit area is determined, and the bit value of each unit area existing in a predetermined direction from each passing unit area is inverted within the rectangular area.

【0012】また、本発明の閉図形塗潰し装置において
は、ビット値に応じて塗潰し状態又は空白状態に表示さ
れる複数の単位領域をマトリックス状に配列した作図領
域が形成された画像メモリと、塗潰し対象の閉図形を特
定する図形情報を記憶する図形情報記憶部と、この図形
情報記憶部から図形情報を読出して閉図形を画像メモリ
の作図領域上で作成する図形作成手段と、この図形作成
手段で作成された閉図形を囲む矩形領域を設定する矩形
領域設定手段と、この設定された矩形領域内の各単位領
域のうち閉図形を構成する各線が通過する各通過単位領
域を決定する通過単位領域決定手段と、矩形領域内にお
いて、各通過単位領域から所定方向に存在する各単位領
域のビット値を反転するビット値反転手段と、このビッ
ト値反転手段にてビット値が反転されたビット値を含む
画像メモリの作図領域の各単位領域をビット値に応じた
塗潰し状態又は空白状態で表示する表示手段とを備えて
いる。
Further, in the closed figure painting apparatus of the present invention, an image memory having a drawing area formed by arranging a plurality of unit areas displayed in a filled state or a blank state in a matrix according to a bit value is formed. A graphic information storage unit for storing graphic information for specifying a closed graphic to be painted; a graphic creating unit for reading the graphic information from the graphic information storage unit to create a closed graphic in a drawing area of an image memory; Rectangular area setting means for setting a rectangular area surrounding the closed figure created by the figure creating means, and each passing unit area through which each line forming the closed figure passes among the unit areas in the set rectangular area The passing unit area determining means, the bit value inverting means for inverting the bit value of each unit area existing in a predetermined direction from each passing unit area in the rectangular area, and the bit value inverting means. Tsu bets value and a display means for displaying in a fill state or blank state corresponding to each unit area of the drawing area of image memory containing a bit value is inverted to the bit value.

【0013】また、別の発明の閉図形塗潰し装置におい
ては、上述した発明の閉図形塗潰し装置におけるビット
値反転手段を、所定方向に存在する1ワードを構成する
規定個数の単位領域のビット列と塗潰し状態のビット値
を有した規定個数のビットからなるビット列との排他的
論理和値を算出する排他的論理和演算手段で構成してい
る。
According to another aspect of the present invention, there is provided a closed figure painting apparatus, wherein the bit value inverting means in the closed figure painting apparatus of the above invention is a bit string of a prescribed number of unit areas forming one word existing in a predetermined direction. And an exclusive OR calculation means for calculating an exclusive OR value of a bit string consisting of a prescribed number of bits having a bit value in the filled state.

【0014】[0014]

【作用】このように構成された閉図形塗潰し方法及び塗
潰し装置における閉図形の塗潰し原理を説明する。作図
領域内に描かれた塗潰し対象の閉図形を、この閉図形を
囲む矩形領域の予め定められた所定方向の一辺(特定
辺)に投影すると、この投影された特定辺には、閉図形
における特定辺に近い方の線分と、この閉図形における
特定辺に遠い方の線分とが重複して投影される。
The principle of filling a closed figure in the closed figure painting method and the painting apparatus thus constructed will be described. When a closed figure to be painted drawn in the drawing area is projected on one side (specific side) of a rectangular area surrounding the closed figure in a predetermined direction, the closed figure is drawn on the projected specific side. A line segment closer to the specific side in the line and a line segment farther to the specific side in the closed figure are projected in an overlapping manner.

【0015】そして、この発明においては、この矩形領
域をビット値に応じて塗潰し状態又は空白状態に表示さ
れるマトリックス状に配列された複数の単位領域で構成
した場合に、閉図形を構成する各線分が通過する各通過
単位領域から前述した所定方向に存在する各単位領域の
ビット値を反転する。なお、この塗潰し処理が開始する
前において各単位領域は例えば空白状態に初期設定され
ている。
In the present invention, when the rectangular area is composed of a plurality of unit areas arranged in a matrix which are displayed in a filled state or a blank state according to the bit value, a closed figure is formed. The bit value of each unit area existing in the above-mentioned predetermined direction is inverted from each passage unit area through which each line segment passes. It should be noted that each unit area is initially set to, for example, a blank state before the painting process is started.

【0016】よって、例えば、最初に、特定辺に遠い方
の線分が通過する各通過単位領域の所定方向に存在する
各単位領域のビット値を反転すると、この遠い方の線分
と前記特定辺までに存在する全部の単位領域がビット反
転されて塗潰し状態になる。
Therefore, for example, first, when the bit value of each unit area existing in a predetermined direction of each passing unit area through which the line segment farther to the specific side passes is inverted, this far line segment and the above-mentioned specific All the unit areas existing up to the side are bit-inverted to be in a filled state.

【0017】次に、特定辺に近い方の線分が通過する各
通過単位領域の所定方向に存在する各単位領域のビット
値を反転すると、この近い方の線分と前記特定辺までに
存在する全部の単位領域は既に塗潰し状態であるので、
再度反転されて空白状態に戻る。
Next, when the bit value of each unit area existing in the predetermined direction of each passing unit area through which the line segment closer to the specific side passes is inverted, the bit line exists near this line segment and the specific side. Since all the unit areas to be filled are already filled,
It is inverted again and returns to the blank state.

【0018】しかし、特定辺に遠い方の線分と特定辺に
近い方の線分との間に存在する各単位領域は、再度空白
状態に反転されることはないので、塗潰し状態を維持す
る。よって、特定辺に遠い方の線分と特定辺に近い方の
線分との間の各単位領域で構成される閉図形は塗潰され
る。
However, since each unit area existing between the line segment farther from the specific side and the line segment closer to the specific side is not inverted to the blank state again, the filled state is maintained. To do. Therefore, the closed figure constituted by each unit area between the line segment farther from the specific side and the line segment closer to the specific side is filled.

【0019】次に、図14(b)に示すように、閉図形
内に窓が存在した場合を考える。この場合においても、
窓を構成する特定辺に遠い方の線分と特定辺に近い方の
線分とが存在する。したがって、矩形領域内この窓のみ
が存在する場合は、前述した動作原理でもってこの窓内
は初期状態の空白状態から反転されて塗潰状態湯にな
る。しかし、この窓は閉図形内に形成されているので、
既に塗潰し状態であれば、この塗潰し状態が初期状態と
見なせるので、この塗潰し状態の初期状態が反転されて
空白状態となる。したがつて、窓部分は空白状態に残
る。
Next, consider the case where a window exists in a closed figure, as shown in FIG. 14 (b). Even in this case,
There are a line segment farther from the specific side and a line segment closer to the specific side forming the window. Therefore, when only this window exists in the rectangular area, the inside of this window is inverted from the blank state of the initial state to the filled state hot water according to the above-mentioned operation principle. However, since this window is formed in a closed figure,
If it is already in the filled state, this filled state can be regarded as the initial state, so that the initial state of this filled state is inverted and becomes a blank state. Therefore, the window remains blank.

【0020】また、図15に示すような特異点において
は、この特異点に対応する単位領域から重複してこの特
異点から特定辺までの各単位領域のビット値が反転され
るので、結果的に白黒反転が禁止される。
Further, at a singular point as shown in FIG. 15, the bit value of each unit area from this singular point to a particular side is inverted and overlapped from the unit area corresponding to this singular point, resulting in Black and white reversal is prohibited.

【0021】また、別の発明においては、特定方向に存
在する各単位領域のビットを反転する場合に、一つ一つ
のビットを順番に反転していくのではなくて、1ワード
を構成する規定個数の単位領域のビット列と塗潰し状態
のビット値を有した規定個数のビットからなるビット列
との排他的論理和値を算出している。よって、反転処理
速度が向上する。
According to another aspect of the present invention, when inverting bits of each unit area existing in a specific direction, each word is not sequentially inverted, but one word is defined. The exclusive OR value of the bit string of the number of unit areas and the bit string of the specified number of bits having the bit value in the filled state is calculated. Therefore, the reversal processing speed is improved.

【0022】[0022]

【実施例】以下本発明の一実施例を図面を用いて説明す
る。図1は実施例の閉図形塗潰し方法を採用した閉図形
塗潰し装置の概略構成を示すブロック図である。この閉
図形塗潰し装置はコンピュータ等の一種の情報処理装置
で構成されており、HDD等の補助記憶装置内に形成さ
れた図形情報ファイル11と、RAM等の記憶素子上に
形成された作業用メモリ12及び画像メモリ15と、ア
プリケーションプログラム上にソフト的に構成された画
像処理部13と、キーボードやマウス等の操作部14
と、CRT表示部16とで構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a closed figure painting apparatus that adopts the closed figure painting method of the embodiment. This closed graphic painting device is composed of a kind of information processing device such as a computer, and has a graphic information file 11 formed in an auxiliary storage device such as an HDD and a work information formed on a storage element such as a RAM. A memory 12 and an image memory 15, an image processing unit 13 configured as a software on an application program, and an operation unit 14 such as a keyboard and a mouse.
And a CRT display unit 16.

【0023】図形情報記憶部としての図形情報ファイル
11内に閉図形を作成するための複数の図形情報が記憶
されている。例えば閉図形が例えば図3に示す変形四角
形17aの中に三角形の窓17bが形成された変形多角
形からなる閉図形17の場合は、この閉図形17を構成
する合計7個の線分S1 ,S2 ,S3 ,S4 ,S5 ,S
6 ,S7 が記憶されている。さらに、具体的には、各線
分S1 〜S7 はそれぞれの両端の座標(xS ,ys ),
(xE ,yE )の形式で記憶されてる。
A plurality of graphic information for creating a closed graphic is stored in a graphic information file 11 as a graphic information storage unit. For example, in the case where the closed figure is a closed figure 17 composed of a deformed polygon in which a triangular window 17b is formed in a deformed quadrangle 17a shown in FIG. 3, a total of seven line segments S1 constituting the closed figure 17, S2, S3, S4, S5, S
6 and S7 are stored. Further, specifically, each line segment S1 ~S7 the both ends of the coordinates (x S, y s),
(X E, y E) are stored in the form of.

【0024】なお、閉図形が円や楕円の場合は、中心座
標と半径や楕円係数等の形で記憶されている。さらに、
形状が関数で表現できない場合は、ドットイメージで記
憶されている。
When the closed figure is a circle or an ellipse, it is stored in the form of center coordinates, radius, elliptic coefficient and the like. further,
If the shape cannot be expressed by a function, it is stored as a dot image.

【0025】画像メモリ15内には、[1]又は[0]
のビット値に応じて塗潰し状態又は空白状態に表示され
る複数の単位領域がマトリックス状に配列された作図領
域が形成されている。この作図領域を形成する各単位領
域の大きさは例えば塗潰し対象の閉図形を構成する各線
分の太さ程度の微小な値である。そして、このマトリッ
クス状に配列された作図領域がCRT表示部16に表示
出力される。図9(a)(b)に、画像メモリ15内の
作図領域内のマトリックス状に配列された単位領域18
を示す。
[1] or [0] is stored in the image memory 15.
A drawing area is formed in which a plurality of unit areas displayed in a filled state or a blank state according to the bit value of are arranged in a matrix. The size of each unit area forming this drawing area is a minute value such as the thickness of each line segment forming the closed figure to be filled. Then, the drawing areas arranged in a matrix are displayed and output on the CRT display unit 16. 9A and 9B, unit areas 18 arranged in a matrix in the drawing area in the image memory 15 are shown.
Indicates.

【0026】操作部14は、図形作成者が各種の情報を
入力したり操作指令を入力するための入力機能を有す
る。また、作業用メモリ12は画像処理部13が図形情
報ファイル11から、図形情報を読出した場合に、この
図形情報を一時記憶したり、この図形情報から線分や図
形を作成する場合のワーク領域として使用される。
The operation unit 14 has an input function for the figure creator to input various information and operation instructions. The work memory 12 is a work area for temporarily storing the graphic information when the image processing unit 13 reads the graphic information from the graphic information file 11 or for creating a line segment or a graphic from the graphic information. Used as.

【0027】画像処理部13は、操作部14から指定さ
れた一つの閉図形を構成する各図形情報を読出して、閉
図形を作図するとともに、作図された閉図形を塗潰す閉
図形塗潰し処理を実行する。
The image processing section 13 reads out each piece of figure information which constitutes one closed figure designated by the operation section 14, draws a closed figure, and fills the drawn closed figure with a closed figure painting process. To execute.

【0028】次に、この画像処理部13の具体的動作を
説明する。先ず、操作部14から一つの閉図形を特定す
る図形番号や図形名が入力されると、これに対応する閉
図形を構成する図形情報を図形情報ファイル11から読
出して一旦作業用メモリ12へ書き込む。例えば閉図形
が図3に示す凹凸を有した変形した閉図形17の場合
は、この閉図形17はS1 〜S7 の7つの線分における
各開始座標(xS ,ys )と各終了座標(xE ,yE
で示される。そして、図3に示すように、この7つの線
分S1 〜S7 を作業用メモリ12上で作図する。そし
て、閉図形17の制作する。
Next, the specific operation of the image processing unit 13 will be described. First, when a figure number or a figure name for identifying one closed figure is input from the operation unit 14, the figure information forming the corresponding closed figure is read from the figure information file 11 and once written in the work memory 12. . For example, when the closed figure is the deformed closed figure 17 having irregularities shown in FIG. 3, the closed figure 17 has start coordinates (x S , y s ) and end coordinates (in each of the seven line segments S1 to S7). x E , y E )
Indicated by. Then, as shown in FIG. 3, the seven line segments S1 to S7 are drawn on the working memory 12. Then, the closed figure 17 is produced.

【0029】そして、この作図された閉図形17を含む
矩形領域を決定する。実際には、処理能率を考慮して、
閉図形17を含むXY座標系のx,y軸に平行する最少
矩形領域19を決定する。したがって、この最小矩形領
域19はx軸方向にXmin 〜Xmax の範囲、y軸方向に
Ymin 〜Ymax は範囲に存在する。
Then, the rectangular area including the drawn closed figure 17 is determined. In fact, considering the processing efficiency,
The minimum rectangular area 19 parallel to the x and y axes of the XY coordinate system including the closed figure 17 is determined. Therefore, the minimum rectangular area 19 exists in the range of Xmin to Xmax in the x-axis direction and in the range of Ymin to Ymax in the y-axis direction.

【0030】以上の準備処理が終了すると、図2の流れ
図に示すように、ST(ステップ)1において、この決
定された最小矩形領域19(Xmin ,Xmax ,Ymin ,
Ymax )を画像メモリ15の作図領域に設定する。
When the above-mentioned preparation process is completed, as shown in the flowchart of FIG. 2, in ST (step) 1, the determined minimum rectangular area 19 (Xmin, Xmax, Ymin,
Ymax) is set in the drawing area of the image memory 15.

【0031】ST2において、作業用メモリ12上で作
図した閉図形17を構成する一つの線分の開始座標(x
S ,ys )から各終了座標(xE ,yE )までにこの線
分が通過する作図領域内の各通過単位領域P1 .P2
3 .….PN..…PE を決定する。例えば、線分S1
の場合は、図9(a)に示すように、最小矩形領域19
の左下隅の単位領域18が先頭の通過単位領域P1 とな
る。
At ST2, the start coordinates (x) of one line segment forming the closed figure 17 drawn on the working memory 12 are drawn.
S , y s ) to each end coordinate (x E , y E ) of each passage unit area P 1 .1 in the drawing area through which this line segment passes. P 2 ,
P 3. …. P N. ... Determine P E. For example, line segment S1
In the case of, as shown in FIG.
The unit area 18 at the lower left corner of the is the leading passage unit area P 1 .

【0032】ST3において、N番目の通過単位領域P
N の前記単位領域を1単位とした座標(Xi ,Yj )を
読取る。そして、この座標(Xi ,Yj )から特定方向
としてのx軸に平行する方向に存在する8個の単位領域
18[(Xi ,Yj )〜(Xi+7 ,Yj )]を構成する
8ビットデータDM を読取る(ST4)。
At ST3, the Nth pass unit area P
The coordinates (Xi, Yj) with the unit area of N as one unit are read. Then, 8-bit data forming eight unit areas 18 [(Xi, Yj) to (Xi + 7, Yj)] existing in a direction parallel to the x-axis as a specific direction from the coordinates (Xi, Yj) Read D M (ST4).

【0033】そして、この最小矩形領域19から読取っ
た8ビットデータDM [d1 ,d2,….d8 ]と塗潰
しの黒線を示す全部が[1]を示す8ビットの線データ
1[11111111]との排他的論理和データDE [e1 .
e2 ,…,e8 ]を算出する(ST5)。この算出され
た8ビットの排他的論理和データDE [e1 ,e2 ,
….e8 ]の各データ値を前記8個の単位領域18
[(Xi ,Yj )〜(Xi+7,Yj )]のそれぞれの単
位領域18へ書込む(ST7)。
Then, the 8-bit data D M [d1, d2, ... d8] and XOR data D E with all of Line Data D 1 of the 8 bits indicating 1] [11111111] indicating the black line of the fill [e1.
e2, ..., E8] is calculated (ST5). The calculated 8-bit exclusive OR data D E [e1, e2,
…. e8] for each data value of the eight unit areas 18
Writing to each unit area 18 of [(Xi, Yj) to (Xi + 7, Yj)] (ST7).

【0034】図10に読取データDM と線データD1
書込データ(排他的論理和データ)DE との関係を示
す。図示するように、書込データDE は読取データDM
に対して各ビット値がそれぞれ反転されることを示す。
FIG. 10 shows the relationship among the read data D M , the line data D 1 and the write data (exclusive OR data) D E. As shown, the write data D E is the read data D M
Indicates that each bit value is inverted.

【0035】x軸方向に存在する8個分の単位領域18
[(Xi ,Yj )〜(Xi+7 ,Yj)に対するビット値
の反転処理が終了すると、ST7において、座標を次の
8個分の単位領域18に更新する[(Xi ,Yj )=
(Xi+8 ,Yj )]。
Eight unit areas 18 existing in the x-axis direction
When the bit value inversion processing for [(Xi, Yj) to (Xi + 7, Yj) is completed, in ST7, the coordinates are updated to the next eight unit regions [[Xi, Yj] =
(Xi + 8, Yj)].

【0036】更新後のx座標Xi が最小矩形領域19の
最大値Xmax を越えていないことを確認の後(ST
8)、ST4へ戻り、次の8個分の単位領域18の反転
処理を開始する。
After confirming that the updated x coordinate Xi does not exceed the maximum value Xmax of the minimum rectangular area 19, (ST
8) Then, the process returns to ST4 to start the inversion process of the next eight unit areas 18.

【0037】また、ST8にて、更新後のx座標Xi が
最小矩形領域19の最大値Xmax を越えた場合は、ST
9へ進み、該当線分における次の通過単位領域PN へ移
動させる(N=N+1)。そして、ST10において更
新後の通過単位領域PN が最終の通過単位領域PE を越
えていないことを確認すると、ST3へ進み、更新後の
通過単位領域PN の座標(Xi ,Yj )を読出する。
If the updated x coordinate Xi exceeds the maximum value Xmax of the minimum rectangular area 19 in ST8, ST
The process proceeds to 9 and moves to the next passing unit area P N in the corresponding line segment (N = N + 1). When it is confirmed in ST10 that the updated passing unit area P N does not exceed the final passing unit area P E , the process proceeds to ST3, and the coordinates (Xi, Yj) of the updated passing unit area P N are read. To do.

【0038】また、ST10において更新後の通過単位
領域PN が該当線分の最終の通過単位領域PE を越えた
場合は、該当線分のx軸に平行する側に存在する全部の
単位領域18に対するビット反転処理が終了したと判断
する。そして、ST11へ進み、操作部14にて指定さ
れた閉図形17を構成する各線分のうち該当線分のXma
x 方向側に存在する各単位領域18に対する反転処理が
終了していない線分が存在するか否かを調べる。
When the updated passing unit area P N exceeds the final passing unit area P E of the corresponding line segment in ST10, all unit areas existing on the side parallel to the x axis of the corresponding line segment. It is determined that the bit inversion process for 18 has been completed. Then, the process proceeds to ST11, where Xma of the corresponding line segment among the line segments forming the closed figure 17 designated by the operation unit 14
It is checked whether there is a line segment for which the inversion processing has not been completed for each unit area 18 existing on the x direction side.

【0039】存在すれば、ST2へ戻り、該当線分が通
過する最小矩形領域19内の各通過単位領域P1 ,P
2 ,P3 ,…,PN ,…,PE を決定する。ST11に
おいて、指定された閉図形17を構成する全ての線分に
対応する各単位領域18に対する反転処理が終了する
と、指定された閉図形17に対する塗潰し処理を終了す
る。
If they exist, the process returns to ST2, and the passage unit areas P 1 and P in the minimum rectangular area 19 through which the corresponding line segment passes.
2 , P 3 , ..., P N , ..., P E are determined. In ST11, when the reversing process for each unit area 18 corresponding to all the line segments forming the specified closed figure 17 is completed, the filling process for the specified closed figure 17 is completed.

【0040】そして、上述した塗潰し処理が終了した閉
図形17をCRT表示部16へ表示出力する。次に、こ
のように構成された閉図形塗潰し装置を用いて行われる
図3に示す閉図形17を塗潰す実際の処理手順を図4〜
図8を用いて説明する。
Then, the closed figure 17 for which the above-mentioned painting processing has been completed is displayed and output to the CRT display section 16. Next, an actual processing procedure for filling the closed figure 17 shown in FIG. 3 performed by using the closed figure painting apparatus configured as described above will be described with reference to FIGS.
This will be described with reference to FIG.

【0041】(1) 先ず、図3に示すように、最小矩形
領域19を設定する。 (2) この閉図形17を構成する7つの線分S1 〜S7
のうち一番目の線分S1における各通過単位領域P1
2 ,P3 ,…,PN ,…,PE を決定して、先頭の通
過単位領域P1 の座標(Xmin ,Ymin)を求めて、図4
に示すように、この通過単位領域P1 から右側(Xmax
側)に存在する各単位領域18のビット値を反転して、
1本の黒線20を描く。
(1) First, as shown in FIG. 3, the minimum rectangular area 19 is set. (2) Seven line segments S1 to S7 constituting this closed figure 17
Of each of the passage unit areas P 1 in the first line segment S 1 ,
P 2, P 3, ..., P N, ..., to determine the P E, seeking head of passage unit region P 1 of the coordinates (Xmin, Ymin), 4
As shown in the right side from the passage unit region P 1 (Xmax
Side), the bit value of each unit area 18 existing in
Draw one black line 20.

【0042】(3) 次に、通過単位領域PN を順番に増
加して、図5(a)に示すように、各通過単位領域PN
の右側に、順次黒線20を描いていく。そして、最終的
に図5(b)に示すように、線分S1の右側の全ての領
域のビット値が反転されて塗潰し状態となる。
(3) Next, the passing unit areas P N are increased in order, and as shown in FIG. 5A, each passing unit area P N
On the right side of, draw a black line 20 in sequence. Then, finally, as shown in FIG. 5B, the bit values of all the areas on the right side of the line segment S1 are inverted to be in a filled state.

【0043】(4) 次に、図6(a)に示すように、2
番目の線分S2 の右側に存在する各単位領域18のビッ
ト値を順番に反転していく。この場合、既に線分S1 の
存在によって、右側全ての単位領域18が黒の塗潰し状
態であるので、この黒の塗潰し状態が反転されて元の白
の空白状態に戻る。よって、線分S2 に対する処理が終
了した時点においては、図6(b)に示すように、線分
S2 の右側の全領域が白の空白状態になる。しかし、線
分S1 と線分S2 との間の領域は黒の塗潰し状態を維持
する。
(4) Next, as shown in FIG.
The bit values of each unit area 18 existing on the right side of the second line segment S2 are sequentially inverted. In this case, since all of the unit areas 18 on the right side are already filled with black due to the existence of the line segment S1, this black filled state is reversed and the original white blank state is restored. Therefore, when the processing for the line segment S2 is completed, the entire area on the right side of the line segment S2 becomes a white blank state as shown in FIG. 6B. However, the area between the line segment S1 and the line segment S2 maintains the black filled state.

【0044】(5) 次に、図7(a)に示すように、3
番目の線分S3 の右側に存在する各単位領域18のビッ
ト値を反転する。この場合、この線分S3 と線分S2 と
間のの三角形の領域21は既に線分S1 の存在によっ
て、黒の塗潰し状態であるので、元の白の空白状態に戻
る。さらに、この線分S3 の右側で、かつ線分S2 の右
側の三角形の領域22は図6(b)の状態で元の空白状
態に戻っているので、図7(a)に示すようように、再
度黒の塗潰し状態に反転される。
(5) Next, as shown in FIG.
The bit value of each unit area 18 existing on the right side of the th line segment S3 is inverted. In this case, the triangular area 21 between the line segment S3 and the line segment S2 has already been filled with black due to the presence of the line segment S1, and therefore the original white blank state is restored. Further, since the triangular region 22 on the right side of the line segment S3 and on the right side of the line segment S2 has returned to the original blank state in the state of FIG. 6 (b), as shown in FIG. 7 (a). , It is inverted again to the black filled state.

【0045】(5) 図7(b)に示すように、4番目の
線分S4 の右側に存在する各単位領域18のビット値を
反転する。この場合、この線分S4 と先の線分S3 との
間の三角形の領域23は図5(b)の状態で既に黒に塗
潰されているので、白の空白状態に戻る。さらに、図7
(a)の三角形の各領域21,22の状態が反転され
て、黒の塗潰し状態及び白の白の空白状態へ反転する。
(5) As shown in FIG. 7B, the bit value of each unit area 18 existing on the right side of the fourth line segment S4 is inverted. In this case, since the triangular area 23 between this line segment S4 and the previous line segment S3 has already been painted black in the state of FIG. 5B, it returns to the white blank state. Furthermore, FIG.
The state of each of the triangular regions 21 and 22 in (a) is inverted to invert to a black filled state and a white white blank state.

【0046】(6) 図8(a)に示すように、5番目の
線分S5 の右側に存在する各単位領域18のビット値を
反転する。この場合、この線分S5 と先の線分S2 との
間の台形の領域24は図5(b)の状態で既に黒に塗潰
されているので、白の空白状態に戻る。さらに、線分S
2 の右側の台形の領域25は図6(b)の状態において
既に白の空白状態へ戻っているので、この台形の領域2
5は再度黒の塗潰し状態に移行する。
(6) As shown in FIG. 8A, the bit value of each unit area 18 existing on the right side of the fifth line segment S5 is inverted. In this case, the trapezoidal region 24 between this line segment S5 and the previous line segment S2 has already been painted black in the state of FIG. 5B, so it returns to the white blank state. Furthermore, the line segment S
Since the trapezoidal area 25 on the right side of 2 has already returned to the white blank state in the state of FIG. 6B, this trapezoidal area 2
In No. 5, the state shifts to the black filled state again.

【0047】(7) さらに、図8(b)に示すように、
6番目の線分S6 の右側に存在する各単位領域18のビ
ット値を反転する。この場合、この線分S6 と先の線分
S2との間の台形の領域24は図8(a)の状態で元の
白の空白状態へ戻っているので、再度黒の塗潰し状態に
反転される。また、図8(a)における線分S2 の右側
の台形の領域25の黒の塗潰し状態は再度元の白の空白
状態へ戻る。なお、線分S5 と線分S6 との間の窓17
bを構成する領域は白の空白状態を維持する。
(7) Further, as shown in FIG.
The bit value of each unit area 18 existing on the right side of the sixth line segment S6 is inverted. In this case, the trapezoidal region 24 between this line segment S6 and the previous line segment S2 has returned to the original white blank state in the state of FIG. 8A, so it is inverted again to the black filled state. To be done. Further, the black filled state of the trapezoidal area 25 on the right side of the line segment S2 in FIG. 8A returns to the original white blank state again. The window 17 between the line segment S5 and the line segment S6
The area forming b maintains a white blank state.

【0048】なお、7番目の線分S7 は最小矩形領域1
9のx軸と平行状態であるので、今回の塗潰し処理には
直接影響を及さない。よって、図8(b)に示すよう
に、指定された閉図形17が窓17bを残して正しく塗
潰された。
The seventh line segment S7 is the minimum rectangular area 1
Since it is parallel to the x-axis of No. 9, it does not directly affect the painting process this time. Therefore, as shown in FIG. 8B, the specified closed figure 17 is correctly painted, leaving the window 17b.

【0049】このように構成された閉図形塗潰し装置に
おいては、閉図形17を塗潰す場合は、この閉図形17
を構成する各線分S1 〜S7 の特定方向(右側)に存在
する各単位領域18の空白状態又は塗潰し状態を順番に
反転していくのみでよい。
In the closed-figure painting device configured as described above, when the closed-figure 17 is filled, the closed-figure 17 is filled.
It is only necessary to sequentially invert the blank state or the filled state of each unit area 18 existing in the specific direction (right side) of each of the line segments S1 to S7 constituting the.

【0050】したがって、一つの線分に対する反転処理
過程において、他の線分との交点や特異点等の存在を全
く考慮する必要がないので、塗潰し処理に関するプログ
ラムを大幅に簡素化できる。
Therefore, in the reversal process for one line segment, it is not necessary to consider the existence of intersections with other line segments, singular points, etc., so that the program relating to the painting process can be greatly simplified.

【0051】その結果、たとえ塗潰し対象の閉図形が凹
凸を有した複雑な形状を有したり、また内部に窓が形成
された図形であったとしても、塗潰し処理速度が低下す
ることはない。
As a result, even if the closed figure to be filled has a complicated shape with irregularities or is a figure with a window formed inside, the filling processing speed will not decrease. Absent.

【0052】また、図2の流れ図に示すように、線分の
各通過単位領域P1 〜PE の右側に存在する各単位領域
18のビットを反転する場合に、一つ一つのビットを順
番に反転していくのではなくて、1ワードを構成する規
定個数の単位領域のビット列と塗潰し状態のビット値を
有した規定個数のビットからなるビット列との排他的論
理和値を算出している。よって、反転処理速度が向上す
る。
Further, as shown in the flow chart of FIG. 2, when inverting the bits of each unit area 18 existing on the right side of each passing unit area P 1 to P E of the line segment, each bit is turned in order. Rather than inverting it to calculate the exclusive OR value of the bit string of the specified number of unit areas forming one word and the bit string of the specified number of bits having the bit value in the filled state. There is. Therefore, the reversal processing speed is improved.

【0053】例えば、図9(b)に示すよように、最小
矩形領域19から読取った8ビットデータDM [d1 ,
d2 ,….d8 ]が他の線分S2 を跨ぐ場合であって、
この線分S2 の存在を全く考慮する必要がない。
For example, as shown in FIG. 9B, 8-bit data D M [d1,
d2, ... d8] straddles another line segment S2,
There is no need to consider the existence of this line segment S2 at all.

【0054】なお、このように構成された閉図形塗潰し
装置においては、塗潰し対象の閉図形が直線で構成され
た多角形以外にも、図11に示すように曲線から構成さ
れた閉図形26であってもよいことは言うまでもない。
この場合、外側を構成する第1の閉曲線26aと内側の
窓を構成する第2の閉曲線26bに対して、予め定めた
開始点からこの閉曲線26a,26b上を一周するよう
に、この閉曲線26a,26bの右側に位置する各単位
領域18の空白状態及び塗潰し状態を反転していけば、
この閉図形26が正しく塗潰される。
In the closed-figure painting device configured as described above, in addition to the polygon in which the closed figure to be filled is composed of straight lines, the closed figure composed of curved lines as shown in FIG. It goes without saying that it may be 26.
In this case, with respect to the first closed curve 26a forming the outer side and the second closed curve 26b forming the inner window, the closed curve 26a, 26b, so as to go around the closed curves 26a, 26b from a predetermined start point. If the blank state and the filled state of each unit area 18 located on the right side of 26b are reversed,
The closed figure 26 is correctly painted.

【0055】[0055]

【発明の効果】以上説明したように、本発明の閉図形塗
潰し方法及び閉図形塗潰し装置においては、閉図形を構
成する各線分の各位置から所定方向に存在する各単位領
域における空白状態又は塗潰し状態を順番に反転してい
くことにより閉図形を塗潰すようにしている。したがっ
て、閉図形を構成する各線文との交点や特異点をするこ
となく、簡単なプログラムでもって能率的に閉図形を塗
潰すことができる。
As described above, in the closed figure filling method and the closed figure filling apparatus of the present invention, the blank state in each unit area existing in a predetermined direction from each position of each line segment forming the closed figure Alternatively, the closed figure is filled by sequentially reversing the filled state. Therefore, the closed figure can be efficiently filled with a simple program without making an intersection or a singular point with each line sentence forming the closed figure.

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

【図1】 本発明の一実施例に係わる閉図形塗潰し方法
を採用した閉図形塗潰し装置の概略構成を示すブロック
FIG. 1 is a block diagram showing a schematic configuration of a closed graphic pattern painting apparatus adopting a closed graphic pattern painting method according to an embodiment of the present invention.

【図2】 同実施例装置の動作を示す流れ図FIG. 2 is a flowchart showing the operation of the apparatus of the embodiment.

【図3】 同実施例装置で塗潰す閉図形及び最小矩形領
域を示す図
FIG. 3 is a diagram showing a closed figure and a minimum rectangular area to be filled with the apparatus of the embodiment.

【図4】 図3に示す閉図形を塗潰す手順を示す図FIG. 4 is a diagram showing a procedure for filling the closed figure shown in FIG.

【図5】 同じく塗潰し処理手順を示す図FIG. 5 is a diagram showing a painting processing procedure.

【図6】 同じく塗潰し処理手順を示す図FIG. 6 is a diagram showing a procedure for painting processing in the same manner.

【図7】 同じく塗潰し処理手順を示す図FIG. 7 is a diagram showing the procedure of the same painting process.

【図8】 同じく塗潰し処理手順を示す図FIG. 8 is a diagram showing a procedure of the same painting process.

【図9】 塗潰し対象図形が描かれる最小矩形領域の各
単位領域を示す図
FIG. 9 is a diagram showing each unit area of a minimum rectangular area in which a drawing target graphic is drawn.

【図10】 同実施例装置で実施される排他的論理和演
算を示す図
FIG. 10 is a diagram showing an exclusive OR operation performed by the apparatus of the embodiment.

【図11】 同実施例装置で塗潰される曲線状の閉図形
を示す図
FIG. 11 is a view showing a curved closed figure painted by the apparatus of the embodiment.

【図12】 従来の閉図形の塗潰し手法を説明するため
の図
FIG. 12 is a diagram for explaining a conventional closed figure painting method.

【図13】 同じく従来の閉図形の塗潰し手法を説明す
るための図
FIG. 13 is a diagram for explaining a conventional closed figure filling method.

【図14】 従来の閉図形の塗潰し手法の問題点を説明
するための図
FIG. 14 is a diagram for explaining a problem of the conventional closed figure filling method.

【図15】 同じく従来の閉図形の塗潰し手法の問題点
を説明するための図
FIG. 15 is a diagram for explaining the problems of the conventional closed figure filling method.

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

11…図形情報ファイル、12…作業用メモリ、13…
画像処理部、14…操作部、15…画像メモリ、16…
CRT表字部、17…閉図形、17b…窓、18…単位
領域、19…最小矩形領域、S1 〜S7 …線分、P1
E …通過単位領域
11 ... Graphic information file, 12 ... Working memory, 13 ...
Image processing unit, 14 ... Operation unit, 15 ... Image memory, 16 ...
CRT table-shaped portion, 17 ... closed figure, 17b ... window, 18 ... unit area, 19 ... minimum rectangular area, S1 ~S7 ... segment, P 1 ~
P E ... transit unit area

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ビット値に応じて塗潰し状態又は空白状
態に表示される複数の単位領域をマトリックス状に配列
した作図領域を作成し、 この作図領域内に描かれた塗潰し対象の閉図形を囲む矩
形領域を設定し、 この矩形領域内の各単位領域のうち前記閉図形を構成す
る各線が通過する各通過単位領域を決定し、 前記矩形領域内において、前記各通過単位領域から所定
方向に存在する各単位領域のビット値を反転することを
特徴とする閉図形塗潰し方法。
1. A drawing area in which a plurality of unit areas displayed in a filled state or a blank state according to a bit value is arranged in a matrix is created, and a closed figure to be filled drawn in the drawing area is created. A rectangular area that surrounds each of the unit areas in the rectangular area is determined, and each of the unit areas in the rectangular area through which each line of the closed figure passes is determined. A method for filling a closed figure, which comprises inverting the bit value of each unit area existing in.
【請求項2】 ビット値に応じて塗潰し状態又は空白状
態に表示される複数の単位領域をマトリックス状に配列
した作図領域が形成された画像メモリと、 塗潰し対象の閉図形を特定する図形情報を記憶する図形
情報記憶部と、 この図形情報記憶部から前記図形情報を読出して閉図形
を前記画像メモリの作図領域上で作成する図形作成手段
と、 この図形作成手段で作成された閉図形を囲む矩形領域を
設定する矩形領域設定手段と、 この設定された矩形領域内の各単位領域のうち前記閉図
形を構成する各線が通過する各通過単位領域を決定する
通過単位領域決定手段と、 前記矩形領域内において、前記各通過単位領域から所定
方向に存在する各単位領域のビット値を反転するビット
値反転手段と、 このビット値反転手段にてビット値が反転されたビット
値を含む前記画像メモリの作図領域の各単位領域をビッ
ト値に応じた塗潰し状態又は空白状態で表示する表示手
段とを備えた閉図形塗潰し装置。
2. An image memory having a drawing area formed by arranging a plurality of unit areas displayed in a filled state or a blank state according to a bit value in a matrix, and a figure for specifying a closed figure to be filled. A graphic information storage unit for storing information, a graphic creating unit for reading the graphic information from the graphic information storage unit to create a closed graphic in the drawing area of the image memory, and a closed graphic created by the graphic creating unit. A rectangular area setting means for setting a rectangular area surrounding the rectangular area, and a passing unit area determining means for determining each passing unit area through which each line forming the closed figure passes among the respective unit areas in the set rectangular area, In the rectangular area, bit value inverting means for inverting the bit value of each unit area existing in a predetermined direction from each of the passing unit areas, and bit value inverting by the bit value inverting means. And a display unit for displaying each unit area of the drawing area of the image memory including the bit value in a filled state or a blank state according to the bit value.
【請求項3】 前記ビット値反転手段は、前記所定方向
に存在する1ワードを構成する規定個数の単位領域のビ
ット列と塗潰し状態のビット値を有した規定個数のビッ
トからなるビット列との排他的論理和値を算出する排他
的論理和演算手段であることを特徴する請求項2記載の
閉図形塗潰し装置。
3. The bit value inverting means excludes a bit string of a specified number of unit areas forming one word existing in the predetermined direction and a bit string of a specified number of bits having a bit value in a filled state. 3. The closed figure filling device according to claim 2, which is an exclusive OR operation means for calculating a logical OR value.
JP28527294A 1994-11-18 1994-11-18 Method and device for painting out closed pattern Pending JPH08147485A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28527294A JPH08147485A (en) 1994-11-18 1994-11-18 Method and device for painting out closed pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28527294A JPH08147485A (en) 1994-11-18 1994-11-18 Method and device for painting out closed pattern

Publications (1)

Publication Number Publication Date
JPH08147485A true JPH08147485A (en) 1996-06-07

Family

ID=17689363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28527294A Pending JPH08147485A (en) 1994-11-18 1994-11-18 Method and device for painting out closed pattern

Country Status (1)

Country Link
JP (1) JPH08147485A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013166366A (en) * 2012-01-17 2013-08-29 Ricoh Co Ltd Information processing apparatus, system, information processing method, program, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013166366A (en) * 2012-01-17 2013-08-29 Ricoh Co Ltd Information processing apparatus, system, information processing method, program, and storage medium

Similar Documents

Publication Publication Date Title
KR970003327B1 (en) Pattern data generating system
EP1326210B1 (en) Interactive timeline visualization
CN102265309B (en) Display list control stream grouping in tile based 3d computer graphics system
JPH0785269B2 (en) Image display method and device
US7038692B1 (en) Method and apparatus for providing a vertex cache
CN116385253B (en) Primitive drawing method, device, computer equipment and storage medium
JPH08147485A (en) Method and device for painting out closed pattern
US20060071948A1 (en) 3D font-engine
KR101239965B1 (en) Rendering apparatus employed in 3D graphic accelerator and method thereof
Frisch et al. Deformation of finite element meshes using directly manipulated free-form deformation
JP4323101B2 (en) Polygonal geometry clipping device
JPH05258073A (en) Graphic painting-out device
JP3209140B2 (en) Image processing device
US20240127524A1 (en) Method and system for processing graphics in tile-based rendering mode
JPH0830666A (en) Method and device for arranging character string
JP2610825B2 (en) Graphic processing unit
JP3553249B2 (en) Image generating apparatus and image generating method
JPH0822548A (en) Method and device for graphic processing
JP3146031B2 (en) Segment data management method and clipping processing method using this management method
JPH06259507A (en) Graphic dividing device
JP2761220B2 (en) 3D graphic display system
JP3162130B2 (en) Graphic data input method and graphic data output method
JPS6297070A (en) Method for dividing finite element
JP4405822B2 (en) Trim inside / outside determination device and method
JP2605609B2 (en) Dot display processing device