JPH01283589A - Character string clip processing system - Google Patents

Character string clip processing system

Info

Publication number
JPH01283589A
JPH01283589A JP63113774A JP11377488A JPH01283589A JP H01283589 A JPH01283589 A JP H01283589A JP 63113774 A JP63113774 A JP 63113774A JP 11377488 A JP11377488 A JP 11377488A JP H01283589 A JPH01283589 A JP H01283589A
Authority
JP
Japan
Prior art keywords
character
character string
display area
coordinate
clip processing
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
JP63113774A
Other languages
Japanese (ja)
Inventor
Takahiro Ito
隆弘 伊藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63113774A priority Critical patent/JPH01283589A/en
Publication of JPH01283589A publication Critical patent/JPH01283589A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To perform the clip processing of a character string outside a display area by performing the clip processing of the character string for a character string frame reference point prior to the display processing of the character string. CONSTITUTION:A graphic form and character display device is equipped with a function for enlargement and coordinate transformation for character vector coordinate values outputted by a character pattern generating device and a function for the clip processing of respective coordinate points after the coordinate transformation, and a means which performs the clip processing of the character string outside the display area by making a clip decision on the character string with character string frame segments is provided. Namely, a character string frame vector is generated before character codes are converted into character coordinate vectors to decide whether or not the corresponding character string is in the display area, and when the character string is all outside the display area, the command processing of the character string is finished without converting the respective character codes into the character coordinate vectors. Consequently, the clip processing of the character string outside the display area is speeded up.

Description

【発明の詳細な説明】 [産業上の利用分野コ この発明は、図形・文字表示装置における文字列クリッ
プ処理方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character string clip processing method in a graphic/character display device.

[従来の技術] 第2図は従来のラスクスキャン型の図形・文字表示装置
の構成を示すブロック図である。図において、1はイン
タフェース回路、2はインタフェース回路1を通じて計
算機(図示しない)より送られた表示データ、表示コマ
ンドを内部フォーマットに変換する制御装置、3は内部
フォーマットに変換された表示データ、表示コマンドを
記憶する記憶装置、4は表示データの1つである文字コ
ードを入力することにより該当文字の文字ベクトル座標
値を出力する文字パターン発生装置である。
[Prior Art] FIG. 2 is a block diagram showing the configuration of a conventional rask scan type graphic/character display device. In the figure, 1 is an interface circuit, 2 is a control device that converts display data and display commands sent from a computer (not shown) through the interface circuit 1 into an internal format, and 3 is display data converted into an internal format and display commands. 4 is a character pattern generating device that outputs character vector coordinate values of a corresponding character by inputting a character code, which is one of the display data.

文字パターン発生装置4より出力されたデータは、制傅
装置2の指示に基づき座標変換回路5、クリップ回路6
を介して直線発生器7に与えられる。
The data output from the character pattern generator 4 is sent to a coordinate conversion circuit 5 and a clip circuit 6 based on instructions from the control device 2.
is applied to the straight line generator 7 via.

また、図中の8はフレームバッファ、9はCRT(陰極
線管)制御装置、10はCRT、11は人力機器である
Further, in the figure, 8 is a frame buffer, 9 is a CRT (cathode ray tube) control device, 10 is a CRT, and 11 is a human-powered device.

第3図は第2図の図形・文字表示装置による文字列のコ
マンド処理を示すフローチャートである。
FIG. 3 is a flowchart showing character string command processing by the graphic/character display device of FIG.

次に、上記従来の図形・文字表示装置による文字列コマ
ンド処理について説明する。制御装置2にて文字列コマ
ンドを受は取ると、文字列用座標変換パラメータ設定等
の事前処理を実行する。次に、文字列数をN回分記憶し
た記憶装置3より文字コードを読み出し、その文字コー
ドを文字パターン発生装置4へ人力し、この文字パター
ン発生装置4の出力であるところの該当文字の文字ベク
トル座標値を座標変換回路5へ送る。座標変換回路5に
て拡大、縮小、回転、移動の座標変換を行った後の該当
文字の文字ベクトル座標値は、表示領域の判定のために
クリップ回路6に人力され、このクリップ回路6による
文字列のクリップ処理の結果、CRT 10に表示され
る線分のみが直線発生器7に送られる。このようにして
文字コードをN回分処理して文字列のコマンド処理を終
了する。
Next, character string command processing by the conventional graphic/character display device will be described. When the control device 2 receives a character string command, it executes preliminary processing such as setting coordinate transformation parameters for character strings. Next, a character code is read from the storage device 3 that stores the number of character strings N times, and the character code is manually inputted to the character pattern generator 4, and the character vector of the corresponding character is output from the character pattern generator 4. The coordinate values are sent to the coordinate conversion circuit 5. The character vector coordinate values of the corresponding character after the coordinate conversion of enlargement, reduction, rotation, and movement are performed in the coordinate conversion circuit 5 are manually inputted to the clip circuit 6 to determine the display area, and the character vector coordinate values by this clip circuit 6 are As a result of column clipping, only the line segments displayed on the CRT 10 are sent to the line generator 7. In this way, the character code is processed N times and the character string command processing is completed.

[発明が解決しようとする課題] 上記従来の図形・文字表示装置は以上のように構成され
ているので、文字列のクリップ処理は各文字ベクトルご
とに行っていたから、第4図の文字列の表示例に示すよ
うに表示領域内の文字列が表示領域外の文字列に比べて
少ない場合、本来は不要であるべき表示領域外の文字列
の文字ベクトル座標値に対するクリップ処理に要する時
間が長くなり、その結果として全体の表示処理を行う時
間が長くかかるという問題点があった。
[Problems to be Solved by the Invention] Since the conventional graphic/character display device described above is configured as described above, the character string clipping process is performed for each character vector, so that the character string table shown in FIG. As shown in the example, when the number of character strings in the display area is smaller than the character strings outside the display area, the time required to clip the character vector coordinate values of the character strings outside the display area, which should not be necessary, increases. As a result, there is a problem in that it takes a long time to perform the entire display process.

この発明は上記のような問題点を解消するためになされ
たもので、表示領域外の文字列のクリップ処理を簡易に
、かつ高速で行う文字列クリップ処理方式を得ることを
目的とする。
The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a character string clipping method that easily and quickly clips character strings outside the display area.

[課題を解決するための手段] この発明に係る文字列クリップ処理方式は、文字列の表
示処理に先立って、文字列枠基準点に対して文字列のク
リップ処理を実施することにより、表示領域外の文字列
のクリップ処理を実行するようにしたものである。
[Means for Solving the Problems] A character string clip processing method according to the present invention clips a character string with respect to a character string frame reference point prior to display processing of a character string. It is designed to perform clipping processing on outside character strings.

[作用] この発明における文字列クリップ処理方式は、文字コー
ドを文字座標ベクトルに変換する取面ζこ文字列枠ベク
トルを作成することによって、あらかじめ該当文字列が
表示領域内にあるかどうかを判定し、該当文字列がすべ
て表示領域外の場合、各文字コードを文字座標ベクトル
に変換せずに文字列のコマンド処理を終了させることに
より、表示領域外の文字列のクリップ処理の高速化を図
るようにする。
[Operation] The character string clip processing method of the present invention determines in advance whether or not the relevant character string is within the display area by creating a character string frame vector that converts character codes into character coordinate vectors. However, if all relevant strings are outside the display area, the command processing for the string is terminated without converting each character code to a character coordinate vector, thereby speeding up the clipping process for strings outside the display area. do it like this.

[実施例コ 第5図(a)及び(b)は文字列枠の定義例を示す図で
ある。図において、PX、PY、Sは文字列表示基準点
9文字間隔で、座標変換時の移動項としてあらかじめ計
算されている値である。W。
[Example 5] FIGS. 5(a) and 5(b) are diagrams showing definition examples of character string frames. In the figure, PX, PY, and S are values that are calculated in advance as movement terms during coordinate transformation at character string display reference points at intervals of 9 characters. W.

Tは1文字の文字幅9文字高さて、座標変換時の拡大、
縮小項としてあらかじめ計算されている値である。Nは
文字列数である。文字列方向としては、第5図(a)及
び(b)に示すように横方向と縦方向があり、各文字列
枠は、 (PX、PY)。
T is the character width of 1 character and the height of 9 characters, expansion during coordinate conversion,
This is a value calculated in advance as a reduction term. N is the number of character strings. There are two character string directions, horizontal and vertical, as shown in Figures 5 (a) and (b), and each character string frame is (PX, PY).

(PX+A、PY)、  (PX+A、PY+B)。(PX+A, PY), (PX+A, PY+B).

(PX、PY+B)(7)4点で指定される。(PX, PY+B) (7) Specified with 4 points.

第1fflはこの発明の一実施例である文字列クリップ
処理方式において、文字列のコマンド処理を示すフロー
チャートである。この発明による文字列のコマンド処理
では、第5図(a)及び(b)に示す文字列表示基準点
(PX、PY)について座標変換、クリップ処理を行い
、これが表示領域内であれば上記した従来例と同様な文
字列の表示処理を実施する。文字列表示基準点(PX、
PY)が表示領域外の場合は、第1図に示すフローチャ
ートに従って文字列枠線分のクリップ処理を行い、文字
列枠線分の4本が表示領域内にかかった場合は、上記し
た従来例と同様な文字列の表示処理を実施する。文字列
枠線分がすべて表示領域外であれば該当文字列も表示領
域外であるので、この時点で文字コードのN個を読み捨
てて文字列のコマンド処理を終了する。
The first ffl is a flowchart showing character string command processing in a character string clip processing method according to an embodiment of the present invention. In the character string command processing according to the present invention, coordinate transformation and clip processing are performed on the character string display reference points (PX, PY) shown in FIGS. 5(a) and (b), and if this is within the display area, the above-mentioned The same character string display processing as in the conventional example is performed. Character string display reference point (PX,
If PY) is outside the display area, the character string frame lines are clipped according to the flowchart shown in Figure 1. If four character string frame lines fall within the display area, the conventional example described above is performed. Performs the same string display process as . If all the character string frame lines are outside the display area, the corresponding character string is also outside the display area, so at this point, N character codes are discarded and the character string command processing ends.

第5図(a)及び(b)では文字列表示基準点(PX、
PY)を図示のように定義したが、この文字列表示基準
点(PX、PY)が文字列枠のどの位置に存在しても第
5図(a)及び(b)に示すA、  Bの値の計算式が
変化するだけで、この発明による文字列クリップ処理方
式の実現は可能である。
In Figures 5(a) and (b), the character string display reference point (PX,
PY) is defined as shown in the figure, but no matter where this character string display reference point (PX, PY) is located in the character string frame, it is The character string clip processing method according to the present invention can be realized by simply changing the value calculation formula.

[発明の効果] 以上のように、この発明の文字列クリップ処理方式によ
れば、文字列の表示処理に先立って、文字列枠基準点に
対して文字列のクリップ処理を実施することにより、表
示領域外の文字列のクリップ処理を実行するようにした
ので、安価に、かつ高速に文字列のクリップ処理を施行
でき、全体の処理速度を短縮することができるという優
れた効果を奏するものである。
[Effects of the Invention] As described above, according to the character string clip processing method of the present invention, by clipping the character string with respect to the character string frame reference point prior to displaying the character string, Since clipping of strings outside the display area is performed, clipping of strings can be performed at low cost and at high speed, which has the excellent effect of shortening the overall processing speed. be.

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

第1図はこの発明の一実施例である文字列クリップ処理
方式において、文字列のコマンド処理を示すフローチャ
ート、第2図は従来のラスクスキャン型の図形・文字表
示装置の構成を示すブロック図、第3図は第2図の図形
・文字表示装置による文字列のコマンド処理を示すフロ
ーチャート、第4図は文字列の表示例を示す図、第5図
(a)及び(b)は文字列枠の定義例を示す図である。 図において、1・・・インタフェース回路、2・・・制
御装置、3・・・記憶装置、4・・・文字パターン発生
装置、5・・・座標変換回路、6・・・クリップ回路、
7・・・直線発生器、8・・・フレームバッファ、9・
・・CRT制譚制置装置O・・・CRT、11・・・人
力機器 である。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a flowchart showing character string command processing in a character string clip processing method that is an embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of a conventional rask scan type graphic/character display device. Figure 3 is a flowchart showing character string command processing by the graphic/character display device in Figure 2, Figure 4 is a diagram showing an example of character string display, and Figures 5 (a) and (b) are character string frames. It is a figure which shows the example of a definition. In the figure, 1... interface circuit, 2... control device, 3... storage device, 4... character pattern generator, 5... coordinate conversion circuit, 6... clip circuit,
7... Linear generator, 8... Frame buffer, 9...
...CRT control equipment O...CRT, 11...Man-powered equipment. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 文字コードを入力すると該当文字の文字ベクトル座標値
が出力される文字パターン発生装置より出力された文字
ベクトル座標値に対して、拡大、縮小、回転、移動の座
標変換を行う機能と、座標変換後の各座標点に対して表
示領域の判定によるクリップ処理を行う機能を備えた図
形・文字表示装置において、文字列のクリップ判定を文
字列枠線分にて行うことにより、表示領域外の文字列の
クリップ処理を実行する手段を備えたことを特徴とする
文字列クリップ処理方式。
When a character code is input, the character vector coordinate value of the corresponding character is output.The character vector coordinate value outputted from the character pattern generator has the function to perform coordinate transformation such as enlargement, reduction, rotation, and movement, and after coordinate transformation. In a graphic/character display device that has a function to perform clipping processing by determining the display area for each coordinate point, character strings outside the display area can be A character string clip processing method characterized by comprising means for performing clip processing.
JP63113774A 1988-05-11 1988-05-11 Character string clip processing system Pending JPH01283589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63113774A JPH01283589A (en) 1988-05-11 1988-05-11 Character string clip processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63113774A JPH01283589A (en) 1988-05-11 1988-05-11 Character string clip processing system

Publications (1)

Publication Number Publication Date
JPH01283589A true JPH01283589A (en) 1989-11-15

Family

ID=14620782

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63113774A Pending JPH01283589A (en) 1988-05-11 1988-05-11 Character string clip processing system

Country Status (1)

Country Link
JP (1) JPH01283589A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03106510U (en) * 1990-02-20 1991-11-05
JPH0696199A (en) * 1992-09-11 1994-04-08 Kazuo Toraichi Device and method for input/output of logo illustration data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03106510U (en) * 1990-02-20 1991-11-05
JPH0696199A (en) * 1992-09-11 1994-04-08 Kazuo Toraichi Device and method for input/output of logo illustration data

Similar Documents

Publication Publication Date Title
JPH01283589A (en) Character string clip processing system
JP2003162728A (en) Image processor and image outputting device
JP3146771B2 (en) Font rasterizing apparatus and method
JP2897876B2 (en) Code data expansion processing method
JP3214722B2 (en) Stroke character generator
JP2001005440A (en) Character data generating device
JP2652435B2 (en) Image display method
JPH0695642A (en) Device for generating character/sign pattern
JP3085396B2 (en) Vector font development method and device
JPH04162092A (en) Character generating system
JPS63311868A (en) Picture processing device
JPH01283679A (en) Circle clip processing system
JPH10143676A (en) Picture processor and method for processing the same and recording medium
JPH07140964A (en) Device for displaying image
JPS58113984A (en) Graphic display
JPH06119141A (en) Method and device for displaying numeric information
JPS619688A (en) Diagram generation system
JPH0546779A (en) Method for filling rectangular area
JPH0281095A (en) System for displaying characters on graphic screen
JPH01156881A (en) Plotting method for stroke character
JPH05216458A (en) Character pattern data converter
KR19990032083A (en) Triangular pixel graphic display device and coordinate transformation method of graphic data
JPH07220107A (en) Graphic processor
JPS6398079A (en) Graphic display device
JPS63208172A (en) Graphic information correcting system