JP3072756B2 - Drawing equipment - Google Patents

Drawing equipment

Info

Publication number
JP3072756B2
JP3072756B2 JP06328201A JP32820194A JP3072756B2 JP 3072756 B2 JP3072756 B2 JP 3072756B2 JP 06328201 A JP06328201 A JP 06328201A JP 32820194 A JP32820194 A JP 32820194A JP 3072756 B2 JP3072756 B2 JP 3072756B2
Authority
JP
Japan
Prior art keywords
complementary
points
position information
point
coordinate value
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.)
Expired - Fee Related
Application number
JP06328201A
Other languages
Japanese (ja)
Other versions
JPH08185527A (en
Inventor
豊 信貴
峰弘 紺矢
雅之 藤澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP06328201A priority Critical patent/JP3072756B2/en
Publication of JPH08185527A publication Critical patent/JPH08185527A/en
Application granted granted Critical
Publication of JP3072756B2 publication Critical patent/JP3072756B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は描画装置に関し、詳しく
は、ワードプロセッサ、コンピュータ、DTP(デスク
トップパブリッシング)などにおける罫線/文字/図形
などのアウトラインデータを生成して描画する描画装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drawing apparatus, and more particularly, to a drawing apparatus for generating and drawing outline data such as ruled lines / characters / graphics in a word processor, a computer, a desktop publishing (DTP) or the like.

【0002】[0002]

【従来の技術】従来、線/文字/図形などのデータをア
ウトラインデータに展開して描画する方法として、Bres
enhamのアルゴリズムが一般に知られている。このBrese
nhamのアルゴリズムは、例えば、P1(X1,Y1)、
P2(X2,Y2)の2点で表される直線が与えられる
場合、2点P1、P2(X1<X2、Y1<Y2、DX
=X2−X1、DY=Y2−Y1、DX>DYとする。
値は整数)のうち、点P1から点P2までX座標値を1
ドットずつ増加させながら、それぞれのX座標値におけ
るY座標値を計算によって求める。そして、求められた
各点の座標値に最も近い格子点を選択することにより、
その格子点をアウトラインデータとして補完し描画す
る。また、塗り潰しはエッジフラグアルゴリズムなどで
行われる。
2. Description of the Related Art Conventionally, Bres has been developed as a method of rendering data such as lines / characters / graphics into outline data and drawing.
The enham algorithm is generally known. This Brese
nham's algorithm is, for example, P1 (X1, Y1),
If a straight line represented by two points P2 (X2, Y2) is given, two points P1, P2 (X1 <X2, Y1 <Y2, DX
= X2-X1, DY = Y2-Y1, DX> DY.
X is 1 from point P1 to point P2.
The Y coordinate value at each X coordinate value is obtained by calculation while increasing dot by dot. Then, by selecting the grid point closest to the obtained coordinate value of each point,
The grid points are complemented and drawn as outline data. The filling is performed by an edge flag algorithm or the like.

【0003】また、特開平5−108830号公報に記
載のように、例えば、線/文字/図形などのデータを拡
大/縮小処理後、例えば、P1(X1,Y1)、P2
(X2,Y2)の2点で表される直線が与えられ、2点
間の長さが1ドット未満になるよう等間隔に2点間の直
線を分割する。そして各分割点の座標値に最も近い格子
点を選択することにより2点間のアウトラインデータを
補完し描画する描画装置が提案されている。
As described in Japanese Patent Application Laid-Open No. 5-108830, for example, data such as lines / characters / graphics is enlarged / reduced, and then, for example, P1 (X1, Y1), P2
A straight line represented by two points (X2, Y2) is given, and a straight line between the two points is divided at equal intervals so that the length between the two points is less than one dot. A drawing apparatus that complements outline data between two points by selecting a grid point closest to the coordinate value of each division point and performs drawing is proposed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前記各
従来技術では、アウトラインデータとして補完する各点
の座標値は、例えば、直線の2点間P1とP2の座標値
や傾き等を計算によって求める必要があった。さらに、
求められた補完点の座標値が格子点と一致しないとき
は、最も近い格子点(ドット)の座標値と比較し選択す
る必要があった。従って、2点間を補完する各補完点の
座標値を予め計算により求め、さらに最も近い格子点
(ドット)の座標値と比較して、補完する格子点の座標
値を求めているので、アウトラインデータを高速に描画
することができないという問題があった。
However, in each of the above-mentioned prior arts, the coordinate values of each point to be complemented as outline data need to be obtained by calculating, for example, the coordinate values and inclinations of P1 and P2 between two points on a straight line. was there. further,
When the obtained coordinate value of the complementary point does not coincide with the lattice point, it is necessary to compare with the coordinate value of the nearest lattice point (dot) and select it. Therefore, the coordinate value of each complementary point that complements between two points is calculated in advance, and the coordinate value of the complementary lattice point is calculated by comparing the coordinate value of the closest lattice point (dot) with the coordinate value of the closest lattice point (dot). There is a problem that data cannot be drawn at high speed.

【0005】本発明は以上の事情を鑑みてなされたもの
で、罫線/文字/図形などのアウトラインデータを描画
する際、例えば、輪郭線上の2点間を補完する各補完点
の座標値をあらかじめ用意された相対的な補完位置情報
を有するテーブルを用いて選択することによりアウトラ
インデータを高速に処理して描画する描画装置を提供す
るものである。
The present invention has been made in view of the above circumstances. When drawing outline data such as ruled lines / characters / graphics, for example, the coordinate values of each complementary point for complementing between two points on the contour line are determined in advance. An object of the present invention is to provide a drawing apparatus for processing outline data at a high speed by making selection using a prepared table having relative complementary position information.

【0006】[0006]

【課題を解決するための手段】図1は本発明の基本構成
を示すブロック図である。図1に示すように、本発明
は、2次元座標面上に示される線/文字/図形などの輪
郭線を構成する補完点列で定義されたアウトラインデー
タを描画する描画装置において、前記輪郭線上の2点の
座標値がいずれも整数値で表される線分を抽出するとと
もにその線分のX方向及びY方向に対応する二つの線分
長さと描画方向を抽出する線分抽出手段101と、2点
間のX方向及びY方向に対応する二つの線分長さを示す
値が互いに1以外の公約数を含まない線分の組を所定の
描画方向に対して予め複数設定しその線分に対して相対
的に補完する補完点列を2点間の補完位置情報として
納した補完位置情報テーブル102と、抽出された2点
のX方向及びY方向に対応する二つの線分長さと描画方
向から前記補完位置情報テーブル102を参照して前記
2点間の補完点列の座標値を求める補完点抽出手段10
3と、求めた補完点の座標値を2次元座標面上に順次プ
ロットして前記2点間の補完点列を描画する描画手段1
04とを備えたことを特徴とする描画装置である。
FIG. 1 is a block diagram showing the basic configuration of the present invention. As shown in FIG. 1, the present invention relates to a drawing apparatus which draws outline data defined by a sequence of complementary points constituting a contour such as a line / character / graphic shown on a two-dimensional coordinate plane. A line segment extracting means 101 for extracting a line segment in which the coordinate values of the two points are both represented by integer values, and extracting two line segment lengths and drawing directions corresponding to the X and Y directions of the line segment; , 2 points
Indicates the length of two line segments corresponding to the X and Y directions between
A set of line segments whose values do not include common divisors other than 1
Multiple settings are made in advance for the drawing direction and relative to the line segment.
Position information table 102 that stores a sequence of complementary points to be complemented as complementary position information between two points, and two line segment lengths corresponding to the extracted two points in the X and Y directions. wherein the drawing direction with reference to the complementary position information table 102
Complementary point extraction means 10 for obtaining coordinate values of a sequence of complementary points between two points
And drawing means 1 for sequentially plotting the obtained coordinate values of the complementary points on a two-dimensional coordinate plane to draw a sequence of complementary points between the two points.
04.

【0007】前記補完位置情報テーブル102は、所定
の描画方向に対してX座標値を1増加する際のY座標値
の増加度または減少度、またはX座標値を1減少する際
のY座標値の増加度または減少度を相対的に示す補完点
列を格納し、前記線分抽出手段101は、前記補完位置
情報テーブル102を参照し、抽出された描画方向から
X座標値の1増減する際のY座標値の増減度を判別して
2次元座標面上における補完点列の座標値を求めるよう
構成されることが好ましい。
The supplementary position information table 102 has a predetermined
Y coordinate value when the X coordinate value is increased by 1 with respect to the drawing direction of
When increasing or decreasing the value of X, or when decreasing the X coordinate value by 1
Points indicating the degree of increase or decrease of the Y coordinate value
And the line segment extracting means 101 stores the complementary position
Referring to the information table 102, from the extracted drawing direction
By determining the degree of increase / decrease of the Y coordinate value when increasing / decreasing the X coordinate value by 1,
It is preferable that the coordinate value of the supplementary point sequence on the two-dimensional coordinate plane is determined .

【0008】2次元座標面上に示される線/文字/図形
などの輪郭線を構成する補完点列で定義されたアウトラ
インデータを描画する描画装置において、文字コード及
び文字サイズを入力する入力手段105と、複数文字の
アウトラインフォントを格納したパターン記憶手段10
6と、入力された文字コード及び文字サイズに基づきア
ウトラインフォントを拡大または縮小変換する拡大/縮
小手段107と、拡大/縮小変換されたアウトラインフ
ォントの閉領域の塗り潰し処理を行う塗り潰し処理手段
108と、塗り潰し処理したアウトラインフォントを出
力する出力手段109とをさらに備えた構成にすること
が好ましい。
[0008] In a drawing apparatus for drawing outline data defined by a sequence of complementary points constituting a contour line such as a line / character / graphic shown on a two-dimensional coordinate plane, input means 105 for inputting a character code and a character size. And a pattern storage means 10 storing an outline font of a plurality of characters.
6, an enlarging / reducing means 107 for enlarging or reducing the outline font based on the input character code and character size, a filling processing means 108 for filling a closed area of the enlarged / reduced outline font, It is preferable that the image processing apparatus further includes an output unit 109 that outputs an outline font that has been filled.

【0009】なお、本発明の構成において、線分抽出手
段101、補完位置情報テーブル102、補完点抽出手
段103、描画手段104、パターン記憶手段106、
拡大/縮小手段107、塗り潰し処理手段108として
は、CPU、ROM、RAM、I/Oポートからなるマ
イクロコンピュータが用いられる。特に、補完位置情報
テーブル102、パターン記憶手段106としては、こ
の中のROMが用いられる。また、このROMには、C
PUが、線分抽出手段101、補完点抽出手段103、
描画手段104として機能する各種プログラムが格納さ
れている。入力手段105としては、キーボード、タブ
レットなどの入力装置と、入力されたデータを取り込む
手段が用いられる。また、出力手段109としては、液
晶表示(LCD)装置、CRT表示装置などの表示装置
あるいは、インクジェットプリンタ、レーザプリンタな
どの印字装置が用いられる。
In the configuration of the present invention, a line segment extracting means 101, a complementary position information table 102, a complementary point extracting means 103, a drawing means 104, a pattern storing means 106,
A microcomputer including a CPU, a ROM, a RAM, and an I / O port is used as the enlargement / reduction unit 107 and the filling processing unit 108. In particular, the ROM therein is used as the complementary position information table 102 and the pattern storage means 106. Also, this ROM contains C
PU is a line segment extraction unit 101, a complementary point extraction unit 103,
Various programs functioning as the drawing unit 104 are stored. As the input unit 105, an input device such as a keyboard and a tablet, and a unit that captures input data are used. As the output unit 109, a display device such as a liquid crystal display (LCD) device or a CRT display device, or a printing device such as an ink jet printer or a laser printer is used.

【0010】[0010]

【作用】本発明の構成によれば、図1に示すように、2
次元座標面上に示される線/文字/図形などの輪郭線を
構成する補完点列で定義されたアウトラインデータを描
画する描画装置において、2点間のX方向及びY方向に
対応する二つの線分長さを示す値が互いに1以外の公約
数を含まない線分の組を所定の描画方向に対して予め複
数設定しその線分に対して相対的に補完する補完点列を
2点間の補完位置情報として格納した補完位置情報テー
ブル102をあらかじめ用意し、線分抽出手段101に
より、前記輪郭線上の2点の座標値がいずれも整数値で
表される線分を抽出するとともにその線分のX方向及び
Y方向に対応する二つの線分長さと描画方向が抽出され
ると、補完点抽出手段103は、前記補完位置情報テー
ブル102を参照して、抽出した2点のX方向及びY方
向に対応する二つの線分長さと描画方向から前記2点間
補完点列の座標値を求める。次に、描画手段104
は、求めた補完点の座標値を2次元座標面上に順次プロ
ットして前記2点間の補完点列を描画する。例えば、2
点P1、P2間の補完点列を求めるとき、P1、P2間
のX方向の線分長さDX及びY方向の線分長さDYに2
以上の最大公約数Cが存在した場合、DX、DYをCで
わった値DXc、DYcでの補完位置情報を用いて補完
点を求め、これを最大公約数Cだけ回数を繰り返すこと
により、点P1から点P2までの補完点を求めることが
できる。 また、2点P1、P2間のX方向及びY方向に
対応する二つの線分長さDX、DYの値が互いに1以外
の公約数を含まない線分を抽出すれば、2以上の最大公
約数Cをもつ場合のDX、DYに対応した補完位置情報
は不必要となる。 従って、罫線/文字/図形などのアウ
トラインデータを描画する際、補完位置情報テーブルを
用いて、2点間の補完処理を繰り返すことにより、関数
などを用いて補完点の座標計算を行う必要がないので、
高速に補完位置処理を行うことができる。 さらに、補完
位置情報テーブル102内で用意すべき補完位置情報の
増加を防止することできる。
According to the structure of the present invention, as shown in FIG.
In a drawing apparatus for drawing outline data defined by a sequence of complementary points constituting a contour line such as a line / character / graphic shown on a dimensional coordinate plane, two lines corresponding to an X direction and a Y direction between two points Commitments other than 1 indicating the length of minutes
A set of line segments not including a number is
Set the number of points and add
A supplementary position information table 102 stored as supplementary position information between two points is prepared in advance, and the line segment extracting unit 101 extracts a line segment in which the coordinate values of the two points on the contour are both represented by integer values. When the two line segment lengths and drawing directions corresponding to the X direction and the Y direction of the line segment are extracted, the complementary point extracting means 103 outputs the complementary position information table.
Referring to Table 102, two line segments corresponding to the extracted two points in the X and Y directions and the drawing direction are used to determine the distance between the two points.
Find the coordinate value of the complementary point sequence of. Next, the drawing unit 104
Draws a sequence of complementary points between the two points by sequentially plotting the obtained coordinate values of the complementary points on a two-dimensional coordinate plane. For example, 2
When finding a supplementary point sequence between points P1 and P2, between P1 and P2
Of the line segment length DX in the X direction and the line length DY in the Y direction
If the greatest common divisor C exists, DX and DY are represented by C
Using the complementary position information with the changed values DXc and DYc
Find a point and repeat this for the greatest common divisor C
To find the complementary point from point P1 to point P2
it can. In the X direction and the Y direction between the two points P1 and P2,
The values of the corresponding two line segment lengths DX and DY are other than 1
By extracting a line segment that does not include the common divisor of
Complementary position information corresponding to DX and DY when it has divisor C
Becomes unnecessary. Therefore, outlines such as ruled lines / characters / graphics
When drawing the trace data, the supplementary position information table
By repeating the interpolation process between two points using
Since there is no need to calculate the coordinates of the complementary point using
Complementary position processing can be performed at high speed. Further complement
Of complementary position information to be prepared in the position information table 102
An increase can be prevented.

【0011】前記補完位置情報テーブル102は、所定
の描画方向に対してX座標値を1増加する際のY座標値
の増加度または減少度、またはX座標値を1減少する際
のY座標値の増加度または減少度を相対的に示す補完点
列を格納し、前記線分抽出手段101は、前記補完位置
情報テーブル102を参照し、抽出された描画方向から
X座標値の1増減する際のY座標値の増減度を判別して
2次元座標面上における補完点列の座標値を求めるよう
構成されるならば、補完点列の座標値を簡単に求めるこ
とができるので、高速に補完位置処理を行うことができ
る。
The complementary position information table 102 has a predetermined
Y coordinate value when the X coordinate value is increased by 1 with respect to the drawing direction of
When increasing or decreasing the value of X, or when decreasing the X coordinate value by 1
Points indicating the degree of increase or decrease of the Y coordinate value
And the line segment extracting means 101 stores the complementary position
Referring to the information table 102, from the extracted drawing direction
By determining the degree of increase / decrease of the Y coordinate value when increasing / decreasing the X coordinate value by 1,
If it is configured to obtain the coordinate values of the complementary point sequence on the two-dimensional coordinate plane, it is possible to easily obtain the coordinate values of the complementary point sequence.
Therefore, the complementary position processing can be performed at high speed .

【0012】2次元座標面上に示される線/文字/図形
などの輪郭線を構成する補完点列で定義されたアウトラ
インデータを描画する描画装置において、文字コード及
び文字サイズを入力する入力手段105と、複数文字の
アウトラインフォントを格納したパターン記憶手段10
6と、入力された文字コード及び文字サイズに基づきア
ウトラインフォントを拡大または縮小変換する拡大/縮
小手段107と、拡大/縮小変換されたアウトラインフ
ォントの閉領域の塗り潰し処理を行う塗り潰し処理手段
108と、塗り潰し処理したアウトラインフォントを出
力する出力手段109とをさらに備えた構成にするなら
ば、高速にアウトラインフォントの文字を生成して表示
装置または印字装置に出力することができる。
In a drawing apparatus for drawing outline data defined by a supplementary point sequence forming a contour line such as a line / character / graphic shown on a two-dimensional coordinate plane, input means 105 for inputting a character code and a character size. And a pattern storage means 10 storing an outline font of a plurality of characters.
6, an enlarging / reducing means 107 for enlarging or reducing the outline font based on the input character code and character size, a filling processing means 108 for filling a closed area of the enlarged / reduced outline font, If the configuration further includes output means 109 for outputting a filled outline font, it is possible to generate outline font characters at high speed and output it to a display device or a printing device.

【0013】[0013]

【実施例】以下、図面に示す実施例に基づいて本発明を
詳述する。なお、これによって、本発明は限定されるも
のでない。本発明は、主として、ワードプロセッサ、コ
ンピュータ、DTPにおけるアウトラインデータの描画
装置に適用され、各構成要素は、本発明のアウトライン
データの高速描画機能を達成する描画装置として構成す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the embodiments shown in the drawings. The present invention is not limited by this. The present invention is mainly applied to an outline data drawing apparatus in a word processor, a computer, and a DTP, and each component is configured as a drawing apparatus that achieves the outline data high-speed drawing function of the present invention.

【0014】図2は本発明の描画装置の一実施例を示す
ブロック図である。図2において、1は生成する文字コ
ードと生成文字サイズ等を取り込む入力部であり、図1
の入力手段として機能する。2はフォント生成に必要な
アウトラインデータや補完位置情報等のデータをROM
に記憶しているパターン記憶部であり、複数文字のアウ
トラインデータを格納しているフォントデータROM2
a、補完位置情報を格納している補完位置情報テーブル
ROM2bで構成される(図1の補完位置情報テーブ
ル、パターン記憶手段として機能する)。
FIG. 2 is a block diagram showing an embodiment of the drawing apparatus according to the present invention. In FIG. 2, reference numeral 1 denotes an input unit for receiving a generated character code, a generated character size, and the like.
Function as input means for 2 is a ROM for storing outline data and supplementary position information necessary for font generation.
The font data ROM 2 is a pattern storage unit that stores outline data of a plurality of characters.
a, a complementary position information table ROM 2b storing complementary position information (functions as a complementary position information table and a pattern storage means in FIG. 1).

【0015】3は目的のアウトラインデータを生成する
データ処理部で、データの演算/処理及び各部を制御す
るCPU3a、演算/処理の際のデータを一時的に記憶
するRAM3b、各部を制御するプログラムを記憶する
ROM3cから構成されている(図1の線分抽出手段、
補完点抽出手段、描画手段、拡大/縮小手段、塗り潰し
処理手段として機能する)。4はアウトラインデータを
ドットフォントに展開するフォント展開部で、ドットフ
ォント展開用RAM4aから構成されている(特に、図
1の拡大/縮小手段のドット展開として機能する)。5
はフォント展開部4で展開されたフォントデータを出力
する出力部であり、液晶表示(LCD)装置、CRT表
示装置などの表示装置、およびインクジェットプリン
タ、レーザプリンタなどの印字装置が用いられる。
Reference numeral 3 denotes a data processing unit for generating target outline data. The data processing unit 3 includes a CPU 3a for controlling data calculation / processing and each unit, a RAM 3b for temporarily storing data for calculation / processing, and a program for controlling each unit. It is composed of a ROM 3c for storing (the line segment extracting means of FIG. 1,
Function as a complementary point extracting means, a drawing means, an enlarging / reducing means, and a filling processing means). Reference numeral 4 denotes a font development unit for developing outline data into a dot font, which is constituted by a dot font development RAM 4a (particularly, it functions as dot development of the enlargement / reduction means in FIG. 1). 5
Reference numeral denotes an output unit for outputting font data developed by the font development unit 4, and a display device such as a liquid crystal display (LCD) device and a CRT display device and a printing device such as an ink jet printer and a laser printer are used.

【0016】図3は本発明の描画装置の動作を示すフロ
ーチャートである。また、図4は本発明における2点P
1、P2間の補完点列の描画例を示す説明図である。図
5は本発明における補完位置情報テーブルの内容を示す
説明図である。図6は本発明における2点P1、P2間
の方向別の補完点列の描画例を示す説明図である。図7
は2点P1、P2間の1直線が長い場合の補完点列の描
画例を示す説明図である。以下、図3に示すフローチャ
ートの各ステップを図4〜図7を用いて順次説明する。
FIG. 3 is a flowchart showing the operation of the drawing apparatus of the present invention. FIG. 4 shows two points P in the present invention.
It is explanatory drawing which shows the example of drawing of the complementary point sequence between 1 and P2. FIG. 5 is an explanatory diagram showing the contents of the supplementary position information table in the present invention. FIG. 6 is an explanatory diagram showing a drawing example of a complementary point sequence for each direction between two points P1 and P2 in the present invention. FIG.
FIG. 9 is an explanatory diagram showing a drawing example of a complementary point sequence when one straight line between two points P1 and P2 is long. Hereinafter, each step of the flowchart illustrated in FIG. 3 will be sequentially described with reference to FIGS. 4 to 7.

【0017】ステップS1:処理を開始する。 ステップS2:入力部1に、生成文字コードと生成文字
サイズが入力される。 ステップS3:データ処理部3は、入力された文字コー
ドに該当するフォントデータを、フォントデータROM
2aからRAM3bに書き込む。 ステップS4:ステップS3で書き込まれたフォントデ
ータに対し、入力された生成文字サイズになるようCP
U2aで拡大又は縮小変換を行い、結果を再びRAM3
bに書き込む。
Step S1: The process is started. Step S2: The generated character code and the generated character size are input to the input unit 1. Step S3: The data processing section 3 stores the font data corresponding to the input character code into the font data ROM
Write from 2a to RAM 3b. Step S4: For the font data written in step S3, a CP
U2a performs enlargement or reduction conversion, and stores the result in RAM3 again.
Write to b.

【0018】ステップS5:アウトラインデータの中の
まだ描画されていない線分(1直線)を抽出する。 ステップS6:ステップS5で抽出された1直線につい
て、描画方向の正規化のための計算をCPU2aで行
う。抽出した1直線の始点をP1(X1,Y2)、終点
をP2(X2,Y2)、X方向の線分DX=X2−X
1、Y方向の線分DY=Y2−Y1とする。
Step S5: A line segment (one straight line) which has not been drawn yet is extracted from the outline data. Step S6: The CPU 2a performs a calculation for normalizing the drawing direction on the one straight line extracted in step S5. The start point of the extracted straight line is P1 (X1, Y2), the end point is P2 (X2, Y2), and the line segment DX in the X direction is DX = X2-X.
1. Assume that a line segment DY = Y2-Y1 in the Y direction.

【0019】図4に本発明における2点P1、P2間の
補完点列の描画例を示す。図4において、抽出した1直
線の始点P1(X1,Y1)=(7,12)、終点P2
(X2,Y2)=(10,14)、X方向の線分DX=
X2−X1=3>0、Y方向の線分DY=Y2−Y1=
2>0、DX>DYの場合の例である。このときの補完
点は(8,13)、(9、13)であるが、図5に示す
補完位置情報テーブルから求める。
FIG. 4 shows a drawing example of a complementary point sequence between two points P1 and P2 in the present invention. In FIG. 4, the start point P1 (X1, Y1) = (7, 12) and the end point P2 of the extracted straight line
(X2, Y2) = (10, 14), line segment DX in X direction =
X2-X1 = 3> 0, Y-direction line segment DY = Y2-Y1 =
This is an example in the case of 2> 0 and DX> DY. The complementary points at this time are (8, 13) and (9, 13), which are obtained from the complementary position information table shown in FIG.

【0020】図5に本発明における補完位置情報テーブ
ルの内容を示す。図5において、抽出した1直線の始点
をP1(X1,Y2)、終点をP2(X2,Y2)、X
方向の線分DX=X2−X1>0、Y方向の線分DY=
Y2−Y1>0、DX≧DYの設定において、DX、D
Yが互いに1以外の公約数を含まない線分の組と、この
の線分に対応した補完位置情報を左右対象に配置して
テーブルROM2bに格納している。
FIG. 5 shows the contents of the supplementary position information table in the present invention. In FIG. 5, the start point of the extracted straight line is P1 (X1, Y2), the end point is P2 (X2, Y2), X
Direction line segment DX = X2-X1> 0, Y direction line segment DY =
In the setting of Y2−Y1> 0 and DX ≧ DY, DX, D
A set of line segments where Y does not include a common divisor other than 1
The complementary position information corresponding to the set of line segments is arranged symmetrically on the left and right and stored in the table ROM 2b.

【0021】図5の補完位置情報から補完点を求める方
法を図4に適用して説明する。例えば、始点P1(7,
12)、終点P2(10,14)のとき、DX=3、D
Y=2のとなるので、このときの補完位置情報は(1,
0,1)である。ここで、補完位置情報(1,0,1
は、始点P1から終点P2間へX軸方向に座標値を1づ
つ増加させたときのY軸の増加度を示している。従っ
て、始点P1(7,12)、補完点は、(7+1,12
+1)、(8+1,13+0)、終点P2(9+1,1
3+1)となる。
A method of obtaining a complementary point from the complementary position information shown in FIG. 5 will be described with reference to FIG. For example, starting point P1 (7,
12), at the end point P2 (10, 14), DX = 3, D
Since Y = 2, the complementary position information at this time is ( 1, 1, 2).
0,1 ). Here, complementary position information (1, 0, 1 )
Indicates the degree of increase in the Y-axis when the coordinate value is increased by one in the X-axis direction from the start point P1 to the end point P2. Therefore, the start point P1 (7, 12) and the complement point are (7 + 1, 12)
+1), (8 + 1, 13 + 0), end point P2 (9 + 1, 1)
3 + 1).

【0022】図6に本発明における2点P1、P2間の
方向別の補完点列の描画例を示す。図6において、図6
(a)は、DX=2>0、DY=3>0、DX<DYの
場合の例である。この時、始点P1を基準として始点P
1から終点P2までを補完する補完点の位置は、図4に
示す、DX=3>0、DY=2>0、DX>DYの場合
の補完点の位置に対し、点P1を通るX=Yの直線に対
して対称になる。従って、DX>0、DY>0、DX<
DYの場合の補完は、DX>DYの補完処理に対して、
P1からのXとYの相対座標を入れ替えて行うことによ
って実現できる。即ち、このとき図5に示す補完位置情
報(1、0、1)は、点P1から点P2間へY軸方向に
座標値を1づつ増加させたときのX軸座標の増加度を示
すことになる。
FIG. 6 shows a drawing example of a complementary point sequence for each direction between two points P1 and P2 in the present invention. In FIG.
(A) is an example in which DX = 2> 0, DY = 3> 0, and DX <DY. At this time, the start point P1 is set based on the start point P1.
The position of the complementary point that complements from 1 to the end point P2 is X = passing through the point P1 with respect to the position of the complementary point when DX = 3> 0, DY = 2> 0, and DX> DY shown in FIG. It becomes symmetric with respect to the Y line. Therefore, DX> 0, DY> 0, DX <
In the case of DY, the complementation process is DX> DY.
This can be realized by exchanging the relative coordinates of X and Y from P1. That is, at this time, the supplementary position information (1, 0, 1) shown in FIG. 5 indicates the degree of increase in the X-axis coordinate when the coordinate value is increased by one in the Y-axis direction from point P1 to point P2. become.

【0023】また、図6(b)はDX=−3<0、DY
=2>0、|DX|>|DY|の場合の例であるが、こ
れは−DX、DYで補完する際に、X座標のP1からの
相対座標をマイナスにすることによって実現できる。即
ち、このとき図5に示す補完位置情報(1、0、1)
は、点P1から点P2間へX軸方向に座標値を1づつ減
少させたときのY軸座標の増加度を示すことになる。
FIG. 6B shows DX = −3 <0, DY
= 2> 0, | DX |> | DY |, which can be realized by making the relative coordinates of the X coordinate from P1 minus when complementing with -DX, DY. That is, at this time, the complementary position information (1, 0, 1) shown in FIG.
Indicates the degree of increase in the Y-axis coordinate when the coordinate value is decreased by one in the X-axis direction from point P1 to point P2.

【0024】同様に、図6(c)はDX=2>0、DY
=−3<0、|DX|<|DY|の場合の例であるが、
これは、DX、−DYで補完する際にY座標のP1から
の相対座標の正負を反転することによって実現できる。
即ち、このとき図5に示す補完位置情報(1、0、1)
は、点P1から点P2間へY軸方向に座標値を1づつ減
少させたときのX軸座標の増加度を示すことになる。
Similarly, FIG. 6C shows DX = 2> 0, DY
= −3 <0, | DX | <| DY |
This can be realized by inverting the sign of the relative coordinate from P1 of the Y coordinate when complementing with DX and -DY.
That is, at this time, the complementary position information (1, 0, 1) shown in FIG.
Indicates the degree of increase in the X-axis coordinate when the coordinate value is decreased by one in the Y-axis direction from point P1 to point P2.

【0025】さらに、図6(d)はDX=−2<0、D
Y=−3<0、|DX|<|DY|の場合の例であり、
−DX,−DYで補完する際に、X、Yの両方の座標の
P1から相対座標の正負を反転することによって実現で
きる。即ち、このとき図5に示す補完位置情報(1、
0、1)は、点P1から点P2間へY軸方向に座標値を
1づつ減少させたときのX軸座標の減少度を示すことに
なる。
FIG. 6D shows DX = −2 <0, D
Y = -3 <0, | DX | <| DY |
When complementing with -DX and -DY, it can be realized by inverting the sign of the relative coordinates from P1 of both coordinates of X and Y. That is, at this time, the complementary position information (1,
0, 1) indicates the degree of decrease in the X-axis coordinate when the coordinate value is decreased by one in the Y-axis direction from point P1 to point P2.

【0026】以上のことから、あらゆる方向をもつ直線
について、DX≧0,DY≧0,DX≧DYの補完処理
の際に、点P1からの相対座標(X,Y)の入れ替えや
符号の正負の反転等の正規化情報によって、補完点を求
めることができる。ここでは、DXとDYの符号や大小
に従い、始点P1からの相対座標(X,Y)の入れ替え
の有無や、X,Y座標に対する符号の正負の反転の有無
等の正規化情報を調べて記憶しておき、さらにDX=X
2−X1及びDY=Y2−Y1のそれぞれの絶対値をと
ったもののうち、大きい方をDX、他方をDYとして補
完点を求める。
From the above, for a straight line having any direction, in the complementing process of DX ≧ 0, DY ≧ 0, and DX ≧ DY, the relative coordinates (X, Y) from the point P1 are replaced and the sign of the sign is changed. Complementary points can be obtained by normalization information such as inversion of. Here, according to the signs and magnitudes of DX and DY, normalization information such as whether or not the relative coordinates (X, Y) from the starting point P1 are exchanged and whether or not the signs with respect to the X and Y coordinates are inverted are checked and stored. And DX = X
Of the absolute values of 2-X1 and DY = Y2-Y1, the complement point is determined with DX being the larger one and DY being the other.

【0027】ステップS7:ステップS6で求めたD
X、DYに対して最大公約数Cを求め、DXc=DX/
C、DYc=DY/Cとする。また、補完位置座標nに
P1の座標を与える。 ステップS8:補完位置情報テーブルROM2bから、
DXc、DYcに該当する補完位置情報を読み出し、始
点P1からの相対座標(X,Y)の入れ替えの有無や、
X、Y座標に対する符号の正負の反転の有無等の正規化
情報と最大公約数Cを用いて補完を行い、結果を展開用
RAM4aに書き込むことによって描画を行う。
Step S7: D obtained in step S6
The greatest common divisor C is obtained for X and DY, and DXc = DX /
C, DYc = DY / C. Further, the coordinates of P1 are given to the complementary position coordinates n. Step S8: From the complementary position information table ROM 2b,
The complementary position information corresponding to DXc and DYc is read, and whether or not the relative coordinates (X, Y) from the start point P1 are exchanged,
Complementation is performed using normalization information such as the presence / absence of sign inversion of the X and Y coordinates and the greatest common divisor C, and drawing is performed by writing the result to the development RAM 4a.

【0028】図4に示す描画例の場合、始点P1(7,
12)、終点P2(10,14)、DX=DXc=3、
DY=DYc=2、C=1であるため、図5の補完情報
テーブルからこれに該当する補完位置情報を読み取る。
この場合(1,0,1)であり、相対座標(X,Y)の
入れ替えや、X,Yそれぞれに対する符号の正負の反転
はないため、以下のようにして補完点を求めることがで
きる。nのX座標値を1ずつ増やしながら、補完位置情
報テーブルの先頭から順に補完位置情報の値をY座標値
に加え、補完点の位置を求める。
In the case of the drawing example shown in FIG. 4, the starting point P1 (7,
12), end point P2 (10, 14), DX = DXc = 3,
Since DY = DYc = 2 and C = 1, the corresponding complementary position information is read from the complementary information table of FIG.
In this case, it is (1, 0, 1), and since there is no replacement of the relative coordinates (X, Y) and no inversion of the sign of each of X and Y, the complementary point can be obtained as follows. While increasing the X coordinate value of n by one, the value of the complementary position information is added to the Y coordinate value sequentially from the top of the complementary position information table, and the position of the complementary point is obtained.

【0029】よって、まず、始めにX座標値を1増やし
て8の時のY座標値は12+1=13となり、n(8,
13)が1点目の補完点となる。さらにX座標値が9の
時のY座標値は13+0=13となり、n(9,13)
が2点目の補完点となる。以下同様に、n(10,1
4)となってこれは終点P2と一致する。最後にCの値
を1つ減らす。
Therefore, first, the X coordinate value is incremented by 1 and the Y coordinate value at the time of 8 is 12 + 1 = 13, and n (8,
13) is the first complementary point. Further, when the X coordinate value is 9, the Y coordinate value is 13 + 0 = 13, and n (9, 13)
Is the second complementary point. Hereinafter, similarly, n (10, 1
4), which coincides with the end point P2. Finally, the value of C is reduced by one.

【0030】正規化情報により、XとYの相対座標の入
れ替えがある場合は、Y座標の値を1ずつ増やしながら
補完位置情報テーブルの値をX座標に加えてゆく。ま
た、座標の符号の正負の反転がある場合は、その方向成
分の座標値に対して加算していた値の符号の正負を反転
する。
When the relative coordinates of X and Y are exchanged according to the normalization information, the value of the complementary position information table is added to the X coordinate while increasing the value of the Y coordinate by one. If the sign of the coordinate is inverted, the sign of the value added to the coordinate value of the direction component is inverted.

【0031】ここで、必要な補完位置情報テーブルは、
DXc≧0,DYc≧0,DXc≧DYcであるため、
この範囲だけのテーブルを用意しておけばよい。また、
特に頻度の高い組み合わせに対してのみテーブルを用意
し、その他の場合はBresenhamのアルゴリズム等で描画
するように処理を切り替えてもよい。
Here, the necessary supplementary position information table is
Since DXc ≧ 0, DYc ≧ 0, DXc ≧ DYc,
It is sufficient to prepare a table only for this range. Also,
In particular, a table may be prepared only for frequently-used combinations, and in other cases, the processing may be switched so that drawing is performed using the Bresenham algorithm or the like.

【0032】図7に2点P1、P2間の1直線が長い場
合の補完点列の描画例を示す。図7において、始点P1
(10,18)、終点P2(6,12)が与えられたと
きの補完処理について説明する。DX=−4<0、DY
=−6<0、|DX|<|DY|となるが、DX、DY
に対して最大公約数Cが含まれているので、最大公約数
CとDXc、DYcを求める。この場合、C=2、|D
Xc|=2、|DYc|=3、となり、正規化情報によ
ると、XとY相対座標値の入れ替えとX、Yの両方で符
号の正負の反転が必要となる。従って、Y座標に−1ず
つ加え、X座標に補完位置情報テーブルの値(1,0,
1)を符号を反転して加算する。
FIG. 7 shows a drawing example of a complementary point sequence when one straight line between two points P1 and P2 is long. In FIG. 7, the starting point P1
(10, 18), the complementing process when the end point P2 (6, 12) is given will be described. DX = −4 <0, DY
= −6 <0, | DX | <| DY |, but DX, DY
, The greatest common divisor C and DXc, DYc are obtained. In this case, C = 2, | D
Xc | = 2, | DYc | = 3, and according to the normalized information, it is necessary to replace the relative coordinate values of X and Y and to reverse the sign of both X and Y. Accordingly, -1 is added to the Y coordinate, and the value (1, 0,
1) is inverted and added.

【0033】補完位置座標nは、最初P1と同じ座標
(10,18)となっている。補完位置情報テーブルの
値は(1,0,1)では、加算する最初の値は1である
が、正規化情報によりX座標に−1を加算し、Y座標は
1ずつ減算する。よって(10−1,18−1)=
(9,17)が最初の補完点になる。以下同様に補完を
行い、(9−0,17−1)=(9,16)、(9−
1,16−1)=(8,15)まで補完を行なった時点
で1回目の補完が終了する。ここで、Cの値は1だけ減
らして1となるので、同じ補完処理をもう一度繰り返
す。2度目の補完によるCの値が0となり、P2(6,
12)までの補完処理が完了する。
The complementary position coordinates n are initially the same coordinates (10, 18) as P1. When the value of the supplementary position information table is (1, 0, 1), the first value to be added is 1, but -1 is added to the X coordinate and the Y coordinate is subtracted by 1 according to the normalization information. Therefore, (10-1, 18-1) =
(9, 17) is the first complementing point. Thereafter, complementation is performed in the same manner, and (9-0, 17-1) = (9, 16), (9-
The first complement is completed when the complement is performed up to (1,16-1) = (8,15). Here, the value of C is reduced by 1 to 1, and the same complementing process is repeated again. The value of C by the second complementation becomes 0, and P2 (6,
The complement processing up to 12) is completed.

【0034】ステップS9:補完処理の繰り返しを行う
かどうかの判定を行う。Cの値が1以上の場合、繰り返
し処理が必要であるため、現在のnの座標値のままステ
ップS8へ戻り、同様の正規化情報とDXc、DYcを
用いてさらに補完を行う。Cが0の場合は補完処理を終
了し、ステップS10へ進む(図7、参照)。
Step S9: It is determined whether to repeat the complementing process. When the value of C is 1 or more, since the repetition processing is required, the process returns to step S8 with the current n coordinate value, and further complements using the same normalization information and DXc and DYc. If C is 0, the complement process ends, and the process proceeds to step S10 (see FIG. 7).

【0035】ステップS10:まだ描画を行っていない直
線が存在するかどうかを調べ、存在する場合はステップ
5に戻り、存在しない場合はアウトラインの描画処理を
終了する。 ステップS11:展開用RAM4aのアウトラインデータ
に対し、内部のドットを塗り潰すことによってフォント
データを生成する。 ステップS12:展開用RAMのフォントデータを、出力
部5へ出力する。 ステップS13:処理を終了する。
Step S10: It is checked whether or not there is a straight line which has not been drawn. If so, the flow returns to step S5. If not, the outline drawing process is terminated. Step S11: Font data is generated by painting out the internal dots with respect to the outline data of the development RAM 4a. Step S12: Output the font data of the RAM for development to the output unit 5. Step S13: The process ends.

【0036】従って、例えば、文字のアウトラインデー
タを描画する際、抽出した輪郭線上の2点P1、P2間
を補完する各補完点の座標値を、あらかじめ用意された
相対的な補完位置情報から求めることができるので、ア
ウトラインデータを高速に処理して描画することができ
る。2点P1、P2間の1直線が長い場合の補完処理
は、X方向線分DX、Y方向線分DYに対して最大公約
数CとDXc(=DX/C)、DYc(=DY/C)を
求めることにより、より短い直線を用いて補完処理を繰
り返すことができるので、補完位置情報テーブル内で用
意すべき補完位置情報を削減することができる。
Therefore, for example, when drawing outline data of a character, the coordinate value of each complementary point that complements between the two points P1 and P2 on the extracted outline is obtained from the relative supplementary position information prepared in advance. Therefore, outline data can be processed and drawn at high speed. Complementary processing when one straight line between the two points P1 and P2 is long is the greatest common divisor C and DXc (= DX / C), DYc (= DY / C) with respect to the line segment DX in the X direction and the line segment DY in the Y direction. ), The complementary processing can be repeated using a shorter straight line, so that the complementary position information to be prepared in the complementary position information table can be reduced.

【0037】[0037]

【発明の効果】本発明によれば、罫線/文字/図形など
のアウトラインデータを描画する際、2点間の補完処理
を、あらかじめ補完位置情報テーブル内で用意された相
対的な補完位置情報により行うことによって、関数など
を用いた補完点の座標計算や、計算により求めた座標か
ら実際に補完する点の座標を決定する際の座標値の大小
の比較等の必要がなく、高速に補完位置処理を行うこと
ができる。また、同じベクトル(線分)を持った、より
短い直線を用いて補完処理を繰り返すことにより、補完
位置情報テーブル内で用意すべきデータ数を削減するこ
とができる。また、アウトラインフォントデータから、
指定した文字コードおよび文字サイズのフォントを高速
に生成できる文字生成装置を構成することができる。
According to the present invention, when drawing outline data such as ruled lines / characters / graphics, the complementing process between two points is performed by using relative supplementary position information prepared in advance in a supplementary position information table. By doing so, there is no need to calculate the coordinates of the complementing point using a function or the like, and to compare the magnitudes of the coordinate values when determining the coordinates of the point to be actually complemented from the coordinates obtained by the calculation. Processing can be performed. Further, by repeating the complementing process using a shorter straight line having the same vector (line segment), the number of data to be prepared in the complementary position information table can be reduced. Also, from the outline font data,
A character generation device capable of generating a font having a specified character code and character size at high speed can be configured.

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

【図1】本発明の基本構成を示すブロック図である。FIG. 1 is a block diagram showing a basic configuration of the present invention.

【図2】本発明の描画装置の一実施例を示すブロック図
である。
FIG. 2 is a block diagram illustrating an embodiment of a drawing apparatus according to the present invention.

【図3】本発明の描画装置の動作を示すフローチャート
である。
FIG. 3 is a flowchart showing an operation of the drawing apparatus of the present invention.

【図4】本発明における2点P1、P2間の補完点列の
描画例を示す説明図である。
FIG. 4 is an explanatory diagram showing a drawing example of a complementary point sequence between two points P1 and P2 in the present invention.

【図5】本発明における補完位置情報テーブルの内容を
示す説明図である。
FIG. 5 is an explanatory diagram showing the contents of a supplementary position information table according to the present invention.

【図6】本発明における2点P1、P2間の方向別の補
完点列の描画例を示す説明図である。
FIG. 6 is an explanatory diagram showing a drawing example of a complementary point sequence for each direction between two points P1 and P2 in the present invention.

【図7】2点P1、P2間の1直線が長い場合の補完点
列の描画例を示す説明図である。
FIG. 7 is an explanatory diagram showing a drawing example of a complementary point sequence when one straight line between two points P1 and P2 is long.

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

1 入力部 2 パターン記憶部 2a フォントデータROM 2b 補完位置情報テーブルROM 3 データ処理部 3a CPU 3b RAM 3c ROM 4 フォント展開部 4a 展開用RAM 5 出力部 1 input unit 2 pattern storage unit 2a font data ROM 2b complementary position information table ROM 3 data processing unit 3a CPU 3b RAM 3c ROM 4 font development unit 4a development RAM 5 output unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−206796(JP,A) 特開 昭63−6685(JP,A) 特開 昭63−221493(JP,A) 特開 昭62−57080(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06T 11/20 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-63-206796 (JP, A) JP-A-63-6865 (JP, A) JP-A-63-221493 (JP, A) 57080 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) G06T 11/20

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 2次元座標面上に示される線/文字/図
形などの輪郭線を構成する補完点列で定義されたアウト
ラインデータを描画する描画装置において、前記輪郭線
上の2点の座標値がいずれも整数値で表される線分を抽
出するとともにその線分のX方向及びY方向に対応する
二つの線分長さと描画方向を抽出する線分抽出手段と、
2点間のX方向及びY方向に対応する二つの線分長さを
示す値が互いに1以外の公約数を含まない線分の組を所
定の描画方向に対して予め複数設定しその線分に対して
相対的に補完する補完点列を2点間の補完位置情報とし
て格納した補完位置情報テーブルと、抽出された2点の
X方向及びY方向に対応する二つの線分長さと描画方向
から前記補完位置情報テーブルを参照して前記2点間の
補完点列の座標値を求める補完点抽出手段と、求めた補
完点の座標値を2次元座標面上に順次プロットして前記
2点間の補完点列を描画する描画手段とを備えたことを
特徴とする描画装置。
1. A drawing apparatus for drawing outline data defined by a supplementary point sequence forming a contour line such as a line / character / graphic shown on a two-dimensional coordinate plane, wherein coordinate values of two points on the contour line are provided. Are line segment extraction means for extracting a line segment represented by an integer value and extracting two line segment lengths and drawing directions corresponding to the X and Y directions of the line segment;
The length of two line segments corresponding to the X and Y directions between two points is
Place a set of line segments whose values do not include common divisors other than 1
Set several in advance for a fixed drawing direction and
A complementary point sequence that complements relatively is used as complementary position information between two points.
A complementary position information table storing Te, from the two line segments length and drawing direction corresponding to the X and Y directions of the extracted two points between referring to the two points of the complementary positional information table <br/> and complementing point extracting means for obtaining coordinate values of the complementary point sequence, by sequentially plotting the coordinates of the obtained interpolation points on a two-dimensional coordinate plane the
A drawing device for drawing a complementary point sequence between two points .
【請求項2】 前記補完位置情報テーブルは、所定の描
画方向に対してX座標値を1増加する際のY座標値の増
加度または減少度、またはX座標値を1減少する際のY
座標値の増加度または減少度を相対的に示す補完点列を
格納し、前記線分抽出手段は、前記補完位置情報テーブ
ルを参照し、抽出された描画方向からX座標値の1増減
する際のY座標値の増減度を判別して2次元座標面上に
おける補完点列の座標値を求めることを特徴とする請求
項1記載の描画装置。
2. The image processing apparatus according to claim 1, wherein the supplementary position information table includes a predetermined
Increase of Y coordinate value when X coordinate value is increased by 1 with respect to image direction
Addition or decrement, or Y when decrementing the X coordinate value by 1.
A complementary point sequence that relatively indicates the degree of increase or decrease in coordinate values
And the line segment extracting means stores the complementary position information table.
The X coordinate value from the extracted drawing direction by 1
The degree of increase / decrease of the Y coordinate value at the time of
2. The drawing apparatus according to claim 1, wherein a coordinate value of the complementary point sequence is obtained .
【請求項3】 2次元座標面上に示される線/文字/図
形などの輪郭線を構成する補完点列で定義されたアウト
ラインデータを描画する描画装置において、 文字コー
ド及び文字サイズの入力する入力手段と、複数文字のア
ウトラインフォントを格納したパターン記憶手段と、入
力された文字コード及び文字サイズに基づきアウトライ
ンフォントを拡大または縮小変換する拡大/縮小手段
と、拡大/縮小変換されたアウトラインフォントの閉領
域の塗り潰し処理を行う塗り潰し処理手段と、塗り潰し
処理したアウトラインフォントを出力する出力手段とを
さらに備えたことを特徴とする請求項1記載の描画装
置。
3. An input device for inputting a character code and a character size in a drawing device for drawing outline data defined by a complementary point sequence forming a contour line such as a line / character / graphic shown on a two-dimensional coordinate plane. Means, pattern storage means for storing outline fonts of a plurality of characters, enlargement / reduction means for enlarging or reducing the outline font based on the input character code and character size, and closing of the enlarged / reduced outline font. 2. The drawing apparatus according to claim 1, further comprising: a filling processing unit that performs a filling process of an area; and an output unit that outputs an outline font that has been subjected to the filling process.
JP06328201A 1994-12-28 1994-12-28 Drawing equipment Expired - Fee Related JP3072756B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06328201A JP3072756B2 (en) 1994-12-28 1994-12-28 Drawing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06328201A JP3072756B2 (en) 1994-12-28 1994-12-28 Drawing equipment

Publications (2)

Publication Number Publication Date
JPH08185527A JPH08185527A (en) 1996-07-16
JP3072756B2 true JP3072756B2 (en) 2000-08-07

Family

ID=18207585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06328201A Expired - Fee Related JP3072756B2 (en) 1994-12-28 1994-12-28 Drawing equipment

Country Status (1)

Country Link
JP (1) JP3072756B2 (en)

Also Published As

Publication number Publication date
JPH08185527A (en) 1996-07-16

Similar Documents

Publication Publication Date Title
JP3474037B2 (en) Character pattern generator
US5295240A (en) Apparatus and method for generating character pattern data
KR970008546B1 (en) Character or graphic processing method
US6753862B1 (en) Outline smoothing method and system
JP2909273B2 (en) Outline font line width adjusting method and apparatus
JP3037854B2 (en) Character generation method and device
JP3072756B2 (en) Drawing equipment
JP3034140B2 (en) Character generation method and device
JPH05232926A (en) Character code generating device
JP3055187B2 (en) Contour data processing device
JP2630843B2 (en) Straight line drawing method and apparatus
KR940001106B1 (en) Image processing method and apparatus therefor
JP3039015B2 (en) Character processor
JPH05273958A (en) Outline data processor
JP2594906B2 (en) Line type generation circuit in graphic processing equipment
JP3082173B2 (en) Contour data processing device
JP3039214B2 (en) Data converter
JP3347756B2 (en) Character generation method and device
JP2861201B2 (en) Data converter
JP3057963B2 (en) Data converter
JP2776347B2 (en) Drawing device for printer
JP2835056B2 (en) High quality character pattern generation method
JPH06110444A (en) Character processor and character output method
JPH0950272A (en) Method and device for outline font generation
JPH02158363A (en) Character generator

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090602

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees