JP3337934B2 - Blink display method - Google Patents

Blink display method

Info

Publication number
JP3337934B2
JP3337934B2 JP02766597A JP2766597A JP3337934B2 JP 3337934 B2 JP3337934 B2 JP 3337934B2 JP 02766597 A JP02766597 A JP 02766597A JP 2766597 A JP2766597 A JP 2766597A JP 3337934 B2 JP3337934 B2 JP 3337934B2
Authority
JP
Japan
Prior art keywords
screen
data
blink
memory
drawing data
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
JP02766597A
Other languages
Japanese (ja)
Other versions
JPH10222141A (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.)
Japan Radio Co Ltd
Original Assignee
Japan Radio 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 Japan Radio Co Ltd filed Critical Japan Radio Co Ltd
Priority to JP02766597A priority Critical patent/JP3337934B2/en
Publication of JPH10222141A publication Critical patent/JPH10222141A/en
Application granted granted Critical
Publication of JP3337934B2 publication Critical patent/JP3337934B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画面上において画
像をブリンク表示(点滅表示)させるためのブリンク表
示方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a blink display method for blinking (flashing) an image on a screen.

【0002】[0002]

【従来の技術及びその問題点】米マイクロソフト社が開
発したオペレーティングシステムであるWindowsでは、W
indows対応アプリケーションソフトウエアからグラフィ
ック関数の呼び出しがあったときに、GDI(Graphics Dev
ice Interface)がこの呼び出しを処理し適切なデバイス
ドライバに渡す、というインタフェース構成を採用して
いる。WindowsのGDIそれ自体は、線分等(以下「ベクト
ル図形」と呼ぶ)をブリンク表示させることができない
仕様となっているため、Windows対応アプリケーション
ソフトウエアからベクトル図形のブリンク表示を実行す
るには、所定時間毎に当該ベクトル図形の表示色を変え
る処理が必要になる。
2. Description of the Related Art Windows, which is an operating system developed by Microsoft Corporation in the United States,
When a graphics function is called from the application software supporting Windows, GDI (Graphics Dev
ice Interface) processes this call and passes it to the appropriate device driver. The GDI of Windows itself does not allow blinking of line segments etc. (hereinafter referred to as "vector graphics"). To execute blinking of vector graphics from Windows compatible application software, It is necessary to perform a process of changing the display color of the vector graphic every predetermined time.

【0003】図1に、このような発想によるブリンク表
示方法の一例を示す。図中のハードディスク2には描画
データ3が格納されており、この描画データ3に従い画
像を表示するに際しては、図示しない表示画面に対応し
た座標系を有する記憶領域である画面DC(Device Contex
t)1上に、この描画データ3を転送しておく。画面DC1
上に描画データ3即ち表示すべき画像を示す画像データ
を転送格納することを、ここでは「描画」と呼んでお
り、描画処理はメインプロセス6により実行されてい
る。更に、ブリンク該当データ4が描画データ3中に含
まれているときには、即ちブリンクさせるべき図形5が
画面DC1上の描画データ3に含まれているときには(1
00)、ブリンク処理プロセス7が起動し、所定時間例
えば0.5秒間隔で(103)色を変えながら(10
1)ブリンク該当データ4を画面DC1上に描画し直す
(再描画:102)。このような処理を行うことによ
り、GDIがベクトル図形のブリンク表示機能をサポート
していないにもかかわらず、所定周期例えば1秒周期で
図形5をブリンクさせることができる。
FIG. 1 shows an example of a blink display method based on such an idea. The drawing data 3 is stored in the hard disk 2 in the figure. When displaying an image in accordance with the drawing data 3, a screen DC (Device Contex) which is a storage area having a coordinate system corresponding to a display screen (not shown) is displayed.
t) This drawing data 3 is transferred onto 1. Screen DC1
Transferring and storing the drawing data 3, that is, the image data indicating the image to be displayed, is called "drawing" here, and the drawing process is executed by the main process 6. Further, when the blink applicable data 4 is included in the drawing data 3, that is, when the graphic 5 to be blinked is included in the drawing data 3 on the screen DC1, (1
00), the blink processing process 7 is activated, and while changing the (103) color at predetermined time intervals, for example, 0.5 seconds, (10)
1) The corresponding blink data 4 is redrawn on the screen DC1 (redraw: 102). By performing such processing, the graphic 5 can be blinked at a predetermined cycle, for example, one second, even though the GDI does not support the blinking function of the vector graphic.

【0004】しかしながら、このような方法では、ブリ
ンク該当データ4を所定時間おきに例えば0.5秒おき
に再描画しなければならない。ブリンク該当データ4の
量が少ないときにはともかく、多いときには、次の再描
画までの間に再描画を終えることができず結果としてブ
リンク不能に至る状況も生じうる。
However, in such a method, the blink applicable data 4 must be redrawn every predetermined time, for example, every 0.5 seconds. When the amount of blink applicable data 4 is small or large, redrawing cannot be completed before the next redrawing, and as a result, blinking may not be possible.

【0005】[0005]

【発明の概要】本発明の目的の一つは、ブリンク該当デ
ータ4の多少にかかわらず常に同等の性能でブリンク可
能な表示方法を提供することにあり、本発明において
は、この目的を、排他的論理和(XOR)演算を利用した
画像データの更新によって達成している。即ち、本発明
の好適な実施形態の一つは、大容量記憶媒体例えばハー
ドディスク2に格納されている描画データ3を画面DC1
上に書き込む描画処理を実行し、画面に対応する座標系
を有する画面DC1上の描画データ3に基づき、上記描画
データ3に対応する画像を表示させるに際して、画面DC
1上の描画データ3のうちブリンク表示させるべき画像
を示すブリンク該当データ4を、上記大容量記憶媒体か
ら、画面に対応する座標系を有するメモリDCに書き込む
描画処理を実行し、所定時間おきに、画面DC1を構成す
る各ビットとこれに対応しておりメモリDCを構成する各
ビットとのXORを、画面DC1にBitBlt転送することを特
徴としている。かかる実施形態においては、ブリンク表
示のために画面DC1上にブリンク該当データ4を再描画
する必要はなく、メモリDCから画面DC1へとXOR値のBit
Blt転送を実行するのみでよい。また、BitBlt転送に要
する時間は、XORの演算時間により規定される短い時間
である。従って、本実施形態においては、ブリンク該当
データ4の量の多少にかかわらず、常に同じ性能でブリ
ンク表示処理を実行できる。
SUMMARY OF THE INVENTION One of the objects of the present invention is to provide a display method capable of always blinking with the same performance regardless of the amount of blink applicable data 4. In the present invention, this object is exclusive. This is achieved by updating image data using a logical OR (XOR) operation. That is, one of the preferred embodiments of the present invention is to display the drawing data 3 stored in a large-capacity storage medium,
When a drawing process to be written on the screen is executed and an image corresponding to the drawing data 3 is displayed based on the drawing data 3 on the screen DC1 having a coordinate system corresponding to the screen, the screen DC
A drawing process of writing blink-corresponding data 4 indicating an image to be blink-displayed among the drawing data 3 on the memory 1 from the large-capacity storage medium to a memory DC having a coordinate system corresponding to a screen, and The XOR of each bit constituting the screen DC1 and the corresponding bit constituting the memory DC is transferred to the screen DC1 by BitBlt. In such an embodiment, it is not necessary to redraw the blink applicable data 4 on the screen DC1 for blink display, and the bit of the XOR value is transferred from the memory DC to the screen DC1.
It is only necessary to execute Blt transfer. The time required for the BitBlt transfer is a short time defined by the XOR operation time. Therefore, in the present embodiment, the blink display process can always be executed with the same performance regardless of the amount of the blink applicable data 4.

【0006】[0006]

【発明の実施の形態】以下、本発明の好適な実施形態に
関し図面に基づき説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings.

【0007】図2に、本発明の好適な実施形態に係るブ
リンク表示方法の概要を示す。この実施形態において
は、ブリンク表示に際して、メインプロセス6Aが、ま
ずハードディスク2上の描画データ3を画面DC1上に描
画し、次に、ハードディスク2上の描画データ3中のブ
リンク該当データ4をメモリDC8上に描画する。メモリ
DC8は、ちょうど画面DC1と同様、表示画面に対応する
座標系に従う記憶空間(乃至メモリ)である。ブリンク
処理プロセス7Aは、画面DC1上のデータの各ビット値
とメモリDC8上のデータの対応ビット値とのXOR値を求
めこのXOR値を画面DC1に転送するBitBlt転送処理を
(200)、所定時間おき例えば0.5秒おきに実行す
る(201)。従って、本実施形態においては、ブリン
クのために画面DC1の再描画を実行する必要はなく、メ
モリDC8にブリンク該当データ4を描画した後は比較的
簡単な即ち短時間で実行可能なBitBlt転送を所定時間お
きに行うのみでよいため、ブリンク該当データ4の量の
多少にかかわらず、ブリンク性能を維持できる。
FIG. 2 shows an outline of a blink display method according to a preferred embodiment of the present invention. In this embodiment, at the time of blink display, the main process 6A first draws the drawing data 3 on the hard disk 2 on the screen DC1, and then stores the blinking data 4 in the drawing data 3 on the hard disk 2 into the memory DC8. Draw on top. memory
DC8 is a storage space (or memory) according to a coordinate system corresponding to the display screen, just like the screen DC1. The blink processing process 7A calculates the XOR value of each bit value of the data on the screen DC1 and the corresponding bit value of the data on the memory DC8, and performs a BitBlt transfer process of transferring the XOR value to the screen DC1 (200) for a predetermined time. For example, every 0.5 seconds (201). Therefore, in the present embodiment, it is not necessary to redraw the screen DC1 for blinking, and after drawing the blinking data 4 in the memory DC8, BitBlt transfer that is relatively simple, that is, can be executed in a short time, is performed. Since it is only necessary to perform it at predetermined intervals, the blink performance can be maintained regardless of the amount of the blink applicable data 4.

【0008】このようなブリンク表示処理が可能である
理由の一つは、図3に示すように、第1のデータに第2
のデータとのXOR演算を施し、その結果に更に第2のデ
ータとのXOR演算を施すと、第1のデータが再現され
る、というXOR演算の性質にある。本実施形態では、こ
の性質を利用している。例えば、図4(1)に示すよう
にブリンク該当データ4を含むデータがハードディスク
2上にあったとする。本実施形態では、メインプロセス
6Aが、このデータを画面DC1に描画し(図4
(2))、またブリンク該当データ4をメモりDC8に描
画する(図4(5))。その後、図4(2)に示すデー
タと図4(5)に示すデータとのXOR値を画面DC1にBit
Blt転送すると、画面DC1の内容は図4(3)に示され
るような内容になる。その後所定時間が経過した時点
で、図4(3)に示すデータと図4(6)に示すデータ
(即ちメモリDC8上のデータ=図4(5)のデータ)と
のXOR値を画面DC1にBitBlt転送すると、画面DC1の内
容は図4(4)に示されるような内容になる。図4
(4)は、図4(2)と同じデータを表している。本実
施形態においては、このようにXOR演算を利用すること
により、BitBlt転送の繰返し実行によるブリンク表示を
実現している。
One of the reasons why such a blink display process is possible is that, as shown in FIG.
The XOR operation is performed on the result of the XOR operation, and the result is further subjected to the XOR operation on the second data, whereby the first data is reproduced. In the present embodiment, this property is used. For example, it is assumed that data including blink applicable data 4 exists on the hard disk 2 as shown in FIG. In the present embodiment, the main process 6A draws this data on the screen DC1 (FIG. 4).
(2)) Further, the blink applicable data 4 is drawn in the memory DC8 (FIG. 4 (5)). Then, the XOR value of the data shown in FIG. 4B and the data shown in FIG.
After the Blt transfer, the content of the screen DC1 becomes the content as shown in FIG. After a predetermined time has elapsed, the XOR value of the data shown in FIG. 4 (3) and the data shown in FIG. 4 (6) (that is, the data on the memory DC8 = the data in FIG. 4 (5)) is displayed on the screen DC1. After the BitBlt transfer, the content of the screen DC1 becomes the content as shown in FIG. FIG.
(4) represents the same data as in FIG. 4 (2). In the present embodiment, blink display is realized by repeatedly executing BitBlt transfer by using the XOR operation as described above.

【0009】[0009]

【補遺】尚、以上の説明では、マイクロソフト社のWind
ows GDIを例としたが、ベクトル図形の描画に関しWindo
ws GDIのそれと同一乃至類似の特徴・制限を有する他の
環境にも、本発明を適用可能である。また、BitBlt転
送、DC等については当業者に周知であるので詳細な説明
は省略した。更に、メインプロセスやブリンク処理プロ
セスを実行するプロセッサ乃至その部分回路に関しては
図示を省略したが、これは自明な事項の省略であり、当
業者による本発明の理解及び実施がこの図示省略により
妨げられることはない。描画データ3を格納しておく大
容量記憶媒体はハードディスクには限定されない。
[Addendum] In the above explanation, Microsoft's Wind
ows GDI is used as an example.
The present invention can be applied to other environments having the same or similar features and restrictions as those of ws GDI. Further, since BitBlt transfer, DC, and the like are well known to those skilled in the art, detailed description is omitted. Further, the illustration of a processor for executing a main process and a blink processing process or a partial circuit thereof is omitted. However, this is an obvious omission, and the understanding and implementation of the present invention by a person skilled in the art is prevented by the omission of the illustration. Never. The large-capacity storage medium for storing the drawing data 3 is not limited to a hard disk.

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

【図1】 Windows環境下でのブリンク表示方法の一例
を示す図である。
FIG. 1 is a diagram showing an example of a blink display method under a Windows environment.

【図2】 本発明の好適な実施形態に係るブリンク表示
方法を示す図である。
FIG. 2 is a diagram showing a blink display method according to a preferred embodiment of the present invention.

【図3】 XOR演算の性質を説明するための図である。FIG. 3 is a diagram for explaining a property of an XOR operation.

【図4】 画面DCとメモリDCの内容の変化を示す図であ
る。
FIG. 4 is a diagram showing changes in the contents of a screen DC and a memory DC.

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

1 画面DC、2 ハードディスク、3 描画データ、4
ブリンク該当データ、5 ブリンクさせる図形、6A
メインプロセス、7A ブリンク処理プロセス、8
メモリDC。
1 screen DC, 2 hard disk, 3 drawing data, 4
Blink applicable data, 5 figures to blink, 6A
Main process, 7A blink processing process, 8
Memory DC.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−242989(JP,A) 特開 昭62−129885(JP,A) 特開 昭63−103386(JP,A) 特開 平4−170632(JP,A) D.A ヤング/川手恭輔,X To olkitプログラミング,日本,株式 会社トッパン,1995年 3月20日,第2 版,p.368−370 (58)調査した分野(Int.Cl.7,DB名) G09G 5/10 G06F 3/00 G06F 3/14 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-62-242989 (JP, A) JP-A-62-129885 (JP, A) JP-A-63-1103386 (JP, A) JP-A-4- 170632 (JP, A) A Young / Kyosuke Kawate, X Toolkit Programming, Japan, Toppan Co., Ltd., March 20, 1995, 2nd edition, p. 368-370 (58) Field surveyed (Int.Cl. 7 , DB name) G09G 5/10 G06F 3/00 G06F 3/14

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 大容量記憶媒体に格納されている描画デ
ータを画面DC上に書き込む描画処理を実行し、画面に対
応する座標系を有する画面DC上の描画データに基づき、
上記描画データに対応する画像を表示させるに際して、 画面DC上の描画データのうちブリンク表示させるべき画
像を示すブリンク該当データを、上記大容量記憶媒体か
ら、画面に対応する座標系を有するメモリDCに書き込む
描画処理を実行し、 所定時間おきに、画面DCを構成する各ビットとこれに対
応しておりメモリDCを構成する各ビットとの排他的論理
和を、画面DCにBitBlt転送することを特徴とするブリン
ク表示方法。
1. A drawing process for writing drawing data stored in a large-capacity storage medium on a screen DC is performed, and based on drawing data on the screen DC having a coordinate system corresponding to the screen.
When displaying an image corresponding to the drawing data, blinking data indicating an image to be blink-displayed among the drawing data on the screen DC is transferred from the large-capacity storage medium to the memory DC having a coordinate system corresponding to the screen. Executes drawing processing to write, and performs BitBlt transfer to the screen DC at predetermined intervals of exclusive OR of each bit configuring the screen DC and each corresponding bit configuring the memory DC Blink display method.
JP02766597A 1997-02-12 1997-02-12 Blink display method Expired - Fee Related JP3337934B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02766597A JP3337934B2 (en) 1997-02-12 1997-02-12 Blink display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02766597A JP3337934B2 (en) 1997-02-12 1997-02-12 Blink display method

Publications (2)

Publication Number Publication Date
JPH10222141A JPH10222141A (en) 1998-08-21
JP3337934B2 true JP3337934B2 (en) 2002-10-28

Family

ID=12227249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02766597A Expired - Fee Related JP3337934B2 (en) 1997-02-12 1997-02-12 Blink display method

Country Status (1)

Country Link
JP (1) JP3337934B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62129885A (en) * 1985-11-30 1987-06-12 株式会社東芝 Variable cursor pattern display unit
JPH0636142B2 (en) * 1986-04-15 1994-05-11 富士通株式会社 Display controller
JP2556484B2 (en) * 1986-10-20 1996-11-20 キヤノン株式会社 Figure contour extraction device
JP2906643B2 (en) * 1990-11-05 1999-06-21 富士ゼロックス株式会社 Document processing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
D.A ヤング/川手恭輔,X Toolkitプログラミング,日本,株式会社トッパン,1995年 3月20日,第2版,p.368−370

Also Published As

Publication number Publication date
JPH10222141A (en) 1998-08-21

Similar Documents

Publication Publication Date Title
US7746351B2 (en) Systems and methods for updating a frame buffer based on arbitrary graphics calls
US7889202B2 (en) Transparent multi-buffering in multi-GPU graphics subsystem
US6573904B1 (en) Method and apparatus in a data processing system for updating color buffer window identifies when an overlay window identifier is removed
US5430841A (en) Context management in a graphics system
US7890884B2 (en) Exclusive use display surface areas and persistently visible display of contents including advertisements
US5883634A (en) System and method for clipping pixels drawn in one of a plurality of windows in a computer graphics system
US7061498B2 (en) Screen display processing apparatus, screen display processing method and computer program
US20050012753A1 (en) Systems and methods for compositing graphics overlays without altering the primary display image and presenting them to the display on-demand
JPH07325930A (en) Movement system for mouse cursor follow-up type enlargement display
US6853381B1 (en) Method and apparatus for a write behind raster
JP2889149B2 (en) Image display control method and image display control device
JP3337934B2 (en) Blink display method
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
US6710777B1 (en) Method and apparatus in a data processing system for installing appropriate WID values for a transparent region
JP3238188B2 (en) Frame memory control device and frame memory control method
JP2810609B2 (en) Graphic display method and apparatus
JP2829051B2 (en) Character display method
JP2004191745A (en) Image display method, computer, and display driver
JP2991591B2 (en) Multi-window display device and method
JP2584143B2 (en) Image display device
JP3277903B2 (en) Multi-window high-speed drawing apparatus and multi-window high-speed drawing method
JPH11296159A (en) Menu display system and graphic display system
JPH06214749A (en) Plotting controller
JPH0520412A (en) Graphic display device
JPH083699B2 (en) Full graph display screen display method

Legal Events

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