JP2727667B2 - Drawing equipment - Google Patents

Drawing equipment

Info

Publication number
JP2727667B2
JP2727667B2 JP16572689A JP16572689A JP2727667B2 JP 2727667 B2 JP2727667 B2 JP 2727667B2 JP 16572689 A JP16572689 A JP 16572689A JP 16572689 A JP16572689 A JP 16572689A JP 2727667 B2 JP2727667 B2 JP 2727667B2
Authority
JP
Japan
Prior art keywords
pattern
size
unit
dots
width
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.)
Expired - Fee Related
Application number
JP16572689A
Other languages
Japanese (ja)
Other versions
JPH0330076A (en
Inventor
正司 大川
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 JP16572689A priority Critical patent/JP2727667B2/en
Publication of JPH0330076A publication Critical patent/JPH0330076A/en
Application granted granted Critical
Publication of JP2727667B2 publication Critical patent/JP2727667B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概 要〕 表示装置若しくは印刷装置における繰り返しパターン
の描画方式に関し、 描画処理時間の短縮を目的とし、 一定の固定された幅をもってビットマップパターンの
描画を行う表示装置若しくは印刷装置の描画部におい
て、繰り返し描画すべく与えられたパターンの縦および
横の大きさが前記描画固定幅と同じであるか約数である
かを判定するパターンサイズ判定部と、前記パターンを
前記固定幅の大きさに展開するパターン展開部と、前記
パターンを前記固定幅ずつ指定された描画位置から描画
するパターン描画手順と、を備え、繰り返し描画すべく
与えられたパターンの大きさが、描画固定幅の約数であ
るときは、予め該固定幅に展開を行った後、描画処理を
行うように構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] Regarding a method of drawing a repetitive pattern in a display device or a printing device, a display device or a display device that draws a bitmap pattern with a fixed fixed width for the purpose of shortening the drawing processing time In the drawing unit of the printing device, a pattern size determination unit that determines whether the vertical and horizontal size of the pattern given to repeatedly draw is the same as or a divisor of the drawing fixed width, and A pattern developing unit that develops the pattern to a fixed width, and a pattern drawing procedure that draws the pattern from a designated drawing position by the fixed width. When it is a divisor of the fixed width, the drawing is performed after the image is expanded to the fixed width in advance.

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

本発明は、情報処理システムの表示装置若しくは印刷
装置における繰り返しパターンの描画方式に関する。
The present invention relates to a method of drawing a repetitive pattern in a display device or a printing device of an information processing system.

情報処理システムにおける表示装置は、より複雑な図
形の処理を行うために、高速な描画処理が要求されてい
る。
A display device in an information processing system is required to perform high-speed drawing processing in order to perform more complicated graphic processing.

〔従来の技術〕[Conventional technology]

表示装置においては、一定の固定された幅(例えば、
32ドット)をもって描画を行うのが一般である。
In a display device, a fixed fixed width (for example,
It is common to draw with 32 dots).

従来の表示装置においては、固定幅(例えば、32ドッ
ト)よりも小さいパターン(例えば、縦16ドット、横16
ドット)を与えられ、これを繰り返し描画する際には、
そのパターン毎に図形に関するデータを読み込み、パタ
ーンを描画するという処理を行っていた。
In a conventional display device, a pattern (for example, 16 dots vertically and 16 dots horizontally) smaller than a fixed width (for example, 32 dots) is used.
Dot), and when drawing this repeatedly,
A process of reading data relating to a figure for each pattern and drawing the pattern has been performed.

第5図は、従来の描画方式による描画処理を示すフロ
ーチャートである。
FIG. 5 is a flowchart showing a drawing process by a conventional drawing method.

本例は、描画部の固定幅が32ドットで、与えられたパ
ターンが縦および横が32ドット以下で且つ縦および横が
32の約数(32の整数分の1の数)である場合の描画処理
を示す。
In this example, the fixed width of the drawing unit is 32 dots, and the given pattern is 32 dots or less in height and width, and
The drawing process when the divisor is a divisor of 32 (a 1/32 integer) is shown.

フローチャートは、YAC方式と呼ばれる形式で書かれ
ており、フローチャートの意味は、次のとおりである。
The flowchart is written in a format called the YAC method, and the meaning of the flowchart is as follows.

(1)最初に、パターンの大きさが縦32ドット×横32ド
ットか、を判定する。パターンの大きさが縦32ドット×
横32ドットであれば、ステップ(2)〜(5)を行い、
そうでなければステップ(6)〜(9)を行う。
(1) First, it is determined whether the size of the pattern is 32 dots vertically × 32 dots horizontally. The pattern size is 32 dots vertical x
If the width is 32 dots, perform steps (2) to (5),
Otherwise, perform steps (6) to (9).

(2)パターンデータの格納アドレスおよび宛先(描画
位置)データのアドレスを、レジスタにセットする。
(2) The storage address of the pattern data and the address of the destination (drawing position) data are set in the register.

(3)セットされた宛先(描画位置)から、1パターン
幅長の描画を行い、(描画範囲幅/パターン幅)回まで
行う。
(3) From the set destination (drawing position), drawing is performed for one pattern width, and the drawing is performed up to (drawing range width / pattern width) times.

(4)ステップ(3)の処理を、パターンの高さの回数
(32回)だけ行う。
(4) The process of step (3) is performed the same number of times as the pattern height (32 times).

(5)ステップ(2)〜(4)の処理を(描画高さ/パ
ターン高さ)回だけ行う。
(5) Steps (2) to (4) are performed (drawing height / pattern height) times.

(6)パターンおよび宛先データの格納アドレスを、レ
ジスタにセットする。
(6) Set the storage address of the pattern and the destination data in the register.

(7)セットされた宛先(描画位置)から、1パターン
幅長の描画を行い、(描画範囲幅/パターンの幅)回だ
け行う。
(7) Draw one pattern width from the set destination (drawing position) and perform (drawing range width / pattern width) times.

(8)ステップ(7)の処理を、パターンの高さの回数
だけ行う。
(8) The process of step (7) is performed the number of times equal to the height of the pattern.

(9)ステップ(6)〜(8)の処理を、(描画高さ/
パターンの高さ)回だけ行う。
(9) The processing of steps (6) to (8) is performed by (drawing height /
This is performed only) times (pattern height).

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

上記のような従来の描画方式では、パターンの大きさ
が描画部の固定幅より小さい場合でも、パターンの幅を
1回ずつ描画するものであり、パターンの大きさが小さ
ければ小さいほど、そのパターンについて何回も描画し
なければならず、図形に関するデータの読込み、書込み
回数が増え、処理時間がかかるという問題点を生じてい
た。
In the conventional drawing method as described above, even when the size of the pattern is smaller than the fixed width of the drawing unit, the width of the pattern is drawn once, and the smaller the size of the pattern is, the smaller the pattern becomes. Has to be drawn many times, and the number of times of reading and writing of data relating to a figure increases, which causes a problem that processing time is required.

方式が解決しようとする課題は、このような従来の問
題点を解消した描画方式を提供することにある。
A problem to be solved by the method is to provide a drawing method which solves such a conventional problem.

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

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

図において、11はパターンサイズ判定部であり、描画
すべきパターンの縦および横の大きさが描画部の固定幅
と同じであるか約数であるかを判定する。
In the figure, reference numeral 11 denotes a pattern size determination unit which determines whether the vertical and horizontal sizes of a pattern to be drawn are the same as or a divisor of the fixed width of the drawing unit.

12はパターン展開部であり、前記パターンを前記固定
幅の大きさに展開する。
Reference numeral 12 denotes a pattern developing unit that develops the pattern to the fixed width.

13はパターン描画部でり、前記パターンを前記固定幅
ずつ指定された描画位置に描画する。
Reference numeral 13 denotes a pattern drawing unit, which draws the pattern at a specified drawing position by the fixed width.

〔作 用〕(Operation)

本発明では、描画すべきパターンの縦および横の大き
さが描画部の固定幅と同じであるかどうかを判定し、パ
ターンの縦および横の大きさが描画部の固定幅の約数で
ある場合には、フレームメモリの作業領域に、縦および
横が固定幅のパターンに展開し、該展開されたパターン
を指定された描画位置に描画する。
In the present invention, it is determined whether the vertical and horizontal sizes of the pattern to be drawn are the same as the fixed width of the drawing unit, and the vertical and horizontal sizes of the pattern are divisors of the fixed width of the drawing unit. In this case, in the work area of the frame memory, a pattern having a fixed width in the vertical and horizontal directions is developed, and the developed pattern is drawn at a designated drawing position.

例えば、描画部の固定幅が32ドットであり、与えられ
たパターンが、第2図(a)に示すように、16ドット×
16ドットである場合には、第2図(b)に示すように、
パターンをフレームメモリの作業領域に32ドット×32ド
ットに展開し、32ドットのパターンとして描画する。
For example, the fixed width of the drawing unit is 32 dots, and the given pattern is 16 dots ×
In the case of 16 dots, as shown in FIG.
The pattern is developed into 32 dots × 32 dots in the work area of the frame memory and drawn as a 32 dot pattern.

これによって、描画回数は削減され、与えられたパタ
ーンが小さいほど、従来方式に比べて処理回数が減少
し、描画処理を高速化することができる。
As a result, the number of times of drawing is reduced, and the smaller the given pattern, the smaller the number of times of processing compared to the conventional method, so that the speed of the drawing process can be increased.

〔実施例〕〔Example〕

第3図は、本発明の一実施例のシステム構成を示す図
である。
FIG. 3 is a diagram showing a system configuration of one embodiment of the present invention.

図において、1はビットマッププロセッサであり、上
位装置からの指示によりビットマップパターンの描画処
理を行う。本発明による描画処理はビットマッププロセ
ッサ1が、格納されているプログラムにより行う。
In the figure, reference numeral 1 denotes a bitmap processor, which performs a bitmap pattern drawing process according to an instruction from a higher-level device. The drawing process according to the present invention is performed by the bitmap processor 1 according to a stored program.

2はフレームメモリであり、ビットマップパターンを
格納する。
Reference numeral 2 denotes a frame memory which stores a bitmap pattern.

3は表示インタフェース部であり、フレームメモリに
格納されているデータを表示制御データに変換しCRTデ
ィスプレイ部4に与える。
A display interface unit 3 converts data stored in the frame memory into display control data and provides the display control data to the CRT display unit 4.

4はCRTディスプレイ部であり、与えられた表示制御
データに基づいて表示を行う。
Reference numeral 4 denotes a CRT display unit, which performs display based on given display control data.

第4図は、本発明の一実施例による描画処理を示すフ
ローチャートである。
FIG. 4 is a flowchart showing a drawing process according to one embodiment of the present invention.

本実施例は、描画部の固定幅が32ドットで、与えられ
たパターンが縦および横が32ドット以下で且つ縦および
横が32の約数である場合の描画処理を示す。
This embodiment shows a drawing process when the fixed width of the drawing unit is 32 dots and the given pattern is 32 dots or less in the vertical and horizontal directions and a divisor of 32 in the vertical and horizontal directions.

フローチャートの示す意味は次のとおりである。 The meanings of the flowcharts are as follows.

最初に、与えられたパターンの大きさが縦32ドット×
横32ドットか、を判定する。パターンの大きさが縦32ド
ット×横32ドットであれば、何も処理を行うことなくス
テップへ飛び、そうでなければステップを行う。
First, the size of the given pattern is 32 dots vertically x
It is determined whether it is 32 horizontal dots. If the size of the pattern is 32 dots vertically by 32 dots horizontally, the process jumps to the step without performing any processing, and otherwise performs the step.

フレームメモリの作業領域上に、与えられたパターン
を縦32ビット×横32ビットの大きさに展開し、ステップ
へ進む。
The given pattern is developed on the work area of the frame memory into a size of 32 bits in length × 32 bits in width, and the process proceeds to step.

パターンの格納アドレス(ステップを実行したとき
はフレームメモリの作業領域の格納アドレス)および宛
先(フレームメモリ上の描画位置)をレジスタにセット
する。
The storage address of the pattern (the storage address of the work area of the frame memory when the step is executed) and the destination (the drawing position on the frame memory) are set in the register.

1パターン幅長の描画を行い、これを(描画範囲横幅
/32ビット/回だけ行う。
Draws one pattern width, and writes this to (Drawing area width
Performs only / 32 bits / time.

ステップの処理を32ビットの高さまで行う。Perform step processing up to 32-bit height.

ステップ〜の処理を(描画範囲高さ/32ビット)
回だけ行う。
Step to process (drawing area height / 32 bits)
Do it only once.

〔発明の効果〕〔The invention's effect〕

以上の説明から明らかなように本発明によれば、描画
部の固定幅の約数となるパターンの描画では、固定幅の
パターンと同じ早さで描画処理を行うことが出来、表示
性能の向上に寄与するという著しい工業的効果がある。
As is apparent from the above description, according to the present invention, in drawing a pattern that is a divisor of the fixed width of the drawing unit, the drawing process can be performed at the same speed as the fixed width pattern, and the display performance is improved. Has a significant industrial effect of contributing to

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

第1図は本発明の構成を示すブロック図、 第2図はパターンの展開例を示す図、 第3図は本発明の一実施例のシステム構成を示す図、 第4図は本発明の一実施例による処理を示すフローチャ
ート、 第5図は従来方式による描画処理を示すフローチャート
である。 図において、 1はビットマッププロセッサ、 2はフレームメモリ、 3は表示インタフェース部、 4はCRTディスプレイ部、 11はパターンサイズ判定部、 12はパターン展開部、 13はパターン描画部、 を示す。
FIG. 1 is a block diagram showing a configuration of the present invention, FIG. 2 is a diagram showing an example of pattern development, FIG. 3 is a diagram showing a system configuration of an embodiment of the present invention, and FIG. FIG. 5 is a flowchart showing a drawing process by a conventional method. In the figure, 1 is a bitmap processor, 2 is a frame memory, 3 is a display interface unit, 4 is a CRT display unit, 11 is a pattern size determination unit, 12 is a pattern development unit, and 13 is a pattern drawing unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】サイズが一定のパターンを描画単位として
描画する描画装置であって、 入力されたパターンが前記描画単位と等しいサイズであ
るか、前記描画単位の約数となるサイズであるかを判定
するパターンサイズ判定部と、 前記入力されたパターンのサイズが前記描画単位の約数
である場合に前記入力されたパターンを複数個生成し、
一定の値となる様展開するパターン生成部と、 前記入力されたパターンのサイズが前記描画単位と等し
い場合には前記入力されたパターンを描画し、前記入力
されたパターンのサイズが前記描画単位の約数である場
合には前記展開されたパターンを描画するパターン描画
部と、 から構成されることを特徴とする描画装置。
1. A drawing apparatus for drawing a pattern having a fixed size as a drawing unit, wherein whether the input pattern has a size equal to the drawing unit or a size that is a divisor of the drawing unit is determined. A pattern size determining unit for determining, generating a plurality of the input patterns when the size of the input pattern is a divisor of the drawing unit;
A pattern generation unit that expands to have a constant value; and, if the size of the input pattern is equal to the drawing unit, draws the input pattern, and the size of the input pattern is the size of the drawing unit. And a pattern drawing unit for drawing the developed pattern if the number is a divisor.
JP16572689A 1989-06-28 1989-06-28 Drawing equipment Expired - Fee Related JP2727667B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16572689A JP2727667B2 (en) 1989-06-28 1989-06-28 Drawing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16572689A JP2727667B2 (en) 1989-06-28 1989-06-28 Drawing equipment

Publications (2)

Publication Number Publication Date
JPH0330076A JPH0330076A (en) 1991-02-08
JP2727667B2 true JP2727667B2 (en) 1998-03-11

Family

ID=15817909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16572689A Expired - Fee Related JP2727667B2 (en) 1989-06-28 1989-06-28 Drawing equipment

Country Status (1)

Country Link
JP (1) JP2727667B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10035776C1 (en) * 2000-07-22 2001-12-13 Gea Ecoflex Gmbh Plate heat exchanger for medical or food industry use has seals provided between stacked plates provided with nipples fitting through holes on plates

Also Published As

Publication number Publication date
JPH0330076A (en) 1991-02-08

Similar Documents

Publication Publication Date Title
JP2727667B2 (en) Drawing equipment
JPH06162210A (en) Image processor
JP2020145508A (en) Image editing device and image editing method
JP2550562B2 (en) Character display device
JPH091867A (en) Bar code printer
JP2605609B2 (en) Dot display processing device
JPH03281363A (en) Document output device
JPS5961881A (en) Graphic generator
JP3337385B2 (en) Display control circuit
JP3616675B2 (en) Character drawing system
JP2776347B2 (en) Drawing device for printer
JPS63136084A (en) Character processor
JP2713219B2 (en) Graphic display device
JPS63243990A (en) Character transmission system
JPH04155383A (en) Vector font developing device
JPS6242189A (en) Pattern writing apparatus
JPH0550013B2 (en)
JPH02238965A (en) Recorder
JPH0237391A (en) Image interpolating system
JPH0546151A (en) Method for scaling character pattern and control file used for the same
JPH0566761A (en) Smoothing system for character font
JPH05342357A (en) Plotter
JPH0211351A (en) Document output apparatus
JPS62278668A (en) Information processor
JPS62262191A (en) Drawing system for closed area of display device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees