JPH02201691A - Character painting-out device - Google Patents
Character painting-out deviceInfo
- Publication number
- JPH02201691A JPH02201691A JP2119389A JP2119389A JPH02201691A JP H02201691 A JPH02201691 A JP H02201691A JP 2119389 A JP2119389 A JP 2119389A JP 2119389 A JP2119389 A JP 2119389A JP H02201691 A JPH02201691 A JP H02201691A
- Authority
- JP
- Japan
- Prior art keywords
- character
- address
- information
- developed
- painting
- 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
Links
- 239000003973 paint Substances 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 10
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 238000005429 filling process Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- TWAWPCGFTAOEND-UHFFFAOYSA-N muk-1 Chemical compound N=1C=2C(C(=O)OC)=CC=CC=2OC=1C(C=1N=2)=CC=CC=1OC=2C1=CC=CC=C1OC TWAWPCGFTAOEND-UHFFFAOYSA-N 0.000 description 2
- 239000007787 solid Substances 0.000 description 1
Landscapes
- Image Generation (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野]
本発明は文字の輪郭情報に基づいて文字の4りつぶしを
行う文字塗りつぶし装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character filling device that fills in four areas of a character based on character outline information.
(従来の技術)
第4図は、一般的な、ベクトル・フォント描画の工程を
示した図であり、同図において、マトリクス演算器30
は、ベクター情報31が入力されると、この情報に基づ
いて描画文字32を作成する。この描画文字32は、ベ
クタ描画曲線発生部33によって白抜き文字34に展開
され、さらにシードフィル(塗りつぶし)部35によっ
て文字等の塗りつぶしが行われ完成された文字36とな
る。なお、白抜き文字34は、例えば第5図(a>(b
)に示すように、描画メモリのプレーン上の展開エリア
40に、文字の大きさに関係なく展開されている。(Prior Art) FIG. 4 is a diagram showing a general vector font drawing process.
When vector information 31 is input, drawn characters 32 are created based on this information. This drawn character 32 is expanded into a white character 34 by a vector drawing curve generation section 33, and then filled in by a seed fill (filling) section 35 to become a completed character 36. Note that the white characters 34 are, for example, shown in FIG. 5 (a>(b
), the characters are developed in the development area 40 on the plane of the drawing memory, regardless of the size of the characters.
[発明が解決しようとする課題]
ところで、上記ベクトル・フォント描画の工程では、シ
ードフィル(塗りつぶし)を行う場合、白抜き文字を1
024B i txl 024B i tのメモリ・プ
レーン上に展開し、さらに、そのプレーン上で再び塗り
つぶしを行うようにしている。[Problems to be Solved by the Invention] By the way, in the process of drawing the vector font described above, when performing seed fill (filling), it is necessary to
024B i txl It is developed on the memory plane of 024B i t, and then the plane is filled again.
この場合、展開エリア40に展開された文字の大きさに
は無関係に、当該展開エリア40を全面スキャンして塗
りつぶしを行わなりれぽならず、小さり文字の展開でも
、人さ゛い文字の展開でし、同一の塗りつぶしの処理時
間を必要とし、文字の塗りつぶしを高速に行うことが出
来なかった。In this case, regardless of the size of the characters developed in the development area 40, the entire development area 40 will be scanned and filled in, and even if small characters are developed, the characters will not be developed. However, the same amount of processing time was required for filling in characters, and it was not possible to fill in characters at high speed.
本発明は上記実情に鑑みてなされたものであり、高速に
文字の塗りつぶし処理を行うことので込る文字塗りつぶ
し装置を提供することを目的とJる。The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide a character filling device that can perform character filling processing at high speed.
(課題を解決リ−るための手段および作用〕本発明は、
展開された文字の輪郭情報を記・巨り−る記・臘手段と
、前記記憶手段にd3(、プる展開された文字が存在す
る文字展間領域の力をアクセスJるアクセス手段とを具
えており、文字の大きさによって異なる文字展開領域内
の力がアクセスされ、当該領域に展間されている文字の
輪郭情報に基づいて塗りつぶし処理がおこなわれる。(Means and effects for solving the problem) The present invention has the following features:
A means for recording/increasing the contour information of the expanded character, and an access means for accessing the power of the character area where the expanded character exists in the storage means. The force within the character development area, which varies depending on the size of the character, is accessed, and the filling process is performed based on the outline information of the character developed in the area.
以下、本発明に係る文字塗りつぶし装置の実施例を添イ
」図面を参照して説明する。Embodiments of the character filling device according to the present invention will be described below with reference to the accompanying drawings.
第1図は本発明に係る文字塗りつぶし装置の実施例を示
覆ブロック図である。同図において、データメしり1は
文字等に関するベクトル情報を記憶している。描画メモ
リ2にはムク1〜ル情報に基づく文字の輪郭が展開さ−
れ、この展開された文字の輪郭内部は塗りつぶし回路3
によって塗りつぶし処理が施される。輪郭内部の塗りつ
ぶし処理が施された文字は、完成された文字として展開
メモリ4に展開される。FIG. 1 is a block diagram showing an embodiment of a character filling device according to the present invention. In the figure, a data meter 1 stores vector information regarding characters and the like. The outline of the character is developed in the drawing memory 2 based on the information from Muk1 to Ru.
The inside of the expanded character outline is the fill circuit 3.
The filling process is performed by . The character whose outline has been filled in is expanded into the expansion memory 4 as a completed character.
アクセス手段F〕は、プロセッサ6とアドレス設定部7
とを有して構成され、プロセッサ6は、データメモリ1
に記°旧されているムク1〜ル情報(ベクタ・フォント
)に基づいて文字を展開し、この展開された文字の輪郭
情報を1に1画メモリ2に格納するとともに、展開され
た文字が存在する後)ホする文字展間領域をアクセスす
るためのアドレスを設定する。The access means F] includes a processor 6 and an address setting section 7.
The processor 6 includes a data memory 1
Characters are expanded based on the Muk1~L information (vector font) recorded in the , and the contour information of the expanded characters is stored in the 1 stroke memory 2, and the expanded characters are (after existing) Set the address for accessing the character space area.
一方、アドレス設定部7は、プロセッサ6によって設定
されたアドレス情報を人力し、この入力したアドレス情
報に基づいて描画メモリ2に対してアクセスする。On the other hand, the address setting section 7 manually inputs the address information set by the processor 6 and accesses the drawing memory 2 based on the input address information.
ここで、本発明に係わる文字等の輪郭の展開は、第2図
(a>に示す文字パターン描画用メモリエリア10の左
上、左下、右上、右下のいずれかを中心として文字等の
輪郭の展開が行われる。Here, the development of the outline of a character, etc. according to the present invention is performed by centering on any one of the upper left, lower left, upper right, and lower right of the character pattern drawing memory area 10 shown in FIG. 2 (a>). Expansion takes place.
すなわち、実施例では、プロセッサ6は、例えば、第2
図(a)に示すように、大きい文字「あ」を示すベクタ
・フォントのベク]・ル情報にお(ブるX方向の最大値
とY方向の最大値とに基づいて、図中矢印Aで示す点の
位置座標を認識するとともに、この位置座標を、第2図
(a)の図中矢印Bで示す点の位置座標に移動した際の
移動量に基づいてベクタ・フォントのベクトル情報にお
ける各ベクトルの位置座標情報を変更し、さらに第2図
(b)に示すように、文字パターン描画用メモリエリア
1oの右下を中心する文字展間領域11Aを確保して文
字を展開する。また同様に、小さい文字についても、第
2図(C)に示すように展開することができる。That is, in the embodiment, the processor 6, for example,
As shown in Figure (a), based on the maximum value in the X direction and the maximum value in the Y direction, the The positional coordinates of the point indicated by are recognized, and the vector information of the vector font is calculated based on the amount of movement when this positional coordinate is moved to the positional coordinate of the point indicated by arrow B in Fig. 2(a). The positional coordinate information of each vector is changed, and as shown in FIG. 2(b), the character space area 11A centered at the lower right of the character pattern drawing memory area 1o is secured and the characters are developed. Similarly, small characters can also be expanded as shown in FIG. 2(C).
また、プロセッサ6は、文字展間領域をアクセスするた
めのアドレスの設定に対しては、第2図(b)、(C)
に示すように、文字パターン描画用メモリエリア10に
おけるスキャンの開始位置、つまり文字展開領域11A
、11Bのスキャンの開始位置Sを示すアドレス値、つ
まり初期値を示すアドレス情報A、および文字展開領域
11A、11BをスキャンするY方向の開始位置を指定
するためのアドレスの下位の部分を示すアドレス情報B
を設定する。Further, the processor 6 sets the address for accessing the character space area as shown in FIGS. 2(b) and 2(C).
As shown in the figure, the scan start position in the character pattern drawing memory area 10, that is, the character development area 11A
, 11B, an address value indicating the start position S of scanning, that is, address information A indicating the initial value, and an address indicating the lower part of the address for specifying the start position in the Y direction of scanning the character development areas 11A and 11B. Information B
Set.
第3図は、第1図に示したブロック図において、アドレ
ス設定部7を更に詳細に示した文字塗りつぶし装置のブ
ロック図である。なお、第3図において、第1図で示し
た構成部分と同一部分には同一符号をイーシている。ア
ドレス設定部7は、アドレス・レジスタ21と、アドレ
ス設定回路22と、制御信号発生回路23と、終了アド
レス検出回路24とを有している。FIG. 3 is a block diagram of the character filling device showing the address setting unit 7 in more detail in the block diagram shown in FIG. In FIG. 3, the same components as those shown in FIG. 1 are designated by the same reference numerals. The address setting section 7 includes an address register 21, an address setting circuit 22, a control signal generation circuit 23, and an end address detection circuit 24.
アドレス・レジスタ21はアドレス情報を保持するもの
であり、アドレス設定回路22はアドレス・レジスタ2
1にアドレス情報B@設定する。The address register 21 holds address information, and the address setting circuit 22
Address information B@ is set to 1.
制御信号発生回路23は、初期値を示ずアドレス情報A
がアドレス・レジスタ21に入力された後、アドレス・
レジスタ21に入力されるべくアドレス情報Bを選択づ
るための選択信号を出力するとともに、その選択したア
ドレス情報Bを所定のタイミングでアドレス・レジスタ
21に出き込みするためのタイミング信号を出力する。The control signal generation circuit 23 does not indicate an initial value and uses address information A.
is input into the address register 21, the address
It outputs a selection signal for selecting address information B to be input into the register 21, and also outputs a timing signal for inputting and outputting the selected address information B to and from the address register 21 at a predetermined timing.
終了アドレス検出回路24は、1文字分の文字パターン
における終了のワードのアドレスを検出すると、1文字
分が終了である旨の終了信号を出力する。When the end address detection circuit 24 detects the address of the end word in the character pattern for one character, it outputs an end signal indicating that one character is the end.
次に上記文字塗りつぶし装置の孕りつぶし処理動作をf
f13図に基づき説明する。Next, the filling processing operation of the above character filling device is f
This will be explained based on Fig. f13.
プロセッサ6は、例えば、第2図(b)に示す文字展開
領域11Aにおける矢印Sで示す位置のアドレス情報A
(初期値)およびアドレスの下位の部分を示すアドレス
情報Bを出力する。For example, the processor 6 stores address information A at a position indicated by an arrow S in the character development area 11A shown in FIG. 2(b).
(initial value) and address information B indicating the lower part of the address.
プロセッサ6から出力された初111]値(アドレス情
報A)は、バスAを介してアドレス・レジスタ21に入
力され、さらにバスBを介して描画メモリ2に入力され
る。その描画メモリ2からは、アドレス情報Aに基づい
てアクセスされたデータが、塗りつぶし回路3に出力さ
れる。The initial 111] value (address information A) output from the processor 6 is input to the address register 21 via bus A, and further input to the drawing memory 2 via bus B. Data accessed based on the address information A is output from the drawing memory 2 to the filling circuit 3.
一方、プロセッサ6から出力されたアドレス情報Bは、
バスCを介してアドレス設定回路22に入力される。On the other hand, the address information B output from the processor 6 is
It is input to the address setting circuit 22 via bus C.
制御信号発生回路23は、アドレス情報Aがアドレス・
レジスタ21に入力されたことを認識すると、選択信号
およびタイミング信号を出力する。The control signal generation circuit 23 determines that the address information A is an address.
When recognizing the input to the register 21, it outputs a selection signal and a timing signal.
これにより、アドレス設定回路22に入力されているア
ドレス情報Bは、上記選択信号に基づいて選択され、さ
らに上記タイミング信号に基づいてバスDを介してアド
レス・レジスタ21に出き込まれる。As a result, the address information B input to the address setting circuit 22 is selected based on the selection signal, and is further input into the address register 21 via the bus D based on the timing signal.
このようにしてアドレス情報Bが書き込まれたアドレス
・レジスタ21は、描画メモリ2が1ワードずつアクセ
スされる毎に、初期値を示すアドレス値が「+1」ずつ
インクリメントされ、このインクリメントされたアドレ
スにおける下位の部分、つまりアドレス情報Bに基づい
て描画メモリ2をアクセスする。In the address register 21 in which the address information B is written in this way, the address value indicating the initial value is incremented by "+1" each time the drawing memory 2 is accessed one word at a time, and the address value at this incremented address is incremented by "+1". The drawing memory 2 is accessed based on the lower part, that is, address information B.
これによって、描画メモリ2からは、インクリメントさ
れたアドレスに基づいて、輪郭情報が順次アクセスされ
る。そして、終了アドレス検出回路24は、アドレス・
レジスタ21からバスEを介して入力された1文字分の
文字パターンにおける終了のワードのアドレスを検出す
ると、終了信号を制御信号発生回路23に出力する。制
御信号発生回路23は、終了アドレス検出回路24から
出力されたに終了信号を入力すると、選択信号およびタ
イミング信号を出力する。As a result, contour information is sequentially accessed from the drawing memory 2 based on the incremented address. Then, the end address detection circuit 24 detects the address
When the address of the end word in the character pattern for one character input from the register 21 via the bus E is detected, an end signal is output to the control signal generation circuit 23. When the control signal generation circuit 23 receives the end signal output from the end address detection circuit 24, it outputs a selection signal and a timing signal.
上述したようにアドレス設定部7によってアクセスされ
る描画メモリ2からは、文字展開領域11Aのみがアク
セスされることになる。As described above, from the drawing memory 2 accessed by the address setting section 7, only the character development area 11A is accessed.
続いて、プロセッサ6は、次の文字パターンに関する文
字展開領域をスキャンすべく、例えば、第2図(C)に
示す文字展開領域11Bをスキャンすべく、アドレス情
報A(初期値)およびアドレス情報Bを出力する。これ
によりアドレス設定部7は、前記各アドレス情報に基づ
いて、上述したように、次の文字パターンに関J−る文
字展開領域11Bのみをアクセスする。Subsequently, the processor 6 uses the address information A (initial value) and the address information B to scan the character development area for the next character pattern, for example, the character development area 11B shown in FIG. 2(C). Output. As a result, the address setting section 7 accesses only the character development area 11B related to the next character pattern J-, as described above, based on the respective address information.
なお、第2図(C)に示す小さい文字における文字展開
領域11Bに対するアクセスは、文字展開領域11Bが
、第2図(b)に示す大きい文字における文字展開領域
11Aよりも小さいため、文字展開領域11Aに対する
アクセスよりも短時間で行うことができる。Note that when accessing the character development area 11B for small characters shown in FIG. 2(C), the character development area 11B is smaller than the character development area 11A for large characters shown in FIG. 2(b). This can be done in a shorter time than accessing 11A.
上述したように本実施例では、文字の大小により、描画
メモリ2に対するアクセス時間が異なるため、塗りつぶ
し処理を高速に行うことができる。As described above, in this embodiment, since the access time to the drawing memory 2 differs depending on the size of the character, the filling process can be performed at high speed.
〔発明の効果]
以上説明したように本発明によれば、展開された文字が
存在する文字展開領域のみをアクセスして、該当する輪
郭情報に基づいて塗りつぶしを行うようにしたので、輪
郭情報を記′践する記憶手段(描画メモリ)に対するア
クセス時間が短縮されることになり、高速に文字の塗り
つぶし処理を行うことができる利点がある。[Effect of the Invention] As explained above, according to the present invention, only the character development area where the developed character exists is accessed and filling is performed based on the corresponding outline information. The access time to the storage means (drawing memory) for writing is shortened, and there is an advantage that character filling processing can be performed at high speed.
第1図は本発明に係る文字塗りつぶし装置の一実施例を
示すブロック図、第2図は本実施例の塗りつぶし処理を
説明するだめの説明図、第3図は第1図で示した文字塗
りつぶし装置をさらに詳細に示したブロック図、第4図
は一般的なベタ1〜ル・フォント描画の1稈を示1−]
:稈図、第5図は従来の文字塗りつぶし装置の塗りつぶ
し処理を説明するだめの説明図である。
1・・・データメモリ、2・・・描画メモリ、3・・・
塗りつぶし回路、4・・・展開メモリ、5・・・アクセ
ス手段、6・・・ブロセッザ、7・・・アドレス設定部
、21・・・アドレス・レジスタ、22・・・アドレス
設定回路、23・・・制御信号発生回路、24・・・終
了アドレス検11“回路。Fig. 1 is a block diagram showing an embodiment of the character filling device according to the present invention, Fig. 2 is an explanatory diagram for explaining the filling process of this embodiment, and Fig. 3 is a block diagram showing an embodiment of the character filling device according to the present invention. A block diagram showing the device in more detail, Figure 4 shows one culm of general solid font drawing.
: Culm diagram, FIG. 5 is an explanatory diagram for explaining the filling process of the conventional character filling device. 1...Data memory, 2...Drawing memory, 3...
Filling circuit, 4... Expansion memory, 5... Access means, 6... Brossezer, 7... Address setting unit, 21... Address register, 22... Address setting circuit, 23... - Control signal generation circuit, 24...End address detection 11" circuit.
Claims (1)
その輪郭情報に基づいて文字の塗りつぶしを行う文字塗
りつぶし装置において、 前記記憶手段における展開された文字が存在する文字展
開領域のみをアクセスするアクセス手段を具え、前記ア
クセス手段によってアクセスされた輪郭情報に基づいて
文字の塗りつぶしを行うようにしたことを特徴とする文
字塗りつぶし装置。[Scope of Claims] It has a storage means for storing outline information of developed characters,
A character filling device that fills in a character based on its outline information, further comprising an access means for accessing only a character development area in the storage means in which a developed character exists, and based on the outline information accessed by the access means. A character filling device characterized in that a character is filled in by using a button.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2119389A JPH02201691A (en) | 1989-01-31 | 1989-01-31 | Character painting-out device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2119389A JPH02201691A (en) | 1989-01-31 | 1989-01-31 | Character painting-out device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02201691A true JPH02201691A (en) | 1990-08-09 |
Family
ID=12048126
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2119389A Pending JPH02201691A (en) | 1989-01-31 | 1989-01-31 | Character painting-out device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02201691A (en) |
-
1989
- 1989-01-31 JP JP2119389A patent/JPH02201691A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4990903A (en) | Method for storing Chinese character description information in a character generating apparatus | |
| JPS589451B2 (en) | How to supply coordinate data to raster type output device | |
| EP0280320B1 (en) | Graphics display controller equipped with boundary searching circuit | |
| JPH024938B2 (en) | ||
| JPH02201691A (en) | Character painting-out device | |
| KR920007752B1 (en) | Horizontal Line Processor for Printer Data | |
| US6628289B1 (en) | Rendering apparatus and method, and storage medium | |
| JP2855771B2 (en) | Character generation circuit | |
| JP2610825B2 (en) | Graphic processing unit | |
| JP2634905B2 (en) | How to paint shapes | |
| JP2856243B2 (en) | Checkered pattern automatic creation apparatus and method | |
| JP2598512B2 (en) | Output control method and device | |
| JP4058197B2 (en) | Drawing apparatus, drawing method, and storage medium | |
| KR930001359B1 (en) | Character generator | |
| JP3054157B2 (en) | Character processing device and character processing method | |
| JPH0310294A (en) | Image display device | |
| JPH0438389Y2 (en) | ||
| CN118227062A (en) | Image processing method, device, electronic device and storage medium | |
| JPS61213884A (en) | Graphic character generator | |
| JPS61286880A (en) | display device | |
| JPH01137290A (en) | Character generator | |
| JPS621568A (en) | Apparatus for generating rule line | |
| JPH03217987A (en) | Drawing device | |
| JPS59174970A (en) | Graphic element detecting system | |
| JPS62226384A (en) | Picture outline tracing system |