JPH10334254A - Paste processing method, paste processing method, and recording medium read by computer and storing paste processing program - Google Patents

Paste processing method, paste processing method, and recording medium read by computer and storing paste processing program

Info

Publication number
JPH10334254A
JPH10334254A JP14366397A JP14366397A JPH10334254A JP H10334254 A JPH10334254 A JP H10334254A JP 14366397 A JP14366397 A JP 14366397A JP 14366397 A JP14366397 A JP 14366397A JP H10334254 A JPH10334254 A JP H10334254A
Authority
JP
Japan
Prior art keywords
line
line width
painting
contour
painted
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
JP14366397A
Other languages
Japanese (ja)
Inventor
Motomichi Kimura
基道 木村
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP14366397A priority Critical patent/JPH10334254A/en
Publication of JPH10334254A publication Critical patent/JPH10334254A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain a high sped processing by an output device while keeping accuracy of a contour by using a plurality of paste lines whose line width differs from each other so as to paste an area. SOLUTION: The paste processing system employs a data processing unit 2 and a storage device 4. Line width sets for a plurality of pain lines are registered in a line width list 3 stored in the storage device 4. The data processing unit 2 is provided with a line width selection means 6 that selects a desired line width from the line width list 3, a contour trace means 7 that pastes a pasted area with paste lines with a line width selected by the line width selection means 6 along a contour line of the pasted area, and a contour scanning means 8 that paints other pasted area than the pasted area by the contour trace means 7 with a paste line whose line width is selected by the line width selection means 6 through scanning in a prescribed direction. Thus, while keeping the accuracy of the contour sufficiently, the inside left unpainted is pasted by using a paste line with a thick line width, number of paste lines is reduced and the processing by the output device 5 is conducted at a high speed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、塗り込み処理方
式、塗り込み処理方法及び塗り込み処理プログラムを記
録したコンピュータ読み取り可能な記録媒体に関し、特
に、線幅の異なる塗り込み線を複数用いる塗り込み処理
方式、塗り込み処理方法及び塗り込み処理プログラムを
記録したコンピュータ読み取り可能な記録媒体に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an application processing method, an application processing method, and a computer-readable recording medium storing an application processing program, and more particularly to an application method using a plurality of application lines having different line widths. The present invention relates to a computer-readable recording medium that stores a processing method, a coating processing method, and a coating processing program.

【0002】[0002]

【従来の技術】一般に、複数の線分からなる閉じた輪郭
内部の塗り込み領域を塗り込む処理方式は、画面出力装
置、プリンタ出力装置、プロッタ出力装置等に用いられ
ており、従来から種々の技術が提案されている。
2. Description of the Related Art In general, a processing method for painting a painted area inside a closed contour composed of a plurality of line segments has been used for a screen output device, a printer output device, a plotter output device and the like. Has been proposed.

【0003】例えば、特開平6ー12497号公報に
は、複数の線要素で構成された閉輪郭線内を塗り込む塗
り込み処理方式が開示されている。この塗り込み処理方
式は、所定方向に連続する線要素の内の注目線要素と、
その注目線要素に隣接するそれぞれの線要素との接続関
係、及びその所定方向に基づいてこれら線要素の座標を
規定する2次元座標軸のいずれかー方の座標軸に平行な
走査線に対応させて、その閉輪郭の輪郭線データを生成
し、これら輪郭線データを走査線方向に走査するときに
奇数番目の輪郭位置とその直後の輪郭位置とが同じでな
い場合に、奇数番目の輪郭位置を正転位置とし、走査線
方向の偶数番目の輪郭位置の走査線方向隣接画像位置が
反転位置を示していると設定する。そして、走査線上の
走査方向に対し正転位置から反転位置の直前までを閉図
形の領域内、それ以外は閉図形の領域外であると判定し
て、閉輪郭内を塗り込むように動作する。
For example, Japanese Patent Application Laid-Open No. Hei 6-12497 discloses a painting processing method for painting a closed contour line composed of a plurality of line elements. This painting processing method includes a line element of interest among line elements continuous in a predetermined direction,
The connection relationship between each line element adjacent to the line element of interest and the scanning line parallel to any one of the two-dimensional coordinate axes defining the coordinates of these line elements based on the predetermined direction, When the contour data of the closed contour is generated and the odd-numbered contour position is not the same as the contour position immediately after the contour data is scanned in the scanning line direction, the odd-numbered contour position is rotated forward. The position is set so that the image position adjacent to the even-numbered contour position in the scanning line direction in the scanning line direction indicates the reversal position. Then, it is determined that the area from the normal rotation position to immediately before the reversal position with respect to the scanning direction on the scanning line is within the area of the closed graphic, and the others are determined to be outside the area of the closed graphic, and the inside of the closed contour is operated. .

【0004】[0004]

【発明が解決しようとする課題】従来の塗り込み処理方
式では、輪郭の頂点付近の精度が塗り込む線分の線幅に
依存しており、線幅の太い塗り込み線で塗り込むと、精
度が低下する。逆に、線幅の細い塗り込み線で塗り込む
と、精度は向上するが、発生する塗り込み線の数が多く
なる。その結果、塗り込み処理のデータ量が膨大にな
り、出力装置の処理時間が長くなる。
In the conventional painting processing method, the accuracy near the vertices of the contour depends on the line width of the line to be painted. Decrease. Conversely, when painting is performed with a painting line with a small line width, the accuracy is improved, but the number of painting lines to be generated increases. As a result, the data amount of the painting process becomes enormous, and the processing time of the output device becomes longer.

【0005】本発明は、上記課題を解決するためになさ
れたものであり、線幅の異なる塗り込み線を複数用いて
塗り込むことにより、輪郭際の精度を十分に保ちながら
出力装置の処理を高速化することができる塗り込み処理
方式、塗り込み処理方法及び塗り込み処理プログラムを
記録したコンピュータ読み取り可能な記録媒体を提供す
ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and the processing of the output device is performed while sufficiently maintaining the accuracy of the outline by applying a plurality of painting lines having different line widths. It is an object of the present invention to provide a computer-readable recording medium in which an application processing method, an application processing method, and an application processing program that can be sped up are recorded.

【0006】[0006]

【課題を解決するための手段】本発明の塗り込み処理方
式は、複数の異なる塗り込み線の線幅を記憶する記憶手
段と、その記憶手段に記憶されている線幅から所望の線
幅を選択する線幅選択手段と、塗り込み領域の輪郭線に
沿って、線幅選択手段によって選択された線幅の塗り込
み線により塗り込む輪郭トレース手段と、その輪郭トレ
ース手段により塗り込まれた領域以外の塗り込み領域
を、線幅選択手段によって選択された線幅の塗り込み線
により所定方向に走査して塗り込む輪郭走査手段と、を
有することを特徴とするものである。
According to an embodiment of the present invention, there is provided a painting processing system which stores a line width of a plurality of different painting lines and a desired line width from the line widths stored in the storage means. A line width selecting means to be selected, a contour tracing means for painting along a contour line of the painting area with a painting line having a line width selected by the line width selecting means, and an area painted by the contour tracing means And a contour scanning unit that scans a painted area other than the above with a painted line having a line width selected by the line width selecting unit in a predetermined direction to paint.

【0007】輪郭際の精度を出すために、上記輪郭トレ
ース手段は、細い線幅から段階的に線幅を太くした塗り
込み線を用いて複数回塗り込むのが好ましい。その際、
塗り残しが出ないように、塗り込み線の線幅を略(1+
-1/2)倍の倍率で太くしていくのが好ましい。
In order to increase the accuracy of the contour, it is preferable that the contour tracing means apply a plurality of times using a painting line whose line width is gradually increased from a thin line width. that time,
Set the line width of the fill line to approximately (1+
It is preferable to increase the thickness at a magnification of 2 -1/2 ) times.

【0008】上記輪郭トレース手段が、記憶手段に記憶
されている線幅の中で最も太い線幅の塗り込み線により
塗り込まれると、輪郭走査手段は、輪郭トレース手段で
最後に用いた塗り込み線の線幅と略同一の線幅の塗り込
み線を用いて塗り込む場合には、塗り残しがなくなり、
データ量が軽減されるので好ましい。
When the contour tracing means is painted with a painting line having the widest line width among the line widths stored in the storage means, the contour scanning means makes the painting used last by the contour tracing means. When using a fill line with a line width that is approximately the same as the line width of the line, there is no unfilled area,
This is preferable because the data amount is reduced.

【0009】本発明の塗り込み処理方法は、(1)複数
の異なる線幅の中から選択した線幅の塗り込み線によ
り、塗り込み領域の輪郭線に沿って塗り込む輪郭トレー
ス工程と、(2)その輪郭トレース工程により塗り込ま
れた領域以外の塗り込み領域を、複数の異なる線幅の中
から選択した線幅の塗り込み線により所定方向に走査し
て塗り込む輪郭走査工程と、を有することを特徴とする
ものである。
The painting processing method of the present invention comprises the following steps: (1) a contour tracing step of painting along a contour of a painting area with a painting line having a line width selected from a plurality of different line widths; 2) a contour scanning step in which a painted area other than the area painted in the contour tracing step is painted in a predetermined direction by a painted line having a line width selected from a plurality of different line widths and painted. It is characterized by having.

【0010】本発明の記録媒体は、複数の異なる線幅の
中から選択した線幅の塗り込み線により、塗り込み領域
の輪郭線に沿って塗り込む輪郭トレース処理と、その輪
郭トレース処理により塗り込まれた領域以外の塗り込み
領域を、複数の異なる線幅の中から選択した線幅の塗り
込み線により所定方向に走査して塗り込む輪郭走査処理
と、をコンピュータに実行させるためのプログラムを記
録していることを特徴とするものである。
According to the recording medium of the present invention, a contour tracing process in which a painting line having a line width selected from a plurality of different line widths is applied along an outline of a painting region, and a painting process performed by the contour tracing process. A program for causing a computer to execute a contour scanning process in which a painted region other than the filled region is painted in a predetermined direction with a painted line having a line width selected from a plurality of different line widths. It is characterized by recording.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して詳細に説明する。図1は、本発明の塗
り込み処理方式を示すブロック図である。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing a painting processing method according to the present invention.

【0012】図1に示すように、本発明の塗り込み処理
方式は、ファイル入力装置等の入力装置1と、入力装置
1から入力されたデータに基づきプログラム制御により
動作するデータ処理装置2と、線幅リスト3等の必要な
データを記憶する記憶装置4と、画面出力装置、プリン
タ出力装置、プロッタ出力装置、ディスプレイ等の出力
装置5と、を有する。
As shown in FIG. 1, the filling processing method of the present invention includes an input device 1 such as a file input device, a data processing device 2 which operates under program control based on data input from the input device 1, and It has a storage device 4 for storing necessary data such as the line width list 3 and an output device 5 such as a screen output device, a printer output device, a plotter output device, and a display.

【0013】記憶装置4に記憶される線幅リスト3に
は、複数の塗り込み線の線幅が登録されている。
In the line width list 3 stored in the storage device 4, the line widths of a plurality of painted lines are registered.

【0014】データ処理装置2は、記憶装置4に記憶さ
れている線幅リスト3から所望の線幅を選択する線幅選
択手段6と、塗り込み領域の輪郭線に沿って、線幅選択
手段6によって選択された線幅の塗り込み線により塗り
込む輪郭トレース手段7と、その輪郭トレース手段7に
より塗り込まれた領域以外の塗り込み領域を、線幅選択
手段6によって選択された線幅の塗り込み線により所定
方向に走査して塗り込む輪郭走査手段8と、を有する。
The data processing device 2 includes a line width selection unit 6 for selecting a desired line width from the line width list 3 stored in the storage unit 4 and a line width selection unit along the contour of the painted area. The contour tracing means 7 to be painted with the painting line having the line width selected by the line 6, and the painted area other than the area painted by the contour tracing means 7 are replaced by the line width selected by the line width selecting means 6. Contour scanning means 8 for scanning in a predetermined direction with a painting line to paint.

【0015】線幅選択手段6は、線幅リスト3から線幅
を取得し、輪郭トレース手段7と輪郭走査手段8と出力
装置5に伝える。
The line width selecting means 6 acquires the line width from the line width list 3 and transmits it to the contour tracing means 7, the contour scanning means 8 and the output device 5.

【0016】輪郭トレース手段7は、線幅選択手段6か
ら塗り込み線の線幅を取得し、入力装置1から得た塗り
込み領域の輪郭を構成する線分に沿って、線幅の半分の
距離の位置に塗り込み線分の中心線を発生させる。中心
線は、塗り込み領域の外周を示す輪郭に対しては内側
に、また塗り込み領域内に非塗り込み領域がある場合
は、非塗り込み領域を表す輪郭の外側に発生させる。
The contour tracing means 7 obtains the line width of the painting line from the line width selecting means 6 and, along the line segment constituting the contour of the painting area obtained from the input device 1, cuts the half of the line width. A center line of the paint line is generated at the position of the distance. The center line is generated inside the contour indicating the outer periphery of the painted area, and outside the contour representing the non-painted area when there is a non-painted area in the painted area.

【0017】図2は、塗り込み線の形状を示す説明図で
ある。図2に示すように、塗り込み線Lとは、両端が線
幅を直径とする円で構成される幅のある線分のことであ
り、中心線Mとは両端の円の中心を結んだ線をさす。ま
た、輪郭トレース手段7により求めた中心線Mからなる
閉じた連続線分をトレース線と呼ぶ。輪郭トレース手段
7は求めたトレース線を出力装置5に伝える。さらに、
線幅選択手段6により線幅リスト3に登録されている最
も太い線分に対して求めたトレース線は輪郭走査手段8
にも伝える。
FIG. 2 is an explanatory diagram showing the shape of the painting line. As shown in FIG. 2, the painting line L is a line segment having a width whose both ends are circles having a line width as a diameter, and the center line M connects the centers of the circles at both ends. Draw a line. A closed continuous line consisting of the center line M obtained by the contour tracing means 7 is called a trace line. The contour tracing means 7 transmits the obtained trace line to the output device 5. further,
The trace line obtained for the thickest line segment registered in the line width list 3 by the line width selecting means 6 is the contour scanning means 8
Tell also.

【0018】輪郭走査手段8は輪郭トレース手段7から
得たトレース線で囲まれる領域を線幅リスト3に登録さ
れている最も太い線分の幅でー方向に走査し、塗り込み
線分の中心線を求め、出力装置5に伝える。
The contour scanning means 8 scans the area surrounded by the trace lines obtained from the contour tracing means 7 in the minus direction with the width of the thickest line registered in the line width list 3 and the center of the painted line. A line is obtained and transmitted to the output device 5.

【0019】図3は、本発明の塗り込み処理方式の動作
を示すフローチャートである。まず、入力装置1から与
えられた塗り込み領域を表す輪郭は、輪郭トレース手段
7に供給される。輪郭トレース手段7は線幅選択手段6
を介して、線幅リスト3に登録されている線幅の最も細
い線幅を取得する。同時に線幅選択手段6は輪郭走査手
段8と出力装置5に線幅を伝える(ステップS1)。
FIG. 3 is a flowchart showing the operation of the application processing method of the present invention. First, the contour representing the painted area provided from the input device 1 is supplied to the contour tracing means 7. The contour tracing means 7 is a line width selecting means 6
, The thinnest line width of the line width registered in the line width list 3 is obtained. At the same time, the line width selecting means 6 transmits the line width to the contour scanning means 8 and the output device 5 (step S1).

【0020】次いで、輪郭トレース手段7は、ステップ
S1によって取得した線幅に対して、トレース線を発生
させ、出力装置5に伝える(ステップS2)。
Next, the contour tracing means 7 generates a trace line with respect to the line width obtained in step S1, and transmits it to the output device 5 (step S2).

【0021】次いで、線幅リスト3に登録されている線
幅に、ステップS2で輪郭トレース手段7が用いた線幅
より太い線幅が存在する場合(ステップS4)、輪郭ト
レース手段7は線幅選択手段6により、より太い線幅を
取得する。線幅選択手段6は、ステップS2で輪郭トレ
ース手段7が用いた線幅の(1+2-1/2)倍以内で最も
太い線幅を選択し、輪郭トレース手段7と輪郭走査手段
8と出力装置5に伝える(ステップS3)。
Next, if the line width registered in the line width list 3 has a line width larger than the line width used by the outline tracing unit 7 in step S2 (step S4), the outline tracing unit 7 sets the line width A thicker line width is acquired by the selection unit 6. The line width selecting means 6 selects the thickest line width within (1 + 2 -1/2 ) times the line width used by the contour tracing means 7 in step S2, and outputs the contour tracing means 7, the contour scanning means 8 and the output device. 5 (step S3).

【0022】本発明では、線幅を(1+2-1/2)倍の倍
率で太くしているが、これは、(1+2-1/2)倍より大
きい倍率で太くしていくと塗り込み精度が保証できず、
塗り残しがでてしまうからである。ステップS2とステ
ップS3を線幅リスト3に登録してある最も太い線幅に
なるまで繰り返す。
In the present invention, the line width is increased at a magnification of (1 + 2 -1/2 ) times. However, the line width is increased at a magnification larger than (1 + 2 -1/2 ) times. Cannot be guaranteed,
This is because unpainted portions are left. Steps S2 and S3 are repeated until the thickest line width registered in the line width list 3 is reached.

【0023】次いで、最も太い線幅に達すると、輪郭走
査が実行される(ステップS5)。輪郭走査手段8は、
ステップS2で輪郭トレース手段7が最後に求めたトレ
ース線と略同一の線幅の塗り込み線を用いる。輪郭走査
手段8はニ次元平面でXY座標に平行ないずれかー方向
に、もうー方向に対して太い線分の幅でー方向に塗り領
域を走査する。このとき、走査線とトレース線の交点を
走査方向の座標の小さい方から、順に始点、終点とする
線を塗り込む領域内であるとして塗り込み線分を発生さ
せ、出力装置5に伝える。塗り込み線の線幅を、輪郭ト
レース手段7で最後に用いたトレース線と同じ幅にする
ことにより、輪郭線からはみだしたり、塗り残しが生じ
ることがなくなる。
Next, when the thickest line width is reached, contour scanning is performed (step S5). The contour scanning means 8
In step S2, a painted line having substantially the same line width as the trace line finally obtained by the contour tracing means 7 is used. The contour scanning means 8 scans the painted area in any direction parallel to the XY coordinates on the two-dimensional plane, and in the-direction with a width of a line segment thicker than the other direction. At this time, an intersection point between the scanning line and the trace line is determined to be within a region where a line serving as a start point and an end point is sequentially painted in ascending order of coordinates in the scanning direction, and a painted line segment is generated and transmitted to the output device 5. By setting the line width of the painting line to be the same as the width of the last trace line used by the outline tracing means 7, there is no possibility that the line runs out of the outline or remains unpainted.

【0024】次に、本発明の塗り込み処理方式をより具
体的に説明する。図4は、線幅リスト3を示す説明図、
図5は、輪郭トレース処理の動作を示す説明図、図6
は、輪郭走査処理の動作を示す説明図である。
Next, the application processing method of the present invention will be described more specifically. FIG. 4 is an explanatory diagram showing the line width list 3,
FIG. 5 is an explanatory diagram showing the operation of the contour tracing process, and FIG.
FIG. 9 is an explanatory diagram showing an operation of the contour scanning process.

【0025】図4に示すように、線幅リスト3には、例
えば、線幅が100μmから480μmまでの線幅が登
録されている。まず、輪郭トレース手段7は、線幅選択
手段6を介して、まず線幅リスト3から100μmの線
幅を取得する(ステップS1)。
As shown in FIG. 4, in the line width list 3, for example, line widths from 100 μm to 480 μm are registered. First, the outline tracing unit 7 acquires a line width of 100 μm from the line width list 3 via the line width selection unit 6 (step S1).

【0026】次いで、図5に示すように、輪郭トレース
手段7は、入力装置1から得た塗り込み領域の外周を示
す輪郭51に対して50μm内側に、また、非塗り込み
領域を示す輪郭52に対して50μm外側にそれぞれト
レース線53、54を発生させ、出力装置5に伝える。
Next, as shown in FIG. 5, a contour tracing means 7 is 50 μm inward from a contour 51 indicating the outer periphery of the painted area obtained from the input device 1 and a contour 52 representing a non-painted area. , Trace lines 53 and 54 are respectively generated 50 μm outside and transmitted to the output device 5.

【0027】線幅リスト3にはまだ太い線幅があるの
で、線幅選択手段6は、(1+2-1/2)倍の171μm
以内で最大の170μmの線幅を選択し、次いで、17
0μmの(1+2-1/2)倍の290μm以内で最大の2
90μmを選択し、次いで、290μmの(1+
-1/2)倍の495μm以内で最大の480μmの線幅
を選択する(ステップS3)。
Since the line width list 3 still has a large line width, the line width selection means 6 sets (1 + 2 -1/2 ) times 171 μm.
Select a maximum line width of 170 μm within
The maximum 2 within 290 μm, which is (1 + 2 −1/2 ) times 0 μm
Select 90 μm, then 290 μm (1+
A maximum line width of 480 μm is selected within 495 μm, which is 2 −1/2 ) times (step S3).

【0028】輪郭トレース手段7は、線幅選択手段6を
介して選択した、線幅170μmのトレース線55、5
6、線幅290μmのトレース線57、58、線幅49
0μmのトレース線59、60を発生させ、出力装置5
に伝える(ステップS2)。したがって、発生させたト
レース線群は、内側ほど幅の広い(白抜きの場合は、外
側ほど幅の広い)年輪状に表れる。
The contour tracing means 7 includes the trace lines 55 and 5 having a line width of 170 μm selected through the line width selecting means 6.
6. Trace lines 57 and 58 having a line width of 290 μm and a line width of 49
0 μm trace lines 59 and 60 are generated and output device 5
(Step S2). Therefore, the generated trace line group appears in the shape of an annual ring whose width is wider toward the inside (in the case of white, the width is wider toward the outside).

【0029】次いで、線幅リスト3には480μmより
太い線幅は登録されていないので、輪郭走査が実行され
る(ステップS5)。
Next, since a line width larger than 480 μm is not registered in the line width list 3, contour scanning is executed (step S5).

【0030】輪郭走査手段8は輪郭トレース手段7が4
90μmの線幅に対して求めたトレース線59、60と
略同一の線幅の塗り込み線を発生させ、出力装置5に伝
え、輪郭走査が行われる(図6参照)。
The contour scanning means 8 is composed of four
A painted line having substantially the same line width as the trace lines 59 and 60 obtained for the line width of 90 μm is generated, transmitted to the output device 5, and contour scanning is performed (see FIG. 6).

【0031】図7は、本発明の第2の実施の形態を示す
ブロック図である。図7を参照すると、本発明の第2の
実施の形態は、塗り込み処理プログラムを記録した記録
媒体10を備える。この記録媒体10は、例えば、磁気
ディスク、CD−ROM、半導体メモリその他の記録媒
体である。
FIG. 7 is a block diagram showing a second embodiment of the present invention. Referring to FIG. 7, the second embodiment of the present invention includes a recording medium 10 on which an application processing program is recorded. The recording medium 10 is, for example, a magnetic disk, a CD-ROM, a semiconductor memory, or another recording medium.

【0032】塗り込み処理プログラムは、記録媒体10
からデータ処理装置2に読み込まれ、データ処理装置2
の動作を制御する。データ処理装置2は、塗り込み処理
プログラムの制御により、複数の異なる線幅の中から選
択した線幅の塗り込み線により、塗り込み領域の輪郭線
に沿って塗り込む輪郭トレース処理と、その輪郭トレー
ス処理により塗り込まれた領域以外の塗り込み領域を、
複数の異なる線幅の中から選択した線幅の塗り込み線に
より所定方向に走査して塗り込む輪郭走査処理と、を実
行する。
The application processing program is stored in the recording medium 10
Is read into the data processing device 2 from the
Control the operation of. Under the control of the painting processing program, the data processing device 2 performs contour tracing processing in which painting is performed along the contour of the painting area with a painting line having a line width selected from a plurality of different line widths. The painted area other than the area painted by the trace processing is
A contour scanning process is performed in which scanning is performed in a predetermined direction with a painting line having a line width selected from a plurality of different line widths and painting is performed.

【0033】本発明は上記実施の形態に限定されること
はなく、特許請求の範囲に記載された技術的事項の範囲
内において、種々の変更が可能である。
The present invention is not limited to the above embodiment, and various changes can be made within the scope of the technical matters described in the claims.

【0034】[0034]

【発明の効果】本発明によれば、輪郭トレース手段で用
いられる塗り込み線の線幅と、輪郭走査手段で用いられ
る塗り込み線の線幅を適宜選択することができるので、
輪郭際の精度を十分に保ちながら塗り残った内部を、線
幅の太い塗り込み線により塗り込むことができる。その
結果、塗り込み線の数を減少でき、データ量が軽減さ
れ、出力装置の処理を高速化することができる。
According to the present invention, the line width of the painted line used by the contour tracing means and the line width of the painted line used by the contour scanning means can be appropriately selected.
The interior that has been left unpainted can be painted by a painting line with a large line width while maintaining the accuracy of the outline sufficiently. As a result, the number of painted lines can be reduced, the data amount can be reduced, and the processing of the output device can be speeded up.

【0035】また、線幅選択手段により塗り込みに必要
な最小限の線幅を選択することができるので、不必要に
多くの線幅を使用することがなくなる。
Since the minimum line width required for painting can be selected by the line width selecting means, unnecessary line widths are not used.

【0036】さらに、塗り込み線の線幅は記憶手段によ
り記憶され、線幅選択手段により適宜選択されるので、
塗り込み精度を容易に変えることができる。
Further, the line width of the painting line is stored by the storage means and is appropriately selected by the line width selection means.
The application accuracy can be easily changed.

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

【図1】本発明の塗り込み処理方式を示すブロック図で
ある。
FIG. 1 is a block diagram showing a painting processing method according to the present invention.

【図2】本発明の塗り込み処理方式で用いられる塗り込
み線の形状を概略的に示す説明図である。
FIG. 2 is an explanatory diagram schematically showing a shape of a painting line used in the painting processing method of the present invention.

【図3】本発明の塗り込み処理方式の動作を示すフロー
チャートである。
FIG. 3 is a flowchart showing an operation of the painting processing method of the present invention.

【図4】線幅リストを示す説明図である。FIG. 4 is an explanatory diagram showing a line width list.

【図5】輪郭トレース処理の動作を示す説明図である。FIG. 5 is an explanatory diagram showing an operation of a contour tracing process.

【図6】輪郭走査処理の動作を示す説明図である。FIG. 6 is an explanatory diagram illustrating an operation of a contour scanning process.

【図7】本発明の第2の実施の形態を示すブロック図で
ある。
FIG. 7 is a block diagram showing a second embodiment of the present invention.

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

1:入力装置 2:データ処理装置 3:線幅リスト 4:記憶装置 5:出力装置 6:線幅選択手段 7:輪郭トレース手段 8:輪郭走査手段 10:記録媒体 1: input device 2: data processing device 3: line width list 4: storage device 5: output device 6: line width selection means 7: contour tracing means 8: contour scanning means 10: recording medium

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】複数の異なる塗り込み線の線幅を記憶する
記憶手段と、 その記憶手段に記憶されている線幅から所望の線幅を選
択する線幅選択手段と、 塗り込み領域の輪郭線に沿って、前記線幅選択手段によ
って選択された線幅の塗り込み線により塗り込む輪郭ト
レース手段と、 その輪郭トレース手段により塗り込まれた領域以外の前
記塗り込み領域を、前記線幅選択手段によって選択され
た線幅の塗り込み線により所定方向に走査して塗り込む
輪郭走査手段と、 を有することを特徴とする塗り込み処理方式。
1. A storage unit for storing line widths of a plurality of different painting lines, a line width selection unit for selecting a desired line width from the line widths stored in the storage unit, and a contour of a painting region. Contour tracing means for painting along a line with a painting line having the line width selected by the line width selecting means; and the painting area other than the area painted by the contour tracing means, And a contour scanning means for performing scanning in a predetermined direction with a painting line having a line width selected by the means for painting.
【請求項2】前記輪郭トレース手段は、細い線幅から段
階的に線幅を太くした塗り込み線を用いて複数回塗り込
むことを特徴とする請求項1に記載の塗り込み処理方
式。
2. The application processing method according to claim 1, wherein said outline tracing means performs the application a plurality of times using an application line whose line width is gradually increased from a thin line width.
【請求項3】前記塗り込み線の線幅を略(1+2-1/2
倍の倍率で太くしていくことを特徴とする請求項2に記
載の塗り込み処理方式。
3. The line width of the filling line is approximately (1 + 2 -1/2 ).
3. The coating method according to claim 2, wherein the thickness is increased by a factor of 2.
【請求項4】前記輪郭トレース手段が、前記記憶手段に
記憶されている線幅の中で最も太い線幅の塗り込み線に
より塗り込まれると、前記輪郭走査手段は、前記輪郭ト
レース手段で最後に用いた塗り込み線の線幅と略同一の
線幅の塗り込み線を用いて塗り込むことを特徴とする請
求項2又は3に記載の塗り込み処理方式。
4. When the contour tracing means is painted with a painting line having the widest line width among the line widths stored in the storage means, the contour scanning means terminates the contour tracing means. 4. The painting processing method according to claim 2, wherein the painting is performed using a painting line having a line width substantially equal to the line width of the painting line used in step (a).
【請求項5】(1)複数の異なる線幅の中から選択した
線幅の塗り込み線により、塗り込み領域の輪郭線に沿っ
て塗り込む輪郭トレース工程と、(2)その輪郭トレー
ス工程により塗り込まれた領域以外の前記塗り込み領域
を、複数の異なる線幅の中から選択した線幅の塗り込み
線により所定方向に走査して塗り込む輪郭走査工程と、 を有することを特徴とする塗り込み処理方法。
5. A contour tracing step of painting along a contour of a painting area by a painting line having a line width selected from a plurality of different line widths, and (2) a contour tracing step. A contour scanning step of scanning and painting the painted area other than the painted area in a predetermined direction with a painted line having a line width selected from a plurality of different line widths. Painting method.
【請求項6】複数の異なる線幅の中から選択した線幅の
塗り込み線により、塗り込み領域の輪郭線に沿って塗り
込む輪郭トレース処理と、 その輪郭トレース処理により塗り込まれた領域以外の前
記塗り込み領域を、複数の異なる線幅の中から選択した
線幅の塗り込み線により所定方向に走査して塗り込む輪
郭走査処理と、 をコンピュータに実行させるためのプログラムを記録し
た記録媒体。
6. A contour tracing process for painting along a contour of a painting region by a painting line having a line width selected from a plurality of different line widths, and a region other than the region painted by the contour tracing process. A recording medium for recording a program for causing a computer to execute a contour scanning process in which the painted area is scanned in a predetermined direction with a painted line having a line width selected from a plurality of different line widths. .
JP14366397A 1997-06-02 1997-06-02 Paste processing method, paste processing method, and recording medium read by computer and storing paste processing program Pending JPH10334254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14366397A JPH10334254A (en) 1997-06-02 1997-06-02 Paste processing method, paste processing method, and recording medium read by computer and storing paste processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14366397A JPH10334254A (en) 1997-06-02 1997-06-02 Paste processing method, paste processing method, and recording medium read by computer and storing paste processing program

Publications (1)

Publication Number Publication Date
JPH10334254A true JPH10334254A (en) 1998-12-18

Family

ID=15344045

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14366397A Pending JPH10334254A (en) 1997-06-02 1997-06-02 Paste processing method, paste processing method, and recording medium read by computer and storing paste processing program

Country Status (1)

Country Link
JP (1) JPH10334254A (en)

Similar Documents

Publication Publication Date Title
JP2006202211A (en) Image drawing device and image drawing method
US4974172A (en) Image processing apparatus
JPH10334254A (en) Paste processing method, paste processing method, and recording medium read by computer and storing paste processing program
JPH05269956A (en) Electronic composition device for composing along optional line
US6628289B1 (en) Rendering apparatus and method, and storage medium
JP2965021B2 (en) Coating processing method, coating processing method, and recording medium storing coating processing program
JPH091871A (en) Printer and plotting controlling method therefor
JP2610825B2 (en) Graphic processing unit
US7667714B2 (en) Patterned polygon rendering apparatus
JP3211591B2 (en) Image processing device
CN111429541A (en) Graph erasing method and device
JP2715496B2 (en) Image filling device
JPS63228383A (en) Picture processing system
JPS593693A (en) Figure drawing control system of printer
JP3214722B2 (en) Stroke character generator
JP2613653B2 (en) Image processing device
JP2605609B2 (en) Dot display processing device
JPS61267096A (en) Smear drawing display unit for polygonal graphic
JPH09153144A (en) Device and method for automatically preparing check pattern
JPS6160177A (en) Method of drawing thick segment
JPH10149452A (en) Thick line plotting method and its plotting device
JPH0827842B2 (en) Polygonal vertex data tracking device in scanning display device
JPH023512B2 (en)
JPH0812703B2 (en) Image processing device
JPH07122904B2 (en) Closed area filling method