JPH03156690A - Rectangular area picture-drawing system - Google Patents

Rectangular area picture-drawing system

Info

Publication number
JPH03156690A
JPH03156690A JP1296493A JP29649389A JPH03156690A JP H03156690 A JPH03156690 A JP H03156690A JP 1296493 A JP1296493 A JP 1296493A JP 29649389 A JP29649389 A JP 29649389A JP H03156690 A JPH03156690 A JP H03156690A
Authority
JP
Japan
Prior art keywords
area
pattern
size
copying
filling
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
JP1296493A
Other languages
Japanese (ja)
Inventor
Yoshio Katayama
片山 善夫
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP1296493A priority Critical patent/JPH03156690A/en
Publication of JPH03156690A publication Critical patent/JPH03156690A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To speed up the area filling of a rectangular area by copying a source area and a destination area as overlapping them by using the function of a picture drawing processor to copy the pattern of prescribed size to a prescribed position. CONSTITUTION:The area filling in a horizontal direction can be executed by repeating copying processing for a picture processing area to be shaded all over as overlapping the source area 12 from which the width portion of one pattern 11 is subtracted and the designation area 13 to be copied by shift quantity corresponding to the size of the pattern at every copy unit. Besides, similarly in a vertical direction too, the area filling can be executed by the copying processing by overlapping the source area 14 and the destination area 15. Thus, the area filling processing of the prescribed rectangular area can be speeded up.

Description

【発明の詳細な説明】 〔概 要〕 グラフィック表示制御装置において、グラフインク表示
画面内の所定の矩形領域を塗り潰す矩形領域描画方式に
関し、 所定の矩形領域の塗り潰し処理を高速化することを目的
とし、 表示データが格納されるフレームメモリ内の所定の矩形
領域をフレームメモリ内の他の位置へ等倍コピーする機
能を有する描画プロセッサの矩形領域描画方式において
、塗り潰しが行われる描画領域に対して一つのパターン
の大きさ分を差し引いた領域内で横方向および縦方向に
、所定のコピー単位ごとに前記パターンの大きさに対応
してシフトさせて順次コピー処理を繰り返すことを特徴
とする。
[Detailed Description of the Invention] [Summary] Regarding a rectangular area drawing method for filling out a predetermined rectangular area in a graph ink display screen in a graphic display control device, an object of the present invention is to speed up the filling process of a predetermined rectangular area. In the rectangular area drawing method of a drawing processor that has the function of copying a predetermined rectangular area in the frame memory where display data is stored to another location in the frame memory at the same size, for the drawing area to be filled. The present invention is characterized in that the copying process is sequentially repeated by shifting each predetermined copy unit in the horizontal and vertical directions within an area in which the size of one pattern is subtracted, corresponding to the size of the pattern.

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

本発明は、グラフィック表示制御装置において、グラフ
ィック表示画面内の所定の矩形領域を塗り潰す矩形領域
描画方式に関する。
The present invention relates to a rectangular area drawing method for filling a predetermined rectangular area within a graphic display screen in a graphic display control device.

〔従来の技術〕[Conventional technology]

グラフィック表示画面内の所定の矩形領域を−定パター
ンの繰り返し描画で塗り潰す従来の処理方法には、例え
ば次の3つの方法がある。
Conventional processing methods for filling a predetermined rectangular area within a graphic display screen by repeatedly drawing a fixed pattern include, for example, the following three methods.

■ 描画プロセッサに内蔵されているレジスタ(あるい
はRAM)にパターンを格納し、そのパターンを繰り返
し表示させて塗り潰しを行う。
■ A pattern is stored in a register (or RAM) built into the drawing processor, and the pattern is repeatedly displayed to fill in the area.

■ 描画プロセッサ外のメモリにパターンを格納し、そ
のパターンを読み出しながら繰り返し表示させて塗り潰
しを行う(特開昭61−292678号公報)。
(2) A pattern is stored in a memory outside the drawing processor, and the pattern is read out and repeatedly displayed to fill in the area (Japanese Patent Laid-Open No. 61-292678).

■ フレームメモリに画面に表示されない非表示領域を
持ち、その1ライン分に必要なパターンを複写し、描画
領域の幅に対応する部分を用いて縦方向に繰り返し表示
させて塗り潰しを行う(特開昭61−67181号公報
)、第6図は、フレームメモリ61上における表示領域
62、非表示領域63および描画領域64を示す、描画
領域64の塗り潰しは、非表示領域63に蓄積された1
547分のパターンの描画領域の幅に対応する部分(斜
線部分)を用いて行う。
■ Having a non-display area that is not displayed on the screen in the frame memory, copying the necessary pattern for one line, and repeatedly displaying it in the vertical direction using the part corresponding to the width of the drawing area to fill it (unexamined patent application 61-67181), FIG. 6 shows a display area 62, a non-display area 63, and a drawing area 64 on the frame memory 61.
This is performed using a portion (hatched portion) corresponding to the width of the pattern drawing area of 547 minutes.

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

ところで、■の方法では、描画プロセッサ内のレジスタ
(RAM)の容量に限界があるので、パターンの大きさ
や模様の制限が大きかった。
By the way, in the method (2), since there is a limit to the capacity of the register (RAM) in the drawing processor, there are large restrictions on the size and pattern of the pattern.

■の方法では、第7図(1)に示すように、パターン7
1の大きさ(5×5ドツト)が描画プロセッサの1語(
4×1ドツト)73の整数倍でないときに、パターン端
部の読み出しにおいて、斜線で示す部分の読み出しが無
駄となり、処理速度の低下の要因となっていた。
In method (2), as shown in Figure 7 (1), pattern 7
The size of 1 (5 x 5 dots) is 1 word (
When the number of pixels is not an integral multiple of 73 (4×1 dot), when reading out the edge of the pattern, reading out the shaded portion is wasted, which causes a reduction in processing speed.

また、第7図(2)に示すように、語境界(綿実線)に
対するパターン描画位置(太実線)がパターンの周期ご
とに異なる場合には、描画時のシフト量が各周期ごとに
変わるために制御が複雑になっていた。なお、これは■
の方法においても当てはまる問題点である。
Furthermore, as shown in Figure 7 (2), if the pattern drawing position (thick solid line) with respect to the word boundary (cotton solid line) differs for each pattern period, the amount of shift during drawing will change for each period. control had become complicated. Furthermore, this is ■
This problem also applies to the above method.

■の方法では、非表示領域に1ライン分のパターンをも
つことにより、それ以降は上述の問題点を回避すること
ができるが、パターンの縦方向の大きさが大きい場合に
は、非表示領域への描画に伴うオーバヘッドは無視でき
ない問題点になっていた。また、この方法においては非
表示領域に対応するフレームメモリを余分に用意する必
要があり、コスト上昇をもたらしていた。
In method (2), by having a pattern for one line in the non-display area, the above-mentioned problem can be avoided from then on, but if the vertical size of the pattern is large, the non-display area The overhead associated with drawing has become a problem that cannot be ignored. Further, in this method, it is necessary to prepare an extra frame memory corresponding to the non-display area, resulting in an increase in cost.

本発明は、所定の矩形領域の塗り潰し処理を高速化する
ことが可能な矩形領域描画方式を提供することを目的と
する。
An object of the present invention is to provide a rectangular area drawing method that can speed up the filling process of a predetermined rectangular area.

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

本発明方式に用いる描画プロセッサは、表示データが格
納されるフレームメモリ内の所定の矩形領域をフレーム
メモリ内の他の位置へ等倍コピーする機能を有する。
The drawing processor used in the method of the present invention has a function of copying a predetermined rectangular area in the frame memory in which display data is stored to another location in the frame memory at the same size.

本発明は、塗り潰しが行われる描画領域に対して一つの
パターンの大きさ分を差し引いた領域内で横方向および
縦方向に、所定のコピー単位ごとに前記パターンの大き
さに対応してシフトさせて順次コピー処理を繰り返す処
理を行う。
The present invention provides for shifting horizontally and vertically within an area obtained by subtracting the size of one pattern from a drawing area to be filled, in accordance with the size of the pattern, for each predetermined copy unit. The process of repeating the copy process sequentially is performed.

〔作 用〕[For production]

本発明では、塗り潰しが行われる描画領域に対して一つ
のパターンの幅分を差し引いたソース領域と、コピー単
位ごとにパターンの大きさに応じたシフト量でコピーさ
れるデスティネーション領域とをオーバラップさせてコ
ピー処理を繰り返すことにより、横方向の塗り潰しを行
うことができる。
In the present invention, the source area, which is obtained by subtracting the width of one pattern from the drawing area where filling is performed, and the destination area, which is copied by a shift amount according to the pattern size for each copy unit, are overlapped. By repeating the copy process, horizontal filling can be performed.

また、縦方向においても同様に、ソース領域とデスティ
ネーション領域とのオーバラップさせたコピー処理によ
り、塗り潰しを行うことができる。
Similarly, in the vertical direction, filling can be performed by copying the source area and the destination area so that they overlap.

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第1図は、所定の描画領域に対する本発明方式の塗り潰
し処理の基本手順について説明する図である。なお、こ
こでは説明を容易にするために、パターンの左上隅と描
画領域の左上隅とが一致する場合について示す。
FIG. 1 is a diagram illustrating the basic procedure of filling processing according to the present invention for a predetermined drawing area. Note that, for ease of explanation, a case will be described here in which the upper left corner of the pattern and the upper left corner of the drawing area match.

■ 描画領域の左上隅にパターン11を1個描画する(
第1図(1))。
■ Draw one pattern 11 in the upper left corner of the drawing area (
Figure 1 (1)).

■ 描画領域の横方向の塗り潰しでは、描画プロセッサ
のコピー機能を用いて、ソース領域12からデスティネ
ーション領域13へ大きさを変えない等倍コピーを行う
(第1図(2))。ここで、ソース領域12とは、左上
隅が描画したパターンの左上隅、横幅aが〔描画領域の
横幅〕−〔パターンの横幅]、高さbが〔パターンの高
さ〕の矩形領域である。また、デスティネーション領域
13とは、左上隅が描画したパターンの右上隅の1ドツ
ト右側で、ソース領域と同じ大きさの矩形領域である。
(2) To fill the drawing area in the horizontal direction, the copy function of the drawing processor is used to perform a same-size copy from the source area 12 to the destination area 13 without changing the size ((2) in FIG. 1). Here, the source area 12 is a rectangular area where the upper left corner is the upper left corner of the drawn pattern, the width a is [width of drawing area] - [width of pattern], and the height b is [height of pattern]. . The destination area 13 is a rectangular area whose upper left corner is one dot to the right of the upper right corner of the drawn pattern and whose size is the same as that of the source area.

■ 描画領域の縦方向の塗り潰しでは、ソース領域14
からデスティネーション領域15へ等倍コヒーヲ行う(
第1図(3))。ここで、ソース領域とは、左上隅が描
画したパターンの左上隅、横幅Cが〔描画領域の横幅〕
であり、高さdが〔描画領域の高さ〕−〔パターンの高
さ〕の矩形領域である。また、デスティネーション領域
15とは、左上隅が描画したパターンの左下隅の1ドツ
ト下側で、ソース領域と同じ大きさの矩形領域である。
■ For vertical filling of the drawing area, source area 14
Copy to the destination area 15 at the same size (
Figure 1 (3)). Here, the source area means that the upper left corner is the upper left corner of the drawn pattern, and the width C is [the width of the drawing area]
is a rectangular area with a height d of [height of drawing area] - [height of pattern]. The destination area 15 is a rectangular area whose upper left corner is one dot below the lower left corner of the drawn pattern and whose size is the same as that of the source area.

次に、以上の手順により描画領域の塗り潰しが可能であ
ることを説明する。
Next, it will be explained that the drawing area can be filled in using the above procedure.

最初に描画されたパターンの状態を第2図(1)に示す
。ここに示す部分は描画領域の一部であり、細実線は描
画プロセッサが読み出す1語(4×1ドツト)の語境界
を示し、大実線はパターンの大きさ(5×5ドツト)を
示す。
The state of the first drawn pattern is shown in FIG. 2 (1). The portion shown here is a part of the drawing area, the thin solid line indicates the word boundary of one word (4 x 1 dot) read by the drawing processor, and the large solid line indicates the size of the pattern (5 x 5 dots).

描画プロセッサが読み出す1語がパターン内に完全に含
まれている間(ここでは最初の1語のみ)は、第2図(
2)に斜線冒で示すように通常のコピーが行われる。な
お、このコピーにおけるシフト量はパターンの横幅(5
ドツト)を1語の横幅(4ドツト)で割った余り(1)
である。
While the word read by the drawing processor is completely included in the pattern (here only the first word), the pattern shown in Figure 2 (
Normal copying is performed as indicated by the diagonal lines in 2). Note that the shift amount in this copy is the width of the pattern (5
The remainder (1) when dividing 1 word (dot) by the width of 1 word (4 dots)
It is.

次の段階でパターンの右端(r5J)を含む語をコピー
する場合には、第2図(3)に斜線−で示すように、す
でにその右側にパターンの左側一部(「1」〜「3」)
がコピーされている。したがって、この語をコピーする
ことにより、パターンの右端と左端が同時にコピーされ
る。なお、この語をコピーする場合においても、シフト
量はそれまでと同じ(1ドツト)であるが、あらかじめ
コピーされていたパターンの左端部分は、最初のコピー
ですでにシフトされているので語境界からのシフト量は
、パターンの横幅の2倍(10ドツト)を描画プロセッ
サの1語の横幅(4ドツト)で割った余り(2)となる
When copying a word including the right end (r5J) of the pattern in the next step, the left part of the pattern ("1" to "3" ”)
has been copied. Therefore, copying this word copies the right and left edges of the pattern at the same time. Note that when copying this word, the shift amount is the same as before (1 dot), but the left end of the pattern that was previously copied has already been shifted in the first copy, so the word boundary The amount of shift from is the remainder (2) of dividing twice the width of the pattern (10 dots) by the width of one word of the drawing processor (4 dots).

以降、第2図(4)に示すように、コピーが繰り返され
るごとに語境界からのシフト量が累積され、1語の横幅
が4ドツトの場合にはシフト量は+1、+2、+3.0
と繰り返される。
From then on, as shown in Figure 2 (4), the amount of shift from the word boundary is accumulated each time copying is repeated, and if the width of one word is 4 dots, the amount of shift is +1, +2, +3.0.
is repeated.

このようなコピー処理における語境界からのシフト量は
、塗り潰しを行うときのパターンのシフト量に一致して
おり、矩形領域コピーによって描画領域の塗り潰しが正
しく行われることがわかる。
The amount of shift from the word boundary in such copying processing matches the amount of shift of the pattern when filling in, and it can be seen that rectangular area copying correctly fills in the drawing area.

コピーする領域の横幅は、ソース領域として〔描画領域
の横幅〕−〔パターンの横幅〕で指定されるので、所定
のシフト量によるコピー処理を繰り返すことによりデス
ティネーション領域へのコピーが完了し、過不足なく横
1列の塗り潰しを行うことができる。
The width of the area to be copied is specified as the source area by [width of drawing area] - [width of pattern], so copying to the destination area is completed by repeating the copy process with a predetermined shift amount, and the overload is removed. It is possible to fill in one horizontal row without any shortage.

なお、描画領域の縦方向の塗り潰しについても同様であ
る。
Note that the same applies to filling the drawing area in the vertical direction.

ところで、以上説明した矩形領域コピーにおいては、描
画プロセッサが先読みを行っていないと仮定し、1語の
横幅を基準として説明したが、先読みを行っている場合
には、描画プロセッサの語長に先読みの語数を加えたも
のをその描画プロセッサの語長とすれば、同様に説明可
能である。
By the way, in the rectangular area copy explained above, it is assumed that the drawing processor does not read ahead, and the width of one word is used as the standard. However, if the drawing processor does read ahead, the word length of the drawing processor The same explanation can be given by adding the number of words to the word length of the drawing processor.

なお、パターンの大きさが描画プロセッサの1語(また
は、ソース領域の先読みを行う場合はその語数)より小
さい場合は、それ以上の大きさとなるまでパターンを縦
あるいは横に繋いだパターンを用いる。
Note that if the size of the pattern is smaller than one word of the drawing processor (or the number of words when pre-reading the source area), a pattern in which patterns are connected vertically or horizontally until the size becomes larger is used.

第3図は、以上説明した本発明方式の描画処理を行うグ
ラフィック表示システムの構成例を示すブロック図であ
る。
FIG. 3 is a block diagram showing an example of the configuration of a graphic display system that performs the drawing process according to the present invention described above.

図において、メモリバス31および入出力制御バス32
を介して接続されるマイクロプロセッサ33およびメイ
ンメモリ34には、入出力制御バス32を介してフレー
ムメモリ35および描画プロセッサ(CRTコントロー
ラ)36が接続される。
In the figure, a memory bus 31 and an input/output control bus 32
A frame memory 35 and a drawing processor (CRT controller) 36 are connected to the microprocessor 33 and main memory 34 via an input/output control bus 32.

描画プロセッサ36は、マイクロプロセッサ33の制御
に応じて、フレームメモリ35との間で表示データの書
き込みおよび読み出しを行う、読み出された表示データ
は、CRT表示装置37に送出されて画面上に表示され
る。
The drawing processor 36 writes and reads display data from and to the frame memory 35 under the control of the microprocessor 33.The read display data is sent to the CRT display device 37 and displayed on the screen. be done.

なお、ここで用いる描画プロセッサ36は、任意のパタ
ーンサイズによる塗り潰し機能をもっていないが、描画
領域内に描画されている元の図形を無視して単純にパタ
ーンを書き込み、矩形領域の塗り潰しを行うコピー機能
を有する。
Note that the drawing processor 36 used here does not have a filling function with an arbitrary pattern size, but has a copy function that simply writes a pattern and fills a rectangular area, ignoring the original figure drawn in the drawing area. has.

ところで、以上の説明では、パターンの左上隅と描画領
域の左上隅とが一致する場合について示したが、一般的
には必ずしも一致するとは限らない。
By the way, in the above description, the case where the upper left corner of the pattern and the upper left corner of the drawing area match, but in general they do not necessarily match.

以下、第4図を参照して、パターンの左上隅と描画領域
の左上隅とが一致しない場合において、一般的な塗り潰
し処理の手順について説明する。
Hereinafter, with reference to FIG. 4, a general filling process procedure will be described when the upper left corner of the pattern and the upper left corner of the drawing area do not match.

第4図(1)において、符号41は表示画面であり、符
号43は斜線で示すパターンのコピーにより塗り潰しが
行われる描画領域である。
In FIG. 4(1), reference numeral 41 is a display screen, and reference numeral 43 is a drawing area to be filled in by copying the pattern shown with diagonal lines.

第4図(2)は、描画領域を示す。FIG. 4(2) shows the drawing area.

■ 描画領域の左上隅の座標を(x、y)、描画領域の
横幅をW、高さをhとし、パターンの横幅をpw、高さ
をphとする。さらに、パターンの左上隅と描画領域の
左上隅とが一致しない場合において、コピー処理により
描画領域の左上隅に描画されるパターン上のドツトの座
標(参照オフセット)を(rx、 ry)とする。
(2) Let the coordinates of the upper left corner of the drawing area be (x, y), the width of the drawing area be W, the height be h, and the width of the pattern be pw and the height be ph. Further, when the upper left corner of the pattern and the upper left corner of the drawing area do not match, the coordinates (reference offset) of a dot on the pattern drawn at the upper left corner of the drawing area by copy processing are (rx, ry).

■ パターンを最初に描画する位置(XOI yll)
を求める(第4図(3))。
■ Position where the pattern is first drawn (XOI yll)
(Figure 4 (3)).

ここで、 rx=oのとき、×。=X ry=oのとき、Vo=V r×≠0のとき、×o= x + (pw−rx)ry
f−0のとき、yo = y + (ph −ry)で
ある。
Here, when rx=o, ×. =X When ry=o, Vo=V When r×≠0, ×o= x + (pw-rx)ry
When f-0, yo = y + (ph - ry).

■ 参照オフセット(rx≠0、ry≠0)がある場合
において、パターンの左部分あるいは上部分をコピー処
理を行う。
(2) When there is a reference offset (rx≠0, ry≠0), copy processing is performed on the left or upper portion of the pattern.

すなわち、「X≠0のときには、位置(Xe+rx。That is, "When X≠0, the position (Xe+rx.

yo)、大きさ(xe  x)Xphの矩形領域を、位
置(x、yo)ヘコビーする(第4図(4))。
yo), size (xe x) Xph, and position (x, yo) (Fig. 4 (4)).

また、ry≠0のときには、位置(x、 yllry)
、大きさ(pw+xe−x)X(yo  y)の矩形領
域を、位置(x、y)ヘコビーする(第4図(5))。
Also, when ry≠0, the position (x, yllry)
, a rectangular area of size (pw+xe-x)

■ 最初に描画したパターンを上方向に拡張したパター
ンを用いて、コピー処理による横方向の塗り潰しを行う
■ Fill in the horizontal direction by copying using a pattern that is expanded upward from the initially drawn pattern.

すなわち、位置(xe、y)、大きさ(W  (pw+
X@  x))X(ph +ys  )’)の矩形領域
を、位置(x。
That is, position (xe, y), size (W (pw+
X@x))X(ph +ys)') at position (x.

十pw、 y・)ヘコビーする(第4図(6))。10 pw, y・) Hecoby (Figure 4 (6)).

■ コピー処理による縦方向の塗り潰しを行う。■ Perform vertical filling using copy processing.

すなわち、位置(x、 ys) 、大きさwX(h(p
h+y*−y)の矩形領域を、位置(x、 yo+ph
)ヘコビーする(第4図(7))。
That is, position (x, ys), size wX(h(p
h+y*-y) at position (x, yo+ph
) Hecoby (Figure 4 (7)).

以上、■〜■のソース領域からデスティネーション領域
へのコピー処理により、描画領域の塗り潰しが行われる
As described above, the drawing area is filled in by the copying process from the source area to the destination area shown in (1) to (4).

なお、第5図(1)に示すように、パターンの左上隅が
描画される描画領域上の位置を求め、そこを左上隅とし
、描画領域の右下隅を右下隅とする図中斜線で示す矩形
領域5Iを上述した手順で塗り潰し、それより左あるい
は上の部分は、その矩形領域51を単純にコピーするこ
とにより塗り潰す方法をとってもよい。
As shown in Fig. 5 (1), the position on the drawing area where the upper left corner of the pattern is drawn is determined, and this is indicated by diagonal lines in the figure, indicating that the upper left corner is the upper left corner and the lower right corner of the drawing area is the lower right corner. The rectangular area 5I may be filled in using the above-described procedure, and the portion to the left or above may be filled in by simply copying the rectangular area 51.

また、第5図(2)に示すように、参照オフセットによ
り描1ii 6N域の左上隅に描画されるドツトがパタ
ーンの「4」の領域ある場合には、パターンを左に4ド
ツト、上に3ドツト回転させ、その左上隅と描画領域の
左上隅とが一致するパターンを生成し、このパターンを
用いて上述した手順によるコピー処理により塗り潰しを
行う方法をとっても同様である。
In addition, as shown in Figure 5 (2), if the dot drawn in the upper left corner of the 1ii 6N area by reference offset is in the "4" area of the pattern, the pattern is moved 4 dots to the left and upward. The same effect can be obtained by rotating three dots, generating a pattern in which the upper left corner of the dot matches the upper left corner of the drawing area, and using this pattern to fill in the area by copying according to the procedure described above.

ところで、描画プロセッサがコピーを行う場合に、本実
施例では左から右へ、上から下への順でコピーする場合
について説明したが、コピーを行う順序が逆の描画プロ
セッサを用いて行う場合には、左と右、上と下をそれぞ
れ読み替えればよい。
By the way, when the drawing processor performs copying, this embodiment describes the case where the copying is performed from left to right and from top to bottom. However, when the drawing processor performs the copying in the reverse order, You can read left and right, top and bottom respectively.

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

上述したように、本発明によれば、描画プロセッサの所
定の大きさのパターンを所定の位置ヘコピーする機能を
利用し、ソース領域とデスティネーション領域とをオー
バラップさせてコピーすることにより、矩形領域の塗り
潰しを高速に行うことができる。
As described above, according to the present invention, a rectangular area is created by using the function of the drawing processor to copy a pattern of a predetermined size to a predetermined position, and by overlapping and copying the source area and the destination area. can be filled in quickly.

したがって、任意のパターンサイズによる塗り潰し処理
機能を持たない描画プロセッサにおいても高速処理が可
能となり、またハードウェアとして実現することも容易
である。
Therefore, high-speed processing is possible even in a drawing processor that does not have a filling processing function with an arbitrary pattern size, and it is also easy to realize it as hardware.

第4図は本発明方式の実施例の説明図。FIG. 4 is an explanatory diagram of an embodiment of the method of the present invention.

第5図は他の実施例の説明図。FIG. 5 is an explanatory diagram of another embodiment.

第6図は従来例の説明図。FIG. 6 is an explanatory diagram of a conventional example.

第7図は従来の問題点の説明図。FIG. 7 is an explanatory diagram of conventional problems.

11・・・パターン、12.14・・・ソースeMJL
  13.15・・・デスティネーション領域、31・
・・メモリハス、32・・・入出力制御バス、33・・
・マイクロプロセッサ、34・・・メインメモリ、35
・・・フレームメモリ、36・・・描画プロセッサ、3
7・・・CRT表示装置、41・・・表示画面、43・
・・描画領域、51・・・矩形領域、61・・・フレー
ムメモリ、62・・・表示領域、63・・・非表示領域
、64・・・描画領域、71・・・パターン、73・・
・描画プロセッサの1語。
11...Pattern, 12.14...Source eMJL
13.15...destination area, 31.
...Memory bus, 32...I/O control bus, 33...
・Microprocessor, 34...Main memory, 35
...Frame memory, 36...Drawing processor, 3
7... CRT display device, 41... Display screen, 43.
...Drawing area, 51...Rectangular area, 61...Frame memory, 62...Display area, 63...Non-display area, 64...Drawing area, 71...Pattern, 73...
・One word for drawing processor.

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

第1図は本発明方式の基本手順の説明図。 第2図は本発明方式による塗り潰し原理の説明図。 第3図はシステム構成例を示すブロック図。 FIG. 1 is an explanatory diagram of the basic procedure of the method of the present invention. FIG. 2 is an explanatory diagram of the filling principle according to the method of the present invention. FIG. 3 is a block diagram showing an example of a system configuration.

Claims (1)

【特許請求の範囲】[Claims] (1)表示データが格納されるフレームメモリ内の所定
の矩形領域をフレームメモリ内の他の位置へ等倍コピー
する機能を有する描画プロセッサの矩形領域描画方式に
おいて、 塗り潰しが行われる描画領域に対して一つのパターンの
大きさ分を差し引いた領域内で横方向および縦方向に、
所定のコピー単位ごとに前記パターンの大きさに対応し
てシフトさせて順次コピー処理を繰り返す ことを特徴とする矩形領域描画方式。
(1) In the rectangular area drawing method of a drawing processor that has the function of copying a predetermined rectangular area in the frame memory where display data is stored to another location in the frame memory at the same size, for the drawing area to be filled. horizontally and vertically within the area minus the size of one pattern.
A rectangular area drawing method characterized in that the copy process is sequentially repeated by shifting each predetermined copy unit according to the size of the pattern.
JP1296493A 1989-11-15 1989-11-15 Rectangular area picture-drawing system Pending JPH03156690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1296493A JPH03156690A (en) 1989-11-15 1989-11-15 Rectangular area picture-drawing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1296493A JPH03156690A (en) 1989-11-15 1989-11-15 Rectangular area picture-drawing system

Publications (1)

Publication Number Publication Date
JPH03156690A true JPH03156690A (en) 1991-07-04

Family

ID=17834269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1296493A Pending JPH03156690A (en) 1989-11-15 1989-11-15 Rectangular area picture-drawing system

Country Status (1)

Country Link
JP (1) JPH03156690A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63136278A (en) * 1986-11-28 1988-06-08 Fujitsu Ltd Production system for repetitive pattern

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63136278A (en) * 1986-11-28 1988-06-08 Fujitsu Ltd Production system for repetitive pattern

Similar Documents

Publication Publication Date Title
JP3892900B2 (en) Window system with individual windows of arbitrary resolution for display on multiple devices of arbitrary resolution
KR100281949B1 (en) Video drawing device
JP4707782B2 (en) Image processing apparatus and method
US5870074A (en) Image display control device, method and computer program product
JPH03156690A (en) Rectangular area picture-drawing system
JP2768370B2 (en) Drawing method
JP2985275B2 (en) Character generation method of outline font
JP2002258827A (en) Image display device
JPH0318717B2 (en)
JP2642374B2 (en) Figure clipping method
JPH0348635Y2 (en)
JPS6095490A (en) Drawing pattern filling circuit
JPH04354069A (en) Picture processor
JPS6392993A (en) Painting circuit
JP2001083958A (en) Image processing device
JPS62141588A (en) Multiwindow display system
JP2000098996A (en) Image display device
JPH041356B2 (en)
JP2002229555A (en) Image processor
JPH04143793A (en) Display device
JPS58225473A (en) Clipping circuit of graphic display
JP2005251076A (en) Image processing method and image processing device
JP2003228720A (en) Image display device of pachinko machine and its display method
JPH0319991B2 (en)
JPH08336105A (en) Image data display control method and image display controller using same