JPH0660188A - Picture drawing device - Google Patents

Picture drawing device

Info

Publication number
JPH0660188A
JPH0660188A JP21175792A JP21175792A JPH0660188A JP H0660188 A JPH0660188 A JP H0660188A JP 21175792 A JP21175792 A JP 21175792A JP 21175792 A JP21175792 A JP 21175792A JP H0660188 A JPH0660188 A JP H0660188A
Authority
JP
Japan
Prior art keywords
data
image
image memory
register
memory
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
JP21175792A
Other languages
Japanese (ja)
Inventor
Tokutaro Fukushima
徳太郎 福嶋
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP21175792A priority Critical patent/JPH0660188A/en
Publication of JPH0660188A publication Critical patent/JPH0660188A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To relieve the load of a CPU required when a picture memory is cleared or a same color is filled in a wide range of the picture memory including drawing of a background portion. CONSTITUTION:When a drawing start recognition section 3c of a CPU 3 recognizes the start of drawing to a picture memory 2 and a vector expansion section 3b generates data representing a clear area and data of a relevant density to clear the picture memory 2, a picture drawing controller 34 draws white dots to a clear area of the picture memory 2. Moreover, a background detection section 3d detects a background portion drawing instruction and the vector expansion section 3b generates data of the relevant density and data representing the drawing area to draw the background portion, the picture drawing controller 34 draws data corresponding to the density to the drawing area of the picture memory 2.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は直線ベクトルのデータ
を描画できる画像描画装置に関し、特に画像メモリをク
リア又は同じ色に塗りつぶす作業を実行する画像描画装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image drawing apparatus capable of drawing straight-line vector data, and more particularly to an image drawing apparatus for executing a work of clearing an image memory or filling the same color.

【0002】[0002]

【従来の技術】直線ベクトルによる画像描画装置とし
て、例えば特開平2−181886号公報にみられるよ
うなものがあり、このような画像描画装置を有する情報
システムの動作を図8を参照して説明する。この情報処
理システムは、ホストコンピュータ1においてポストス
クリプトに代表されるページ記述言語により作成した画
像データを画像メモリ2に描画するものである。
2. Description of the Related Art As an image drawing device using a straight line vector, for example, there is one shown in Japanese Patent Laid-Open No. 2-181886, and the operation of an information system having such an image drawing device will be described with reference to FIG. To do. This information processing system draws in the image memory 2 image data created in a page description language represented by Postscript in the host computer 1.

【0003】そのベクトルデータは全てベクトルで表現
されており、記述されたベクトルをCPU3が全て主走
査方向の直線ベクトルに展開し直し、その直線ベクトル
の始点,終点の座標及び濃度の値を先入れ先出しメモリ
(以下「FIFO」という)4に一時格納する。FIF
O4に格納された各データは主走査方向開始アドレスレ
ジスタ(以下「XSレジスタ」という)5,主走査方向
終了アドレスレジスタ(以下「XEレジスタ」という)
6,副走査方向開始アドレスレジスタ(以下「YSレジ
スタ」という)7,濃度レジスタ(以下「RGBレジス
タ」という)8にそれぞれラッチされる。
All of the vector data are represented by vectors. The CPU 3 redistributes all the described vectors into straight line vectors in the main scanning direction, and the coordinates of the start and end points of the straight line vectors and the density values are first-in first-out memory. (Hereinafter referred to as "FIFO") 4 is temporarily stored. FIF
Each data stored in O4 is a main scanning direction start address register (hereinafter referred to as “XS register”) 5, a main scanning direction end address register (hereinafter referred to as “XE register”)
6, the sub-scanning direction start address register (hereinafter referred to as "YS register") 7, and the density register (hereinafter referred to as "RGB register") 8 are respectively latched.

【0004】CPU3から描画命令が出されると、メモ
リコントローラ9はライト信号を発生して、画像メモリ
2上のXSレジスタ5とYSレジスタ7とによって指定
されるアドレスにRGBレジスタ8によって指定される
濃度で書き込みを行なう。また、その書き込み動作開始
と共に主走査方向アドレスカウンタ(以下「Xアドレス
カウンタ」という)10がカウント動作に入り、アドレ
ス(XSレジスタ5からのロード値)をインクリメント
(+1)していく。
When a drawing command is issued from the CPU 3, the memory controller 9 generates a write signal, and the density specified by the RGB register 8 at the address specified by the XS register 5 and the YS register 7 on the image memory 2. Write with. When the write operation is started, the main scanning direction address counter (hereinafter referred to as “X address counter”) 10 starts counting operation, and the address (load value from the XS register 5) is incremented (+1).

【0005】その後、アドレスがXEレジスタ6の値と
同じになると、主走査方向比較器であるXコンパレータ
11が描画終了ドットまで来たことをメモリコントロー
ラ9に伝える。これにより、直線ベクトルの描画が行な
える。そして、以上の動作を繰り返すことにより、ホス
トコンピュータ1で作成した1ページ分の画像データを
画像メモリ2に描画することができる。
After that, when the address becomes the same as the value of the XE register 6, the X-comparator 11 which is the main scanning direction comparator notifies the memory controller 9 that the drawing end dot has been reached. As a result, a straight line vector can be drawn. Then, by repeating the above operation, one page of image data created by the host computer 1 can be drawn in the image memory 2.

【0006】また、2次元の矩形領域のイメージデータ
を画像メモリに描画する画像描画装置を有する情報処理
システムの動作を図9を参照して説明する。この情報処
理システムは、一度画像メモリに描画したテキストデー
タなどをキャッシュメモリにもイメージデータとして蓄
え、同じテキストデータは2回目以降はキャッシュメモ
リから読んだデータを描画するものである。
The operation of the information processing system having the image drawing device for drawing the image data of the two-dimensional rectangular area in the image memory will be described with reference to FIG. This information processing system stores text data and the like once drawn in the image memory in the cache memory as image data, and draws the same text data as the data read from the cache memory after the second time.

【0007】画像描画装置は、図8と同様に、CPU3
からの各データを一時格納するFIFO4と、主走査方
向の描画開始アドレスを格納しておくXSレジスタ5
と、主走査方向の描画終了アドレスを格納しておくXE
レジスタ6と、副走査方向の描画開始アドレスを示すY
Sレジスタ7と、濃度値を示すRGBデータを格納して
おくRGBレジスタ8と、画像メモリ2の主走査方向の
描画アドレスを指定するXアドレスカウンタ10と、画
像メモリ2の主走査方向の描画終了を知らせるXコンパ
レータ11とを備えている。
The image drawing apparatus is similar to that shown in FIG.
FIFO 4 for temporarily storing each data from the table and XS register 5 for storing a drawing start address in the main scanning direction
And XE for storing the drawing end address in the main scanning direction
Register 6 and Y indicating the drawing start address in the sub-scanning direction
S register 7, an RGB register 8 for storing RGB data indicating a density value, an X address counter 10 for designating a drawing address of the image memory 2 in the main scanning direction, and an end of drawing of the image memory 2 in the main scanning direction. And an X-comparator 11 for informing.

【0008】また、CPU3からのイメージデータを所
定の矩形領域毎に登録するキャッシュメモリ12と、F
IFO4からデータを取り込んでその種類を判別する取
りこみ制御装置(以下「オペレーションコントローラ」
という)13と、FIFO4から取り込んだ並列データ
を直列データに変換するパラレル/シリアル変換器14
と、副走査方向の描画終了アドレスを格納しておく副走
査方向終了アドレスレジスタ(以下「YEレジスタ」と
いう)15と、副走査方向の描画したライン数をカウン
トする副走査方向アドレスカウンタ(以下「Yアドレス
カウンタ」という)16と、描画するラインの終了を知
らせる副走査方向比較器(以下「Yコンパレータ」とい
う)17と、画像メモリ2のリードモディファイライト
機能を制御するORゲート18,ラッチ回路19,2
0,インバータ21からなるメモリデータ制御装置とを
備えている。
Further, a cache memory 12 for registering image data from the CPU 3 for each predetermined rectangular area, and F
An import control device (hereinafter referred to as "operation controller") that receives data from the IFO 4 and determines the type of the data.
13) and a parallel / serial converter 14 for converting parallel data fetched from the FIFO 4 into serial data.
, A sub-scanning direction end address register (hereinafter referred to as “YE register”) 15 for storing a drawing end address in the sub-scanning direction, and a sub-scanning direction address counter (hereinafter, “YE register”) for counting the number of lines drawn in the sub-scanning direction. 16), a sub-scanning direction comparator (hereinafter referred to as "Y comparator") 17 for notifying the end of the line to be drawn, an OR gate 18 for controlling the read-modify-write function of the image memory 2, and a latch circuit 19 , 2
0, a memory data control device including an inverter 21.

【0009】このように構成した画像描画装置におい
て、ホストコンピュータ1から得られたデータは、キャ
ッシュメモリ12への登録前の1回目の描画を行なう際
に図8と同様にCPU3により直線ベクトルに変換され
る。直線ベクトルに変換されたデータはFIFO4に格
納すると同時に所定の矩形領域毎にイメージ展開してキ
ャッシュメモリ12に登録する。
In the image drawing apparatus configured as described above, the data obtained from the host computer 1 is converted into a straight line vector by the CPU 3 in the same manner as in FIG. 8 when the first drawing before registration in the cache memory 12 is performed. To be done. The data converted into the straight line vector is stored in the FIFO 4, and at the same time, an image is developed for each predetermined rectangular area and registered in the cache memory 12.

【0010】その後、描画すべきイメージデータがキャ
ッシュメモリ12に登録されているか否かをチェック
し、登録されている場合にはそのイメージデータを描画
する矩形領域の描画開始座標(XS,YS),描画終了
座標(XE,YE)と、矩形領域の描画命令と、キャッ
シュメモリ12内の描画すべきイメージデータとを順次
FIFO4に書き込む。
Then, it is checked whether or not the image data to be drawn is registered in the cache memory 12, and if it is registered, the drawing start coordinates (XS, YS) of the rectangular area for drawing the image data, The drawing end coordinates (XE, YE), the drawing command for the rectangular area, and the image data to be drawn in the cache memory 12 are sequentially written in the FIFO 4.

【0011】FIFO4に必要なデータが揃うと、オペ
レーションコントローラ13はそれらのデータを取り出
し、その各データに応じた動作を行なう。すなわち、最
初のデータはイメージデータを描画する矩形領域の描画
開始座標(XS,YS),描画終了座標(XE,YE)
なので、それらをXSレジスタ5,YSレジスタ7,X
Eレジスタ6,YEレジスタ15にそれぞれラッチさせ
る。次のデータは矩形領域の描画命令なので矩形領域の
描画動作を開始し、さらにその描画命令に続くデータは
イメージデータなので、そのイメージデータをパラレル
/シリアル変換器14にロードする。
When the necessary data is prepared in the FIFO 4, the operation controller 13 takes out the data and performs an operation according to each data. That is, the first data is the drawing start coordinates (XS, YS) and the drawing end coordinates (XE, YE) of the rectangular area for drawing the image data.
Therefore, set them as XS register 5, YS register 7, X
The E register 6 and the YE register 15 are made to latch respectively. Since the next data is the drawing command for the rectangular area, the drawing operation for the rectangular area is started, and since the data following the drawing command is image data, the image data is loaded into the parallel / serial converter 14.

【0012】このとき、パラレル/シリアル変換器14
に最初に入力されるデータは描画開始座標(XS,Y
S)に描画すべきデータなので、パラレル/シリアル変
換器14はそのデータをシリアルデータに変換して1ド
ットずつ出力する。そして、パラレル/シリアル変換器
14の出力が描画ドット“1”の場合には、ORゲート
18には“1”をインバータ21により反転した“0”
が入力されるため、ORゲート18がRGBレジスタ8
の出力データと画像メモリ2上の書き込もうとするアド
レスに以前書かれていたデータとを論理和し、それによ
って得られたデータをラッチ回路19を介して画像メモ
リ2上の同じアドレスに書き直す。
At this time, the parallel / serial converter 14
The first data input to is the drawing start coordinate (XS, Y
Since the data is to be drawn in S), the parallel / serial converter 14 converts the data into serial data and outputs it dot by dot. When the output of the parallel / serial converter 14 is the drawing dot “1”, the OR gate 18 inverts “1” by the inverter 21 to “0”.
Is inputted, the OR gate 18 makes the RGB register 8
Output data and the data previously written in the address to be written in the image memory 2 are logically ORed, and the data obtained thereby is rewritten to the same address in the image memory 2 via the latch circuit 19.

【0013】また、パラレル/シリアル変換器14の出
力が描画ドット“0”の場合には、ORゲート18には
“0”をインバータ21により反転した“1”が入力さ
れるため、ORゲート18は動作せず、画像メモリ2上
の書き込もうとするアドレスに以前書かれていたデータ
をラッチ回路19を介してそのまま画像メモリ2上の同
じアドレスに書き込む。
Further, when the output of the parallel / serial converter 14 is the drawing dot "0", "1" which is obtained by inverting "0" by the inverter 21 is input to the OR gate 18, so that the OR gate 18 is supplied. Does not operate, and the data previously written to the address to be written on the image memory 2 is written to the same address on the image memory 2 as it is via the latch circuit 19.

【0014】さらに、パラレル/シリアル変換器14か
らの画像データの出力と同時に、オペレーションコント
ローラ13はXアドレスカウンタ10にXSカウンタ5
の値をロードしてアドレスのインクリメント(+1)を
開始させる。このとき、Xコンパレータ11はXアドレ
スカウンタ10の値とXEレジスタ6の値とを比較し、
その各値が一致した時に画像メモリ2の1ラインの描画
終了を知らせる信号をYアドレスカウンタ16へ出力す
る。Yアドレスカウンタ16は、Xコンパレータ11か
ら1ラインの描画終了を知らせる信号を受け取った時に
インクリメント(+1)して次のラインに更新すると共
に、Xアドレスカウンタ10にXSカウンタ5の値を再
ロードしてアドレスのインクリメント(+1)を開始さ
せ、以後画像メモリ2の指定された矩形領域の2ライン
目以降の各ラインに対しても上述と同様な動作を繰り返
す。
Further, at the same time when the image data is output from the parallel / serial converter 14, the operation controller 13 causes the X address counter 10 and the XS counter 5 to operate.
Value is loaded and the address increment (+1) is started. At this time, the X comparator 11 compares the value of the X address counter 10 with the value of the XE register 6,
When the respective values match, a signal notifying the end of drawing one line of the image memory 2 is output to the Y address counter 16. The Y address counter 16 increments (+1) to update to the next line when receiving a signal indicating the end of drawing of one line from the X comparator 11, and reloads the value of the XS counter 5 into the X address counter 10. Then, the address increment (+1) is started, and thereafter the same operation as described above is repeated for each of the second and subsequent lines of the designated rectangular area of the image memory 2.

【0015】そして、その矩形領域の最終ラインへの描
画が終了し、Xコンパレータ11から1ラインの描画終
了を知らせる信号が出力されると、Yアドレスカウンタ
16の値とYEレジスタ15の値とが一致するため、Y
コンパレータ11は最後のラインへの描画が終了したこ
とを知らせる信号をオペレーションコントローラ13へ
出力し、画像メモリ2の指定された矩形領域へのイメー
ジデータの描画を終了する。
When the drawing of the final line of the rectangular area is completed and the signal for notifying the completion of the drawing of one line is output from the X comparator 11, the value of the Y address counter 16 and the value of the YE register 15 are changed. Y because it matches
The comparator 11 outputs a signal notifying that the drawing on the last line is completed to the operation controller 13 to complete the drawing of the image data in the specified rectangular area of the image memory 2.

【0016】[0016]

【発明が解決しようとする課題】しかしながら、上述の
ような従来の画像描画装置においては、新たな画像デー
タを描画する際の画像メモリのクリアを行なう場合に
は、図10に示すように1ラインずつFIFO4に白デ
ータを書き込むように登録しなくてはならず、また描画
する画像データが下地部の場合などでは図11に示すよ
うに描画するため、画像メモリをクリアする場合と同様
な処理を行なうようになる。
However, in the conventional image drawing apparatus as described above, when clearing the image memory when drawing new image data, one line as shown in FIG. 10 is used. It is necessary to register the white data into the FIFO 4 one by one, and when the image data to be drawn is the background portion, the drawing is performed as shown in FIG. 11, and therefore the same processing as when clearing the image memory is performed. I will do it.

【0017】また、2次元の矩形領域の描画機能を使用
した場合には、図12に示すように画像メモリのクリア
及び下地部の描画を行なわなくてはならず、どの方法を
用いた場合でもFIFO4への登録時のデータ算出によ
るCPU3にかかる負担が大きくなるばかりか、FIF
O4がフル状態になった時のウェイトによる描画待ち時
間が長くなるという問題があった。
Further, when the drawing function of the two-dimensional rectangular area is used, as shown in FIG. 12, the image memory must be cleared and the background part must be drawn, whichever method is used. Not only is the load on the CPU 3 increased due to the data calculation at the time of registration in the FIFO 4,
There is a problem that the waiting time for drawing due to the wait when O4 is in a full state becomes long.

【0018】この発明は上記の点に鑑みてなされたもの
であり、画像メモリをクリアする時や下地部の描画を含
む画像メモリの広い範囲に同じ色を描画する時にかかる
CPUの負担を軽減することを目的とする。
The present invention has been made in view of the above points, and reduces the load on the CPU when clearing the image memory or drawing the same color in a wide range of the image memory including the drawing of the background portion. The purpose is to

【0019】[0019]

【課題を解決するための手段】この発明は上記の目的を
達成するため、外部から入力される画像データを直線ベ
クトルに展開して、直線の始点及び終点のアドレスと濃
度値のデータを発生するマイクロコンピュータと、それ
によって発生された各データに基づいて画像メモリにベ
クトル描画データを書き込む画像描画制御装置とを備え
た画像描画装置において、画像描画制御装置に、マイク
ロコンピュータ(CPU)が画像メモリへの描画開始を
認識して該画像メモリをクリアすべく対応する濃度値の
データを発生した時に、画像メモリに白ドットを描画す
る手段を備えたものである。
In order to achieve the above-mentioned object, the present invention develops image data input from the outside into a straight line vector to generate address and density value data of the start and end points of the straight line. In an image drawing device provided with a microcomputer and an image drawing control device for writing vector drawing data in an image memory based on each data generated thereby, the microcomputer (CPU) transfers the image drawing control device to the image memory. It is provided with a means for drawing a white dot in the image memory when the data of the density value corresponding to clearing the image memory is generated by recognizing the drawing start.

【0020】また、画像描画制御装置に、CPUが画像
メモリへの描画開始を認識して該画像メモリをクリアす
べくそのクリア領域を示すデータ及び対応する濃度値の
データを発生した時に、画像メモリのクリア領域に白ド
ットを描画する手段を備えた画像描画装置も提供する。
さらに、画像描画制御装置に、CPUが下地部の描画を
含む前記画像メモリの広い範囲に同じ色を描画すべくそ
の描画領域を示すデータ及び対応する濃度値のデータを
発生した時に、画像メモリの上記描画領域に濃度値に応
じたデータを描画する手段を備えた画像描画装置も提供
する。
Further, when the CPU recognizes the start of drawing in the image memory and generates the data indicating the clear area and the data of the corresponding density value to clear the image memory in the image drawing control device, There is also provided an image drawing device having means for drawing a white dot in the clear area.
Further, when the CPU generates data indicating the drawing area and data of the corresponding density value in the image drawing control device so as to draw the same color in a wide range of the image memory including the drawing of the background portion, There is also provided an image drawing apparatus having means for drawing data according to the density value in the drawing area.

【0021】[0021]

【作用】請求項1の画像描画装置によれば、CPUが画
像メモリへの描画開始を認識して該画像メモリをクリア
すべく対応する濃度値のデータを発生した時に、画像描
画制御装置が画像メモリに白ドットを描画するので、画
像メモリをクリアする時にかかるCPUの負担が軽減す
る。
According to the image drawing apparatus of the present invention, when the CPU recognizes the start of drawing in the image memory and generates the data of the corresponding density value for clearing the image memory, the image drawing control apparatus makes the image Since white dots are drawn in the memory, the load on the CPU when clearing the image memory is reduced.

【0022】請求項2の画像描画装置によれば、CPU
が画像メモリへの描画開始を認識して該画像メモリをク
リアすべくそのクリア領域を示すデータ及び対応する濃
度値のデータを発生した時に、画像描画制御装置が画像
メモリのクリア領域に白ドットを描画するので、やはり
上述と同様な効果を得られる。請求項3の画像描画装置
によれば、CPUが下地部の描画を含む前記画像メモリ
の広い範囲に同じ色を描画すべくその描画領域を示すデ
ータ及び対応する濃度値のデータを発生した時に、画像
描画制御装置が画像メモリの上記描画領域に濃度値に応
じたデータを描画するので、画像メモリの広い範囲に同
じ色を描画する時にかかるCPUの負担が軽減する。
According to the image drawing apparatus of the second aspect, the CPU
When the device recognizes the start of drawing in the image memory and generates the data indicating the clear area and the data of the corresponding density value to clear the image memory, the image drawing control device creates a white dot in the clear area of the image memory. Since the drawing is performed, the same effect as described above can be obtained. According to the image drawing apparatus of claim 3, when the CPU generates the data showing the drawing area and the data of the corresponding density value so as to draw the same color in a wide range of the image memory including the drawing of the background portion, Since the image drawing control device draws data according to the density value in the drawing area of the image memory, the load on the CPU when drawing the same color in a wide range of the image memory is reduced.

【0023】[0023]

【実施例】以下、この発明の一実施例を図面に基づいて
具体的に説明する。図2はこの発明を実施した情報処理
システムを示すブロック構成図、図3はそのプリンタコ
ントローラ(画像描画装置)の構成例を示すブロック構
成図であり、それぞれ図8と対応する部分には同一符号
を付している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be specifically described below with reference to the drawings. 2 is a block configuration diagram showing an information processing system embodying the present invention, and FIG. 3 is a block configuration diagram showing an example of the configuration of the printer controller (image drawing device) thereof. Is attached.

【0024】この情報処理システムは、ホストコンピュ
ータ1と、画像描画装置であるプリンタコントローラ3
0及びプリンタエンジン31からなるプリンタ装置とに
よって構成されている。プリンタコントローラ30は、
CPU3,ROM32,RAM33からなるマイクロコ
ンピュータと、画像メモリ(フレームメモリ)2,画像
描画制御装置34と、受信装置35,送信装置36とに
よって構成されている。
This information processing system includes a host computer 1 and a printer controller 3 which is an image drawing device.
0 and a printer device including a printer engine 31. The printer controller 30 is
It includes a microcomputer including a CPU 3, a ROM 32, and a RAM 33, an image memory (frame memory) 2, an image drawing control device 34, a receiving device 35, and a transmitting device 36.

【0025】CPU3は、ROM32内のプログラム及
びホストコンピュータ1からのコマンドによってプリン
タコントローラ30全体を制御する中央処理装置であ
る。ROM32は、CPU3が動作するための制御プロ
グラム及びフォント等の固定データを格納しているリー
ドオンリ・メモリである。RAM33は、CPU3用の
ワークメモリ,入力データを格納するためのインプット
バッファ,ページデータを格納するためのページバッフ
ァ,ダウンロードフォントを格納するためのフォントフ
ァイル等に使用するランダムアクセス・メモリ、画像メ
モリ2は、画像イメージデータ(ビットマップデータ)
を書き込むためのランダムアクセス・メモリである。
The CPU 3 is a central processing unit that controls the printer controller 30 as a whole according to a program in the ROM 32 and a command from the host computer 1. The ROM 32 is a read-only memory that stores control programs for the CPU 3 to operate and fixed data such as fonts. The RAM 33 is a work memory for the CPU 3, an input buffer for storing input data, a page buffer for storing page data, a random access memory used for a font file for storing downloaded fonts, and an image memory 2. Is image data (bitmap data)
Is a random access memory for writing.

【0026】画像描画制御装置34は画像メモリ2への
描画を制御するものであり、詳細には追って説明する。
受信装置35は、ホストコンピュータ1から送信される
データの受信を司り、送信装置36は、実際に印字を行
なうプリンタエンジン31への画像イメージデータの送
信を司る。
The image drawing control device 34 controls drawing in the image memory 2, and will be described in detail later.
The receiving device 35 is responsible for receiving data transmitted from the host computer 1, and the transmitting device 36 is responsible for transmitting image image data to the printer engine 31 that actually prints.

【0027】図4は図3の画像描画制御装置34の詳細
を示すブロック構成図であり、図9にも示したようにC
PU3からの各データを一時格納するFIFO4と、主
走査方向の描画開始アドレスを格納しておくXSレジス
タ5と、主走査方向の描画終了アドレスを格納しておく
XEレジスタ6と、副走査方向の描画開始アドレスを示
すYSレジスタ7と、色彩の濃度値を示すRGBデータ
を格納しておくRGBレジスタ8と、画像メモリ2の主
走査方向の描画アドレスを指定するXアドレスカウンタ
10と、画像メモリ2の主走査方向の描画終了を知らせ
るXコンパレータ11とを備えている。
FIG. 4 is a block diagram showing the details of the image drawing controller 34 of FIG. 3, and as shown in FIG.
A FIFO 4 for temporarily storing each data from the PU 3, an XS register 5 for storing a drawing start address in the main scanning direction, an XS register 6 for storing a drawing end address in the main scanning direction, and a sub scanning direction A YS register 7 indicating a drawing start address, an RGB register 8 for storing RGB data indicating a color density value, an X address counter 10 for specifying a drawing address of the image memory 2 in the main scanning direction, and an image memory 2 And an X-comparator 11 that notifies the end of drawing in the main scanning direction.

【0028】また、FIFO4からデータを取り込んで
その種類を判別する取り込み制御装置(以下「オペレー
ションコントローラ」という)13と、副走査方向の描
画終了アドレスを格納しておく副走査方向終了アドレス
レジスタ(以下「YEレジスタ」という)15と、副走
査方向の描画したライン数をカウントする副走査方向ア
ドレスカウンタ(以下「Yアドレスカウンタ」という)
16と、描画するラインの終了を知らせる副走査方向比
較器(以下「Yコンパレータ」という)17と、メモリ
コントローラ37と、矩形領域塗りつぶしコントローラ
38とを備えている。
Further, a fetch control device (hereinafter referred to as "operation controller") 13 for fetching data from the FIFO 4 and discriminating its type, and a sub-scanning direction end address register (hereinafter, referred to as a sub-scanning direction end address register for storing a drawing end address in the sub-scanning direction) 15 and a sub-scanning direction address counter (hereinafter referred to as "Y address counter") that counts the number of lines drawn in the sub-scanning direction.
16, a sub-scanning direction comparator (hereinafter referred to as “Y comparator”) 17 for notifying the end of a line to be drawn, a memory controller 37, and a rectangular area filling controller 38.

【0029】図1は、この実施例を機能的に示すブロッ
ク図である。使用者は、ホストコンピュータ1でポスト
スクリプトに代表されるページ記述言語により印字した
い1ページ分の画像データ(直線ベクトル,曲線ベクト
ル等)を作成する。作成された画像データはCPU3に
送られ、ページ記述言語解読部3aにより主走査方向の
直線ベクトルに変換し直し、ソーティングしてベクトル
展開部3bに送る。
FIG. 1 is a block diagram functionally showing this embodiment. The user uses the host computer 1 to create one page of image data (straight line vector, curve vector, etc.) to be printed in a page description language represented by Postscript. The created image data is sent to the CPU 3, converted again into a linear vector in the main scanning direction by the page description language decoding unit 3a, sorted, and sent to the vector expansion unit 3b.

【0030】その際、描画開始認識部3cは、使用者か
ら新たなページの描画命令が出されたことを判断して、
ベクトル展開部3bに画像メモリ2をクリアするための
クリア命令を出す。また、下地部検出部3dは、使用者
から例えばポストスクリプトで矩形領域のフィルコマン
ドといった矩形領域の塗りつぶし命令が出されると、ベ
クトル展開部3bに下地描画命令を送る。
At this time, the drawing start recognition section 3c judges that the user has issued a drawing command for a new page,
A clear instruction for clearing the image memory 2 is issued to the vector expansion unit 3b. Further, the background portion detection unit 3d sends a background drawing instruction to the vector expansion unit 3b when the user issues a rectangular area fill command such as a fill command for a rectangular area in Postscript, for example.

【0031】ベクトル展開部3bは、従来の構成による
方式と同様に主走査方向の直線ベクトルを直線の開始座
標,終了座標,濃度値など画像描画制御装置34にあう
データに変換し直してその内部のFIFO4に送る。ま
た、クリア命令が出された場合には、画像描画制御装置
34に主走査方向,副走査方向それぞれ0番地から最大
値まで指定し、仮に256階調であったならばRGBデ
ータを全て0xFF(最大値)に指定して、2次元矩形
領域塗りつぶしオペレーションを送る。
The vector expansion unit 3b reconverts the straight line vector in the main scanning direction into data suitable for the image drawing control device 34 such as the start coordinates, the end coordinates, and the density value of the straight line in the same manner as in the conventional configuration, and the inside thereof. Send to FIFO4. When a clear command is issued, the image drawing control device 34 is designated from 0 to the maximum value in each of the main scanning direction and the sub scanning direction. If 256 gradations are given, all RGB data are set to 0xFF ( (Maximum value) and send a two-dimensional rectangular area filling operation.

【0032】さらに、下地描画命令が出された場合に
は、その下地部の描画開始座標,終了座標,濃度値を画
像描画制御装置34に指定して、2次元矩形領域塗りつ
ぶしオペレーションを送る。画像描画制御装置34は、
CPU3より送られた各オペレーションを解読して、画
像メモリ2のアドレス線,データ線,制御信号を生成し
て画像メモリ2に描画する。
Further, when the background drawing command is issued, the drawing start coordinates, the end coordinates and the density value of the background part are specified to the image drawing control device 34, and a two-dimensional rectangular area filling operation is sent. The image drawing control device 34
Each operation sent from the CPU 3 is decoded, an address line, a data line and a control signal of the image memory 2 are generated and drawn in the image memory 2.

【0033】さて、CPU3のベクトル展開部3bによ
って直線ベクトルに変換されたデータは全てFIFO4
に一時格納される。FIFO4に格納されるデータのう
ち何ビットかは、図5に示すようなTAGビットが付け
られている。このTAGビットがオペレーションコント
ローラ13に送られると、オペレーションコントローラ
13はTAGビットを解読して、TAGビットと一緒に
付けられたデータビットが主走査方向の描画開始座標
(XS)のデータか、主走査方向の描画終了座標(X
E)のデータか、副走査方向の描画開始座標(YS)の
データか、副走査方向の描画終了座標(YE)のデータ
か、あるいは濃度値(RGB)のデータかを振り分け、
XS,XE,YS,YE,RGBの各レジスタのラッチ
信号を出力する。
All the data converted into straight line vectors by the vector expansion unit 3b of the CPU 3 are stored in the FIFO 4.
Is temporarily stored in. Some bits of the data stored in the FIFO 4 are attached with TAG bits as shown in FIG. When this TAG bit is sent to the operation controller 13, the operation controller 13 decodes the TAG bit, and the data bit added together with the TAG bit is the data of the drawing start coordinate (XS) in the main scanning direction or the main scanning. Direction drawing end coordinate (X
E) data, drawing start coordinate (YS) data in the sub-scanning direction, drawing end coordinate (YE) data in the sub-scanning direction, or density value (RGB) data,
It outputs the latch signal of each register of XS, XE, YS, YE, and RGB.

【0034】ラッチ信号を入力した各レジスタは、それ
ぞれXSレジスタ5が主走査方向の描画開始座標(X
S)を、XEレジスタ6が主走査方向の描画終了座標
(XE)を、YSレジスタ7が副走査方向の描画開始座
標(YS)を、YEレジスタ15が副走査方向の描画終
了座標(YZ)を、RGBレジスタ8が濃度値(RG
B)のデータをそれぞれ格納する。
In each register to which the latch signal is input, the XS register 5 has a drawing start coordinate (X
S), the XE register 6 is the drawing end coordinate (XE) in the main scanning direction, the YS register 7 is the drawing start coordinate (YS) in the sub scanning direction, and the YE register 15 is the drawing end coordinate (YZ) in the sub scanning direction. RGB register 8 displays the density value (RG
The data of B) are stored respectively.

【0035】ただし、この例では濃度(RGB)レジス
タ8にRGBデータを格納するようにしているが、出力
する印字装置がモノクロプリンタであった場合には濃度
レジスタ8に単色用のデータを格納しても構わず、また
画像メモリ2の構成がRGBではないときはCMYKデ
ータを格納しても構わない。
However, although the RGB data is stored in the density (RGB) register 8 in this example, when the output printing device is a monochrome printer, the density register 8 stores the data for a single color. Alternatively, CMYK data may be stored when the configuration of the image memory 2 is not RGB.

【0036】次に、この実施例における直線ベクトルを
描画する際の動作を説明する。CPU3のベクトル展開
部3bによりFIFO4に必要なベクトル描画データが
蓄えられると、オペレーションコントローラ13は、そ
の各データを順次取り出し、それらを前述したようにX
Sレジスタ5,XEレジスタ6,YSレジスタ7,RG
Bレジスタ8の各レジスタに順次格納し、TAGビット
の直線描画オペレーション(OP)フラグが立ったこと
を確認すると、Xアドレスカウンタ10にXSレジスタ
5の値を、Yアドレスカウンタ16にYSレジスタ7の
値をそれぞれロードし、Xアドレスカウンタ10のカウ
ントアップを開始させる。
Next, the operation of drawing a straight line vector in this embodiment will be described. When the vector decompression unit 3b of the CPU 3 stores the necessary vector drawing data in the FIFO 4, the operation controller 13 sequentially takes out each of the data and outputs them as described above.
S register 5, XE register 6, YS register 7, RG
After sequentially storing in each register of the B register 8 and confirming that the linear drawing operation (OP) flag of the TAG bit is set, the value of the XS register 5 is stored in the X address counter 10 and the value of the YS register 7 is stored in the Y address counter 16. The respective values are loaded and the count-up of the X address counter 10 is started.

【0037】それと同時に、メモリコントローラ37に
画像メモリ2の制御信号であるチップセレクト信号C
S,ライトイネーブル信号WE,出力イネーブル信号O
Eを生成させ、画像メモリ2のXアドレスカウンタ10
の値とYアドレスカウンタ16の値により指定されたア
ドレスにRGBレジスタ8によって指定された濃度値で
書き込みを行なう。
At the same time, a chip select signal C which is a control signal for the image memory 2 is sent to the memory controller 37.
S, write enable signal WE, output enable signal O
X is generated, and the X address counter 10 of the image memory 2 is generated.
Is written in the address designated by the value of the Y address counter 16 and the density value designated by the RGB register 8.

【0038】このとき、Xコンパレータ11がXアドレ
スカウンタ10の値とXEレジスタ6の値とを比較し、
その各値が一致した時点で画像メモリ2の1ラインの描
画終了を知らせる信号XENDをメモリコントローラ3
7とオペレーションコントローラ13に出す。信号XE
NDを受け取ったオペレーションコントローラ13は、
FIFO4から次のベクトル描画データを受け取る。以
上のような動作を繰り返し、FIFO4に格納されたベ
クトル描画データを全て画像メモリ2に展開して1ペー
ジ分の画像を作成する。
At this time, the X comparator 11 compares the value of the X address counter 10 with the value of the XE register 6,
When the respective values match, a signal XEND which notifies the end of drawing one line of the image memory 2 is sent to the memory controller 3
7 and the operation controller 13. Signal XE
The operation controller 13 receiving the ND,
The next vector drawing data is received from the FIFO4. The above operation is repeated to expand all the vector drawing data stored in the FIFO 4 into the image memory 2 to create an image for one page.

【0039】次に、画像メモリ2をクリアする際の動作
を説明する。CPU3の描画開始認識部3cから画像メ
モリ3をクリアするためのクリア命令が出された場合
や、使用者から1ページ分のクリア命令が出された場
合、ベクトル展開部3bは、例えば印字するプリンタの
解像度が仮に400DPI(dots/inch)で、
印字(クリア)する領域がA3用紙分であった場合に
は、XS,YSの値を「0」、XEの値を「467
7」、YEの値を「6614」とし(但し、それらの値
はプリンタの解像度や用紙サイズにより異なる)、その
各値を示すデータ,濃度値を示すデータ,2次元矩形領
域塗りつぶしオペレーションを図6に示すようにしてF
IFO4に書き込む。
Next, the operation for clearing the image memory 2 will be described. When a clear command for clearing the image memory 3 is issued from the drawing start recognition unit 3c of the CPU 3 or when a clear command for one page is issued by the user, the vector expansion unit 3b uses, for example, a printer for printing. Resolution is 400 DPI (dots / inch),
If the area to be printed (cleared) is A3 size paper, the values of XS and YS are "0" and the value of XE is "467".
7 "and YE are set to" 6614 "(however, those values differ depending on the resolution and the paper size of the printer), and the data showing the respective values, the data showing the density value, and the two-dimensional rectangular area filling operation are shown in FIG. As shown in F
Write to IFO4.

【0040】FIFO4にその各データが蓄えられる
と、オペレーションコントローラ13はその各データを
取り出し、XSレジスタ5及びYSレジスタ7に「0」
を、XEレジスタ6に「4677」を、YEレジスタ1
5に「6614」を、RGBレジスタ8に全てビット
“1”(仮にRGBレジスタ8のビット幅が8ビットと
すると「255」)をそれぞれ格納する。ただし、この
プリンタ装置がモノクロプリンタであった場合やCMY
Kデータを用いた場合などは、RGBレジスタ8に
「0」を入力する。
When the respective data are stored in the FIFO 4, the operation controller 13 takes out the respective data and puts "0" in the XS register 5 and the YS register 7.
, "4677" in the XE register 6, and the YE register 1
5, "6614" is stored in the RGB register 8, and all bits "1" are stored in the RGB register 8 ("255" if the bit width of the RGB register 8 is 8 bits). However, if this printer device is a monochrome printer or CMY
When K data is used, “0” is input to the RGB register 8.

【0041】このように設定した状態で、TAGビット
の矩形領域オペレーションフラグが立ったことを確認す
ると、直線描画の時と同様にXアドレスカウンタ10に
XSレジスタ5の値を、Yアドレスカウンタ16にYS
レジスタ7の値をそれぞれロードし、Xアドレスカウン
タ10のカウントアップを開始させる。
When it is confirmed that the TAG bit rectangular area operation flag is set in the state set as described above, the value of the XS register 5 is set in the X address counter 10 and the value of the Y address counter 16 is set in the Y address counter 16 as in the case of the straight line drawing. YS
The value of the register 7 is loaded, and the count-up of the X address counter 10 is started.

【0042】それと同時に、矩形領域塗りつぶしコント
ローラ38に画像メモリ2の制御信号であるチップセレ
クト信号CS,ライトイネーブル信号WE,出力イネー
ブル信号OEを生成させ、画像メモリ2のXアドレスカ
ウンタ10の値とYアドレスカウンタ16の値により指
定されたアドレスにRGBレジスタ8によって指定され
た濃度値で書き込みを行なう。すなわち、白ドットを書
き込む。
At the same time, the rectangular area filling controller 38 is caused to generate the chip select signal CS, the write enable signal WE, and the output enable signal OE which are the control signals of the image memory 2, and the value of the X address counter 10 of the image memory 2 and Y. Writing is performed with the density value designated by the RGB register 8 at the address designated by the value of the address counter 16. That is, a white dot is written.

【0043】このとき、Xコンパレータ11がXアドレ
スカウンタ10の値とXEレジスタ6の値とを比較し、
その各値が一致した時点で画像メモリの主走査方向1ラ
イン分のクリアが終了するので、その時に信号XEND
をYアドレスカウンタ16へ出力する。Yアドレスカウ
ンタ16は、Xコンパレータ11から信号XENDを受
け取った時に1つカウントアップ(+1)して次のライ
ンに更新すると共に、Xアドレスカウンタ10にXSレ
ジスタ5の値を再ロードしてアドレスのカウントアップ
を開始させ、以後画像メモリ2の2ライン目以降の各ラ
インに対しても上述と同様な動作を繰り返す。
At this time, the X comparator 11 compares the value of the X address counter 10 with the value of the XE register 6,
When the respective values match, the clearing of one line in the main scanning direction of the image memory is completed, and at that time, the signal XEND
Is output to the Y address counter 16. When the Y address counter 16 receives the signal XEND from the X comparator 11, the Y address counter 16 counts up (+1) to update to the next line, and the X address counter 10 is reloaded with the value of the XS register 5 to update the address. The counting up is started, and thereafter, the same operation as described above is repeated for each of the second and subsequent lines of the image memory 2.

【0044】そして、1ページの最終ラインへの描画が
終了し、Xコンパレータ11から信号XENDが出力さ
れると、Yアドレスカウンタ16の値とYEレジスタ1
5の値とが一致するため、Yコンパレータ17は最後の
ラインの描画(クリア)が終了したことを知らせる信号
YENDを矩形領域塗りつぶしコントローラ38に出
し、メモリ2の指定した1ページ分のクリアが終了した
ことを伝える。
When the drawing on the last line of one page is completed and the signal XEND is output from the X comparator 11, the value of the Y address counter 16 and the YE register 1 are output.
Since the value of 5 coincides with the value of 5, the Y comparator 17 issues a signal YEND indicating that the drawing (clearing) of the last line is completed to the rectangular area filling controller 38, and the clearing of one page specified in the memory 2 is completed. Tell what you did.

【0045】以上で画像メモリ2のクリアを行なえ、信
号YENDを受け取ったオペレーションコントローラ1
3は次のステップに入り、FIFO4にベクトル描画デ
ータなどが格納されていれば描画を行なう。なお、画像
メモリ2の任意の領域だけをクリアしたい場合には、X
S,XE,YS,YEの各レジスタにクリアしたい領域
を示すデータを格納すれば良い。
As described above, the operation controller 1 which can clear the image memory 2 and receives the signal YEND
3 enters the next step, and if vector drawing data and the like are stored in the FIFO 4, drawing is performed. If you want to clear only an arbitrary area of the image memory 2,
Data indicating the area to be cleared may be stored in the S, XE, YS, and YE registers.

【0046】次に、画像メモリ2に下地部の描画を行な
う際の動作を説明する。CPU3の下地部検出部3dか
ら下地描画命令が出されると、ベクトル展開部3bが図
7に示すようにして下地部の矩形領域の描画開始座標
(XS,YS),描画終了座標(XE,YE),下地色
を示すデータ,及び2次元矩形領域塗りつぶしオペレー
ションをFIFO4に順次書き込む。
Next, the operation of drawing the background portion on the image memory 2 will be described. When the background drawing command is issued from the background detection unit 3d of the CPU 3, the vector expansion unit 3b causes the drawing start coordinates (XS, YS) and the drawing end coordinates (XE, YE) of the rectangular area of the background as shown in FIG. ), The data indicating the background color, and the two-dimensional rectangular area filling operation are sequentially written in the FIFO 4.

【0047】FIFO4にその各データが蓄えられる
と、オペレーションコントローラ13はその各データを
取り出して、XSレジスタ5,XEレジスタ6,YSレ
ジスタ,YEレジスタ15,及びRGBレジスタ8に順
次格納し、以後画像メモリ2をクリアする場合と同様な
動作によって画像メモリ2の任意の矩形領域に下地部を
描画することができる。
When the respective data are stored in the FIFO 4, the operation controller 13 takes out the respective data and sequentially stores them in the XS register 5, XE register 6, YS register, YE register 15, and RGB register 8, and thereafter the image By performing the same operation as when clearing the memory 2, the background portion can be drawn in an arbitrary rectangular area of the image memory 2.

【0048】このように、この実施例によれば、CPU
3が画像メモリ2への描画開始を認識して該画像メモリ
をクリアすべくそのクリア領域を示すデータ(この実施
例ではクリアすべき矩形領域の2点)及び対応する濃度
値のデータを発生した時に、画像描画制御装置34が画
像メモリ2のクリア領域に白ドットを描画するので、画
像メモリをクリアする時にかかるCPUの負担が軽減
し、またFIFO4が10段程度あるだけでFIFO4
のフル状態がなくなる。例えば、A3サイズで400d
piの領域をクリアする際には、CPU3が画像メモリ
2をアクセスする時間が約3100万分の1になり、大
幅な高速化を計れる。
Thus, according to this embodiment, the CPU
3 recognizes the start of drawing on the image memory 2 and generates data indicating the clear area (two points of the rectangular area to be cleared in this embodiment) and corresponding density value data in order to clear the image memory. At this time, the image drawing control device 34 draws a white dot in the clear area of the image memory 2, so that the load on the CPU required for clearing the image memory is reduced, and the FIFO 4 has only 10 stages.
The full state of is gone. For example, A3 size 400d
When clearing the pi area, the time required for the CPU 3 to access the image memory 2 is about 1 / 31,000,000, which is a significant speedup.

【0049】また、CPU3が下地部を描画すべくその
描画領域を示すデータ及び対応する濃度値のデータを発
生した時に、画像描画制御装置34が画像メモリ2の上
記描画領域に濃度値に応じたデータを描画するので、画
像メモリ2に下地部を描画する時にかかるCPUの負担
が軽減し、また前述と同様にFIFO4がフル状態にな
らないため、大幅な高速化を計れる。
When the CPU 3 generates the data indicating the drawing area and the data of the corresponding density value for drawing the background portion, the image drawing control device 34 responds to the density value in the drawing area of the image memory 2. Since the data is drawn, the load on the CPU when drawing the background portion in the image memory 2 is reduced, and the FIFO 4 is not in the full state as described above, so that the speed can be significantly increased.

【0050】なお、CPU3が画像メモリ2への描画開
始を認識した時に画像メモリ2を1ページ分全てクリア
する場合には、濃度値を示すデータがあれば画像メモリ
2全体に白ドットを描画することによって画像メモリ2
をクリアすることができるので、クリアすべき領域を示
すデータを発生させなくてもよい。
When the CPU 3 recognizes the start of drawing on the image memory 2 and clears the entire image memory 2 for one page, if there is data indicating the density value, a white dot is drawn on the entire image memory 2. Image memory 2
Since it can be cleared, it is not necessary to generate data indicating the area to be cleared.

【0051】[0051]

【発明の効果】以上説明したように、この発明によれ
ば、画像メモリをクリアする時や下地部の描画を含む画
像メモリの広い範囲に同じ色を描画する時にかかるCP
Uの負担が軽減する。
As described above, according to the present invention, the CP required when clearing the image memory or when drawing the same color in a wide range of the image memory including the drawing of the background portion.
U's burden is reduced.

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

【図1】図2の実施例を機能的に示すブロック構成図で
ある。
FIG. 1 is a block configuration diagram functionally showing the embodiment of FIG.

【図2】この発明を実施した情報処理システムを示すブ
ロック構成図である。
FIG. 2 is a block diagram showing an information processing system embodying the present invention.

【図3】図2の画像描画装置(プリンタコントローラ)
30の一例を示すブロック構成図である。
3 is an image drawing apparatus (printer controller) of FIG.
It is a block diagram which shows an example of 30.

【図4】図3の画像描画制御装置34の詳細を示すブロ
ック構成図である。
FIG. 4 is a block configuration diagram showing details of the image drawing control device 34 in FIG.

【図5】図4のFIFO4からオペレーションコントロ
ーラ13に取り込まれる各データの構成例を示す説明図
である。
5 is an explanatory diagram showing a configuration example of each data taken in by the operation controller 13 from the FIFO 4 of FIG.

【図6】図1のCPU3による画像メモリ2をクリアす
る際の処理の流れを示すフロー図である。
FIG. 6 is a flowchart showing the flow of processing when the CPU 3 of FIG. 1 clears the image memory 2.

【図7】図1のCPU3による画像メモリ2に下地部を
描画する際の処理の流れを示すフロー図である。
FIG. 7 is a flowchart showing a flow of processing when a background portion is drawn on the image memory 2 by the CPU 3 of FIG.

【図8】従来の画像描画装置を有する情報処理システム
を示すブロック構成図である。
FIG. 8 is a block diagram showing an information processing system having a conventional image drawing device.

【図9】同じく他の情報処理システムを示すブロック構
成図である。
FIG. 9 is a block diagram showing another information processing system.

【図10】図8及び図9のCPU3による画像メモリ2
をクリアする際の処理の流れを示すフロー図である。
FIG. 10 is an image memory 2 by the CPU 3 shown in FIGS. 8 and 9;
It is a flowchart showing a flow of processing when clearing.

【図11】同じく画像メモリ2に下地部を描画する際の
処理の流れを示すフロー図である。
FIG. 11 is a flowchart showing the flow of processing when drawing a background portion in the image memory 2 in the same manner.

【図12】図9のCPU3による画像メモリ2をクリア
する際の他の処理の流れを示すフロー図である。
12 is a flowchart showing another processing flow when clearing the image memory 2 by the CPU 3 of FIG.

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

1 ホストコンピュータ 2 画像メモリ 3 CPU 3a ページ記述言語
解読部 3b ベクトル展開部 3c 描画開始認識部 3d 下地部検出部 4 先入れ先出しメモ
リ(FIFO) 5 主走査方向開始アドレスレジスタ(XSレジスタ) 6 主走査方向終了アドレスレジスタ(XEレジスタ) 7 副走査方向開始アドレスレジスタ(YSレジスタ) 8 濃度レジスタ(RGBレジスタ) 10 主走査方向アドレスカウンタ(Xアドレスカウン
タ) 11 主走査方向比較器(Xコンパレータ) 13 取込制御装置(オペレーションコントローラ) 15 副走査方向終了アドレスレジスタ(YEレジス
タ) 16 副走査方向アドレスカウンタ(Yアドレスカウン
タ) 17 副走査方向比較器(Yコンパレータ) 30 画像描画装置 31 プリンタエンジ
ン 32 ROM 33 RAM 34 画像描画制御装置 37 メモリコントロ
ーラ 38 矩形領域塗りつぶしコントローラ
DESCRIPTION OF SYMBOLS 1 Host computer 2 Image memory 3 CPU 3a Page description language decoding unit 3b Vector expansion unit 3c Drawing start recognition unit 3d Underground portion detection unit 4 First-in first-out memory (FIFO) 5 Main scanning direction start address register (XS register) 6 Main scanning direction end Address register (XE register) 7 Sub-scanning direction start address register (YS register) 8 Density register (RGB register) 10 Main scanning direction address counter (X address counter) 11 Main scanning direction comparator (X comparator) 13 Acquisition control device (Operation controller) 15 Sub-scanning direction end address register (YE register) 16 Sub-scanning direction address counter (Y address counter) 17 Sub-scanning direction comparator (Y comparator) 30 Image drawing device 31 Printer engine 32 ROM 33 RAM 34 Image drawing control device 37 Memory controller 38 Rectangular area filling controller

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 外部から入力される画像データを直線ベ
クトルに展開して、直線の始点及び終点のアドレスと濃
度値のデータを発生するマイクロコンピュータと、それ
によって発生された前記各データに基づいて画像メモリ
にベクトル描画データを書き込む画像描画制御装置とを
備えた画像描画装置において、 画像描画制御装置に、前記マイクロコンピュータが前記
画像メモリへの描画開始を認識して該画像メモリをクリ
アすべく対応する濃度値のデータを発生した時に、前記
画像メモリに白ドットを描画する手段を備えたことを特
徴とする画像描画装置。
1. A microcomputer which develops image data input from the outside into a straight line vector to generate address and density value data of a start point and an end point of a straight line, and a microcomputer based on each data generated by the microcomputer. In an image drawing device provided with an image drawing control device for writing vector drawing data in an image memory, the image drawing control device is adapted to recognize that the microcomputer has started drawing in the image memory and clear the image memory. An image drawing apparatus comprising means for drawing a white dot in the image memory when data of a density value to be generated is generated.
【請求項2】 外部から入力される画像データを直線ベ
クトルに展開して、直線の始点及び終点のアドレスと濃
度値のデータを発生するマイクロコンピュータと、それ
によって発生された前記各データに基づいて画像メモリ
にベクトル描画データを書き込む画像描画制御装置とを
備えた画像描画装置において画像描画制御装置に、前記
マイクロコンピュータが前記画像メモリへの描画開始を
認識して該画像メモリをクリアすべくそのクリア領域を
示すデータ及び対応する濃度値のデータを発生した時
に、前記画像メモリのクリア領域に白ドットを描画する
手段を備えたことを特徴とする画像描画装置。
2. A microcomputer which develops image data input from the outside into a straight line vector to generate address and density value data of a start point and an end point of a straight line, and based on the respective data generated by the microcomputer. In an image drawing device provided with an image drawing control device for writing vector drawing data in the image memory, the image drawing control device recognizes the start of drawing in the image memory and clears the image memory to clear the image memory. An image drawing apparatus comprising means for drawing a white dot in a clear area of the image memory when data indicating an area and data of a corresponding density value are generated.
【請求項3】 外部から入力される画像データを直線ベ
クトルに展開して、直線の始点及び終点のアドレスと濃
度値のデータを発生するマイクロコンピュータと、それ
によって発生された前記各データに基づいて画像メモリ
にベクトル描画データを書き込む画像描画制御装置とを
備えた画像描画装置において、 画像描画制御装置に、前記マイクロコンピュータが下地
部の描画を含む前記画像メモリの広い範囲に同じ色を描
画すべくその描画領域を示すデータ及び対応する濃度値
のデータを発生した時に、前記画像メモリの前記描画領
域に濃度値に応じたデータを描画する手段を備えたこと
を特徴とする画像描画装置。
3. A microcomputer which develops image data input from the outside into a straight line vector to generate address and density value data of the start and end points of the straight line, and a microcomputer based on the respective data generated thereby. In an image drawing device provided with an image drawing control device for writing vector drawing data in an image memory, in the image drawing control device, the microcomputer draws the same color in a wide range of the image memory including drawing of a background portion. An image drawing apparatus comprising means for drawing data corresponding to a density value in the drawing area of the image memory when data indicating the drawing area and data of a corresponding density value are generated.
JP21175792A 1992-08-07 1992-08-07 Picture drawing device Pending JPH0660188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21175792A JPH0660188A (en) 1992-08-07 1992-08-07 Picture drawing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21175792A JPH0660188A (en) 1992-08-07 1992-08-07 Picture drawing device

Publications (1)

Publication Number Publication Date
JPH0660188A true JPH0660188A (en) 1994-03-04

Family

ID=16611079

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21175792A Pending JPH0660188A (en) 1992-08-07 1992-08-07 Picture drawing device

Country Status (1)

Country Link
JP (1) JPH0660188A (en)

Similar Documents

Publication Publication Date Title
US7119807B2 (en) Image processing apparatus and image processing method
US7330196B2 (en) Apparatus and method for image processing capable of accelerating image overlay process
EP0506482A2 (en) Image processing
US5859954A (en) Printing apparatus, data registration method, and storage medium
US6839461B2 (en) Method and apparatus for processing an image, and storage medium
JP3009525B2 (en) Vector image drawing equipment
US5586229A (en) Band printing method for preventing band overrun error in page printer
JPH113417A (en) Device and method for generating image including graphics information for display
JPH0660188A (en) Picture drawing device
US5291308A (en) Image processing apparatus using tonal degree conversion
JP3242435B2 (en) Image drawing device
JPH05204591A (en) Image plotting device
JPH09167222A (en) Image processor
JP2000168170A (en) Blank paper-detecting apparatus and image-recording apparatus, image-forming apparatus and image-reading apparatus using the same
JP3571119B2 (en) Image drawing device
JPH064396A (en) Image plotter
JPH06274637A (en) Image plotter
JP3352563B2 (en) Character output device
JPH10198333A (en) Outline character drawing device
JPH0752472A (en) Printer control device
JPH06175637A (en) Method for generating character
JPH09277616A (en) Printer and control method therefor
JPH1110961A (en) Print processor and printing method
JPH0226767A (en) Printer
JPH06208650A (en) Method and device for recognizing information