JPH02264378A - Line segment plotting system - Google Patents

Line segment plotting system

Info

Publication number
JPH02264378A
JPH02264378A JP1086346A JP8634689A JPH02264378A JP H02264378 A JPH02264378 A JP H02264378A JP 1086346 A JP1086346 A JP 1086346A JP 8634689 A JP8634689 A JP 8634689A JP H02264378 A JPH02264378 A JP H02264378A
Authority
JP
Japan
Prior art keywords
line
line segment
line type
specified
type pattern
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
JP1086346A
Other languages
Japanese (ja)
Inventor
Kenji Mizuguchi
水口 健二
Tsutomu Imamura
勉 今村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1086346A priority Critical patent/JPH02264378A/en
Publication of JPH02264378A publication Critical patent/JPH02264378A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To plot a line segment at high speed by preparing a pattern in a new line type when the line type is designated and a start is offset, then sending a storing area address in the new line type pattern to a vector generating processor, collectively transfer the whole line segment string apex list, and activating the processor. CONSTITUTION:When the line type of the data to be plotted is designated by a host device, and the start is offset, a new line type pattern preparing means 13 prepares the new line type pattern with the designated start offsetting position as a top from the connected two patterns in a two-dimensional memory 1. Further the storing area address of the new line type pattern is sent to a vector generating processor 2, the whole line segment string apex list is block- transferred, and the vector generating processor 2 is activated. Thus the activating operation of the vector generating processor 2 is sufficient with one time, and the plotting processing time can be shortened.

Description

【発明の詳細な説明】 〔概 要〕 ベクトル図形を出力する印刷装置若しくは表示装置にお
ける線分描画に関し、 任意の線幅の、指定された線種パターン(破線、鎖線等
のパターン)の高速描画を目的とし、印刷若しくは表示
データ展開用二次元メモリと、指定された頂点座標と指
定された線種パターンに基づいて線描画を行うベクトル
発生プロセッサを備えた装置における線分描画処理にお
いて、指定された線分の頂点座標から線分頂点リストを
作成する線分頂点リスト作成手段と、指定された線幅に
応じた本数の頂点リストを作成する線分列頂点リスト作
成手段と、指定された線種パターンを2個連ねたパター
ンから任意のパターン位置から始まり指定された長さを
有する新パターンを切り出す新線種パターン作成手段を
備え、各線種パターン毎にそれぞれ同一パターンを2個
連ねて前記二次元メモリの所定領域に格納しておき、上
位装置から指定された線幅がn (n>1)ドツトであ
るとき指定された頂点座標に基づいてnドツト幅の線分
列頂点リストを作成し、線種指定が有り、且つ開始オフ
セットの有る場合には、新線種パターンを作成した後、
前記ベクトル発生プロセッサに、該新線種パターンの格
納領域アドレスを送付すると共に前記線分列頂点リスト
全部を一括転送して、起動をかけるように構成する。
[Detailed description of the invention] [Summary] High-speed drawing of specified line type patterns (patterns such as broken lines, chain lines, etc.) with arbitrary line widths regarding line segment drawing in printing devices or display devices that output vector figures. In line segment drawing processing in a device equipped with a two-dimensional memory for printing or display data expansion and a vector generation processor that draws lines based on specified vertex coordinates and a specified line type pattern, a line segment vertex list creation means for creating a line segment vertex list from the vertex coordinates of the designated line; A new line type pattern creation means is provided for cutting out a new pattern starting from an arbitrary pattern position and having a specified length from a pattern in which two seed patterns are connected, and for each line type pattern, two of the same patterns are connected in a row and the two It is stored in a predetermined area of the dimensional memory, and when the line width specified by the host device is n (n>1) dots, a line segment sequence vertex list with a width of n dots is created based on the specified vertex coordinates. , if there is a line type specification and a start offset, after creating a new line type pattern,
The storage area address of the new line type pattern is sent to the vector generation processor, and the entire line segment sequence vertex list is transferred at once to the vector generation processor to activate it.

〔産業上の利用分野〕[Industrial application field]

本発明は、ベクトル図形を出力する印刷装置等における
線分描画処理に関する。
The present invention relates to line segment drawing processing in a printing device or the like that outputs vector graphics.

ベクトル図形を印刷出力する際に、任意の線幅の線分描
画や実線以外の線種パターン(破線、鎖線等の線分長と
空白長のパターン)による描画出力が要求された場合、
線幅を太らせて指定された線幅を持ち、指定された線種
パターンを有するベクトル図形を高速に出力することが
必要とされる。
When printing a vector figure, if line segments of arbitrary line width or line type patterns other than solid lines (patterns of line segment length and blank length such as broken lines and chain lines) are requested,
It is necessary to increase the line width to output a vector figure having a specified line width and a specified line type pattern at high speed.

〔従来の技術〕[Conventional technology]

第6図は、従来技術による線幅1ドツトの線分描画処理
法を示す図である。
FIG. 6 is a diagram showing a line segment drawing processing method with a line width of 1 dot according to the prior art.

第6図(6)は処理手順を示すフローチャートである。FIG. 6 (6) is a flowchart showing the processing procedure.

まず、同図(ハ)に示すように、線分の二つの頂点A、
Bの座標を書き込んだ線分頂点リストを作成する。そし
て、線幅指定が1ドツトであるならば、その線分頂点リ
ストの先頭アドレスを、ブロック転送を制御するDMA
C(直接メモリアクセス制御装置)にセットして、ベク
トル発生プロセッサを起動をかける。DMACは、ベク
トル発生プロセッサに対して、セットされた先頭アドレ
スからブロック転送し、ベクトル発生プロセッサはその
データによってベクトルを発生(描画)する。
First, as shown in the same figure (c), two vertices A of the line segment,
Create a line segment vertex list in which the coordinates of B are written. If the line width specification is 1 dot, the start address of the line segment vertex list is transferred to the DMA that controls block transfer.
Set it to C (direct memory access controller) and start up the vector generation processor. The DMAC transfers a block from the set start address to the vector generation processor, and the vector generation processor generates (draws) a vector using the data.

第7図は、従来技術による線幅nドツトの線分描画処理
法を示す図である。
FIG. 7 is a diagram showing a line segment drawing processing method with a line width of n dots according to the prior art.

第7図に示すように、線幅の指定がnドツトの場合には
、第7図(ロ)に示すように、1線分の描画について、
n個の線分列頂点リストを作成する。
As shown in Fig. 7, when the line width is specified as n dots, as shown in Fig. 7 (b), for drawing one line,
Create a list of n line segment sequence vertices.

即ち、指定された頂点A、Bの座標でまず線分頂点リス
トを作成し、この頂点座標A、Bを基準座標 A1.B
@とし、その両側に1ドツトずつずらしてA +、 B
 t、 A *、 B *、−・+ Am−to B 
&−@s A** B mの頂点リストを続けて作り、
線分列頂点リストとする。そして、その線分列頂点リス
トの先頭アドレスをDMACにセットして、ベクトル発
生プロセッサを起動をかける。DMACは、ベクトル発
生プロセッサに対して、セットされた先頭アドレスから
線分列頂点リスト全体をブロック転送し、ベクトル発生
プロセッサはそのデータによってベクトルを発生し、線
幅nドツトの線を描画していた。
That is, a line segment vertex list is first created using the coordinates of specified vertices A and B, and these vertex coordinates A and B are used as reference coordinates A1. B
@, shift one dot on each side of it, and write A +, B
t, A *, B *, -・+ Am-to B
&-@s A** B Continuously create a vertex list of m,
Let it be a line segment sequence vertex list. Then, the start address of the line segment sequence vertex list is set in DMAC, and the vector generation processor is activated. The DMAC block-transfers the entire line segment sequence vertex list from the set start address to the vector generation processor, and the vector generation processor generates a vector based on that data and draws a line with a line width of n dots. .

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

線分描画処理においては、第8図および第9図に示すよ
うに、線幅nドツトで且つ線種パターン(破線、鎖線の
ように実線以外の線の場合、線分の長さと空白の長さを
示すパターン)を指定された場合、描画後の線幅を持つ
線分のパターンが、指定された線分パターンと一致して
いなければならない。
In the line segment drawing process, as shown in Figures 8 and 9, the line width is n dots and the line type pattern (for lines other than solid lines such as broken lines and chain lines, the line segment length and blank length are If a line segment pattern with a line width after drawing is specified, the line segment pattern with the line width after drawing must match the specified line segment pattern.

このとき、線種パターンを先頭から指定せずに、第9図
の描画例3に示すように、開始オフセットの指定により
線種パターンの途中から描画を指示されると、第8図(
a)のフローチャートに示すように、各線分のパターン
を一致させるため″に、各線分描画毎にベクトル発生プ
ロセッサに対して開始オフセットを設定しなければなら
な(なる、従って、線分列頂点リスト全体をブロック転
送して置(ことが出来ず1本毎に線分頂点リストを転送
し、オフセットを設定してやらなければならない。
At this time, if drawing is instructed from the middle of the line type pattern by specifying the start offset as shown in drawing example 3 in Figure 9 without specifying the line type pattern from the beginning, as shown in Figure 8 (
As shown in the flowchart in a), in order to match the pattern of each line segment, a starting offset must be set for the vector generation processor for each line segment drawing (thus, the line segment sequence vertex list It is not possible to transfer the entire line and place it in a block, so you have to transfer the line segment vertex list for each line and set the offset.

そのため、線分回数分の起動処理を行うので、処理時間
が長くなるという欠点を生じていた。
Therefore, since activation processing is performed for the number of line segments, the processing time becomes long.

本発明が解決しようとする課題は、このような従来の問
題点を解消した線分描画方式を提供することにある。
The problem to be solved by the present invention is to provide a line segment drawing method that eliminates such conventional problems.

〔課題を解決するための手段〕[Means to solve the problem]

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

図において、lは印刷若しくは表示データ展開用二次元
メモリである。
In the figure, l is a two-dimensional memory for printing or displaying data.

2は指定された頂点座標と指定された線種パターンに基
づいてベクトル描画を行うベクトル発生プロセッサであ
る。
2 is a vector generation processor that performs vector drawing based on specified vertex coordinates and a specified line type pattern.

11は線分頂点リスト作成手段であり、指定された線分
の頂点座標から線分頂点リストを作成する。
Reference numeral 11 denotes a line segment vertex list creation means, which creates a line segment vertex list from the vertex coordinates of a specified line segment.

12は線分列頂点リストであり、指定されたドツト幅に
応じた本数の頂点リストを作成する。
Reference numeral 12 denotes a line segment sequence vertex list, and a vertex list of the number of lines corresponding to the designated dot width is created.

13は新線種パターン作成手段であり、指定された線種
パターンを2個連ねたパターンから任意のパターン位置
から始まり指定された長さを存する新パターンを切り出
す。
13 is a new line type pattern creation means, which cuts out a new pattern starting from an arbitrary pattern position and having a specified length from a pattern in which two specified line type patterns are connected.

〔作 用〕[For production]

本発明では、線種パターンの二次元メモリ1への格納時
に、各線種パターンとも同じパターンを2個連ねて格納
しておく。
In the present invention, when storing line type patterns in the two-dimensional memory 1, two identical patterns of each line type pattern are stored in series.

上位装置からの描画データ(ベクトルデータ)において
、線種指定があり、且つ開始オフセットがある場合には
、新線種パターン作成手段13が、第2図に示すように
、前記2個連ねたパターンから、指定された開始オフセ
ット位置を先頭とする新しい線種パターンを作成する。
If there is a line type specification and a start offset in the drawing data (vector data) from the host device, the new line type pattern creation means 13 creates the two consecutive patterns as shown in FIG. Creates a new line type pattern starting at the specified starting offset position.

そして、ベクトル発生プロセッサ2に、該新線種パター
ンの格納領域アドレスを送付すると共に、前記線分列頂
点リスト全部をブロック転送(〔従来の技術〕の項で説
明したDMACに線分列頂点リストの先頭アドレスをセ
ットし、ブロック転送させる)して、ベクトル発生プロ
セッサ2に起動をかける。
Then, the storage area address of the new line type pattern is sent to the vector generation processor 2, and the entire line segment string vertex list is block transferred (the line segment string vertex list is transferred to the DMAC described in the [Prior Art] section). (sets the start address of the block and transfers the block), and activates the vector generation processor 2.

上記の構成によって、線分列頂点リスト全部を一括転送
し、ベクトル発生プロセッサ2の起動を一度で済ませる
ことができる。
With the above configuration, the entire line segment sequence vertex list can be transferred at once, and the vector generation processor 2 can be activated at once.

これによって、描画処理時間を大幅に短縮することが可
能となる。
This makes it possible to significantly shorten the drawing processing time.

〔実施例] 以下第3図〜第5図に示す実施例により本発明をさらに
具体的に説明する。
[Example] The present invention will be explained in more detail with reference to Examples shown in FIGS. 3 to 5 below.

第3図は、本発明の一実施例のハードウェア構成を示す
図である。
FIG. 3 is a diagram showing the hardware configuration of an embodiment of the present invention.

図において、10はビットマツプメモリ(BMM)であ
り、印刷データを二次元に展開し格納する。
In the figure, 10 is a bit map memory (BMM) that expands and stores print data two-dimensionally.

20はベクトル発生プロセッサであり、DMAC50と
の協調動作によって線分列頂点リストを読み込み、セッ
トされた格納アドレスにある線種パターンに基づいてビ
ットマツプメモリ同上に線分を展開する。
Reference numeral 20 denotes a vector generation processor which reads the line segment sequence vertex list in cooperation with the DMAC 50 and develops line segments in the bitmap memory based on the line type pattern at the set storage address.

30はマイクロプロセッサ(MPU)であり、上位装置
から指示されたベクトルデータを展開し印刷処理を制御
する。
A microprocessor (MPU) 30 develops vector data instructed by a host device and controls print processing.

40はメモリであり、装置の初期化およびホスト計算機
(図示省略)からのダウンロード依鯨を行うプログラム
を格納したROMと、ホスト計算機からダウンロードさ
れたファームウェアおよびデータを格納するRAMから
なる。
A memory 40 includes a ROM that stores a program for initializing the device and downloading from a host computer (not shown), and a RAM that stores firmware and data downloaded from the host computer.

50はDMACであり、装置間のブロック転送を制御す
る。
50 is a DMAC, which controls block transfer between devices.

60はプリンタコントローラであり、プリンタ機構部7
0の動作を制御する。
60 is a printer controller, and printer mechanism section 7
Controls the operation of 0.

70はプリンタ機構部であり、印刷処理を実行する。70 is a printer mechanism unit that executes printing processing.

本発明による線分描画処理は、MPU30が、メモリ3
0内に格納されたファームウェアにより実行する。
The line segment drawing process according to the present invention is performed by the MPU 30 in the memory 3
It is executed by firmware stored in 0.

第4図は、本発明の一実施例におけるファームウェアの
構成を示す図である。
FIG. 4 is a diagram showing the configuration of firmware in one embodiment of the present invention.

図において、aはデータ入力部であり、上位装置からの
ベクトルデータを受信処理する。
In the figure, a is a data input unit that receives and processes vector data from a host device.

bはデータ展開部であり、ベクトルデータをビットマツ
プメモリに展開するための制御を行う。
Reference numeral b denotes a data expansion unit, which controls the expansion of vector data into a bitmap memory.

Cはハードウェア制御部であり、線分を太らせるための
線分列頂点リストを作成し、ベクトル発化プロセッサ2
0、DMAC50、プリンタコントローラ60等のハー
ドウェアを制御して、データ展開処理および印刷処理を
実行させる。
C is a hardware control unit that creates a line segment sequence vertex list for thickening line segments, and controls the vector generation processor 2.
0, the DMAC 50, the printer controller 60, and other hardware are controlled to execute data development processing and printing processing.

dはビットマツプメモリ内の線種パターンデータを示す
d indicates line type pattern data in the bitmap memory.

第5図は、本発明の一実施例Φ動作を示すフローチャー
トである。
FIG. 5 is a flowchart showing the operation of Φ in one embodiment of the present invention.

第5図(a)は、本実施例装置全体の動作を示すフロー
チャートである。
FIG. 5(a) is a flowchart showing the overall operation of the apparatus of this embodiment.

(1)電源投入により、ROM内のIPL(イニシャル
プログラムローディング)プログラムが起動し、ホスト
計算機にダウン50−ド依頼して、ファームウェアおよ
び線種パターンをRAMに取り込み、装置を初期化する
(1) When the power is turned on, an IPL (initial program loading) program in the ROM is activated, requests a download to the host computer, loads the firmware and line type pattern into the RAM, and initializes the device.

(2)メモリに格納された線種パターンデータをハード
ウェア制御部を通してビットマツプメモリ上の格納領域
に展開する。ステップ(1)および伐)が、IPL処理
である。
(2) Expand the line type pattern data stored in the memory into a storage area on the bitmap memory through the hardware control unit. Step (1) and cutting) are IPL processing.

(3)データ入力部が、ホスト計算機からベクトルデー
タを受信しRAMのデータバッファ領域に保持する。ス
テップ(3)がデータ入力処理である。
(3) The data input unit receives vector data from the host computer and holds it in the data buffer area of the RAM. Step (3) is data input processing.

(4)受信したベクトルデータに従ってデータ展開処理
を行う、データ展開処理の詳細は第5図(ハ)に示す。
(4) Data expansion processing is performed according to the received vector data. Details of the data expansion processing are shown in FIG. 5(C).

(5)ビットマツプメモリに展開されたデータを用いて
、印刷処理を行う。
(5) Print processing is performed using the data developed in the bitmap memory.

(6)印刷処理した用紙を出力する。ステップ(4)、
(5)、(6)が印刷実行制御である。
(6) Output the printed paper. Step (4),
(5) and (6) are print execution control.

第5図(ロ)は、データ展開処理を示すフローチャート
である。データ展開処理は、次の手順で行われる。
FIG. 5(b) is a flowchart showing data expansion processing. Data expansion processing is performed in the following steps.

(41)データ展開部は、データバッファ領域に保持さ
れているベクトルデータから、線分頂点リストを作成し
、ハードウェア制御部に渡す。
(41) The data expansion unit creates a line segment vertex list from the vector data held in the data buffer area and passes it to the hardware control unit.

(42)ハードウェア制御部に、線種パターンおよび開
始オフセットを指定する。
(42) Specify the line type pattern and starting offset to the hardware control unit.

(43)ハードウェア制御部に線幅を指定する。(43) Specify line width to the hardware control unit.

(44)ハードウェア制御部において線分描画処理を行
ね、れる、処理の内容の詳細は第5図(C)に示す。
(44) Line segment drawing processing is performed in the hardware control section. Details of the processing are shown in FIG. 5(C).

第5図(C)は、線分描画処理を示すフローチャートで
ある。線分描画処理は次の手順で行われる。
FIG. 5(C) is a flowchart showing the line segment drawing process. Line segment drawing processing is performed in the following steps.

(441)前記処理ステップ(43)により指定された
線幅の指定が1ドツトであるならばステップ(443)
へ飛び、n(>1)ドツトであるならばステップ(44
2)に進む。
(441) If the line width specified in the processing step (43) is 1 dot, step (443)
Jump to step (44) if n (> 1) dots.
Proceed to 2).

(442)ステップ(41)により渡された線分頂点リ
スする。
(442) List the line segment vertices passed in step (41).

(443)前記処理ステップ(42)により線種パター
ンの指定があればステップ(444)へ進み、指定が無
ければステップ(447)へ飛ぶ。
(443) If a line type pattern is designated in the processing step (42), the process advances to step (444); if no designation is made, the process jumps to step (447).

(444)前記処理ステップ(42)により開始オフセ
ットの指定があればステップ(445)へ進み、無けれ
ばステップ(446)へ飛ぶ。
(444) If a start offset is specified in the processing step (42), the process advances to step (445); if not, the process jumps to step (446).

(445)指定された線種パターンと開始オフセットに
より、新線種パターンを作成する。
(445) Create a new line type pattern using the specified line type pattern and start offset.

(446)線種パターンのビットマツプメモリ内格納領
域アドレスを、ベクトル発生プロセッサにセットする。
(446) Set the storage area address in the bitmap memory of the line type pattern in the vector generation processor.

(447)線分(列)頂点領域の先頭アドレスおよびデ
ータ長をDMACにセットして、ベクトル発生プロセッ
サにブロック転送させ、ベクトル発生プロセッサに起動
をかける。
(447) Set the start address and data length of the line segment (column) vertex area in DMAC, transfer the block to the vector generation processor, and activate the vector generation processor.

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

以上の説明から明らかなように本発明によれば、線種パ
ターンを指定され、且つ開始オフセットの有る場合にも
、線分列頂点リス、ト全体をブロック転送して、ベクト
ル発生プロセッサの起動を1度で済ませることが出来、
描画処理速度の高速化が行われるという著しい工業的効
果がある。
As is clear from the above description, according to the present invention, even when a line type pattern is specified and there is a start offset, the entire line segment sequence vertex list is block transferred and the vector generation processor is activated. It can be done in one go,
There is a significant industrial effect in that the drawing processing speed is increased.

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

第1図は本発明の構成を示すブロック図、第2図は新線
種パターンの作成を示す図、第3図は本発明の一実施例
のハードウェア構成を示す図、 第4図は本発明の一実施例におけるファームウェア構成
・を示す図、 第5@は本発明の一声施例の動作を示すフローチャート
、 第6図は線幅1ドツトの線分描画処理法を示す図、 第7図は線幅nドツトの線分描画処理法を示す図、 第8図は線幅nドツトの破線の線分描画処理法を示す図
、 第9図は線種パターンを使用した線分描画例を示す図で
ある。 図において、 1.10は二次元メモリ (ビットマツプメモリ)、2
.20はベクトル発生プロセッサ、 11は線分頂点リスト作成手段、 12は線分列頂点リスト作成手段、 13は新線種パターン作成手段、 30はMPU、       40はメモリ、50はD
MAC。 60はプリンタコントローラ、 70はプリンタ機構部、 aはデータ入力部、bはデー
タ展開部、   Cはハードウェア制御部、dは線種パ
ターンデータ、 を示す。 1゜ 本発明の構成を示すブロック図 第  l  図 本発明の一実施例のハードウェア構成を示す因襲 図 本発明の一実施例の71 ムウy、ア構成を示す図 第 図 (c) 本発明の一実施例の動作を示すフローチャート (その
2)第 図(その2) <a> 本発明の一実施例の動作を示すフローチャート(その1
)第 図(その1) (a) 線幅1ドツトの線分慴[智りを示す因 襲 図 (b) 線幅nドツトの縞a刊m去を示す因 襲 図 (a) (b)
FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is a diagram showing the creation of a new line type pattern, FIG. 3 is a diagram showing the hardware configuration of an embodiment of the present invention, and FIG. Figure 5 shows the firmware configuration in one embodiment of the invention. Figure 5 is a flowchart showing the operation of the one-shot embodiment of the invention. Figure 6 is a diagram showing a line segment drawing processing method with a line width of 1 dot. Figure 7 Figure 8 shows a method for drawing a line segment with a line width of n dots, Figure 8 shows a method for drawing a broken line segment with a line width of n dots, and Figure 9 shows an example of line segment drawing using a line type pattern. FIG. In the figure, 1.10 is two-dimensional memory (bitmap memory), 2
.. 20 is a vector generation processor, 11 is a line segment vertex list creation means, 12 is a line segment sequence vertex list creation means, 13 is a new line type pattern creation means, 30 is an MPU, 40 is a memory, 50 is a D
M.A.C. 60 is a printer controller, 70 is a printer mechanism section, a is a data input section, b is a data development section, C is a hardware control section, and d is line type pattern data. 1゜Block diagram showing the configuration of the present invention Fig. l A conventional diagram showing the hardware configuration of an embodiment of the present invention Fig. 71 A Diagram showing the configuration of an embodiment of the present invention Fig. (c) The present invention Flowchart showing the operation of an embodiment of the present invention (Part 2) Figure (Part 2) <a> Flowchart showing the operation of an embodiment of the present invention (Part 1
) Chart (Part 1) (a) Line segment with a line width of 1 dot [Iconic diagram showing wisdom (b) Iconic diagram showing stripes with a line width of n dots (a) (b)

Claims (1)

【特許請求の範囲】 印刷若しくは表示データ展開用ビットマップメモリ(1
)と、指定された頂点座標と指定された線種パターンに
基づいて線描画を行うベクトル発生プロセッサ(2)を
備えた装置における線分描画処理において、 指定された線分の頂点座標から線分頂点リストを作成す
る線分頂点リスト作成手段(11)と、指定された線幅
に応じた本数の頂点リストを作成する線分列頂点リスト
作成手段(12)と、指定された線種パターンを2個連
ねたパターンから任意のパターン位置から始まり指定さ
れた長さを有する新パターンを切り出す新線種パターン
作成手段(13)を備え、 各線種パターン毎にそれぞれ同一パターンを2個連ねて
前記二次元メモリ(1)の所定領域に格納しておき、上
位装置から指定された線幅がn(n>1)ドットである
とき指定された頂点座標に基づいてnドット幅の線分列
頂点リストを作成し、線種指定が有り、且つ開始オフセ
ットの有る場合には、新線種パターンを作成した後、前
記ベクトル発生プロセッサ(2)に、該新線種パターン
の格納領域アドレスを送付すると共に前記線分列頂点リ
スト全体を一括転送して、起動をかけるよう構成したこ
とを特徴とする線分描画方式。
[Claims] Bitmap memory for printing or display data development (1
) and a vector generation processor (2) that draws lines based on specified vertex coordinates and a specified line type pattern, in line segment drawing processing in a device that is equipped with a vector generation processor (2) that draws a line based on specified vertex coordinates and a specified line type pattern. A line segment vertex list creation means (11) that creates a vertex list, a line segment array vertex list creation means (12) that creates a vertex list of the number according to a designated line width, and A new line type pattern creation means (13) is provided for cutting out a new pattern having a specified length starting from an arbitrary pattern position from two consecutive patterns, and for each line type pattern, two of the same patterns are connected in series and Stored in a predetermined area of dimensional memory (1), when the line width specified from the host device is n (n>1) dots, a line segment string vertex list with n dot width based on the specified vertex coordinates. If there is a line type specification and a start offset, after creating a new line type pattern, send the storage area address of the new line type pattern to the vector generation processor (2), and A line segment drawing method characterized in that the entire line segment string vertex list is transferred at once and activated.
JP1086346A 1989-04-05 1989-04-05 Line segment plotting system Pending JPH02264378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1086346A JPH02264378A (en) 1989-04-05 1989-04-05 Line segment plotting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1086346A JPH02264378A (en) 1989-04-05 1989-04-05 Line segment plotting system

Publications (1)

Publication Number Publication Date
JPH02264378A true JPH02264378A (en) 1990-10-29

Family

ID=13884304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1086346A Pending JPH02264378A (en) 1989-04-05 1989-04-05 Line segment plotting system

Country Status (1)

Country Link
JP (1) JPH02264378A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8265497B2 (en) 2007-09-20 2012-09-11 Canon Kabushiki Kaisha Image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8265497B2 (en) 2007-09-20 2012-09-11 Canon Kabushiki Kaisha Image forming apparatus

Similar Documents

Publication Publication Date Title
US5237655A (en) Raster image processor for all points addressable printer
JPH0255808B2 (en)
JPH06195182A (en) System and method for constitution of band of printer
JP2003051019A (en) Image processor, method and program for processing image and storage medium
JPH02264378A (en) Line segment plotting system
JP2001096854A (en) Apparatus and method for printing processing
JPH0421592B2 (en)
JP2544820B2 (en) Label printer
JP4029436B2 (en) Recording device
JP3450958B2 (en) Printing apparatus and printing method
JP2958017B2 (en) Output control apparatus and method
JPS6359575A (en) Test printing system
JPH0462080A (en) Printing device
JPH0326558A (en) Smooth printing system in printer
JP2890742B2 (en) Smoothing processing method of bitmap character data of printer
JPH02234289A (en) Pattern generator
JPS6364086A (en) Output unit
JPH0499657A (en) Image supplying device
JPS63184787A (en) Character pattern generator
JPS6364764A (en) Output device
JPH0473170A (en) Serial printer
JPH03223922A (en) Raster evolving method for raster plotter
JPS63242561A (en) Font reducing system
JPH0965085A (en) Device, method and system for outputting image
JPS61223934A (en) Printing controlling system