JPH1049690A - Picture forming device - Google Patents

Picture forming device

Info

Publication number
JPH1049690A
JPH1049690A JP8208016A JP20801696A JPH1049690A JP H1049690 A JPH1049690 A JP H1049690A JP 8208016 A JP8208016 A JP 8208016A JP 20801696 A JP20801696 A JP 20801696A JP H1049690 A JPH1049690 A JP H1049690A
Authority
JP
Japan
Prior art keywords
description
graphic
vector
intersection
overlap
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
JP8208016A
Other languages
Japanese (ja)
Inventor
Shoji Sakamoto
彰司 坂本
Masao Morita
雅夫 森田
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP8208016A priority Critical patent/JPH1049690A/en
Publication of JPH1049690A publication Critical patent/JPH1049690A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a picture forming device in which necessary memory amounts are small, and the load of data transfer is small. SOLUTION: An inputted picture plotting instruction is interpreted and executed by a plotted graphic description generating means 1, and plotted graphic description to which an identifier for specifying a graphic and the information of the priority order of overlapping is added is generated. This plotted graphic description is registered in a graphic description holding means 2. Then, a description updating means 3 checks the interference relation of a plotted area with the plotted graphic description registered until then, adds cross-point information constituted of the identifier for specifying an overlapping graphic element and a cross-point coordinate to the element graphic description of the plotted graphic in the lower priority order of overlapping for the plotted graphic hidden in the overlapping relation with another plotted graphic, and optimizes the cross-point information from the cross-point information. The plotted graphic description is vectorized by a vector data generating means 4, and turned into output data in a printable form by an output processing means 5.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像形成装置に関
し、特に文書を表現する言語で記述された命令列を実行
して画像情報を形成する際に画像を構成する図形間の重
なりの記述を最適化する画像形成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus, and more particularly to an image forming apparatus which executes an instruction sequence described in a language for expressing a document to form an image information and optimizes a description of an overlap between figures constituting an image. The present invention relates to an image forming apparatus to be formed.

【0002】[0002]

【従来の技術】文書を表現するページ記述言語のプログ
ラムはプリンタによって逐次的に解釈実行され、ページ
の終端を示す命令が実行されると実際の印字が行われ
る。このためプリンタは少なくとも1ページ分の画像を
保持するバッファを備え、このバッファ上で描画命令を
実行し、印刷可能な画像データを構成している。
2. Description of the Related Art A page description language program expressing a document is sequentially interpreted and executed by a printer, and when a command indicating the end of a page is executed, actual printing is performed. For this purpose, the printer has a buffer for holding at least one page of images, executes a drawing command on this buffer, and forms printable image data.

【0003】従来のこのような構成では、出力装置の解
像度が増すにつれて、印刷データの量が増大し、バッフ
ァ容量の増大によるシステム全体の高コスト化とシステ
ム内でのデータ転送量の増大による速度低下とを招いて
いる。また、ページの構成要素の展開および重ね合せの
処理はデータ量の大きな印刷可能画像データのレベルで
行われているので、画像形成装置の処理負荷も大きくな
ってきている。
In such a conventional configuration, as the resolution of the output device increases, the amount of print data increases, the cost of the entire system increases due to an increase in the buffer capacity, and the speed increases due to an increase in the amount of data transfer in the system. It has led to a decline. Further, since the processing of expanding and superimposing the components of the page is performed at the level of the printable image data having a large data amount, the processing load on the image forming apparatus is also increasing.

【0004】これに対して、ページ記述言語の画像描画
命令に優先順位を与え、ある描画命令の展開の際に、そ
の命令よりも優先順位の高い命令で既に展開した画素に
は上書きをしないことで展開処理の効率化を図る方法が
特開平6−119456号公報に提案されている。この
展開処理方法では、重なりを検出する方法を画素の参照
によって行っているため、画像データ形式の容量の大き
なバッファを保持する必要がある。
On the other hand, priority is given to an image drawing command of a page description language, and when a certain drawing command is developed, a pixel which has already been developed by an instruction having a higher priority than that command is not overwritten. Japanese Patent Laid-Open No. 6-119456 proposes a method for improving the efficiency of the expansion processing. In this expansion processing method, since the method of detecting overlap is performed by referring to pixels, it is necessary to hold a buffer having a large capacity in the image data format.

【0005】また、重ね合せの処理の別の形態として、
オーバレイ処理などを用いて共通の原稿に一部のデータ
だけが異なる複数の原稿を重ね合わせて印刷する差し込
み印刷がある。この差し込み印刷では、先に作成された
ページデータを保存しておき、これに変更箇所に相当す
るデータを合成して印刷データを作成する処理が行われ
る。この合成処理を印刷可能画像データのレベルで行う
場合には、同じように大量のメモリと高速な演算装置と
が必要となる。
[0005] Further, as another form of the superposition processing,
2. Description of the Related Art There is insertion printing in which a plurality of originals differing only in part of data are superimposed on a common original and printed using an overlay process or the like. In the insertion printing, a process of storing the page data created beforehand and synthesizing this with data corresponding to the changed portion to create print data is performed. When this synthesizing process is performed at the level of printable image data, a large amount of memory and a high-speed arithmetic device are similarly required.

【0006】これを避けるためには、合成処理を工夫す
る必要がある。特開平4−250582号公報や特開平
4−282784号公報に提案されている方法は、ペー
ジを構成するスキャンライン上での図形の重なり処理を
効率的に行うものであるが、スキャンラインを仮定して
いるため画素形式のページデータしか出力することがで
きず、この出力にオーバレイ処理などを適用する際に
は、やはり大量のメモリと高速な演算装置とが必要とな
る。
In order to avoid this, it is necessary to devise a synthesis process. The methods proposed in JP-A-4-250582 and JP-A-4-282784 are designed to efficiently perform overlapping processing of graphics on scan lines constituting a page. Therefore, only page data in pixel format can be output, and when overlay processing or the like is applied to this output, a large amount of memory and a high-speed arithmetic device are also required.

【0007】いずれにしても、従来の重ね合せの処理で
は、図形の重ね合せの結果はデータ量の大きな印刷可能
画像データのレベルで表現されている。これに対処する
ためには、印刷可能画像データよりも抽象度の高い図形
記述のレベルで図形の重なりが適切に表現されているこ
とが必要であり、かつ、抽象度の高い図形記述のレベル
で表現された図形記述の重なりを処理する機構が必要と
なる。
In any case, in the conventional superimposition processing, the result of superimposition of graphics is expressed at the level of printable image data having a large data amount. In order to cope with this, it is necessary that the overlapping of the figures is appropriately expressed at the level of the graphic description having a higher level of abstraction than that of the printable image data, and is also required at the level of the graphic description having a higher level of abstraction. A mechanism for processing the overlap of the expressed graphic description is required.

【0008】このような図形記述の重なりを処理する場
合、小さな図形が大きな図形によって完全に隠されてし
まうときにその小さな図形を消したり(縮退)、第1の
図形が第2の図形を横切るように重なるときに第1の図
形を分割するが、重なりに応じて図形記述を縮退または
分割するためには、縮退あるいは分割の処理後の図形記
述が図形の重なりの境界を正確に保持している必要があ
る。さもなければ、誤差による交点や境界付近での画素
の抜けや不正な重なりの原因になる。このためには、特
開平4−222060号公報に提案されているような反
復計算を用いた正確な交点の算出が必要となる。
In the case of processing such overlapping graphic descriptions, when a small graphic is completely hidden by a large graphic, the small graphic is erased (reduced) or the first graphic crosses the second graphic. When the first figure is divided when it overlaps as described above, in order to degenerate or divide the figure description according to the overlap, the figure description after the processing of the degeneration or division accurately holds the overlapping boundary of the figure. Need to be. Otherwise, an error may cause pixels to drop out near intersections and boundaries or cause incorrect overlap. For this purpose, it is necessary to calculate an accurate intersection using an iterative calculation as proposed in JP-A-4-222060.

【0009】[0009]

【発明が解決しようとする課題】このように、従来の画
像形成装置では、複数の図形の描画領域の干渉によって
発生する重なりが図形間の関係として適切に表現および
処理されていないために、図形記述の重なりを個々に独
立した記述に対して最適化しようとしたり、スキャンラ
イン上の画素の色の変化点を求める問題に還元しようと
する際に、大容量のメモリが要求され、その上でデータ
転送をするのでデータ転送の負荷も大きく、正確な交点
の算出のためにシステムの計算負荷が増大するという問
題点があった。これを解決するには、重なり関係を表現
できる図形記述とその処理方法を確立することが必要と
なる。このとき、干渉する図形の重なりの位置を特定す
るためには互いの図形の内部構造を参照する必要がある
が、重なり処理によって図形記述が縮退または分割され
ると正確な参照を行うことができない点にも注意しなけ
ればならない。
As described above, in the conventional image forming apparatus, since the overlap generated by the interference between the drawing areas of a plurality of figures is not properly expressed and processed as the relation between the figures, A large amount of memory is required when trying to optimize the overlapping of descriptions for individual descriptions or to reduce the problem of finding a color change point of a pixel on a scan line. Since the data transfer is performed, the load of the data transfer is large, and there is a problem that the calculation load of the system increases for calculating the intersection accurately. In order to solve this, it is necessary to establish a graphic description capable of expressing the overlapping relationship and a processing method thereof. At this time, it is necessary to refer to the internal structure of the interfering figures in order to identify the position of the overlapping of the interfering figures, but if the graphic description is degenerated or divided by the overlapping processing, accurate reference cannot be performed. You must also pay attention to the points.

【0010】本発明はこのような点に鑑みてなされたも
のであり、画像形成のために必要なメモリ量が少なく、
データ転送の負荷が小さな画像形成装置を提供すること
を目的とする。
[0010] The present invention has been made in view of such a point, and requires a small amount of memory for image formation.
An object of the present invention is to provide an image forming apparatus having a small data transfer load.

【0011】[0011]

【課題を解決するための手段】本発明では上記問題を解
決するために、ページ記述言語で記述された画像描画命
令を実行して出力画像を得るための画像形成装置におい
て、入力された前記画像描画命令を解釈して描画図形の
外形を表す有向直線分および有向曲線分の列、描画図形
識別子、および重なり優先度から成る描画図形記述を生
成する描画図形記述生成手段と、前記描画図形記述生成
手段で生成された描画図形記述を保持する図形記述保持
手段と、前記図形記述保持手段が保持する描画図形記述
の重なり関係に基づいて描画図形記述に重なり情報を付
加するように前記描画図形記述を更新する記述更新手段
と、前記図形記述保持手段に保持された描画図形記述か
らベクトル記述を生成するベクトル記述生成手段と、前
記ベクトル記述生成手段によって生成されたベクトル記
述を用いて印字可能な形式の出力データを生成する出力
処理手段とを備えていることを特徴とする画像形成装置
が提供される。
According to the present invention, in order to solve the above-mentioned problems, in an image forming apparatus for obtaining an output image by executing an image drawing command described in a page description language, A drawing graphic description generating means for interpreting a drawing command and generating a drawing graphic description including a sequence of directed straight lines and directed curves representing the outline of the drawing graphic, a drawing graphic identifier, and an overlap priority; A graphic description holding means for holding the drawing graphic description generated by the description generating means; and the drawing graphic so as to add overlapping information to the drawing graphic description based on the overlapping relationship of the drawing graphic description held by the graphic description holding means. Description updating means for updating the description; vector description generating means for generating a vector description from the drawing graphic description held in the graphic description holding means; Image forming apparatus is provided which is characterized in that an output processing means for generating output data printable format using a vector description generated by the means.

【0012】このような画像形成装置によれば、描画図
形記述生成手段によって生成され図形記述保持手段に保
持された描画図形記述を構成する線分や曲線などの描画
図形記述に、その描画図形と重なる別の描画図形を特定
するための識別子と交点の座標との重なり情報を記述更
新手段が付加するようにした。この重なり情報を用いて
画素レベルでの交点や境界を決定することで、すなわ
ち、データ量の大きな画像データのレベルでなく、より
抽象度の高いレベルの描画図形記述で、重なり処理をす
ることにより、バッファの容量の増大を抑えるととも
に、誤差による交点や境界付近での画素の抜けや不正な
重なりが避けられる。また、こうして生成された描画図
形記述を用いることにより、オーバレイ処理などの際
に、プリンタシステムのメモリ使用量とデータ転送の負
荷を抑えることができる。
According to such an image forming apparatus, a drawing figure description such as a line segment or a curve constituting the drawing figure description generated by the drawing figure description generation means and held in the figure description holding means is added to the drawing figure description. The description updating means adds overlap information of an identifier for specifying another overlapping drawing figure and coordinates of an intersection. By determining intersections and boundaries at the pixel level using this overlapping information, that is, by performing the overlapping processing not with the level of the image data having a large data amount but with the drawing graphic description with a higher abstraction level In addition, it is possible to suppress an increase in the capacity of the buffer, and to avoid pixel omission or incorrect overlap near an intersection or a boundary due to an error. Also, by using the drawing graphic description generated in this way, it is possible to suppress the memory usage of the printer system and the load of data transfer during overlay processing or the like.

【0013】また、本発明によれば、ページ記述言語で
記述された画像描画命令を実行して出力画像を得るため
の画像形成装置において、入力された前記画像描画命令
を解釈して描画図形の外形を表す有向直線分および有向
曲線分の列、描画図形識別子、および重なり優先度から
成る描画図形記述を生成する描画図形記述生成手段と、
前記描画図形記述生成手段で生成された描画図形記述か
らベクトル記述を生成するベクトル記述生成手段と、前
記ベクトル記述生成手段で生成されたベクトル記述を保
持するベクトル記述保持手段と、前記ベクトル記述保持
手段が保持するベクトル記述の重なり関係に基づいてベ
クトル記述に重なり情報を付加するように前記ベクトル
記述を更新する記述更新手段と、前記ベクトル記述保持
手段によって保持されたベクトル記述を用いて印字可能
な形式の出力データを生成する出力処理手段とを備えて
いることを特徴とする画像形成装置が提供される。
Further, according to the present invention, in an image forming apparatus for executing an image drawing command described in a page description language to obtain an output image, the image forming apparatus interprets the input image drawing command and generates Drawing graphic description generating means for generating a drawing graphic description composed of a sequence of directed straight lines and directed curves representing an outer shape, a drawing graphic identifier, and an overlap priority;
Vector description generating means for generating a vector description from the drawing graphic description generated by the drawing graphic description generating means, vector description storing means for storing the vector description generated by the vector description generating means, and the vector description storing means Description updating means for updating the vector description so as to add overlap information to the vector description based on the overlapping relationship of the vector descriptions held by the information processing apparatus, and a format printable using the vector description held by the vector description holding means And an output processing means for generating the output data.

【0014】上記構成によれば、描画図形記述生成手段
によって描画図形記述が生成され、さらにベクトル記述
生成手段でベクトル記述が生成された後、ベクトル記述
保持手段に保持されたベクトル記述を構成する要素ベク
トルの記述に、その要素ベクトルと交差する他の要素ベ
クトルを特定するための識別子と交点の座標との重なり
情報を記述更新手段が付加するようにした。この重なり
情報を用いて画素レベルでの交点や境界を決定すること
で、すなわち、データ量の大きな画像データのレベルで
なく、より抽象度の高いレベルのベクトル記述で、重な
り処理をすることにより、バッファの容量の増大を抑え
るとともに、誤差による交点や境界付近での画素の抜け
や不正な重なりが避けられる。また、こうして生成され
た図形記述を用いることにより、オーバレイ処理などの
際に、プリンタシステムのメモリ使用量とデータ転送の
負荷を抑えることができる。
According to the above arrangement, after the drawing graphic description is generated by the drawing graphic description generating means and the vector description is generated by the vector description generating means, the elements constituting the vector description held in the vector description holding means are generated. The description updating means adds overlap information of an identifier for specifying another element vector that intersects the element vector and the coordinates of the intersection to the description of the vector. By determining intersections and boundaries at the pixel level using this overlapping information, that is, by performing overlapping processing not with the level of image data having a large data amount but with a vector description having a higher level of abstraction, In addition to suppressing an increase in the capacity of the buffer, it is possible to avoid omission of pixels and incorrect overlapping near intersections and boundaries due to errors. In addition, by using the graphic description generated in this way, it is possible to suppress the memory usage of the printer system and the data transfer load during the overlay processing or the like.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。図1は第1の発明の原理構成を示
す図である。本発明の画像形成装置は、画像描画命令を
受ける描画図形記述生成手段1と、この描画図形記述生
成手段1で生成された描画図形記述を保持する図形記述
保持手段2と、この図形記述保持手段2が保持する描画
図形記述に対して重なり関係に基づいた更新処理をする
記述更新手段3と、図形記述保持手段2の描画図形記述
からベクトル記述を生成するベクトル記述生成手段4
と、このベクトル記述生成手段のベクトル記述から画素
レベルの出力データを出力する出力処理手段5と、図形
記述保持手段2の描画図形記述を退避し、かつ、退避さ
れた描画図形記述を図形記述保持手段2に出力する二次
記憶手段6とを備えている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the principle configuration of the first invention. An image forming apparatus according to the present invention includes a drawing graphic description generating means 1 for receiving an image drawing command, a graphic description holding means 2 for storing the drawing graphic description generated by the drawing graphic description generating means 1, and a graphic description holding means A description updating unit 3 for performing an update process based on the overlapping relationship with the drawing graphic description held by the graphic description holding unit 2 and a vector description generating unit 4 for generating a vector description from the drawing graphic description of the graphic description holding unit 2
An output processing unit 5 for outputting pixel-level output data from the vector description of the vector description generation unit, a drawing figure description of the figure description holding unit 2 is saved, and the saved drawing figure description is held in the figure description. And a secondary storage means 6 for outputting to the means 2.

【0016】この構成において、ページ記述言語で記述
された画像描画命令の入力は、描画図形記述生成手段1
によって解釈実行され、描画図形を表す描画図形記述が
生成される。この描画図形記述には、図形を特定するた
めの識別子、重なりの優先順位および図形を構成する線
分や点などの要素図形の情報が含まれている。
In this configuration, the input of the image drawing command described in the page description language is performed by the drawing figure description generating means 1.
And a drawing figure description representing the drawing figure is generated. This drawing figure description includes information for an element figure such as an identifier for specifying the figure, an overlapping priority, and a line segment or a point constituting the figure.

【0017】描画図形記述生成手段1で生成された描画
図形記述は図形記述保持手段2に送られる。図形記述保
持手段2では、新たな記述を登録すると同時に、記述更
新手段3がそれまでに登録されている描画図形記述との
描画領域の干渉関係を調べる。この結果、互いに干渉す
る描画図形の間で重なりの優先度が低くて他の描画図形
との重なり関係で下になってしまう描画図形について
は、記述更新手段3がその描画図形を構成する有向直線
分または有向曲線分のそれぞれの要素図形記述につい
て、その要素図形と重なる要素図形を特定するための描
画図形および要素図形の識別子と交点の座標とを加え
る。
The drawing graphic description generated by the drawing graphic description generating means 1 is sent to the graphic description holding means 2. In the graphic description holding means 2, a new description is registered, and at the same time, the description updating means 3 checks the interference of the drawing area with the drawing graphic description registered so far. As a result, for a drawing graphic that has a low priority of overlapping among the drawing graphics that interfere with each other and falls below in the overlapping relationship with another drawing graphic, the description updating unit 3 configures the directed graphics that constitute the drawing graphic. For each element figure description of a straight line or directed curve, a drawing figure for specifying an element figure overlapping with the element figure, an identifier of the element figure, and coordinates of the intersection are added.

【0018】こうして得られた交点記述に対しては、記
述更新手段3により、まず、要素図形の向きを考慮した
整列が行われる。これは、要素図形の端点の座標値から
それぞれの座標軸方向での増減を調べ、それを基に昇順
あるいは降順のいずれで整列するかを決め、この順に辞
書式の整列を行う。次に、記述更新手段3は、一つの要
素図形記述に現れる複数の交点記述のうち同一描画図形
との複数の交点記述の内部にあり、その描画図形よりも
重なり優先度の低い描画図形との交点記述を削除するこ
とで、交点記述の最適化を行う。上述の動作をページの
終端を表す命令を検出するまで繰り返すことで、図形記
述保持手段2には重なりの情報を含む1ページ分の描画
図形記述が生成される。
The description updating means 3 first performs alignment of the obtained intersection description in consideration of the orientation of the element graphic. In this method, the increase / decrease in the direction of each coordinate axis is checked from the coordinate values of the end points of the element graphics, and based on the increase / decrease, it is determined whether the elements are to be arranged in ascending or descending order, and lexicographical sorting is performed in this order. Next, the description updating means 3 includes, among a plurality of intersection descriptions appearing in one element graphic description, a plurality of intersection descriptions with the same drawing figure, which overlaps with the drawing figure and has a lower priority. The intersection description is optimized by deleting the intersection description. By repeating the above operation until an instruction indicating the end of the page is detected, a graphic figure description for one page including overlapping information is generated in the graphic description holding unit 2.

【0019】こうして生成された描画図形記述は、ベク
トルデータ生成手段4によってベクトルデータに変換さ
れる。このベクトルデータは交点記述を反映しており、
他の描画図形との重なりの下になる部分についての情報
を含まない。
The drawing graphic description thus generated is converted into vector data by the vector data generating means 4. This vector data reflects the intersection description,
It does not include information about the part under the overlap with other drawing figures.

【0020】このベクトルデータは出力処理手段5に送
られて出力処理され、印字可能な形式の出力データを出
力する。ベクトルデータを用いて出力処理を行う場合、
画素情報レベルでの重ね合せの処理を行う必要がないた
め、扱うデータ量を抑えることができる。
The vector data is sent to the output processing means 5 for output processing, and outputs printable format output data. When performing output processing using vector data,
Since it is not necessary to perform the superposition processing at the pixel information level, the amount of data to be handled can be suppressed.

【0021】また、オーバレイ処理などを行う際には、
図形記述保持手段2で生成された重なりの情報を含む1
ページ分の描画図形記述は二次記憶手段6に一旦退避さ
れる。ここで、新たな画像描画命令が入力されるときに
は、まず、二次記憶手段6に退避された描画図形記述が
図形記述保持手段2に読み込まれる。この読み込まれた
描画図形記述が新たな画像描画命令による描画図形記述
との重なり処理の初期値となる。この場合も、画素情報
レベルでの重ね合せの処理を行う必要がないため、扱う
データ量を抑えることができる。
When performing overlay processing, etc.,
1 including the overlap information generated by the graphic description holding means 2
The drawing graphic description for the page is temporarily saved in the secondary storage unit 6. Here, when a new image drawing command is input, the drawing figure description saved in the secondary storage means 6 is first read into the figure description holding means 2. The read drawing figure description becomes an initial value of the overlap processing with the drawing figure description based on the new image drawing command. Also in this case, it is not necessary to perform the superposition processing at the pixel information level, so that the amount of data to be handled can be suppressed.

【0022】図2は第2の発明の原理構成を示す図であ
る。図示の画像形成装置は、画像描画命令を受ける描画
図形記述生成手段11と、この描画図形記述生成手段1
1で生成された描画図形記述からベクトル記述を生成す
るベクトル記述生成手段12と、このベクトル記述生成
手段12で生成されたベクトル記述を保持するベクトル
記述保持手段13と、このベクトル記述保持手段13が
保持するベクトル記述に対して重なり関係に基づいた更
新処理をする記述更新手段14と、ベクトル記述保持手
段13のベクトル記述から画素レベルの出力データを出
力する出力処理手段15と、ベクトル記述保持手段13
のベクトル記述を退避し、かつ、退避されたベクトル記
述をベクトル記述保持手段13に出力する二次記憶手段
16とを備えている。
FIG. 2 is a diagram showing the principle configuration of the second invention. The illustrated image forming apparatus includes a drawing figure description generating unit 11 that receives an image drawing command, and a drawing figure description generating unit 1.
1, a vector description generating means 12 for generating a vector description from the drawing graphic description generated in step 1, a vector description storing means 13 for storing the vector description generated by the vector description generating means 12, and a vector description storing means 13 Description updating means 14 for performing an updating process on the held vector description based on the overlapping relationship; output processing means 15 for outputting pixel-level output data from the vector description of the vector description holding means 13;
And a secondary storage unit 16 for saving the saved vector description to the vector description holding unit 13.

【0023】この構成によれば、入力された画像描画命
令は、描画図形記述生成手段11によって解釈実行さ
れ、図形を特定するための識別子、重なりの優先順位お
よび図形を構成する線分や点などの要素図形の情報を含
む描画図形記述が生成される。この描画図形記述生成手
段11で生成された描画図形記述は直ちにベクトル記述
生成手段12に送られてベクトル化の処理が施される。
According to this configuration, the input image drawing command is interpreted and executed by the drawing figure description generating means 11, and the identifier for specifying the figure, the overlapping priority, the line segment and the point constituting the figure, etc. A drawing figure description including the information of the element figure is generated. The drawing graphic description generated by the drawing graphic description generating means 11 is immediately sent to the vector description generating means 12 and subjected to vectorization processing.

【0024】次いで、ベクトル記述生成手段12で生成
されたベクトル記述はベクトル記述保持手段13にて保
持される。このベクトル記述保持手段13に保持された
ベクトル記述に対して、記述更新手段14は描画図形ベ
クトルを構成する要素ベクトルの記述に、この要素ベク
トルと交差する他の要素ベクトルを特定する識別子と交
点の座標とを重なり情報として付加する。また、記述更
新手段14は描画図形ベクトルを構成する要素ベクトル
の記述に現れる交点をその要素ベクトルの向きに従って
整列し、整列された交点のうち重なり優先度の高い図形
との交点の内部にあって、その図形よりも重なり優先度
の低い図形との交点を削除することにより重なり情報の
最適化を行う。上述の動作をページの終端を表す命令を
検出するまで繰り返すことで、ベクトル記述保持手段1
3には重なりの情報を含む1ページ分のベクトル記述が
生成される。
Next, the vector description generated by the vector description generating means 12 is held by the vector description holding means 13. In response to the vector description held in the vector description holding means 13, the description updating means 14 inserts an identifier specifying an element vector that intersects this element vector with an identifier and Coordinates are added as overlap information. In addition, the description updating means 14 arranges the intersections appearing in the description of the element vectors constituting the drawing graphic vector in accordance with the direction of the element vector, and if the intersection is located inside the intersection with the figure having a higher overlapping priority among the aligned intersections. The overlap information is optimized by deleting the intersection with the graphic having a lower priority than the graphic. By repeating the above operation until an instruction indicating the end of the page is detected, the vector description holding means 1
In 3, a vector description for one page including overlapping information is generated.

【0025】このようにして処理されたベクトル記述
は、出力処理手段15に送られて出力処理され、印字可
能な形式の出力データを出力する。このように、ベクト
ル記述をベクトル記述保持手段13に保存し、このベク
トル記述保持手段13上で重ね合せの処理を行うことに
より、重ね合せの処理において自由曲線などを表す曲線
分を扱うことを避け、計算量を抑えることができる。
The vector description processed in this way is sent to the output processing means 15 for output processing, and outputs printable format output data. As described above, by storing the vector description in the vector description holding unit 13 and performing the overlapping process on the vector description holding unit 13, it is possible to avoid handling a curve representing a free curve or the like in the overlapping process. , The amount of calculation can be reduced.

【0026】また、こうして生成されたベクトル記述を
二次記憶手段16に退避しておき、別の入力から生成さ
れたベクトル記述と重ね合せの処理を行うことで、大量
のメモリを使用することなくオーバレイ処理を実現する
ことができる。
Further, the vector description generated in this way is saved in the secondary storage means 16 and is superimposed on the vector description generated from another input, so that a large amount of memory is not used. Overlay processing can be realized.

【0027】次に、第1の発明の実施の形態を、ネット
ワークに接続された印刷システムに適用した場合を例に
して説明する。図3は本発明による画像形成装置を適用
したネットワーク印刷システムの構成例を示す図であ
る。ネットワーク印刷システムは、複数のクライアント
計算機21,22,23,・・・と、ネットワーク30
と、プリントサーバ40と、プリントエンジン50とか
ら構成され、本発明による画像形成装置はプリントサー
バ40の一部として適用されている。プリントサーバ4
0は、ネットワーク30に接続された命令解析部41
と、図形記述更新部42と、量子化部43と、ページバ
ッファ44と、出力処理部45とが共有バス46によっ
て相互に接続されている。プリントサーバ40は、ま
た、出力処理部45に接続されたプリンタインタフェー
ス47を備え、このプリンタインタフェース47の出力
はプリントエンジン50に接続されている。
Next, an embodiment in which the first embodiment of the present invention is applied to a printing system connected to a network will be described as an example. FIG. 3 is a diagram showing a configuration example of a network printing system to which the image forming apparatus according to the present invention is applied. The network printing system includes a plurality of client computers 21, 22, 23,.
, A print server 40, and a print engine 50, and the image forming apparatus according to the present invention is applied as a part of the print server 40. Print server 4
0 is the instruction analysis unit 41 connected to the network 30
, A graphic description updating unit 42, a quantizing unit 43, a page buffer 44, and an output processing unit 45 are mutually connected by a shared bus 46. The print server 40 further includes a printer interface 47 connected to an output processing unit 45, and the output of the printer interface 47 is connected to a print engine 50.

【0028】ネットワーク印刷システムにおいて、クラ
イアント計算機21,22,23,・・・で作成された
印刷ジョブはネットワーク30を介してプリントサーバ
40の命令解析部41に送られる。命令解析部41で
は、受け取った印刷ジョブの内容をページ記述言語の命
令列として解釈実行し、個々の描画図形を表す図形記述
を生成する。生成された図形記述はページバッファ44
に保存される。このとき、既にページバッファ44に保
存されている図形と新たに生成された図形との間に重な
りがある場合には、重なりの優先度に基づいて図形記述
更新部42によって図形記述が更新される。ページの終
端を示す命令が検出されると、ページバッファ44に保
存されている図形記述は、量子化部43に送られてベク
トル化される。量子化部43の出力であるベクトルデー
タは、出力処理部45に送られ、ここで印字可能な形式
の出力データが生成される。出力処理部45の出力であ
る出力データは、プリンタインターフェース47を介し
てプリントエンジン50に送られ、印刷される。
In the network printing system, a print job created by the client computers 21, 22, 23,... Is sent to the command analysis unit 41 of the print server 40 via the network 30. The command analysis unit 41 interprets and executes the contents of the received print job as a command sequence in a page description language, and generates a graphic description representing each drawing graphic. The generated graphic description is stored in the page buffer 44.
Is stored in At this time, if there is an overlap between the graphic already stored in the page buffer 44 and the newly generated graphic, the graphic description is updated by the graphic description updating unit 42 based on the priority of the overlap. . When an instruction indicating the end of the page is detected, the graphic description stored in the page buffer 44 is sent to the quantization unit 43 and vectorized. The vector data output from the quantization unit 43 is sent to an output processing unit 45, where output data in a printable format is generated. Output data output from the output processing unit 45 is sent to the print engine 50 via the printer interface 47 and printed.

【0029】命令解析部41は、入力として与えられた
ページ記述言語の命令列を順に解釈実行し、対応する図
形記述を生成する。この図形記述には、図形を構成する
個々の要素図形の記述に加え、与えられたページ記述言
語に記述されていない情報として、図形を識別するため
の識別子と重なりの優先度とが含まれている。要素図形
の記述には、その要素図形を定義するために必要な特徴
点の座標が含まれている。たとえば、線分の記述には両
端点の座標が含まれており、曲線の記述には両端点と2
つの制御点の4点の座標が含まれている。なお、本実施
の形態においては、図形記述における要素図形の記述
は、反時計回りの順に連続して現れるものとする。ある
要素図形の記述は、その要素図形を含む図形記述に与え
られた識別子と図形記述中の出現順序とによって特定す
ることができる。
The command analysis unit 41 interprets and executes a command sequence of a page description language given as an input in order, and generates a corresponding graphic description. This graphic description includes, in addition to the description of each elemental graphic constituting the graphic, an identifier for identifying the graphic and an overlapping priority as information not described in the given page description language. I have. The description of the element graphic includes the coordinates of the feature points required to define the element graphic. For example, the description of a line segment includes the coordinates of both ends, and the description of a curve
The coordinates of four control points are included. In the present embodiment, it is assumed that the description of the element graphic in the graphic description appears continuously in the counterclockwise order. The description of a certain element graphic can be specified by the identifier given to the graphic description including the element graphic and the appearance order in the graphic description.

【0030】命令解析部41によって生成された図形記
述は、順にページバッファ44に保存される。ここで、
第1の図形記述を新たにページバッファ44に登録する
際に、その第1の図形記述が表現する図形が既に登録さ
れた第2の図形記述の表現する図形と重なる場合には、
図形記述更新部42によってそれらの図形記述の間で重
なり優先度の低い第2の図形記述に対して重なり情報が
付加される。この処理の流れを以下に示す。
The graphic description generated by the instruction analyzing unit 41 is stored in the page buffer 44 in order. here,
When newly registering the first graphic description in the page buffer 44, if the graphic represented by the first graphic description overlaps with the graphic represented by the second registered graphic description,
The graphic description updating unit 42 adds overlapping information to the second graphic description having a lower overlapping priority among those graphic descriptions. The flow of this processing will be described below.

【0031】図4は重なり判定手続きの処理の流れを示
すフローチャートである。ここでは、重なり判定を図形
の外接矩形を用いた場合を例にして説明する。そして、
二つの図形の外接矩形を数値の四つ組で表すものとし、
それぞれの数値はその矩形の左上の点と右下の点とのx
座標およびy座標の値を表すものとする。
FIG. 4 is a flowchart showing the flow of the processing of the overlap determination procedure. Here, the case of using the circumscribed rectangle of the figure for the overlap determination will be described as an example. And
Let the circumscribed rectangle of two figures be represented by a quadruple of numbers,
Each number is the x of the upper left and lower right points of the rectangle
The coordinates and y-coordinate values are represented.

【0032】したがって、最初に、二つの外接矩形の左
上の点のx座標およびy座標の最大値を変数Lx,Ly
および右下の点のx座標およびy座標の最小値を変数H
x,Hyにそれぞれセットする(ステップS1)。続い
て、二つの外接矩形のx座標およびy座標に関する変数
の比較を行う(ステップS2)。すなわち、Lx<Hx
であり、かつLy<Hyであるか否かを判定し、両方を
満足するならば、重なりありと判定して終了する。ま
た、両方の比較を満足しなければ、重なりなしと判定し
て終了する。
Therefore, first, the maximum values of the x- and y-coordinates of the upper left point of the two circumscribed rectangles are determined by the variables Lx and Ly.
And the minimum value of the x and y coordinates of the lower right point
x and Hy are set respectively (step S1). Subsequently, comparison is made between variables relating to the x coordinate and the y coordinate of the two circumscribed rectangles (step S2). That is, Lx <Hx
Is determined, and whether Ly <Hy is satisfied. If both are satisfied, it is determined that there is an overlap, and the process ends. If both comparisons are not satisfied, it is determined that there is no overlap, and the processing ends.

【0033】この重なりの有無の判定は、二つの外接矩
形が与えられた場合に、以下の理由によって可能にな
る。矩形領域のある軸への正射影を考えると、これは幅
を持った値の範囲を形成する。二つの範囲が重なる場合
は、重なり領域の端は、二つの範囲の左側境界のうち右
側にあるものと右側境界のうち左側にあるものとであ
り、これらが左から右へこの順に現れる。二つの範囲が
重ならない場合には、これらの出現順序が逆になる。図
4の重なり判定手続きはこのような性質を利用してい
る。
The determination of the presence or absence of the overlap becomes possible for the following reasons when two circumscribed rectangles are given. Given an orthographic projection of a rectangular area onto an axis, this forms a wide range of values. If the two ranges overlap, the ends of the overlap region are those on the right of the left boundaries of the two ranges and those on the left of the right boundaries, which appear in this order from left to right. If the two ranges do not overlap, their order of appearance is reversed. The overlap determination procedure in FIG. 4 utilizes such a property.

【0034】次に、このような重なり判定の結果に基づ
く図形記述更新部の次の処理について説明する。図5は
重なり情報の付加処理の流れを示すフローチャートであ
る。まず、重なり判定の結果が重なりありであったかど
うかが判定される(ステップS11)。ここで、重なり
がないと判定されると、この処理はそのまま終了し、重
なりがあると判定されると、新たに登録される第1の図
形と干渉する既登録の第2の図形を特定する(ステップ
S12)。次に、第1の図形を構成する要素図形のそれ
ぞれに対してその要素図形と重なる第2の図形の要素図
形を特定し(ステップS13)、要素図形間の交点を計
算し、第2図形を構成する要素図形記述に第1の図形の
要素図形を特定する情報と交点の座標とを含む重なり情
報を付加する(ステップS14)。このとき、交点の座
標については、厳密な値を求める必要はなく、たとえ
ば、制御点を結んだ線分で曲線分を近似しても構わな
い。
Next, the next process of the graphic description updating unit based on the result of such overlap determination will be described. FIG. 5 is a flowchart showing the flow of the overlapping information adding process. First, it is determined whether or not the result of the overlap determination indicates that there is overlap (step S11). Here, if it is determined that there is no overlap, this processing ends as it is. If it is determined that there is an overlap, a registered second graphic that interferes with the newly registered first graphic is specified. (Step S12). Next, for each of the element figures constituting the first figure, the element figure of the second figure overlapping with the element figure is specified (step S13), the intersection between the element figures is calculated, and the second figure is calculated. The overlapping information including the information for specifying the element graphic of the first graphic and the coordinates of the intersection is added to the description of the constituent graphic (step S14). At this time, it is not necessary to obtain an exact value for the coordinates of the intersection. For example, a curve segment may be approximated by a line segment connecting the control points.

【0035】上述の動作をページの終端を表す命令を検
出するまで繰り返していき、1ページ分の図形記述がペ
ージバッファ44に生成されると、次に、ページバッフ
ァ44に蓄積された図形記述に含まれる重なり情報の最
適化を行う。これは、交点情報に対する二つの操作から
成る処理である。まず、それぞれの要素図形記述に付加
された交点記述をその交点の座標値を用いて整列する。
整列は2軸方向への座標値を用いて辞書順に行われ、要
素図形のそれぞれの軸方向への増加あるいは減少が昇順
あるいは降順の整列に対応する。この手続きのフローチ
ャートを図6および図7に示す。
The above operation is repeated until an instruction indicating the end of the page is detected. When a graphic description for one page is generated in the page buffer 44, the graphic description stored in the page buffer 44 is then added to the graphic description. Optimize the included overlap information. This is a process consisting of two operations on the intersection information. First, the intersection description added to each element graphic description is aligned using the coordinate values of the intersection.
The alignment is performed in lexicographic order using the coordinate values in the two axis directions, and an increase or decrease in each axis direction of the element graphics corresponds to an ascending or descending order. FIGS. 6 and 7 show flowcharts of this procedure.

【0036】図6は整列処理の流れの例を示すフローチ
ャートである。まず、蓄積された図形記述に含まれる重
なり情報の有無が判定される(ステップS21)。ここ
で、重なり情報がないと判定されると、この処理はその
まま終了し、重なり情報があると判定されると、要素図
形記述を構成する頂点の座標値のうち、まず、x座標に
関して頂点の座標値がx軸方向に増加しているか否かを
判定し(ステップS22)、x軸方向に増加している場
合は、要素図形記述に付加された交点記述の交点を昇順
に整列し(ステップS23)、x軸方向に減少している
場合は、交点を降順に整列する(ステップS24)。次
に、y座標に関して交点の座標値がy軸方向に増加して
いるか否かを判定し(ステップS25)、y軸方向に増
加している場合は、昇順に整列し(ステップS26)、
y軸方向に減少している場合は、降順に整列する(ステ
ップS27)。そして、2軸方向への座標値を用いて辞
書順に整列が行われる(ステップS28)。以上の処理
により、線分の向きに沿って始点から終点に向かって交
点が並ぶように整列されることになる。
FIG. 6 is a flowchart showing an example of the flow of the alignment process. First, it is determined whether or not there is overlap information included in the stored graphic description (step S21). Here, if it is determined that there is no overlap information, this processing is terminated as it is, and if it is determined that there is overlap information, among the coordinate values of the vertices constituting the element graphic description, It is determined whether or not the coordinate value is increasing in the x-axis direction (step S22). If the coordinate value is increasing in the x-axis direction, the intersection points of the intersection description added to the element graphic description are arranged in ascending order (step S22). S23) If it is decreasing in the x-axis direction, the intersections are arranged in descending order (step S24). Next, it is determined whether the coordinate value of the intersection with respect to the y coordinate is increasing in the y-axis direction (step S25). If the coordinate value is increasing in the y-axis direction, the coordinates are arranged in ascending order (step S26).
If it decreases in the y-axis direction, it is arranged in descending order (step S27). Then, alignment is performed in dictionary order using the coordinate values in the biaxial directions (step S28). According to the above processing, the intersections are arranged such that the intersections are arranged from the start point to the end point along the direction of the line segment.

【0037】次に他の図形との重なりの下になる交点情
報を調べ削除する。これは、それぞれの要素図形に付加
された重なり情報のうち、重なり優先度r1を持つ図形
との交点がr1よりも高い優先度r2を持つ図形との交
点に挟まれている場合に、前者は後者との重なりの下に
隠されてしまっているものと考え、これを削除すること
で実現される。この手続きのフローチャートを図7に示
す。
Next, intersection information under the overlap with another figure is checked and deleted. This is because when the intersection with the graphic having the overlapping priority r1 is sandwiched between the intersection with the graphic having the priority r2 higher than r1 in the overlapping information added to each element graphic, This is realized by thinking that it is hidden under the overlap with the latter, and removing it. FIG. 7 shows a flowchart of this procedure.

【0038】図7は最適化処理の流れを示すフローチャ
ートである。ここでは、交点情報が整列された状態で受
け取られる。まず、整列された交点情報に対して重なり
情報の有無が判定される(ステップS31)。ここで、
重なり情報がないと判定されると、この処理はそのまま
終了し、重なり情報があると判定されると、優先度の変
数prioの値を0に初期化する(ステップS32)。
次に、交点の情報を記述された順に走査するが、ここ
で、全ての交点情報を走査したか否かを判定する(ステ
ップS33)。全ての交点情報を走査した場合には、そ
のまま終了する。全ての交点情報を走査していない場合
には、次の交点の情報(最初は先頭の交点の情報)を走
査する(ステップS34)。その交点の重なり優先度を
調べて、今、注目している交点の重なり優先度を別の変
数pに代入する(ステップS35)。次に、この変数p
と変数prioとを比較する(ステップS36)。ここ
で、注目している現在の交点の重なり優先度が比較対象
の交点の重なり優先度よりも高ければ、現在の交点を削
除することはできないので、変数prioに変数pを代
入して(ステップS37)、ステップS33に戻り、次
の交点へ進む。現在の交点の重なり優先度が比較対象の
交点の重なり優先度よりも高くなければ、現在の交点が
重なりによって隠れてしまって本来は出てこないはずの
交点であると判定し、重なり優先度の低い現在の交点を
退避しておく(ステップS38)。次に、変数pと変数
prioとが等しいかどうかが判定され(ステップS3
9)、等しくない場合には、ステップS33に戻って、
削除可能な交点に関して調べていくことになる。優先度
が等しい場合には、今まで退避していた交点をまとめて
削除し(ステップS40)、ステップS32に戻って、
次の削除可能な交点群の探索に進む。
FIG. 7 is a flowchart showing the flow of the optimization process. Here, the intersection information is received in an aligned state. First, the presence / absence of overlapping information is determined for the aligned intersection information (step S31). here,
If it is determined that there is no overlap information, this process is terminated. If it is determined that there is overlap information, the value of the priority variable prio is initialized to 0 (step S32).
Next, the intersection information is scanned in the described order. Here, it is determined whether or not all the intersection information has been scanned (step S33). If all the intersection information has been scanned, the process ends. If all the intersection information has not been scanned, the information of the next intersection (the information of the first intersection) is scanned (step S34). The overlapping priority of the intersection is checked, and the overlapping priority of the currently focused intersection is substituted into another variable p (step S35). Next, this variable p
And the variable prio are compared (step S36). Here, if the overlap priority of the current intersection point of interest is higher than the overlap priority of the comparison target intersection points, the current intersection point cannot be deleted. S37), returning to step S33, and proceeding to the next intersection. If the overlap priority of the current intersection is not higher than the overlap priority of the intersection to be compared, the current intersection is hidden by the overlap and is determined to be an intersection that should not originally come out. The low current intersection is saved (step S38). Next, it is determined whether the variable p is equal to the variable prio (step S3).
9) If not equal, return to step S33,
We will examine the intersections that can be deleted. If the priorities are equal, the intersections that have been evacuated so far are collectively deleted (step S40), and the process returns to step S32.
Proceed to search for the next group of intersections that can be deleted.

【0039】以上の処理は、非常に単純なアルゴリズム
に因っているが、実際には交点が図形の中であるか外で
あるかが問題になり、図形の外であればその交点を削除
することはできない。したがって、最適化処理をより厳
密に行うには、それぞれの交点位置において干渉する要
素図形の交差の向きを交点情報に加え、これに非零巻数
規則や奇偶巻数規則を適用することで、正確な内外判定
を行い、重なり優先度の高い図形の内部にその図形より
も重なり優先度の低い図形との交点がある場合にはこれ
を取り除くことで実現される。この手続きのフローチャ
ートを図8に示す。ただし、巻数規則を用いた内部性判
定については、通常のページ記述言語の処理装置に実装
されているので、その詳細は省略する。
Although the above processing is based on a very simple algorithm, it actually matters whether the intersection is inside or outside the figure. If the intersection is outside the figure, the intersection is deleted. I can't. Therefore, in order to perform the optimization processing more strictly, the direction of the intersection of the interfering elemental figures at each intersection position is added to the intersection information, and a non-zero winding number rule or an even-even winding number rule is applied thereto, thereby obtaining an accurate This is realized by performing an inside / outside determination and removing an intersection point between a figure having a higher overlap priority and a figure having a lower overlap priority than that of the figure. FIG. 8 shows a flowchart of this procedure. However, since the internality determination using the winding number rule is implemented in a normal page description language processing device, its details are omitted.

【0040】図8は別の最適化処理の流れを示すフロー
チャートである。まず、整列された交点情報に対して重
なり情報の有無が判定される(ステップS51)。ここ
で、重なり情報がないと判定されると、この処理はその
まま終了し、重なり情報があると判定されると、優先度
の変数prioの値を0に初期化する(ステップS5
2)。次に、全ての交点情報を走査したか否かが判定さ
れる(ステップS53)。全ての交点情報を走査した場
合には、そのまま終了し、全ての交点情報を走査してい
ない場合には、次の交点の情報を走査する(ステップS
54)。その交点の重なり優先度を調べて、現在の交点
の重なり優先度を別の変数pに代入する(ステップS5
5)。次に、この変数pと変数prioとを比較し(ス
テップS56)、現在の交点の重なり優先度が比較対象
の交点の重なり優先度よりも高ければ、変数prioに
変数pを代入して(ステップS57)、ステップS53
に戻る。現在の交点の重なり優先度が比較対象の交点の
重なり優先度よりも高くなければ、その交点について内
部性判定を行う(ステップS58)。この内部性判定に
て、内部ではない場合、すなわち、現在の交点が図形の
外に出ていく境界である場合には、下に来る図形は残さ
なければいけないので、変数prioを0に初期化し
(ステップS59)、ステップS53に戻る。内部性判
定により、現在の交点が図形の内側である場合には、現
在の交点を退避する(ステップS60)。次に、変数p
と変数prioとが等しいかどうかが判定され(ステッ
プS61)、等しくない場合には、ステップS53に戻
る。優先度が等しい場合には、退避された交点を削除し
(ステップS62)、ステップS52に戻る。
FIG. 8 is a flowchart showing the flow of another optimization process. First, the presence / absence of overlapping information is determined for the aligned intersection information (step S51). Here, if it is determined that there is no overlap information, this processing is terminated as it is, and if it is determined that there is overlap information, the value of the priority variable prio is initialized to 0 (step S5).
2). Next, it is determined whether or not all the intersection information has been scanned (step S53). If all the intersection information has been scanned, the process ends as it is. If not all the intersection information has been scanned, the information of the next intersection is scanned (step S).
54). The overlap priority of the intersection is checked, and the overlap priority of the current intersection is substituted into another variable p (step S5).
5). Next, the variable p is compared with the variable prio (step S56). If the current overlap priority of the intersection is higher than the overlap priority of the comparison target intersection, the variable p is substituted for the variable prio (step S56). S57), Step S53
Return to If the overlap priority of the current intersection is not higher than the overlap priority of the intersection to be compared, an internality determination is performed for the intersection (step S58). In this internality judgment, if it is not inside, that is, if the current intersection is a boundary that goes out of the figure, the figure below must be left, so the variable prio is initialized to 0. (Step S59), returning to step S53. If the current intersection is inside the figure as a result of the internality determination, the current intersection is evacuated (step S60). Next, the variable p
It is determined whether or not is equal to the variable prio (step S61). If not equal, the process returns to step S53. If the priorities are equal, the evacuated intersection is deleted (step S62), and the process returns to step S52.

【0041】続いて、ページバッファ44に含まれる図
形記述を量子化部43によってベクトル化する。これは
曲線を微小線分で近似する処理と図形を構成する要素図
形の端点を確定する処理とから成る。曲線の微小線分に
よる近似は、曲線のモデルによって様々な方法がある
が、たとえばベジエ(Bezier)曲線のモデルにお
いては曲線を分割してその端点を結ぶ線分と曲線との距
離が予め定めた範囲の値になるまで再帰的に分割を繰り
返すことで近似微小線分の系列を得る。曲線の微小線分
による近似が完了すると、図形を構成する要素図形は全
て線分に還元され、これによって、全ての交点の計算は
直線の交点を求める問題となり、反復計算を行うことな
く容易に正確な交点の座標を求めることができる。こう
して求めた交点の座標を用いて、要素図形記述をベクト
ルに分割する。分割後のベクトルは図形の重なりを反映
しており、図形の境界が他の図形の境界と交わる位置で
分割されている。
Subsequently, the graphic description contained in the page buffer 44 is vectorized by the quantization unit 43. This consists of a process of approximating a curve with a minute line segment and a process of determining the end points of the element graphics constituting the graphic. There are various methods for approximating a curve by a minute line segment depending on the curve model. For example, in a Bezier curve model, the distance between the line segment connecting the end points of the curve and the curve is predetermined. By repeating the division recursively until the value of the range is reached, a series of approximate minute line segments is obtained. When the approximation of the curve by the minute line segment is completed, all the elemental figures constituting the figure are reduced to line segments, whereby the calculation of all the intersection points becomes a problem of finding the intersection point of the straight line, and it is easy without repeating the calculation. Accurate intersection coordinates can be obtained. The element graphic description is divided into vectors using the coordinates of the intersection thus obtained. The divided vector reflects the overlapping of the figures, and is divided at a position where the boundary of the figure intersects with the boundary of another figure.

【0042】上述の処理によって得られたベクトルデー
タは、出力処理部45によって印刷可能なラスタの画素
形式に変換される。画素形式の出力データを得る場合に
は、ある走査線と交わるベクトルとの交点を求め、ある
交点から次の交点までを図形の色属性が示す適切な色で
塗りつぶせばよい。
The vector data obtained by the above processing is converted by the output processing unit 45 into a printable raster pixel format. In order to obtain output data in pixel format, an intersection between a certain scanning line and a vector that intersects with each other is obtained, and the area from one intersection to the next intersection may be filled with an appropriate color indicated by the color attribute of the graphic.

【0043】以上の手続きを具体的な図形記述に適用し
た例を示す。図9は描画図形および対応するページ記述
言語入力および図形記述を示す図である。図9の(A)
は描画される三角形の図形60と、この図形60を表す
ページ記述言語入力61と、このページ記述言語入力6
1から生成された図形記述62とを示しており、図9の
(B)は描画される扇形の図形70と、この図形70を
表すページ記述言語入力71と、このページ記述言語入
力71から生成された図形記述72とを示している。
An example in which the above procedure is applied to a specific graphic description will be described. FIG. 9 is a diagram showing a drawing figure and a corresponding page description language input and figure description. FIG. 9A
Represents a triangular figure 60 to be drawn, a page description language input 61 representing the figure 60, and a page description language input 6
FIG. 9B shows a fan-shaped graphic 70 to be drawn, a page description language input 71 representing the graphic 70, and a graphic description 62 generated from the page description language input 71. The figure description 72 is shown.

【0044】すなわち、命令解析部41に図形60,7
0を表すページ記述言語入力61,71が与えられる
と、命令解析部41では、図形記述62,72がそれぞ
れ生成される。このとき、それぞれの図形記述62,7
2には、ページ記述言語入力61,71に含まれていな
い情報である、図形を一意に特定するための識別子と重
なりの優先順位を表す重なり優先度とが付加される。図
示の例によれば、図形記述62には、入力の順に与えら
れた識別子id<1>および同じく入力の順に与えられ
た重なり優先度priority<1>が付加され、図
形記述72には、識別子id<2>および重なり優先度
priority<2>が新たに付加されている。
That is, the instructions 60 and 7
When page description language inputs 61 and 71 representing 0 are given, the instruction analysis unit 41 generates graphic descriptions 62 and 72, respectively. At this time, the respective graphic descriptions 62, 7
2, an identifier not uniquely included in the page description language inputs 61 and 71, that is, an identifier for uniquely specifying a figure and an overlap priority indicating an overlap priority are added. According to the illustrated example, an identifier id <1> given in the order of input and an overlap priority priority <1> also given in the order of input are added to the graphic description 62, and an identifier id is given to the graphic description 72. id <2> and overlap priority priority <2> are newly added.

【0045】こうして生成された図形記述62,72は
順にページバッファ44へと送られる。ページバッファ
44では、新たな図形記述を登録する際には、その図形
記述が表す図形の描画領域と既に登録された図形記述が
表す図形の描画領域とが重なるかどうかを調べ、重なり
がある場合には重なりの下になる図形記述に重なり情報
を付加する処理がなされる。
The graphic descriptions 62 and 72 thus generated are sent to the page buffer 44 in order. When registering a new graphic description, the page buffer 44 checks whether the drawing area of the graphic represented by the graphic description overlaps the drawing area of the graphic represented by the already registered graphic description. Is subjected to a process of adding overlap information to the graphic description under the overlap.

【0046】ページバッファ44に図形記述62が登録
され、次に、図形記述72が登録される際には、重なり
判定が行われる。この重なり判定は、図4に示した図形
の外接矩形を用いて行われる。この例では、図形60に
図形70が重なるので、重なり判定によって重なりが検
出される。重なりが検出されると、各図形記述に含まれ
る要素図形記述相互の重なりが調べられ、重なり優先度
の低い図形記述の要素図形記述に交点情報が付加され
る。この様子を図10に示す。
When the graphic description 62 is registered in the page buffer 44 and then the graphic description 72 is registered, an overlap determination is performed. This overlap determination is performed using the circumscribed rectangle of the figure shown in FIG. In this example, since the figure 70 overlaps the figure 60, the overlap is detected by the overlap determination. When the overlap is detected, the overlapping of the element graphic descriptions included in each graphic description is checked, and intersection information is added to the element graphic description of the graphic description having a lower overlapping priority. This is shown in FIG.

【0047】図10は重なり検出時の交点情報を付加す
る処理の説明図である。図10の(A)は図形60,7
0の重なり状態を示している。図形60は三つの要素図
形60a,60b,60cから構成され、図形70は要
素図形70a,70b,70cから構成される。曲線分
の要素図形70aは両端点と二つの制御点とによって表
現されている。二つの図形60,70の要素図形が重な
っている交点は小さい四つの丸によって表している。図
10の(B)は重なり情報が付加された図形記述を示し
ている。図示の例によれば、重なりが検出されることに
より、図形記述72に含まれる要素図形記述のそれぞれ
に対して図形記述62に含まれる要素図形記述が表す要
素図形との重なりを調べ、重なり優先度の低い図形記述
62の要素図形記述に交点情報が付加され、図形記述6
2aとなる。すなわち、2番目の要素図形記述に交点情
報(2,2,250,300)および(2,3,30
0,300)が、3番目の要素図形記述に交点情報
(2,3,300,200)および(2,1,250,
150)が付加されている。これらの交点情報には、こ
の要素図形と重なる要素図形を特定するための図形の識
別子と、要素図形記述の図形記述中での出現順序、およ
び交点の座標とがこの順に含まれている。たとえば、交
点情報(2,2,250,300)は、識別子id=2
の図形の2番目の要素図形と(250,300)の位置
で重なっている、ことを示している。
FIG. 10 is an explanatory diagram of processing for adding intersection information at the time of detection of overlap. FIG. 10A shows figures 60 and 7.
0 indicates an overlapping state. The figure 60 is composed of three element figures 60a, 60b and 60c, and the figure 70 is composed of element figures 70a, 70b and 70c. The curved element figure 70a is represented by both end points and two control points. The intersection where the element figures of the two figures 60 and 70 overlap is represented by four small circles. FIG. 10B shows a graphic description to which overlap information is added. According to the illustrated example, when an overlap is detected, each element graphic description included in the graphic description 72 is checked for overlap with an element graphic represented by the element graphic description included in the graphic description 62, and the overlap priority is given. The intersection information is added to the element graphic description of the graphic description 62 having a low degree,
2a. That is, the intersection information (2, 2, 250, 300) and (2, 3, 30
0, 300) are the intersection information (2, 3, 300, 200) and (2, 1, 250,
150) is added. The intersection information includes a graphic identifier for specifying an element graphic overlapping with the element graphic, an appearance order of the element graphic description in the graphic description, and coordinates of the intersection in this order. For example, the intersection information (2, 2, 250, 300) has an identifier id = 2
Of the figure at the position of (250, 300).

【0048】図11は新たな図形が追加されたときの重
なり検出状態を示す図、図12は図形記述に交点情報を
付加して最適化する処理の説明図である。図11によれ
ば、図形60の上に図形70が重なっている状態で、さ
らに新たに平行四辺形の図形80が図形60,70の一
部に重なるように追加して描画される状態を示してい
る。そして、重なり検出の結果、互いに重なり合う要素
図形の位置には交点情報を表す小さな丸が付加されてい
る。
FIG. 11 is a diagram showing an overlap detection state when a new graphic is added, and FIG. 12 is an explanatory diagram of processing for adding intersection information to the graphic description to optimize the graphic description. FIG. 11 shows a state in which a figure 70 is superimposed on a figure 60 and a parallelogram 80 is additionally drawn so as to partially overlap the figures 60 and 70. ing. As a result of the overlap detection, small circles representing intersection information are added to the positions of the element graphics that overlap each other.

【0049】この図11の重なり状態の各図形に対応す
る図形記述を図12に示してある。図形60の図形記述
62bによれば、図10に示した図形記述62aよりも
さらに新たな交点情報が付加されている。すなわち、2
番目の要素図形記述に交点情報(3,1,225,30
0)および(3,3,275,300)が、3番目の要
素図形記述に交点情報(3,3,337.5,237.
5)および(3,1,312.5,212.5)が付加
されている。また、図形70の図形記述72aでは、二
つの直線線分の要素図形記述に新たな交点情報が付加さ
れている。すなわち、2番目の要素図形記述に交点情報
(3,1,237.5,387.5)および(3,3,
262.5,312.5)が、3番目の要素図形記述に
交点情報(3,3,300,250)および(3,1,
300,225)が付加されている。そして、図12に
は図形80に対応する図形記述82が示されている。
FIG. 12 shows a graphic description corresponding to each graphic in the overlapping state in FIG. According to the graphic description 62b of the graphic 60, newer intersection information than the graphic description 62a shown in FIG. 10 is added. That is, 2
The intersection information (3, 1, 225, 30
0) and (3,3,275,300) are the intersection information (3,3,337.5,237.
5) and (3,1,312.5,212.5) are added. In the graphic description 72a of the graphic 70, new intersection information is added to the element graphic description of the two straight line segments. That is, the intersection information (3, 12, 237.5, 387.5) and (3, 3,
262.5, 312.5) include intersection information (3, 3, 300, 250) and (3, 1,
300, 225). FIG. 12 shows a graphic description 82 corresponding to the graphic 80.

【0050】以上のようにして、図形記述に付加された
交点情報が蓄積され、ページの終端を表す命令が検出さ
れると、次に、重なり記述の最適化が行われる。この例
では、図形記述62bに対して最適化がなされて、図形
記述62cとなる。この図形記述62cによれば、図形
記述62bに比べて2番目の要素図形記述の中の交点情
報(2,2,250,300)が削除されている。すな
わち、図形60の第2辺に現れる交点のうち図形70の
第2辺との交点は、図形70よりも重なり優先度の高い
図形80の第1辺との交点と図形80の第3辺との交点
とに挟まれており、図形記述更新部42によって最適化
されて取り除かれる。
As described above, the intersection information added to the graphic description is accumulated, and when an instruction indicating the end of the page is detected, next, the overlap description is optimized. In this example, the graphic description 62b is optimized and becomes a graphic description 62c. According to the graphic description 62c, the intersection information (2, 2, 250, 300) in the second element graphic description is deleted compared to the graphic description 62b. That is, of the intersections appearing on the second side of the figure 60, the intersection with the second side of the figure 70 is the intersection of the first side of the figure 80, which overlaps with the figure 70 and has a higher priority, and the third side of the figure 80. Are optimized and removed by the graphic description updating unit 42.

【0051】次いで、最適化された図形記述は量子化部
43に渡され、ベクトルデータが生成される。この図形
記述からベクトルデータが生成される状態を以下の図1
3に示す。
Next, the optimized graphic description is passed to the quantization unit 43 to generate vector data. FIG. 1 shows a state in which vector data is generated from this graphic description.
3 is shown.

【0052】図13は量子化部におけるベクトルデータ
の生成状態を示す図である。量子化部43では、最適化
された図形記述をベクトル化するときには、それぞれ要
素図形記述の後ろに交点情報が付加されているので、そ
れを参照しながらベクトルデータを生成する。要素図形
の直線分のベクトルデータを作るときには、そのベクト
ルの向きについては、要素図形記述の始点および終点の
情報で示されるが、長さは、その要素図形上の交点まで
とする。たとえば、図形60の第2辺の要素図形60b
のベクトルデータを作るときには、基本的なベクトルの
向きは始点および終点の記述で示されるが、座標(22
5,300)の位置で図形80の第1辺と交わるという
ことが記述されているので、その交わる位置までしかベ
クトルは生成せず、この結果、ベクトルデータ60b−
1が生成される。一方、図形70の第1辺のような要素
図形の曲線分については、微小直線分の系列で近似す
る。次に、交点情報を用いて実際に描画される図形の境
界を決定する。たとえば、図形60の第3辺は三つの部
分に分割され、分割位置においては図形70および図形
80と境界を共有する。
FIG. 13 is a diagram showing the state of generation of vector data in the quantization unit. When vectorizing the optimized graphic description, the quantization unit 43 generates vector data while referring to the intersection information, since the intersection information is added after the element graphic description. When creating vector data for a straight line of an element graphic, the direction of the vector is indicated by the information of the start point and end point of the element graphic description, but the length is up to the intersection on the element graphic. For example, the element graphic 60b on the second side of the graphic 60
When the vector data is created, the basic direction of the vector is indicated by the description of the start point and the end point.
5, 300), the vector is generated only up to the intersection, and as a result, the vector data 60b-
1 is generated. On the other hand, the curve of an element graphic such as the first side of the graphic 70 is approximated by a series of minute straight lines. Next, the boundary of the figure to be actually drawn is determined using the intersection information. For example, the third side of the graphic 60 is divided into three parts, and shares a boundary with the graphic 70 and the graphic 80 at the division positions.

【0053】こうして得られたベクトルデータは出力処
理部45に渡され、出力処理が行われるが、この出力処
理について以下に説明する。図14は出力処理部におけ
るベクトルデータのラスタ化を示す図である。出力処理
部45がベクトルデータから印字可能な出力データを作
成する場合、図14に示すようにページの上から順に走
査していって、走査線と交わるベクトルを求め、走査線
とベクトルの交点が図形の境界であり色が変化する点で
あると判断して、図形の色属性に従って次の交点まで塗
りつぶしを行う。この動作をページを構成する全ての走
査線について行うことで1ページ分の印字可能な出力デ
ータが生成される。ただし、出力処理部においては重な
り処理を行わないため、1ページ分の出力データを同時
にメモリ上に保持してそのメモリ上で重なり処理を行う
必要がない。また、入力の順序を考慮する必要がないた
め、ベクトルデータを分割して並列処理することも可能
である。
The vector data thus obtained is passed to the output processing unit 45, where the output processing is performed. The output processing will be described below. FIG. 14 is a diagram illustrating rasterization of vector data in the output processing unit. When the output processing unit 45 creates printable output data from vector data, scanning is performed sequentially from the top of the page as shown in FIG. 14 to find a vector that intersects the scanning line. Judgment is made on the boundary of the figure and the point at which the color changes, and painting is performed up to the next intersection according to the color attribute of the figure. By performing this operation for all the scanning lines constituting a page, printable output data for one page is generated. However, since the output processing unit does not perform the overlap processing, it is not necessary to simultaneously hold the output data for one page in the memory and perform the overlap processing on the memory. In addition, since it is not necessary to consider the order of inputs, vector data can be divided and processed in parallel.

【0054】次に、第2の発明の実施の形態を、ネット
ワークに接続された印刷システムに適用した場合を例に
して説明する。図15は本発明による画像形成装置を適
用したネットワーク印刷システムの構成例を示す図であ
る。ネットワーク印刷システムは、複数のクライアント
計算機101,102,103,・・・と、ネットワー
ク110と、プリントサーバ120と、プリントエンジ
ン130とから構成され、本発明による画像形成装置は
プリントサーバ120の一部として適用されている。プ
リントサーバ120は、ネットワーク110に接続され
た命令解析部121と、量子化部122と、図形記述更
新部123と、ページバッファ124と、出力処理部1
25とが共有バス126によって相互に接続されてい
る。プリントサーバ120は、また、ページバッファ1
24と出力処理部125とに接続された退避部127
と、出力処理部125に接続されたプリンタインタフェ
ース128とを備えており、このプリンタインタフェー
ス128の出力はプリントエンジン130に接続されて
いる。
Next, an embodiment in which the second embodiment of the present invention is applied to a printing system connected to a network will be described as an example. FIG. 15 is a diagram showing a configuration example of a network printing system to which the image forming apparatus according to the present invention is applied. The network printing system includes a plurality of client computers 101, 102, 103,..., A network 110, a print server 120, and a print engine 130. The image forming apparatus according to the present invention is a part of the print server 120. Has been applied as The print server 120 includes an instruction analysis unit 121, a quantization unit 122, a graphic description update unit 123, a page buffer 124, and an output processing unit 1 connected to the network 110.
25 are interconnected by a shared bus 126. The print server 120 also stores the page buffer 1
24 and an evacuation unit 127 connected to the output processing unit 125
And a printer interface 128 connected to the output processing unit 125. The output of the printer interface 128 is connected to the print engine 130.

【0055】クライアント計算機101,102,10
3,・・・で作成された印刷ジョブはネットワーク11
0を介してプリントサーバ120の命令解析部121に
送られる。命令解析部121では、受け取った印刷ジョ
ブの内容をページ記述言語の命令列として解釈実行し、
個々の描画図形を表す図形記述を生成する。生成された
図形記述は量子化部122に送られベクトル化される。
量子化部122の出力であるベクトルデータは、ページ
バッファ124に送られ保存される。このとき、既にペ
ージバッファ124に保存されている図形と新たに生成
された図形との間に重なりがある場合には、重なりの優
先度に基づいて図形記述更新部123によってベクトル
データが更新される。ページの終端を示す命令が検出さ
れると、ページバッファ124に保存されているベクト
ルデータは、出力処理部125に送られ印字可能な形式
の出力データが生成される。出力処理部125の出力で
ある出力データは、プリンタインタフェース128を介
してプリントエンジン130に送られ印刷される。
Client computers 101, 102, 10
The print job created in 3,.
0 to the command analysis unit 121 of the print server 120. The command analysis unit 121 interprets and executes the content of the received print job as a command sequence in a page description language,
Generate a graphic description that represents each drawing graphic. The generated graphic description is sent to the quantization unit 122 and vectorized.
The vector data output from the quantization unit 122 is sent to the page buffer 124 and stored. At this time, if there is an overlap between the graphic already stored in the page buffer 124 and the newly generated graphic, the graphic description updating unit 123 updates the vector data based on the priority of the overlap. . When the instruction indicating the end of the page is detected, the vector data stored in the page buffer 124 is sent to the output processing unit 125 to generate output data in a printable format. Output data output from the output processing unit 125 is sent to the print engine 130 via the printer interface 128 and printed.

【0056】命令解析部121は、入力として与えられ
たページ記述言語の命令列を順に解釈実行し、図形記述
を生成する。命令解析部121によって生成された図形
記述は量子化部122によってベクトル化される。これ
は曲線を微小線分で近似する処理から成り、その詳細は
前述の通りである。
The command analysis unit 121 sequentially interprets and executes a command sequence of a page description language given as an input, and generates a graphic description. The graphic description generated by the instruction analysis unit 121 is vectorized by the quantization unit 122. This consists of a process of approximating a curve with minute line segments, the details of which are as described above.

【0057】量子化部122によって生成されたベクト
ルデータは、順にページバッファ124に保存される。
たとえば、第1のベクトルデータを新たにページバッフ
ァ124に登録する際に、その第1のベクトルデータが
表現する図形が既に登録された第2のベクトルデータの
表現する図形と重なる場合には、図形記述更新部123
によってそれらのベクトルデータの間で重なり優先度の
低い記述に重なり情報が付加される。この処理の流れは
第1の発明の実施の形態と同様であるが、ベクトル同士
の交点の座標を求めることは直線の交点を求める問題で
あり容易に解くことができる。
The vector data generated by the quantization unit 122 is stored in the page buffer 124 in order.
For example, when newly registering the first vector data in the page buffer 124, if the graphic represented by the first vector data overlaps with the graphic represented by the second registered vector data, the graphic Description update unit 123
Thus, the overlap information is added to the description having a low overlap priority between the vector data. Although the flow of this processing is the same as that of the first embodiment, finding the coordinates of the intersection of vectors is a problem of finding the intersection of straight lines and can be easily solved.

【0058】上述の動作をページの終端を表す命令を検
出するまで繰り返して、1ページ分のベクトルデータを
ページバッファ124に生成すると、次にページバッフ
ァ124に蓄積されたベクトルデータに含まれる重なり
情報の最適化を行う。これは、交点情報に対する二つの
操作から成る処理である。まず、それぞれの要素ベクト
ル記述に付加された交点記述をその交点の座標値を用い
て整列する。整列の方法は第1の発明の実施の形態と同
様である。
The above operation is repeated until an instruction indicating the end of the page is detected, and the vector data for one page is generated in the page buffer 124. Then, the overlap information included in the vector data stored in the page buffer 124 is obtained. Perform optimization. This is a process consisting of two operations on the intersection information. First, the intersection description added to each element vector description is aligned using the coordinate values of the intersection. The arrangement method is the same as that of the first embodiment.

【0059】次に他の図形との重なりの下になる交点情
報を調べ削除する。この処理の詳細は第1の発明の実施
の形態と同様である。上述の処理によって得られたベク
トルデータは、出力処理部125によって出力形式に変
換される。この出力処理部125は、印刷可能画像デー
タを生成する処理と、それまでに処理したベクトルデー
タを退避部127に退避して保存しておく処理のいずれ
かを行う。この退避部を実現するための装置は、メモリ
で構成される主記憶でもディスクなどの二次記憶でも構
わない。
Next, the intersection information under the overlap with another figure is checked and deleted. Details of this processing are the same as in the first embodiment of the present invention. The vector data obtained by the above processing is converted into an output format by the output processing unit 125. The output processing unit 125 performs one of a process of generating printable image data and a process of saving vector data processed so far in the save unit 127. The device for realizing the evacuation unit may be a main storage composed of a memory or a secondary storage such as a disk.

【0060】退避部127によって退避されたベクトル
データは、ページバッファ124に読み込まれ、以降に
生成されるベクトルデータとの重なり処理を行うことに
より、再利用が可能である。
The vector data saved by the saving unit 127 is read into the page buffer 124, and can be reused by performing an overlapping process with vector data generated thereafter.

【0061】以上の手続きを具体的な図形記述に適用し
た例を示す。たとえば、図9の(A)および(B)に示
すそれぞれの図形を表すページ記述言語入力61および
71が与えられると、命令解析部121によってそれぞ
れ図形記述62および72が生成される。このとき、そ
れぞれの図形記述62,72には図形を一意に特定する
ための識別子と重なりの優先順位を表す重なり優先度が
付加される。こうして生成された図形記述62,72は
順に量子化部122へと送られ、そこでベクトルデータ
が生成される。
An example in which the above procedure is applied to a specific graphic description will be described. For example, when page description language inputs 61 and 71 representing the respective figures shown in FIGS. 9A and 9B are given, figure descriptions 62 and 72 are generated by the instruction analyzer 121, respectively. At this time, to each of the graphic descriptions 62 and 72, an overlap priority indicating an overlap priority and an identifier for uniquely specifying the graphic is added. The graphic descriptions 62 and 72 generated in this way are sequentially sent to the quantization unit 122, where vector data is generated.

【0062】図16はベクトル化イメージの描画図形お
よび対応するベクトルデータを示す図である。図16の
(A)は描画される三角形の図形60と、この図形60
を表すページ記述言語入力61から生成されたベクトル
データ63とを示しており、図16の(B)は描画され
る扇形の図形70と、この図形70を表すページ記述言
語入力71から生成されたベクトルデータ73とを示し
ている。
FIG. 16 is a diagram showing a drawing figure of a vectorized image and corresponding vector data. FIG. 16A shows a triangular figure 60 to be drawn and this figure 60
FIG. 16B shows a fan-shaped figure 70 to be drawn and a page description language input 71 representing this figure 70. And vector data 73.

【0063】図示のように量子化部122では、要素図
形の直線分については、そのままベクトル化され、図形
70の第1辺のような曲線分は、微小直線分の系列で近
似される。そして、量子化部122の出力であるベクト
ルデータは次にページバッファ124に送られる。
As shown in the figure, in the quantization unit 122, the straight line component of the element graphic is vectorized as it is, and the curve component such as the first side of the graphic 70 is approximated by a series of minute straight lines. Then, the vector data output from the quantization unit 122 is sent to the page buffer 124 next.

【0064】図17は重なり検出時の交点情報を付加す
る処理の説明図である。図17の(A)は図形60,7
0の重なり状態を示し、図17の(B)は重なり情報が
付加された図形60のベクトルデータ63aを示してい
る。ページバッファ124では、新たなベクトルデータ
を登録する際にはそのベクトルデータが表す図形の描画
領域と既に登録されたベクトルデータが表す図形の描画
領域とが重なるかどうかを調べ、重なりがある場合には
重なりの下になるベクトルデータに重なり情報を付加す
る。ベクトルデータ63が登録され、次にベクトルデー
タ73が登録される際には、重なり判定が行われ、重な
りが検出される。するとベクトルデータ63に含まれる
要素ベクトルのそれぞれに対してベクトルデータ73に
含まれる要素ベクトルが表す要素図形との重なりを調
べ、重なり優先度の低いベクトルデータの要素ベクトル
に交点情報を付加する。この交点情報には、この要素ベ
クトルと重なる要素ベクトルを特定するための図形の識
別子と要素ベクトルのベクトルデータ中での出現順序お
よび交点の座標が含まれている。このようにして、ベク
トルデータ63に交点情報が付加されると、図示のベク
トルデータ63aとなる。
FIG. 17 is an explanatory diagram of a process for adding intersection information at the time of detection of overlap. FIG. 17A shows figures 60 and 7.
FIG. 17B shows vector data 63a of the figure 60 to which overlap information is added. When registering new vector data, the page buffer 124 checks whether the drawing area of the graphic represented by the vector data overlaps the drawing area of the graphic represented by the already registered vector data. Adds overlap information to the vector data under the overlap. When the vector data 63 is registered and then the vector data 73 is registered, an overlap determination is performed and the overlap is detected. Then, each element vector included in the vector data 63 is checked for an overlap with an element figure represented by the element vector included in the vector data 73, and intersection information is added to the element vector of the vector data having a low overlap priority. The intersection information includes an identifier of a graphic for specifying an element vector overlapping with the element vector, an appearance order of the element vector in vector data, and coordinates of the intersection. In this way, when the intersection information is added to the vector data 63, the vector data 63 becomes the illustrated vector data 63a.

【0065】次に、同様にして、3つ目の図形が追加さ
れた場合について説明する。この新たな図形は図12に
おいて示した図形記述82によって表されるものとす
る。図18は新たな図形が追加されたときの重なり検出
状態を示す図、図19はベクトルデータに交点情報を付
加して最適化する処理の説明図である。図18によれ
ば、図形60の上に図形70が重なっている状態で、さ
らに新たに平行四辺形の図形80が図形60,70の一
部に重なるように追加して描画される状態を示してい
る。そして、重なり検出の結果、互いに重なり合う要素
ベクトルの位置には交点情報を表す小さな丸が付加され
ている。
Next, a case where a third figure is added will be described. This new graphic is represented by the graphic description 82 shown in FIG. FIG. 18 is a diagram showing an overlap detection state when a new figure is added, and FIG. 19 is an explanatory diagram of a process of adding intersection information to vector data to optimize it. FIG. 18 shows a state in which a figure 70 is superimposed on a figure 60 and a parallelogram 80 is additionally drawn so as to partially overlap the figures 60 and 70. ing. As a result of the overlap detection, small circles representing intersection information are added to the positions of the element vectors overlapping each other.

【0066】この図18の重なり状態の各図形に対応す
る図形記述を図19に示してある。ベクトルデータ63
aはベクトルデータ63bに、ベクトルデータ73はベ
クトルデータ73aになり、さらに、図形80のベクト
ルデータ83が示されている。ここで、ページの終端を
表す命令が検出されると、重なり記述の最適化が行われ
る。図形60の第2辺に現れる交点のうち、図形70の
第13辺との交点は、図形70よりも重なり優先度の高
い図形80の第1辺との交点と図形80の第3辺との交
点とに挟まれており、最適化部によって取り除かれる。
この結果、図形60のベクトル記述はベクトルデータ6
3cのように最適化される。
FIG. 19 shows a graphic description corresponding to each graphic in the overlapping state in FIG. Vector data 63
a is vector data 63b, vector data 73 is vector data 73a, and vector data 83 of FIG. 80 is shown. Here, when an instruction indicating the end of the page is detected, the overlap description is optimized. Of the intersections appearing on the second side of the graphic 60, the intersection with the thirteenth side of the graphic 70 is the intersection between the intersection of the first side of the graphic 80 which overlaps with the graphic 70 and has a higher priority and the third side of the graphic 80. It is sandwiched between the intersections and is removed by the optimization unit.
As a result, the vector description of FIG.
Optimized as in 3c.

【0067】こうして最適化されたベクトルデータは出
力処理部125に渡され、出力処理が行われる。出力処
理部125が印字可能な出力データを作成する場合、第
1の発明の実施の形態と同様にしてラスタ化されて印字
可能な出力データが生成される。
The vector data thus optimized is passed to the output processing unit 125, where the output processing is performed. When the output processing unit 125 creates printable output data, the output data is rasterized and printable output data is generated in the same manner as in the first embodiment of the present invention.

【0068】また、出力処理部125はベクトルデータ
を退避部127に退避し、これをページバッファ124
が初期値として読み込んで利用することで、オーバレイ
処理などでのページデータの再利用を少ないメモリで実
現することができる。
The output processing unit 125 saves the vector data in the saving unit 127, and stores it in the page buffer 124.
Is used as an initial value, and reuse of page data in overlay processing or the like can be realized with a small memory.

【0069】以上、第2の発明の実施の形態の詳細を示
したが、図15に例示した構成において、図形記述更新
部123による図形記述レベルでの重なり検出および最
適化を先に行い、量子化部122におけるベクトル化を
出力処理部125によるラスタ化の直前に行うようにす
ることにより、オーバレイ処理が可能な第1の発明の実
施の形態とすることができる。
Although the embodiment of the second invention has been described in detail above, in the configuration illustrated in FIG. 15, overlap detection and optimization at the graphic description level by the graphic description updating unit 123 are performed first, and the quantum By performing the vectorization in the conversion unit 122 immediately before the rasterization by the output processing unit 125, it is possible to provide an embodiment of the first invention capable of performing overlay processing.

【0070】[0070]

【発明の効果】以上説明したように第1の発明では、描
画図形記述生成手段で生成された描画図形記述を保持す
る図形記述保持手段と、図形記述保持手段が保持する描
画図形記述の重なり関係に基づいて描画図形記述に重な
り情報を付加するように描画図形記述を更新する記述更
新手段とを備えるように構成した。これにより、画像デ
ータのレベルでなく、より抽象度の高いレベルの描画図
形記述で、すなわち、データ量の小さなレベルで重なり
処理をするので、メモリ使用量を抑えることができる。
As described above, in the first invention, the overlapping relationship between the graphic description holding means for holding the drawing graphic description generated by the drawing graphic description generating means and the drawing graphic description held by the graphic description holding means is provided. And a description updating means for updating the drawing graphic description so as to add overlapping information to the drawing graphic description based on the information. Thus, the overlap processing is performed not at the level of the image data but at a higher level of abstraction, that is, at a level with a smaller amount of data, so that the memory usage can be suppressed.

【0071】また、第2の発明では、ベクトル記述生成
手段で生成されたベクトル記述を保持するベクトル記述
保持手段と、このベクトル記述保持手段が保持するベク
トル記述の重なり関係に基づいてベクトル記述に重なり
情報を付加するようにベクトル記述を更新する記述更新
手段とを備えるように構成した。これにより、画像デー
タのレベルでなく、より抽象度の高いレベルのベクトル
記述で、すなわち、データ量の小さなレベルで重なり処
理をするので、メモリ使用量を抑えることができる。
In the second invention, the vector description holding means for holding the vector description generated by the vector description generating means and the vector description based on the overlapping relationship of the vector description held by the vector description holding means. Description updating means for updating a vector description so as to add information. Thus, the overlap processing is performed not at the level of the image data but at a level of a higher level of abstraction, that is, at the level of a smaller data amount, so that the memory usage can be suppressed.

【0072】さらに、オーバレイ処理などの際にも、重
なり処理を画像データよりもより抽象度の高いレベルで
行うので、プリンタシステムのメモリ使用量とデータ転
送の負荷を抑えることが可能になる。
Further, even in the case of overlay processing or the like, since the overlapping processing is performed at a higher level of abstraction than the image data, it is possible to suppress the memory usage of the printer system and the data transfer load.

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

【図1】第1の発明の原理構成を示す図である。FIG. 1 is a diagram showing the principle configuration of the first invention.

【図2】第2の発明の原理構成を示す図である。FIG. 2 is a diagram showing a principle configuration of the second invention.

【図3】本発明による画像形成装置を適用したネットワ
ーク印刷システムの構成例を示す図である。
FIG. 3 is a diagram illustrating a configuration example of a network printing system to which an image forming apparatus according to the present invention is applied.

【図4】重なり判定手続きの処理の流れを示すフローチ
ャートである。
FIG. 4 is a flowchart illustrating a flow of an overlap determination procedure.

【図5】重なり情報の付加処理の流れを示すフローチャ
ートである。
FIG. 5 is a flowchart showing a flow of processing for adding overlap information.

【図6】整列処理の流れの例を示すフローチャートであ
る。
FIG. 6 is a flowchart illustrating an example of the flow of an alignment process.

【図7】最適化処理の流れを示すフローチャートであ
る。
FIG. 7 is a flowchart illustrating a flow of an optimization process.

【図8】別の最適化処理の流れを示すフローチャートで
ある。
FIG. 8 is a flowchart showing the flow of another optimization process.

【図9】描画図形および対応するページ記述言語入力お
よび図形記述を示す図である。
FIG. 9 is a diagram showing a drawing figure and a corresponding page description language input and figure description.

【図10】重なり検出時の交点情報を付加する処理の説
明図である。
FIG. 10 is an explanatory diagram of a process of adding intersection information at the time of detection of overlap.

【図11】新たな図形が追加されたときの重なり検出状
態を示す図である。
FIG. 11 is a diagram illustrating an overlap detection state when a new graphic is added.

【図12】図形記述に交点情報を付加して最適化する処
理の説明図である。
FIG. 12 is an explanatory diagram of a process of optimizing by adding intersection information to a graphic description.

【図13】量子化部におけるベクトルデータの生成状態
を示す図である。
FIG. 13 is a diagram illustrating a generation state of vector data in a quantization unit.

【図14】出力処理部におけるベクトルデータのラスタ
化を示す図である。
FIG. 14 is a diagram illustrating rasterization of vector data in an output processing unit.

【図15】本発明による画像形成装置を適用したネット
ワーク印刷システムの構成例を示す図である。
FIG. 15 is a diagram illustrating a configuration example of a network printing system to which the image forming apparatus according to the present invention is applied.

【図16】ベクトル化イメージの描画図形および対応す
るベクトルデータを示す図である。
FIG. 16 is a diagram showing a drawing figure of a vectorized image and corresponding vector data.

【図17】重なり検出時の交点情報を付加する処理の説
明図である。
FIG. 17 is an explanatory diagram of a process of adding intersection information at the time of detection of overlap.

【図18】新たな図形が追加されたときの重なり検出状
態を示す図である。
FIG. 18 is a diagram illustrating an overlap detection state when a new graphic is added.

【図19】ベクトルデータに交点情報を付加して最適化
する処理の説明図である。
FIG. 19 is an explanatory diagram of a process of adding intersection information to vector data for optimization.

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

1 描画図形記述生成手段 2 図形記述保持手段 3 記述更新手段 4 ベクトル記述生成手段 5 出力処理手段 6 二次記憶手段 11 描画図形記述生成手段 12 ベクトル記述生成手段 13 ベクトル記述保持手段 14 記述更新手段 15 出力処理手段 16 二次記憶手段 REFERENCE SIGNS LIST 1 drawing figure description generating means 2 graphic description holding means 3 description updating means 4 vector description generating means 5 output processing means 6 secondary storage means 11 drawing graphic description generating means 12 vector description generating means 13 vector description holding means 14 description updating means 15 Output processing means 16 Secondary storage means

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 ページ記述言語で記述された画像描画命
令を実行して出力画像を得るための画像形成装置におい
て、 入力された前記画像描画命令を解釈して描画図形の外形
を表す有向直線分および有向曲線分の列、描画図形識別
子、および重なり優先度から成る描画図形記述を生成す
る描画図形記述生成手段と、 前記描画図形記述生成手段で生成された描画図形記述を
保持する図形記述保持手段と、 前記図形記述保持手段が保持する描画図形記述の重なり
関係に基づいて描画図形記述に重なり情報を付加するよ
うに前記描画図形記述を更新する記述更新手段と、 前記図形記述保持手段に保持された描画図形記述からベ
クトル記述を生成するベクトル記述生成手段と、 前記ベクトル記述生成手段によって生成されたベクトル
記述を用いて印字可能な形式の出力データを生成する出
力処理手段と、 を備えていることを特徴とする画像形成装置。
1. An image forming apparatus for obtaining an output image by executing an image drawing command described in a page description language, wherein a directed straight line representing an outline of a drawing figure by interpreting the input image drawing command. And a directed curve, a drawing graphic identifier, and a drawing graphic description generating means for generating a drawing graphic description including an overlap priority, and a graphic description for holding the drawing graphic description generated by the drawing graphic description generating means Holding means, description updating means for updating the drawing graphic description so as to add overlapping information to the drawing graphic description based on the overlapping relationship of the drawing graphic descriptions held by the graphic description holding means, Vector description generating means for generating a vector description from the held drawing graphic description, and printing using the vector description generated by the vector description generating means An image forming apparatus characterized by comprising an output processing means for generating output data capacity format, the.
【請求項2】 前記記述更新手段は、描画図形を構成す
る有向直線分または有向曲線分の記述に、前記有向直線
分または有向曲線分と交差する他の描画図形記述を構成
する有向直線分または有向曲線分を特定する識別子と交
点の座標とを重なり情報として付加するように構成した
ことを特徴とする請求項1記載の画像形成装置。
2. The description updating means forms, in a description of a directed straight line or directed curve constituting a drawn figure, another drawn figure description intersecting the directed straight line or directed curve. 2. The image forming apparatus according to claim 1, wherein an identifier for specifying a directed straight line or a directed curve and a coordinate of an intersection are added as overlap information.
【請求項3】 前記記述更新手段は、描画図形記述を構
成する有向直線分および有向曲線分の記述に現れる交点
を前記有向直線分および有向曲線分の向きに従って整列
し、整列された交点のうち重なり優先度の高い図形との
交点の内部にあってその図形よりも重なり優先度の低い
図形との交点を削除することにより前記重なり情報の最
適化を行うように構成したことを特徴とする請求項2記
載の画像形成装置。
3. The description updating means aligns intersections appearing in descriptions of a directed straight line and a directed curved line constituting a drawing graphic description in accordance with the directions of the directed straight line and the directed curved line. Among the intersections with the figure with a higher overlap priority, and omitting the intersection with the figure with a lower overlap priority than that figure to optimize the overlap information. The image forming apparatus according to claim 2, wherein:
【請求項4】 前記図形記述保持手段に保持された描画
図形記述をテンプレートとして退避し、別の画像描画命
令の入力時には、退避された前記描画図形記述が前記図
形記述保持手段に読み込まれて前記記述更新手段による
記述更新の動作の初期値となる、二次記憶手段をさらに
備えていることを特徴とする請求項1記載の画像形成装
置。
4. A drawing graphic description held in said graphic description holding means is saved as a template, and when another image drawing command is input, the saved drawing graphic description is read by said graphic description holding means and read. 2. The image forming apparatus according to claim 1, further comprising a secondary storage unit that becomes an initial value of a description updating operation by the description updating unit.
【請求項5】 ページ記述言語で記述された画像描画命
令を実行して出力画像を得るための画像形成装置におい
て、 入力された前記画像描画命令を解釈して描画図形の外形
を表す有向直線分および有向曲線分の列、描画図形識別
子、および重なり優先度から成る描画図形記述を生成す
る描画図形記述生成手段と、 前記描画図形記述生成手段で生成された描画図形記述か
らベクトル記述を生成するベクトル記述生成手段と、 前記ベクトル記述生成手段で生成されたベクトル記述を
保持するベクトル記述保持手段と、 前記ベクトル記述保持手段が保持するベクトル記述の重
なり関係に基づいてベクトル記述に重なり情報を付加す
るように前記ベクトル記述を更新する記述更新手段と、 前記ベクトル記述保持手段によって保持されたベクトル
記述を用いて印字可能な形式の出力データを生成する出
力処理手段と、 を備えていることを特徴とする画像形成装置。
5. An image forming apparatus for executing an image drawing command described in a page description language to obtain an output image, wherein a directed straight line representing an outline of a drawing figure by interpreting the input image drawing command. Drawing figure description generating means for generating a drawing figure description including a sequence of segments and directed curves, a drawing figure identifier, and an overlap priority; and generating a vector description from the drawing figure description generated by the drawing figure description generating means. A vector description generating unit, a vector description holding unit for holding the vector description generated by the vector description generating unit, and adding overlap information to the vector description based on an overlapping relationship between the vector descriptions held by the vector description holding unit. Description updating means for updating the vector description so as to perform the processing, and the vector description held by the vector description holding means. It is and an output processing means for generating output data printable format using an image forming apparatus according to claim.
【請求項6】 前記記述更新手段は、描画図形ベクトル
を構成する要素ベクトルの記述に、前記要素ベクトルと
交差する他の要素ベクトルを特定する識別子と交点の座
標とを重なり情報として付加するように構成したことを
特徴とする請求項5記載の画像形成装置。
6. The description updating means adds an identifier specifying another element vector that intersects the element vector and coordinates of the intersection as overlap information to the description of the element vector constituting the drawing graphic vector. 6. The image forming apparatus according to claim 5, wherein the image forming apparatus is configured.
【請求項7】 前記記述更新手段は、描画図形ベクトル
を構成する要素ベクトルの記述に現れる交点を前記要素
ベクトルの向きに従って整列し、整列された交点のうち
重なり優先度の高い図形との交点の内部にあってその図
形よりも重なり優先度の低い図形との交点を削除するこ
とにより前記重なり情報の最適化を行うように構成した
ことを特徴とする請求項6に記載の画像形成装置。
7. The description updating means arranges intersections appearing in the description of the element vectors constituting the drawing graphic vector in accordance with the direction of the element vector, and sets the intersection of the intersection with the graphic having a higher overlapping priority among the aligned intersections. 7. The image forming apparatus according to claim 6, wherein the overlap information is optimized by deleting an intersection with a graphic which is inside and has a lower overlapping priority than the graphic.
【請求項8】 前記ベクトル記述保持手段に保持された
ベクトル記述をテンプレートとして退避し、別の画像描
画命令によるベクトル記述が与えられるときには、退避
された前記ベクトル記述が前記ベクトル記述保持手段に
読み込まれて与えられたベクトル記述に対して前記記述
更新手段による記述更新が行われる、二次記憶手段をさ
らに備えていることを特徴とする請求項5記載の画像形
成装置。
8. The vector description held by the vector description holding unit is saved as a template, and when a vector description is given by another image drawing command, the saved vector description is read into the vector description holding unit. 6. The image forming apparatus according to claim 5, further comprising a secondary storage unit that updates the description by the description updating unit with respect to the given vector description.
【請求項9】 ページ記述言語で記述された画像描画命
令を実行して出力画像を得るための画像形成方法におい
て、 入力された前記画像描画命令を解釈して描画図形の外形
を表す有向直線分および有向曲線分の列、描画図形識別
子、および重なり優先度から成る描画図形記述を生成
し、 生成された描画図形記述のレベルで描画図形記述の重な
り関係に基づいた重ね合わせの処理を行い、 重ね合わせ処理された描画図形記述からベクトル記述を
生成し、 生成されたベクトル記述から印字可能な形式の出力デー
タを生成する、 ことからなる画像形成方法。
9. An image forming method for obtaining an output image by executing an image drawing command described in a page description language, wherein a directed straight line representing an outline of a drawing figure by interpreting the input image drawing command And a directed graphic curve sequence, a drawing figure identifier, and an overlapping priority are generated. At the level of the generated drawing figure description, an overlapping process is performed based on the overlapping relationship of the drawing figure descriptions. Generating a vector description from the superimposed drawing figure description, and generating output data in a printable format from the generated vector description.
【請求項10】 前記重ね合わせの処理を行うステップ
は、描画図形を構成する有向直線分または有向曲線分の
記述に、前記有向直線分または有向曲線分と交差する他
の描画図形記述を構成する有向直線分または有向曲線分
を特定する識別子と交点の座標とを付加するステップを
有することを特徴とする請求項9記載の画像形成方法。
10. The step of performing the superimposing process includes the steps of: describing a directed straight line component or a directed curved line constituting a drawn graphic; The image forming method according to claim 9, further comprising a step of adding an identifier for specifying a directed straight line component or a directed curved line component constituting the description and coordinates of the intersection.
【請求項11】 前記重ね合わせの処理を行うステップ
は、描画図形記述を構成する有向直線分および有向曲線
分の記述に現れる交点を前記有向直線分および有向曲線
分の向きに従って整列し、整列された交点のうち重なり
優先度の高い図形との交点の内部にあってその図形より
も重なり優先度の低い図形との交点を削除するステップ
をさらに有することを特徴とする請求項10記載の画像
形成方法。
11. The step of performing the superimposing process includes arranging the intersections appearing in the description of the directed straight line component and the directed curved line component constituting the drawing graphic description according to the directions of the directed straight line component and the directed curved line component. 11. The method according to claim 10, further comprising the step of deleting, from among the arranged intersections, intersections with a graphic having a lower overlapping priority than the graphic, which is inside the intersection with the graphic having a higher overlapping priority. The image forming method as described in the above.
【請求項12】 ページ記述言語で記述された画像描画
命令を実行して出力画像を得るための画像形成方法にお
いて、 入力された前記画像描画命令を解釈して描画図形の外形
を表す有向直線分および有向曲線分の列、描画図形識別
子、および重なり優先度から成る描画図形記述を生成
し、 生成された描画図形記述からベクトル記述を生成し、 生成されたベクトル記述のレベルでベクトル記述の重な
り関係に基づいた重ね合わせの処理を行い、 重ね合わせ処理されたベクトル記述から印字可能な形式
の出力データを生成する、 ことからなる画像形成方法。
12. An image forming method for obtaining an output image by executing an image drawing command described in a page description language, wherein a directed straight line representing an outline of a drawing figure by interpreting the input image drawing command. A drawing description consisting of a sequence of drawing segments and directed curves, a drawing figure identifier, and an overlap priority, generating a vector description from the generated drawing figure description, and generating a vector description at the level of the generated vector description. Performing an overlapping process based on the overlapping relationship and generating printable output data from the overlapped vector description.
【請求項13】 前記重ね合わせの処理を行うステップ
は、描画図形ベクトルを構成する要素ベクトルの記述
に、前記要素ベクトルと交差する他の要素ベクトルを特
定する識別子と交点の座標とを付加するステップを有す
ることを特徴とする請求項12記載の画像形成方法。
13. The step of performing the superimposition process includes the step of adding an identifier specifying another element vector intersecting the element vector and the coordinates of the intersection to the description of the element vector forming the drawing graphic vector. 13. The image forming method according to claim 12, comprising:
【請求項14】 前記重ね合わせの処理を行うステップ
は、描画図形ベクトルを構成する要素ベクトルの記述に
現れる交点を前記要素ベクトルの向きに従って整列し、
整列された交点のうち重なり優先度の高い図形との交点
の内部にあってその図形よりも重なり優先度の低い図形
との交点を削除するステップをさらに有することを特徴
とする請求項13記載の画像形成方法。
14. The step of performing the superimposing process comprises: aligning intersections appearing in the description of the element vectors constituting the drawing graphic vector in accordance with the direction of the element vector;
14. The method according to claim 13, further comprising the step of deleting an intersection with a graphic having a lower overlapping priority than the graphic that is inside the intersection with the graphic having a higher overlapping priority among the aligned intersections. Image forming method.
JP8208016A 1996-08-07 1996-08-07 Picture forming device Pending JPH1049690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8208016A JPH1049690A (en) 1996-08-07 1996-08-07 Picture forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8208016A JPH1049690A (en) 1996-08-07 1996-08-07 Picture forming device

Publications (1)

Publication Number Publication Date
JPH1049690A true JPH1049690A (en) 1998-02-20

Family

ID=16549287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8208016A Pending JPH1049690A (en) 1996-08-07 1996-08-07 Picture forming device

Country Status (1)

Country Link
JP (1) JPH1049690A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013130998A (en) * 2011-12-21 2013-07-04 Kyocera Document Solutions Inc Image forming apparatus
JP2014520010A (en) * 2011-12-31 2014-08-21 北大方正集▲団▼有限公司 Page graphic element overprint processing method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013130998A (en) * 2011-12-21 2013-07-04 Kyocera Document Solutions Inc Image forming apparatus
JP2014520010A (en) * 2011-12-31 2014-08-21 北大方正集▲団▼有限公司 Page graphic element overprint processing method and apparatus

Similar Documents

Publication Publication Date Title
JP3333297B2 (en) How to change the thickness of raster output characters
JP2528376B2 (en) Image contour correction method
JPH0281184A (en) Image processor
JPH1049690A (en) Picture forming device
US20060119897A1 (en) Output apparatus and program thereof
JP3606006B2 (en) Image forming apparatus and gradation drawing method
JP3436008B2 (en) Drawing processing device
JP2000013601A (en) Print information processor and device and method for generating intermediate data
JP2002015329A (en) Image processing device and image processing method
JPH1011593A (en) Image forming device
JP3536894B2 (en) Graphic processing unit
JP3266905B2 (en) Graphic processing unit
JP2002244643A (en) Image processor
JPH10151815A (en) Printing-processing apparatus
JPH09305160A (en) Character generator
JP3843794B2 (en) Graphic processing device
JP2001092981A (en) Device and method for processing image
JPH09300769A (en) Printing device, method for registering data, and storage medium with control program stored therein
JP2002207476A (en) Image processor and method for the same
JP3567727B2 (en) Image processing method and apparatus
JPH09190526A (en) System for transforming drawing data form
JP2001307116A (en) Image processor and image processing method
JP2866464B2 (en) Line figure boundary extraction method
JPH10157217A (en) Printing-processing apparatus
JP3055306B2 (en) Data output device