JPS61154266A - Graphic processing circuit - Google Patents

Graphic processing circuit

Info

Publication number
JPS61154266A
JPS61154266A JP59277527A JP27752784A JPS61154266A JP S61154266 A JPS61154266 A JP S61154266A JP 59277527 A JP59277527 A JP 59277527A JP 27752784 A JP27752784 A JP 27752784A JP S61154266 A JPS61154266 A JP S61154266A
Authority
JP
Japan
Prior art keywords
image memory
output
picture memory
circuit
read signal
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
JP59277527A
Other languages
Japanese (ja)
Inventor
Susumu Kimura
進 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59277527A priority Critical patent/JPS61154266A/en
Publication of JPS61154266A publication Critical patent/JPS61154266A/en
Pending legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To output a smeared graphic form in a short time by print or display by outputting an OR signal between a read signal of the 1st picture memory and a read signal of the 2nd picture memory obtained via a toggle circuit. CONSTITUTION:The 1st picture memory 5 storing a line drawing (b) except the smeared part as binary data at each picture element, the 2nd picture memory 6 storing a linear drawing (c) representing the profile of the smeared part as binary data at each picture element, and converters 7, 8 converting the data at, e.g., 16 picture elements read in parallel from the 1st picture memory 5 and the 2nd picture memory 6 respectively in parallel to serial data and outputting the result are provided. Further, a JK flip-flop 9 used as a toggle circuit inverting the output by using a read signal obtained through the read of the picture memory 6 by raster scanning and an OR circuit 10 outputting the OR between the read signal obtained from the 1st picture memory 5 by raster scanning and the output of the toggle circuit 9 are provided.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は1図形を方眼状に配列される画素毎に1″と“
0″との2値信号として2表示あるいは印刷等によって
出力する図形出力装置に備えられる図形処理回路に関す
る。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is characterized in that one figure is divided into 1" and "" for each pixel arranged in a grid pattern.
The present invention relates to a graphic processing circuit included in a graphic output device that outputs a binary signal of 0'' by binary display or printing.

例えば、各種の電子計算機用には、レーザプリンタを初
めいわゆるドツト式の印字装置が備えられ1文字のほか
、棒グラフあるいは円グラフ等を初め複雑な図形の出力
に利用されているが9図形中の一部を目立たせるための
最も簡単な方法として、その一部の領域を塗りつぶして
印刷することがある。
For example, various electronic computers are equipped with so-called dot-type printing devices such as laser printers, which are used to output not only single characters but also complex figures such as bar graphs and pie charts. The easiest way to make a part stand out is to fill in the area and print it.

このような場合、印刷すべき線図形・塗りつぶす範囲の
輪郭等が出力情報として図形出力装置に与えられる。
In such a case, the line figure to be printed, the outline of the range to be filled, etc. are provided to the figure output device as output information.

なお、これらの情報は、線図形あるいは塗りつぶし範囲
の輪郭を線分析(以し、線分毎の始点座標と終点座標す
なわちベクトルデータとして与えられる。
Note that this information is obtained by line analysis of the outline of a line figure or a filled range (hereinafter, it is given as starting point coordinates and ending point coordinates for each line segment, that is, vector data).

この際、塗りつぶしのある図形が短時間で出力されるこ
とが望ましい。
At this time, it is desirable that the filled figure be output in a short time.

〔従来の技術〕[Conventional technology]

第4図は前記用途のためにレーザプリンタに備えられる
図形処理回路の従来例の概略ブロック図である。
FIG. 4 is a schematic block diagram of a conventional example of a graphic processing circuit provided in a laser printer for the above-mentioned purpose.

図中、■は一般にビットマツプメモリと称され最終的に
記録用紙にドツトパターンとして印刷する印刷情報をド
ツト(画素)毎に“1″または“0″の2値データとし
て格納する9例えば4096 x 4096ビソトの画
像メモリ(RMM)である。
In the figure, ■ is generally referred to as a bitmap memory, and stores print information to be finally printed as a dot pattern on the recording paper as binary data of "1" or "0" for each dot (pixel) 9 For example, 4096 x It is a 4096 bit image memory (RMM).

2は」1位装置すなわち中央処理装置(CPU)、3は
中央処理装置2からベクトルデータの形で与えられる線
図形を2値データに変換して画像メモリ1に書き込む第
一の書込み部、また、4は中央処理袋W2から与えられ
る塗りつぶし範囲を塗りつぶすための書込みを行う第二
の書込み部である。
2 is a first unit, that is, a central processing unit (CPU); 3 is a first writing unit that converts a line figure given in the form of vector data from the central processing unit 2 into binary data and writes it into the image memory 1; , 4 is a second writing unit that performs writing to fill in the filling range given from the central processing bag W2.

以上のような構成によって、中央処理装置2から与えら
れた印刷情報は、最終的に記録用紙上に印刷するドツト
パターンの形で−たん画像メモリ1上に展開されたあと
、ラスタ走査によって読み取られ例えば1インチ当たり
240ドツトの密度の黒白ドツトパターンとして記録用
紙上に出力(印刷)される。
With the above configuration, the print information given from the central processing unit 2 is simply developed on the image memory 1 in the form of a dot pattern to be finally printed on the recording paper, and then read by raster scanning. For example, it is output (printed) on recording paper as a black and white dot pattern with a density of 240 dots per inch.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記構成のものにおいては、第一の書き休部3によって
画像メモリ1上に線図形を書き込んだあと、再び画像メ
モリ1をアクセスして塗りつぶしのための書込みを行う
ので塗りつぶしに長時間を要し、従って印刷されるまで
に長時間を要するという問題点がある。
In the configuration described above, after the line figure is written on the image memory 1 by the first writing rest section 3, the image memory 1 is accessed again and writing for filling is performed, so it takes a long time to fill. Therefore, there is a problem in that it takes a long time to print.

〔問題点を解決するための手段〕[Means for solving problems]

本発明になる図形処理回路は、第一の図形を画素毎に2
値データとして格納する第一の画像メモリと、第二の図
形を画素毎に2値データとして格納する第二の画像メモ
リと、前記第二の画像メモリをラスタ走査によって読み
取って得られる読取り信号によって出力を反転するトグ
ル、回路と、前記第一の画像メモリをラスタ走査によっ
て読み取って得られる読取り信号と前記トグル回路の出
力との論理和を出力する論理和回路とによって構成する
ことにより、前記問題点の解消を図ったものである。
The graphic processing circuit according to the present invention processes the first graphic 2 times for each pixel.
A first image memory that stores the figure as value data, a second image memory that stores the second figure as binary data for each pixel, and a read signal obtained by reading the second image memory by raster scanning. The above problem can be solved by comprising a toggle circuit that inverts the output, and an OR circuit that outputs the logical sum of the read signal obtained by reading the first image memory by raster scanning and the output of the toggle circuit. This is an attempt to eliminate this point.

〔作用〕[Effect]

すなわち、二つの画像メモリを設け、第一の画像メモリ
には線図形を、また第二の画像メモリには塗りつぶし領
域の輪郭を示す線図形を書き込み。
That is, two image memories are provided, and a line figure is written in the first image memory, and a line figure indicating the outline of the filled area is written in the second image memory.

第一の画像メモリと第二の画像メモリとを、同じ読取り
クロツタ信号によって、同時にラスタ走査によって読み
取り、第一の画像メモリの読取り信号とトグル回路を介
して得られる第二の画像メモリの読取り信号との論理和
を出力するようにしたものであり1画像メモリ上に塗り
つぶしのための書込みを行う必要がなく、シたがって塗
りつぶしのある図形を印刷あるいは表示等によって短時
間で出力することができる。
The first image memory and the second image memory are simultaneously read by raster scanning using the same readout signal, and the read signal of the first image memory and the read signal of the second image memory obtained through the toggle circuit are read. It is designed to output the logical sum of 1 image memory, and there is no need to write data for filling in one image memory. Therefore, figures with filling can be output in a short time by printing or displaying. .

〔実施例〕〔Example〕

以下に本発明の要旨を実施例に入って具体的に説明する
The gist of the present invention will be specifically explained below by referring to Examples.

第1図は本発明一実施例の構成を示すブロック図であり
2図中、5は塗りつぶし部分を除く線図形を画素毎に2
値データとして格納する第一の画像メモリ(BMM−1
)、 6は塗りつぶし部分゛の輪郭を示す線図形を画素
毎に2値データとして格納する第二の画像メモリ(BR
M−2)、 7および8は、それぞれ第一の画像メモリ
5および第二の画像メモリ6から並列に読み取った例え
ば16画画素毎データを直列に変換して出力する変換器
(P/S) 、  9は第二の画像メモリ6をラスタ走
査によって読み堰って得られる読取り信号によって出力
を反転するトグル回路として用いるJKフリップフロッ
プ(JK−FF) 、また10は第一の画像メモリ5を
ラスタ走査によって読み取って得られる読取り信号とト
グル回路9の出力との論理和を出力する論理和回路であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In FIG.
The first image memory (BMM-1) stores value data.
), 6 is a second image memory (BR
M-2), 7 and 8 are converters (P/S) that serially convert data for each 16 pixels read in parallel from the first image memory 5 and second image memory 6, respectively, and output the serial data. , 9 is a JK flip-flop (JK-FF) used as a toggle circuit that inverts the output according to a read signal obtained by reading the second image memory 6 by raster scanning, and 10 is a JK flip-flop (JK-FF) used for raster scanning the first image memory 5. This is a logical sum circuit that outputs the logical sum of the read signal obtained by scanning and the output of the toggle circuit 9.

第2図(alに例示するような図形(ハンチングは塗り
つぶし領域を示す)を印刷する場合について説明すると
、第一の画像メモリ5には、第2図(blに示すように
、(a)の図形から塗りつぶし部分を除いた線図形を、
また第二の画像メモリ6には、第2図(e)のように、
塗りつぶし領域の輪郭を示す線図形を、それぞれ格納す
る。
To explain the case of printing a figure (hunting indicates a filled area) as shown in FIG. A line shape with the filled part removed from the shape,
In addition, as shown in FIG. 2(e), the second image memory 6 contains
Stores each line figure indicating the outline of the filled area.

なお、このとき第一の画像メモリ5および第二の画像メ
モリ6を全く同じアドレスによってアクセスすることに
より、第一の画像メモリ5に第2図(blの線図形を書
き込む時、その中の共通部分であるfc)の線図形を同
時に第二の画像メモリ6に書き込むことが出来る。
At this time, by accessing the first image memory 5 and the second image memory 6 using exactly the same address, when writing the line figure in FIG. 2 (bl) to the first image memory 5, the common The line figure of part fc) can be written into the second image memory 6 at the same time.

以上のようにして第一の画像メモリ5および第二の画像
メモリ6に書き込まれた線図形を、同時にラスタ走査に
よって読み取ると、それぞれ変換器7および変換器8か
らクロック信号CLに同期したビット列データが出力さ
れる。
When the line figures written in the first image memory 5 and the second image memory 6 as described above are simultaneously read by raster scanning, bit string data synchronized with the clock signal CL is generated from the converter 7 and the converter 8, respectively. is output.

第3図は第二の画像メモリ6の記憶内容(a)とJKフ
リップフロップ9の出力(blとの関係を説明する図で
あり、同図falにおいて各枡目は画素を表し。
FIG. 3 is a diagram illustrating the relationship between the storage content (a) of the second image memory 6 and the output (bl) of the JK flip-flop 9. In fal of the same figure, each square represents a pixel.

ハンチングを施した部分は線図形を形成する“1”の画
素、また、白部分は背景を形成するO″の画素を示して
いる。
The hunted portions indicate "1" pixels forming the line figure, and the white sections indicate O'' pixels forming the background.

変換器8の出力はJKフリップフロップ9のJ端子とに
端子とに共通に入力されており、変換器8から例えば第
3図(11)の矢印Nによって示されるビット列データ
が出力されると、 JKフリップフロップ9の出力は山
)のように変化する。
The output of the converter 8 is commonly input to the J terminal and the terminal of the JK flip-flop 9, and when the converter 8 outputs bit string data indicated by the arrow N in FIG. 3 (11), for example, The output of the JK flip-flop 9 changes like a mountain.

論理和回路10からは、 JKフリソプフロンプ8の出
力に応じて、その出力が“0″の状態(第3図(b)の
■および■の範囲)では第一の画像メモリ5の読取り信
号が出力され、“1″の状態(第3図山)のHの範囲)
では、IKフリップフロップ9の出力信号が出力される
The OR circuit 10 outputs the read signal of the first image memory 5 in accordance with the output of the JK Frisopfromp 8 when the output is "0" (ranges of ■ and ■ in FIG. 3(b)). and the range of H in the “1” state (Fig. 3 mountain)
Then, the output signal of the IK flip-flop 9 is output.

論理和回路10の出力と図示省略の印刷部に供給され、
印刷部によって第21m(alのような図形が記録用紙
上に印刷される。
It is supplied to the output of the OR circuit 10 and a printing section (not shown),
A figure such as the 21st m (al) is printed on the recording paper by the printing unit.

〔発明の効果〕〔Effect of the invention〕

以上説明したように1本発明によれば、塗りつぶしのた
めのデータのすべてを画像メモリに書き込む必要がない
ので、塗りつぶし部分のある図形を短時間で出力するこ
とができる。
As described above, according to the present invention, it is not necessary to write all the data for filling into the image memory, so a figure with a filled portion can be output in a short time.

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

第1図は本発明一実施例の構成図。 第2図と第3図は同実施例の説明図。 第4図は従来例の概略ブロック図、をそれぞれ示し。 図中。 2は中央処理装置、   5は第一の画像メモリ。 6は第二の画像メモリ、9はJKフリップフロップ。 10は論理和回路である 榮 1 隘 茅 2 目 (cL)(列     CC) 矛 3 E 茶 4 〆 FIG. 1 is a configuration diagram of an embodiment of the present invention. FIG. 2 and FIG. 3 are explanatory diagrams of the same embodiment. FIG. 4 shows a schematic block diagram of a conventional example. In the figure. 2 is a central processing unit, and 5 is a first image memory. 6 is a second image memory, and 9 is a JK flip-flop. 10 is an OR circuit Sakae 1 Kaya 2nd (cL) (column CC) Spear 3E Tea 4〆

Claims (1)

【特許請求の範囲】[Claims] 第一の図形を画素毎に2値データとして格納する第一の
画像メモリと、第二の図形を画素毎に2値データとして
格納する第二の画像メモリと、前記第二の画像メモリを
ラスタ走査によって読み取って得られる読取り信号によ
って出力を反転するトグル回路と、前記第一の画像メモ
リをラスタ走査によって読み取って得られる読取り信号
と前記トグル回路の出力との論理和を出力する論理和回
路とを備えることを特徴とする図形処理回路。
A first image memory stores the first figure as binary data for each pixel, a second image memory stores the second figure as binary data for each pixel, and a raster image memory stores the second figure as binary data for each pixel. a toggle circuit that inverts an output according to a read signal obtained by reading the first image memory by raster scanning; and an OR circuit that outputs a logical sum of the read signal obtained by reading the first image memory by raster scanning and the output of the toggle circuit. A graphic processing circuit comprising:
JP59277527A 1984-12-26 1984-12-26 Graphic processing circuit Pending JPS61154266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59277527A JPS61154266A (en) 1984-12-26 1984-12-26 Graphic processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59277527A JPS61154266A (en) 1984-12-26 1984-12-26 Graphic processing circuit

Publications (1)

Publication Number Publication Date
JPS61154266A true JPS61154266A (en) 1986-07-12

Family

ID=17584818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59277527A Pending JPS61154266A (en) 1984-12-26 1984-12-26 Graphic processing circuit

Country Status (1)

Country Link
JP (1) JPS61154266A (en)

Similar Documents

Publication Publication Date Title
JPH0346834B2 (en)
KR930020297A (en) Map data writing method and writing device
JPS61154266A (en) Graphic processing circuit
JPS61154267A (en) Picture processing circuit
JPS58181359A (en) Picture data processor
JPS6057387A (en) Video smearing circuit for computer image generation type video generator
KR930009674B1 (en) Bit image emulation method of dot printer by laser printer
JPS61275884A (en) Character font converter/generator
JPH0451190A (en) Pattern generating system
JP2839768B2 (en) Image rotation circuit
JPH01255568A (en) Thermal transfer color printer
JPS6061792A (en) Character display system
JPS62146642A (en) Enlarging processor of printing data
JPS60140387A (en) Graphic generator
JPH04296577A (en) Image recording device
JPS61251896A (en) Character font conversion system
JPH03227670A (en) Color image recorder
JPS602983A (en) Image processor
JPS63217482A (en) Expansion method for vector graphic information
JPH05207262A (en) Picture recorder
JPS5990182A (en) Information output device
JPH0569232B2 (en)
JPS6142589U (en) Address conversion device for image memory
JPS6155476B2 (en)
JPS6251873A (en) Full-size picture recorder