JPH03155593A - Graphic display device - Google Patents

Graphic display device

Info

Publication number
JPH03155593A
JPH03155593A JP1293967A JP29396789A JPH03155593A JP H03155593 A JPH03155593 A JP H03155593A JP 1293967 A JP1293967 A JP 1293967A JP 29396789 A JP29396789 A JP 29396789A JP H03155593 A JPH03155593 A JP H03155593A
Authority
JP
Japan
Prior art keywords
character
command
command block
graphic
coordinate
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
JP1293967A
Other languages
Japanese (ja)
Inventor
Kazuo Abe
阿部 一夫
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1293967A priority Critical patent/JPH03155593A/en
Publication of JPH03155593A publication Critical patent/JPH03155593A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten plotting time as a whole by preserving the command block and the leading address of a character when the character is converted to a command block, and attaching a mark on a bit table corresponding to a character code. CONSTITUTION:A command block preservation area 14 to preserve plural command blocks, and the bit table 12 corresponding to the character code to set the mark representing the preservation of the command block are provided. At such a case, when the mark is attached on the bit table 12 corresponding to a supplied character, it shows the fact that the command block for the plotting of the character is already converted and preserved, therefore, it is enough to take out the leading address of the command block from a command index table 13 in which the character code is set as an index, and to supply it to a graphic processor. Thereby, it is possible to omit the coordinate transformation of the coordinate data of the character and conversion to the command block when an image is processed in such a way that the same character with the same size is plotted repeatedly, which shortens the plotting time as a whole.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は、一般産業設備の監視や制御のために使用され
るグラフィック表示装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a graphic display device used for monitoring and controlling general industrial equipment.

(従来の技術) 一般にグラフィック表示装置は、第8図の構成をとる。(Conventional technology) Generally, a graphic display device has the configuration shown in FIG.

ホストコンピュータ1から伝送制御装置!2を介して図
形描画コマンドを受信すると、CPU3では、コマンド
を解読し、フローティングプロセッサ4で座標変換を行
い、グラフィックプロセッサ5により、フレームメモリ
6A上に図形を描画する。
Transmission control device from host computer 1! When a graphic drawing command is received via the CPU 2, the CPU 3 decodes the command, the floating processor 4 performs coordinate transformation, and the graphic processor 5 draws the graphic on the frame memory 6A.

フレームメモリ6Aに描画された図形は、ビデオインタ
フェース回路7によって、デイスプレィモニタ8上に表
示される。
The graphics drawn in the frame memory 6A are displayed on the display monitor 8 by the video interface circuit 7.

このようなグラフィック表示装置は、文字の拡大、縮小
を行うために、文字をXとyの座標点で表した、いわゆ
るストロークフォントが用いられる(第5図)。
Such graphic display devices use so-called stroke fonts in which characters are represented by X and y coordinate points in order to enlarge or reduce the characters (FIG. 5).

ストロ−フォントメモリ6Bには、全文字の座標点が格
納されているデータテーブル51と、文字コード順に、
文字コードに対応するデータテーブル内の座標データの
先頭アドレスを示すインデックステーブル50とから成
っている(第6図)。
The straw font memory 6B includes a data table 51 storing coordinate points of all characters, and a data table 51 storing the coordinate points of all characters, in order of character code.
It consists of an index table 50 indicating the start address of coordinate data in the data table corresponding to the character code (FIG. 6).

データテーブル51は、漢字JIS第一、第二水準で、
約6600文字あり、一般にはメモリ容量を減らすため
に、圧縮された形で格納される場合が多い。
The data table 51 is kanji JIS 1st and 2nd level.
It has approximately 6,600 characters and is generally stored in compressed form to reduce memory capacity.

また、データテーブル51には、座標データの他。In addition, the data table 51 includes coordinate data.

制御コードも格納されている。制御コードには、ペンア
ップコード、ペンダウンコード、−文字分のデータ終了
コードがある。
Control codes are also stored. The control codes include a pen up code, a pen down code, and a data end code for - characters.

又、座標データは、−成約に、拡大しても美しい字体に
するためには、多くの点の座標データを持つことが必要
である。
Moreover, the coordinate data needs to have coordinate data of many points in order to make the font beautiful even when enlarged.

ストロ−フォントを描画する手順を第7図を用いて説明
する。
The procedure for drawing a straw font will be explained using FIG. 7.

はじめに、与えられた文字コードをインデックスとして
、インデックステーブルからデータテーブルの先頭アド
レスを取り出す(Sl)。
First, the start address of the data table is extracted from the index table using the given character code as an index (Sl).

次に、取り出したテーブルの先頭から順にデータを取り
出してい< (S2.S3.S4)、もしペンアップコ
ードなら描画フラグをFALSEとしくS5.S6) 
、ペンダウンコードなら描画フラグをTRUEとする(
S7.S8)。
Next, data is retrieved in order from the top of the retrieved table (S2.S3.S4), and if it is a pen-up code, the drawing flag is set to FALSE and S5. S6)
, if it is a pen down code, set the drawing flag to TRUE (
S7. S8).

又、座標データなら、座標変換後、描画フラグをチエツ
クしくS9.SIO,5ll) 、FALSEなら指定
の座標へ描画位置を移動するためのMOVE命令を格納
し、その次のアドレスに座標データを格納する(S13
)。もし、TRUEなら現在の描画位置から指定の座標
へ線を描画するためLINE命令を格納し、その次のア
ドレスに座標データを格納する(S12)。この処理を
一文字の終了コードが取り出されるまでくりかえす。−
文字の終了コードなら、END命令を格納しく515)
、コマンドブロックの先頭アドレスをグラフィックプロ
セッサにセットすることで(S16)、グラフィックプ
ロセッサがコマンドを解読しながら描画する。
If it is coordinate data, check the drawing flag after coordinate conversion in S9. SIO, 5ll), if FALSE, stores a MOVE command to move the drawing position to the specified coordinates, and stores the coordinate data at the next address (S13
). If TRUE, a LINE command is stored to draw a line from the current drawing position to the specified coordinates, and coordinate data is stored at the next address (S12). This process is repeated until one character of the end code is extracted. −
If it is a character end code, store the END command (515)
By setting the start address of the command block in the graphics processor (S16), the graphics processor draws while decoding the command.

座標変換処理の一般形は、データテーブルから取り出し
た座標(x+y)−座標変換後の座標を(x’+y’)
とすると、次のように表される。
The general form of coordinate conversion processing is: coordinates extracted from the data table (x+y) - coordinates after coordinate conversion (x'+y')
Then, it is expressed as follows.

x’ =ax+by+ c y’ =dx十ey+ f そして、これらの計算は、浮動小数演算が使われる。x' = ax + by + c y' = dx 1 ey + f These calculations use floating point arithmetic.

このように、従来の方式では、文字を描画する度に、全
ての座標点の座標変換とグラフィックコマンドへの変換
と描画処理を行っていた。
In this manner, in the conventional method, every time a character is drawn, coordinate conversion of all coordinate points, conversion to graphic commands, and drawing processing are performed.

(発明が解決しようとする課題) ところで、このような監視用の表示では、使用する文字
の種類や大きさは、表示画面毎にある程度限定されるこ
とが多い。
(Problems to be Solved by the Invention) Incidentally, in such monitoring displays, the types and sizes of characters used are often limited to some extent for each display screen.

又、座標変換処理は、1点あたり浮動小数点演算での乗
算4回と加算6回と、描画処理時間に対して大きなオー
バーヘッドになっている。
Further, the coordinate conversion process requires four multiplications and six additions in floating point calculations per point, which is a large overhead relative to the drawing processing time.

しかしながら、上記方式では、描画する文字が同じで、
かつ、前回描画時と同じ大きさでも常に全ての座標変換
とグラフィックコマンドへの変換処理を行っていたため
、全体の描画時間の大きなオーバヘッドになっていた。
However, in the above method, the characters to be drawn are the same,
Furthermore, even if the size is the same as the previous drawing, all coordinate transformations and conversion processing to graphic commands are always performed, resulting in a large overhead in the overall drawing time.

このような、監視用の表示はマンマシンの対話性を良く
するためにできるだけ高速に表示する必要があり、この
ようなオーバヘッドは最小限に抑えなければならない。
Such monitoring displays must be displayed as quickly as possible to improve man-machine interactivity, and such overhead must be minimized.

そこで、本発明は文字をコマンドブロックに変換した時
、その文字のコマンドブロックとその先頭アドレスを保
存しておくと共に、文字コードに対応したビットテーブ
ルに印を付加しておき1文字を描画する際、その文字コ
ードに対応するビットテーブルに印が付加されていたら
、保存してあるコマンドブロックをグラフィックプロセ
ッサに与えることにより、文字の座標点の座標変換処理
とコマンドブロックへの変換処理を省略することにより
1文字を高速に描画することを可能にし、マンマシン性
の向上を図ったグラフィック表示装置を提供することに
ある。
Therefore, when a character is converted into a command block, the present invention saves the command block of that character and its start address, and also adds a mark to the bit table corresponding to the character code. , if a mark has been added to the bit table corresponding to that character code, by giving the saved command block to the graphics processor, the coordinate conversion process of the character coordinate point and the conversion process to a command block can be omitted. It is an object of the present invention to provide a graphic display device that can draw one character at high speed and improves man-machine performance.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 本発明は、図形や文字の拡大や縮小可能なグラフィック
表示装置において、ストロークフォントを具備し一度描
画した文字のコマンドブロックを保存しておくことによ
り、再度、同じ文字を描画しようとした時は、その文字
の座標変換処理とコマンドブロックへの変換処理を省略
することを特徴とする。
(Means for Solving the Problems) The present invention provides a graphic display device capable of enlarging and reducing figures and characters, which is equipped with a stroke font and saves a command block of a character once drawn, so that the same image can be displayed again. The present invention is characterized in that when attempting to draw a character, the coordinate conversion process and the conversion process of the character into a command block are omitted.

(作 用) これにより、保存してあるコマンドブロックに対応する
文字に対する係る処理を省略することができる。
(Function) This makes it possible to omit the processing for characters corresponding to the saved command block.

(実施例) 以下、本発明の一実施例を説明する。第1図は本発明の
グラフィック表示装置のデータテーブルを示すもので、
本発明においては、複数のコマンドブロックを保存する
ためのコマンドブロック保存領域14とコマンドブロッ
クを保存してあることを示す印をセットするための文字
コードに対応するビットテーブル12を設ける。これら
は、第7図においてはメモリ■に内蔵されるものである
(Example) An example of the present invention will be described below. FIG. 1 shows a data table of the graphic display device of the present invention.
In the present invention, a command block storage area 14 for storing a plurality of command blocks and a bit table 12 corresponding to a character code for setting a mark indicating that a command block is stored are provided. These are included in the memory (2) in FIG.

コマンドブロック保存領域14の大きさは、同じ大きさ
のまま描画する文字の種類だけ用意するが200〜30
0種類の文字分あれば十分な場合が多い。
The size of the command block storage area 14 is 200 to 30, although only the types of characters to be drawn are prepared at the same size.
In many cases, it is sufficient to have 0 types of characters.

そして、はじめに、与えられた文字コードに対応するビ
ットテーブルを調べ(Sl、S2) 、印がなかったら
与えられた文字コードをインデックスとして、インデッ
クステーブルからデータテーブルの先頭アドレスを取り
出す(S3)。次に、データテーブル内の指定の先頭ア
ドレスがら順にデータを取り出してい<  (S4.S
5,86)。
First, the bit table corresponding to the given character code is checked (S1, S2), and if there is no mark, the start address of the data table is extracted from the index table using the given character code as an index (S3). Next, data is retrieved in order from the specified start address in the data table.
5,86).

そして、コマンドブロック保存領域の空きエリアの先頭
から、順にグラフィックコマンドに変換した結果を格納
していく。
Then, the results of conversion into graphic commands are stored in order from the beginning of the free area of the command block storage area.

もし、取り・出したデータがペンアップコードなら、描
画フラグをF A L S E ニする(S6,513
)。
If the retrieved data is a pen-up code, set the drawing flag to FALSE (S6, 513).
).

もし、ペンダウンコードなら描画フラグをTRUEにす
る(S7,514)。
If it is a pen down code, the drawing flag is set to TRUE (S7, 514).

取り出したデータが座標データなら、座標変換しくS8
.S9)、まず、描画フラグをチエツクする(S10)
 、セットされていなければグラフィックコマンド領域
にMOVE命令を格納し、次に座標データを格納する(
S12)。描画フラグがセットされていたら、グラフィ
ックコマンド領域にLINE命令を格納し、次に座標デ
ータを格納する(Sll)。これらの処理を、−文字の
終了コードを取り出されるまでくりかえす(S15.S
3゜S4.S5)。−文字の終了コードが取り出された
らグラフィックコマンド領域にEND命令を格納した後
(S19)、ここで変換した一文字のグラフィックコマ
ンド列の先頭アドレスを文字コードをインデックスとす
るコマンドインデックステーブルに保存すると共に文字
コードに対応するビットテーブルに印を付加する(31
6.517)。そして、グラフィックコマンド列をグラ
フィックプロセッサに与える(S20)  (第2図)
。グラフィックプロセッサはコマンドブロックを逐次解
読しながら描画を行う。
If the retrieved data is coordinate data, perform coordinate conversion in S8.
.. S9), First, check the drawing flag (S10)
, if it is not set, stores the MOVE command in the graphic command area, then stores the coordinate data (
S12). If the drawing flag is set, a LINE command is stored in the graphic command area, and then coordinate data is stored (Sll). These processes are repeated until the - character end code is extracted (S15.S
3°S4. S5). - When the end code of a character is retrieved, an END command is stored in the graphic command area (S19), and the start address of the one-character graphic command string converted here is saved in the command index table that uses the character code as an index, and the character Add a mark to the bit table corresponding to the code (31
6.517). Then, the graphic command sequence is given to the graphic processor (S20) (Figure 2)
. The graphics processor performs drawing while sequentially decoding command blocks.

次に、与えられた文字コードに対応するビットテーブル
に印が付加されている時は、その文字の描画のためのコ
マンドブロックは既に変換されて保存しているため、文
字コードをインデックスとするコマンドインデックステ
ーブルから、コマンドブロックの先頭アドレスを取り出
しくS2,518)、グラフィックプロセッサに与える
だけでよい(820)。
Next, when a mark is added to the bit table corresponding to a given character code, the command block for drawing that character has already been converted and saved, so the command that uses the character code as an index It is only necessary to extract the start address of the command block from the index table (S2, 518) and provide it to the graphics processor (820).

このように、本発明ではデータを第3図のフローチャー
トに従って描画する。
In this way, in the present invention, data is drawn according to the flowchart in FIG.

以上のようなホストコンピュータからの文字描画コマン
ドの他、文字の大きさを変えるコマンドも用意されてい
る。このコマンドは第4図のフローチャートに従って処
理される。このコマンドがホストコンピュータから受信
されたら、指定の文字サイズになるように、座標変換係
数a ” fを変更すると共に(Sl)、保存してある
コマンドブロックが無効になるため、ビットテーブルを
クリアする(S2)。
In addition to the above-mentioned character drawing commands from the host computer, commands for changing the size of characters are also available. This command is processed according to the flowchart in FIG. When this command is received from the host computer, change the coordinate conversion coefficients a"f so that the specified character size is reached (Sl), and clear the bit table since the saved command block will become invalid. (S2).

このように本実施例によれば、既に描画した文字のコマ
ンドブロックを保存しておくことにより、同じ大きさで
同じ文字が何度も描画されるような画面の場合は、文字
の座標データの座標変換や、コマンドブロックへの変換
を省略できるため、全体の描画時間が短縮できることに
なる。
In this way, according to this embodiment, by saving command blocks of characters that have already been drawn, if the same character is drawn many times in the same size, the coordinate data of the character can be saved. Since coordinate conversion and conversion to command blocks can be omitted, the overall drawing time can be shortened.

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

以上のように本発明によれば、全体の描画時間が短縮で
きることになり、マンマシン性の向上が図れることにな
る。
As described above, according to the present invention, the overall drawing time can be shortened, and man-machine performance can be improved.

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

第1図は本発明のグラフィック表示装置のテーブルの説
明図、第2図は一文字のグラフィックコマンドブロック
の説明図、第3図は本発明のテーブルを用いて描画する
ためのフローチャート、第4図は文字サイズ変更による
ビットテーブルをクリアするためのフローチャート、第
5図はストロークフォントの字体の説明図、第6図はス
トロークフォントのインデックステーブルとデータテー
ブルの説明図、第7図は従来のストロークフォントを描
画するためのフローチャート、第8図はグラフィック表
示装置の構成図である。 10・・・インデックステーブル、 11・・・データテーブル、 12・・・ビットテーブル、 13・・・コマンドインデックステーブル、14・・・
コマンドブロック保存領域、40・・・インデックステ
ーブル、 41・・・データテーブル、 42・・・データテーブル内の座標データ、43・・・
X座標。 44・・・X座標、 45・・・データテーブル内の制御コード、50・・・
インデックステーブル。 51・・・データテーブル。
Fig. 1 is an explanatory diagram of a table of the graphic display device of the present invention, Fig. 2 is an explanatory diagram of a single character graphic command block, Fig. 3 is a flowchart for drawing using the table of the present invention, and Fig. 4 is an explanatory diagram of a graphic command block of a single character. A flowchart for clearing the bit table by changing the font size. Figure 5 is an explanatory diagram of the stroke font font. Figure 6 is an explanatory diagram of the index table and data table of the stroke font. Figure 7 is an illustration of the conventional stroke font. A flowchart for drawing, FIG. 8 is a block diagram of a graphic display device. 10... Index table, 11... Data table, 12... Bit table, 13... Command index table, 14...
Command block storage area, 40... Index table, 41... Data table, 42... Coordinate data in the data table, 43...
X coordinate. 44...X coordinate, 45...Control code in data table, 50...
Index table. 51...Data table.

Claims (1)

【特許請求の範囲】[Claims] 図形や文字の拡大および縮小可能なグラフィック表示装
置において、ストロークフォントと文字コードに対応し
たビットテーブル、グラフィックコマンドブロック保存
領域を具備し、描画時にストロークフォントの座標デー
タを取り出し、座標変換後、グラフィックコマンド列に
変換し、描画するとき、その文字コードに対応したビッ
トテーブルの該当ビットをセットすると共に、グラフィ
ックコマンド列をグラフィックコマンドブロック保存領
域に保存し、その先頭アドレスを記憶しておくことによ
り、再度同じ文字を前回と同じ大きさで描画する時は、
座標データをグラフィックコマンド列に変換することな
く、既に保存してあるグラフィックコマンド列を使用す
ることにより、係る座標変換処理、グラフィックコマン
ド列への変換を省略することを特徴とするグラフィック
表示装置。
A graphic display device capable of enlarging and reducing figures and characters, which is equipped with a bit table corresponding to stroke fonts and character codes and a graphic command block storage area, extracts coordinate data of stroke fonts during drawing, and after coordinate conversion, displays graphic commands. When converting to a string and drawing, you can set the corresponding bit in the bit table corresponding to the character code, save the graphic command string in the graphic command block storage area, and memorize its start address. When drawing the same character in the same size as the previous time,
A graphic display device characterized in that the coordinate conversion process and the conversion into a graphic command string are omitted by using an already saved graphic command string without converting coordinate data into a graphic command string.
JP1293967A 1989-11-14 1989-11-14 Graphic display device Pending JPH03155593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1293967A JPH03155593A (en) 1989-11-14 1989-11-14 Graphic display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1293967A JPH03155593A (en) 1989-11-14 1989-11-14 Graphic display device

Publications (1)

Publication Number Publication Date
JPH03155593A true JPH03155593A (en) 1991-07-03

Family

ID=17801510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1293967A Pending JPH03155593A (en) 1989-11-14 1989-11-14 Graphic display device

Country Status (1)

Country Link
JP (1) JPH03155593A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013120438A (en) * 2011-12-06 2013-06-17 Sony Computer Entertainment Inc Graphics command generation device and graphics command generation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013120438A (en) * 2011-12-06 2013-06-17 Sony Computer Entertainment Inc Graphics command generation device and graphics command generation method

Similar Documents

Publication Publication Date Title
JPS63200230A (en) Graphic display adaptor
US6344856B1 (en) Text optimization
JPH03155593A (en) Graphic display device
JPH02168298A (en) Graphic display device
JPS63271672A (en) Graphic output controller
CN115938264A (en) Display preprocessing method and system for SPI bus driving display screen
JPH0610447Y2 (en) Image processing device
JPH02271424A (en) Full graphic picture display system
JPS6257031B2 (en)
JPH04255896A (en) Drawing system for character
JPS6139160A (en) Graphic element retrieval processing system
JPH0311396A (en) Character display system
JPS62157970A (en) Graphic edition system
JPS63204295A (en) Data display device
JPH06242770A (en) Display screen controller
JPH04246691A (en) Character enlargement display device
JPS63200193A (en) Graphic display device
JPS60222890A (en) Multiwindow control system for bit map display
JP2000194796A (en) Handwriting character recognizing device and character input method for handwriting character recognition
JPH03132873A (en) Display system for page retrieval
JPS63195696A (en) Fast lithography
JPS61214683A (en) Data converter
JPH03182797A (en) Plotting system
JPH07181957A (en) Image processor
JPH06214547A (en) Graphic display device and scroll method for display screen