JPH052651A - Paint out plotting system - Google Patents
Paint out plotting systemInfo
- Publication number
- JPH052651A JPH052651A JP80891A JP80891A JPH052651A JP H052651 A JPH052651 A JP H052651A JP 80891 A JP80891 A JP 80891A JP 80891 A JP80891 A JP 80891A JP H052651 A JPH052651 A JP H052651A
- Authority
- JP
- Japan
- Prior art keywords
- circle
- memory
- pattern
- registered
- filled
- 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
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、塗りつぶし描画方式に
関し、特にビットマップ表示装置の塗りつぶし描画方式
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a solid drawing method, and more particularly to a solid drawing method for a bitmap display device.
【0002】[0002]
【従来の技術】従来、この種の塗りつぶし描画方式は、
円を描画する場合、円を多角形近似し、多角形塗りつぶ
しアルゴリズムを用い、円内の塗りつぶし画素のアドレ
スを計算し、ソフトウェア的に直接表示メモリに描画し
ていた。2. Description of the Related Art Conventionally, this type of fill drawing method is
When a circle is drawn, the circle is approximated to a polygon, the polygon filling algorithm is used to calculate the address of the filled pixel in the circle, and the circle is drawn directly in the display memory by software.
【0003】[0003]
【発明が解決しようとする課題】上述した従来の塗りつ
ぶし描画方式は、すべての円をソフトウェア的に描画し
ているので、小さい円の塗りつぶしが多く存在する図形
を描画する場合に時間がかかるという問題点がある。In the above-described conventional fill-drawing method, since all circles are drawn by software, it takes time to draw a figure in which many small circles are filled. There is a point.
【0004】[0004]
【課題を解決するための手段】本発明の塗りつぶし描画
方式は、図形が描画される表示メモリと、前記表示メモ
リの内容を表示する表示装置とを有する情報処理装置の
塗りつぶし描画方式において、あらかじめ設定した特定
の大きさ以下で、大きさが相異し、内部が塗りつぶされ
た円のビットパターンを複数個登録しているパターンメ
モリと、入力された塗りつぶし円を描画すべき前記表示
メモリ上の位置を指示する指示手段と、前記入力された
塗りつぶし円の描画の際に、描画する円が前記特定の大
きさ以下か判定する判定手段と、前記判定結果が前記特
定の大きさ以下でなければ、前記表示メモリの前記指示
された位置へ前記塗りつぶし円を描画する描画手段と、
前記判定結果が前記特定の大きさ以下ならば、前記パタ
ーンメモリから前記塗りつぶし円の大きさに対応するビ
ットパターンを読み出し、前記表示メモリの前記指定さ
れた位置へ塗りつぶし円を描画するビットパターン描画
手段とを有している。The fill drawing method of the present invention is set in advance in a fill drawing method of an information processing apparatus having a display memory in which a graphic is drawn and a display device for displaying the contents of the display memory. The pattern memory that has registered a plurality of bit patterns of circles that are smaller than the specified size but have different sizes and the insides are filled, and the position on the display memory where the input filled circles should be drawn. Instructing means for instructing, and a determining means for determining whether the circle to be drawn is the specific size or less when the input filled circle is drawn, and the determination result is not the specific size or less, Drawing means for drawing the filled circle at the designated position of the display memory;
If the determination result is less than or equal to the specific size, a bit pattern drawing means for reading a bit pattern corresponding to the size of the filled circle from the pattern memory and drawing a filled circle at the designated position in the display memory. And have.
【0005】[0005]
【実施例】本発明について図面を参照して説明する。図
1は、本発明の一実施例のブロック図、図2は図1の中
央処理部1の動作を示す流れ図である。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a flow chart showing the operation of the central processing unit 1 of FIG.
【0006】中央処理部1は、ソフトウェアにより情報
を処理するところであり、塗りつぶし制御部2,表示メ
モリ3,パターンメモリ4へのアクセスが可能である。
パターンメモリ4は、塗りつぶし円のビットパターンを
登録しておくメモリである。塗りつぶし制御部2は、中
央処理部1より入力された塗りつぶし円の大きさと表示
する位置とを示す描画指示を受けた場合、入力された塗
りつぶし円の大きさに対応するビットパターンをパター
ンメモリ4から読み出して表示メモリ3の指示位置に描
画する。表示メモリ3上のビットマップデータは、逐時
読み出されCRT5で表示される。The central processing unit 1 is a place for processing information by software, and can access the fill control unit 2, the display memory 3 and the pattern memory 4.
The pattern memory 4 is a memory for registering a bit pattern of a filled circle. When the fill control unit 2 receives a drawing instruction indicating the size of the filled circle and the position to be displayed, which is input from the central processing unit 1, the bit pattern corresponding to the input size of the filled circle is read from the pattern memory 4. It is read and drawn at the designated position in the display memory 3. The bitmap data on the display memory 3 is read out at once and displayed on the CRT 5.
【0007】次に、同実施例の動作を説明する。図形を
描画するにあたり、予じめ定めたステップ(例えば1m
mステップ)であって直径1〜16cmまでの塗りつぶ
し円のビットパターンをパターンメモリ4に登録してお
く。中央処理部1は、図形描画処理中、塗りつぶし円が
あった場合、その直径が16cm以下か否か判定する
(ステップS1)。この時、その直径が16cm以下な
らば、パターンメモリ4にその大きさの円が登録されて
いるか判定する(ステップS2)。登録されていれば、
描画位置に対応する大きさビットパターンを読み出し塗
りつぶし制御部2に指示し表示メモリ3に描画を行わせ
る(ステップS3)。Next, the operation of the embodiment will be described. When drawing a figure, a predetermined step (for example, 1 m)
The bit pattern of a filled circle having a diameter of 1 to 16 cm is registered in the pattern memory 4 in advance (m steps). When there is a filled circle during the graphic drawing process, the central processing unit 1 determines whether or not the diameter is 16 cm or less (step S1). At this time, if the diameter is 16 cm or less, it is determined whether or not a circle of that size is registered in the pattern memory 4 (step S2). If you are registered,
A bit pattern having a size corresponding to the drawing position is read out and is instructed to the filling control unit 2 to cause the display memory 3 to perform drawing (step S3).
【0008】また、未登録の時は(ステップS2)、パ
ターンメモリ4に空きがあれば(ステップS4)追加登
録し(ステップS5)、塗りつぶし制御部2を用いて描
画する(ステップS3)。空きがなければ(ステップS
4)、使用頻度の低いパターンを追い出し(ステップS
6)、追い出した場所に新たに登録後(ステップS
5)、塗りつぶし制御部2を用いて円を描画する(ステ
ップS3)。円の直径が、16cmを越える場合(ステ
ップS1)、中央処理部1より表示メモリ3へ直接円を
描画する(ステップS7)。メモリ3へ描画された円
は、CRT5に表示される。When the pattern memory 4 is not registered (step S2), if there is a vacancy in the pattern memory 4 (step S4), the pattern memory 4 is additionally registered (step S5), and drawing is performed by using the fill controller 2 (step S3). If there is no space (step S
4) Eliminate patterns that are infrequently used (step S
6) After newly registering at the place where it was kicked out (step S
5) Draw a circle using the fill controller 2 (step S3). When the diameter of the circle exceeds 16 cm (step S1), the central processing unit 1 draws the circle directly on the display memory 3 (step S7). The circle drawn in the memory 3 is displayed on the CRT 5.
【0009】[0009]
【発明の効果】以上説明したように本発明は、面積的に
小さい塗りつぶし円のビットパターンをパターンメモリ
に登録し、描画時そのままコピーすることにより、ソフ
トウェアの負担を減らし図形描画を高速化できる効果が
ある。As described above, according to the present invention, a bit pattern of a filled circle having a small area is registered in the pattern memory and copied as it is at the time of drawing, thereby reducing the load on software and speeding up graphic drawing. There is.
【図面の簡単な説明】[Brief description of drawings]
【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.
【図2】図1の中央処理部の流れ図である。FIG. 2 is a flow chart of a central processing unit in FIG.
1 中央処理部 2 塗りつぶし制御部 3 表示メモリ 4 パターンメモリ 5 CRT 1 Central processing unit 2 Fill control section 3 display memory 4 pattern memory 5 CRT
Claims (2)
示メモリの内容を表示する表示装置とを有する情報処理
装置の塗りつぶし描画方式において、あらかじめ設定し
た特定の大きさ以下で、大きさが相異し、内部が塗りつ
ぶされた円のビットパターンを複数個登録しているパタ
ーンメモリと、入力された塗りつぶし円を描画すべき前
記表示メモリ上の位置を指示する指示手段と、前記入力
された塗りつぶし円の描画の際に、描画する円が前記特
定の大きさ以下か判定する判定手段と、前記判定結果が
前記特定の大きさ以下でなければ、前記表示メモリの前
記指示された位置へ前記塗りつぶし円を描画する描画手
段と、前記判定結果が前記特定の大きさ以下ならば、前
記パターンメモリから前記塗りつぶし円の大きさに対応
するビットパターンを読み出し、前記表示メモリの前記
指定された位置へ塗りつぶし円を描画するビットパター
ン描画手段とを有することを特徴とする塗りつぶし描画
方式。1. A fill drawing method of an information processing apparatus having a display memory on which a graphic is drawn and a display device for displaying the contents of the display memory, and the size is equal to or smaller than a specific size set in advance. Differently, a pattern memory in which a plurality of bit patterns of circles filled in inside are registered, an instruction means for instructing a position on the display memory in which an input filled circle is to be drawn, and the input fill When drawing a circle, a judgment means for judging whether or not the circle to be drawn is less than or equal to the specific size, and if the determination result is not less than or equal to the specific size, the filling is performed at the designated position in the display memory. Drawing means for drawing a circle, and a bit pattern corresponding to the size of the filled circle from the pattern memory if the determination result is less than or equal to the specific size. And a bit pattern drawing means for drawing a filled circle to the specified position of the display memory.
らば、その大ささの円が前記登録手段に登録してあるか
検索する検索手段と、前記検索手段で登録されていなけ
れば、前記パターンメモリに空きがあるか判定するパタ
ーンメモリ空き判定手段と、前記パターンメモリ空き判
定結果が空きがない場合、使用頻度が低いビットパター
ンを追い出す追い出し手段と、前記追い出した結果、前
記パターンメモリに空きがある場合、前記パターンメモ
リに前記入力された塗りつぶし円のビットパターンを追
加登録する追加登録手段とを有することを特徴とする請
求項1記載の塗りつぶし描画方式。2. If the determination result is less than or equal to the specific size, a search unit that searches whether a circle of that size is registered in the registration unit, and if not registered by the search unit, the Pattern memory vacancy determining means for deciding whether the pattern memory has a vacancy, eviction means for erasing a bit pattern with low frequency of use when the pattern memory vacancy determination result is vacant, and vacancy for the pattern memory 2. The filled drawing method according to claim 1, further comprising additional registration means for additionally registering the bit pattern of the input filled circle in the pattern memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP80891A JPH052651A (en) | 1991-01-09 | 1991-01-09 | Paint out plotting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP80891A JPH052651A (en) | 1991-01-09 | 1991-01-09 | Paint out plotting system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH052651A true JPH052651A (en) | 1993-01-08 |
Family
ID=11483984
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP80891A Pending JPH052651A (en) | 1991-01-09 | 1991-01-09 | Paint out plotting system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH052651A (en) |
-
1991
- 1991-01-09 JP JP80891A patent/JPH052651A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2776246B2 (en) | Mouse cursor tracking type enlarged display moving device | |
JPH06259217A (en) | Multiwindow system | |
JPH052651A (en) | Paint out plotting system | |
US6677955B1 (en) | Image processing method and image processing apparatus | |
US6867783B2 (en) | Recording medium having recorded thereon three-dimensional graphics drawing data having data structure shareable by frames and method of drawing such data | |
JPH091871A (en) | Printer and plotting controlling method therefor | |
JP3012445B2 (en) | Image data output processing method and apparatus | |
JP2001084354A (en) | Image processor, image management method therefor and computer readable storage medium | |
JP2002258827A (en) | Image display device | |
JP2980079B2 (en) | Three-dimensional image processing apparatus and method | |
JP2727667B2 (en) | Drawing equipment | |
JPH0366676B2 (en) | ||
JPH04238587A (en) | Method and device for displaying sphere | |
JPS63835B2 (en) | ||
JPH05324843A (en) | Drawing process method and drawing processor | |
JPH06266329A (en) | Multiwindow display method | |
JP2000098996A (en) | Image display device | |
JP2003228728A (en) | Outline drawing device and method for image display device for slot machine or pachi-slo machine and computer program for the same | |
JPH06187458A (en) | Graphic display device | |
JPH0764537A (en) | Information processor | |
JPS62262191A (en) | Drawing system for closed area of display device | |
JPH05297856A (en) | Image enlarging device | |
JPH09244619A (en) | Method and device for varying display size | |
JPH05181637A (en) | Plotting method for graphic | |
JPH04311992A (en) | Display device for map data |