JPH06110442A - Character and figure processor and method for deforming character of figure - Google Patents

Character and figure processor and method for deforming character of figure

Info

Publication number
JPH06110442A
JPH06110442A JP4257774A JP25777492A JPH06110442A JP H06110442 A JPH06110442 A JP H06110442A JP 4257774 A JP4257774 A JP 4257774A JP 25777492 A JP25777492 A JP 25777492A JP H06110442 A JPH06110442 A JP H06110442A
Authority
JP
Japan
Prior art keywords
character
deformation
graphic
area
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.)
Pending
Application number
JP4257774A
Other languages
Japanese (ja)
Inventor
Ritsuko Hosoya
律子 細谷
Tsukasa Yamauchi
司 山内
Yasumasa Matsuda
泰昌 松田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4257774A priority Critical patent/JPH06110442A/en
Publication of JPH06110442A publication Critical patent/JPH06110442A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide the device which easily performs complex deformation wherein a fold and a shift are present and also prevents an annoying hard-to-see display when a character and a figure are superimposed on a pattern and a background. CONSTITUTION:A device which deforms an outline figure and a character font by coordinate movement arithmetic is provided with a means 5 which selects plural figures to be deformed, a means 12 which specifies deformation areas of the object figures, and a means 7 which deforms the object figures into desired deformed shape after processing them and also has a means 106 which corrects outline data on a figure overlapping with a border line when there is the border line in the desired deformed shape and a means 16 which fringes the figure in a different color from the figure and draws it when the figure is displayed on the pattern. Therefore, associative figures and a character string can be deformed at a time having a fold and a shift irrelevantly to their quantities and even when the characters and figures are displayed on the pattern and background image, the figures and characters are fringed and displayed in an easy-to-see state.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、図形処理システムやワ
ープロのイラスト作成機能、DTPシステムなど、図形
や文字の入ったドキュメントを作成編集する文字図形処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character / graphics processing apparatus, such as a graphic processing system, an illustration creating function of a word processor, a DTP system, etc., for creating and editing a document containing graphics and characters.

【0002】[0002]

【従来の技術】DTPシステム(Desk Top Publishing
System:ディスクトップ型の電子出版システム),ワー
ドプロセッサ,CADシステム(Computer Aided Disig
n System)等のコンピュータグラフィックス装置でよく
使用されるアウトラインフォント文字や図形は、文字や
図形の輪郭線を代表的に表すサンプル点を算出し、その
サンプル点を通る直線や曲線の線分で近似し、その線分
を発生させるためのベクトル座標点や制御コードの集合
をデータとして記憶している。
2. Description of the Related Art DTP system (Desk Top Publishing
System: Desktop electronic publishing system), word processor, CAD system (Computer Aided Disig)
For outline font characters and figures that are often used in computer graphics devices such as n System), sample points that represent the outlines of the characters and figures are typically calculated, and straight lines and curved line segments that pass through the sample points are calculated. A set of vector coordinate points and control codes for approximating and generating the line segment is stored as data.

【0003】これは、ドットイメージで記憶する場合と
比べ、高い圧縮率が得られると共に、フォントのパラメ
ータが、ある大きさの座標平面上のベクトル点として表
現されるので、拡大縮小等の数値演算をフォントデータ
のベクトル点に行い、その結果を直線や曲線で補完して
展開することにより、品質低下が無く、滑らかな輪郭の
拡大縮小文字等を得ることができる。このようなアウト
ラインデータの変形については、特開昭64−7987
7号公報、特開平2−296292号公報等に記載され
ている。
This is because a higher compression rate can be obtained and the font parameters are expressed as vector points on a coordinate plane of a certain size, as compared with the case of storing as a dot image, so that numerical calculation such as enlargement / reduction is performed. Is applied to a vector point of the font data, and the result is complemented with a straight line or a curved line and expanded, so that a smooth enlarged / reduced character with a smooth contour can be obtained without quality deterioration. Regarding such modification of outline data, Japanese Patent Laid-Open No. 64-7987
No. 7, JP-A-2-296292, and the like.

【0004】そこで、本発明者らは、文字列や図形全体
をある規則性によって比較的簡単にこのような変形を行
うことができる文字図形変形処理装置を先に発明し、特
願平3−291734号「文字図形変形処理装置」とし
て出願している。
Therefore, the inventors of the present invention first invented a character / graphics deformation processing device capable of relatively easily deforming a character string or an entire graphic according to a certain regularity. No. 291734 “Character / figure deformation processing device” has been filed.

【0005】[0005]

【発明が解決しようとする課題】ここで、ベクトル表示
方式の文字や記号,図形等をある背景図形の上に並べた
文書を作成する場合、背景となる図形を作成またはデー
タベースなどから読みだして表示し、その上に文書や記
号を並べて作成することが必要となる。しかし、このよ
うにして作成した文書は、例えば、背景図形に上に書く
文字と同じ色の模様が付いていた場合には上に書いた文
字が読みにくくなる。また、背景の図形が角ばってい
て、その角の上に文字や図形を書き込みたいときには、
角や折り目の付いた図形や文字を新たに作らなくてはな
らなかった。
When creating a document in which characters, symbols, figures, etc. of the vector display system are arranged on a certain background figure, the figure as the background is created or read from a database or the like. It is necessary to display it and arrange documents and symbols on it. However, in the document created in this way, for example, when the background graphic has a pattern of the same color as the characters written above, the characters written above become difficult to read. Also, if the background graphic is square and you want to write a character or graphic on that corner,
I had to make new figures and letters with corners and creases.

【0006】本発明の目的は、文字列や図形群全体を見
やすく表示することが可能な文字図形処理装置を提供す
ることにある。
An object of the present invention is to provide a character / graphics processing apparatus capable of displaying the entire character string or graphic group in an easy-to-see manner.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
本発明の文字図形処理装置は、文字または図形を表示領
域上に表示する表示装置、前記文字または図形をベクト
ル形式でコード化するアウトラインデータを、前記表示
装置に表示するためのドット形式でコード化されたパタ
ーンデータに変換する表示変換手段、前記アウトライン
データを記憶するための記憶手段、外部からの指示によ
り、変形対象となる文字または図形を指定する変形対象
指定手段、変形対象として指定された前記文字または図
形を全て中に含む表示領域上のある領域を、変形領域と
して設定する変形領域設定手段、外部からの指示で前記
変形領域の変形形状を指定する変形指定手段、前記変形
領域中にある前記文字または図形のアウトラインデータ
を前記記憶手段から読み出し、前記変形領域中の前記文
字または図形のアウトラインデータの座標点情報につい
て変形演算を行い、設定された前記変形領域を前記変形
手段によって指定された前記変形形状に変形する変形手
段、および前記変形形状と変形された前記文字または図
形のアウトラインデータを前記表示変換手段によりパタ
ーンデータに変換し、前記表示装置に表示する第1の変
形表示変換手段を有する。
To achieve the above object, a character / graphics processing device of the present invention is a display device for displaying a character or a graphic on a display area, and outline data for coding the character or the graphic in a vector format. Is converted into dot-coded pattern data for display on the display device, display conversion means, storage means for storing the outline data, and a character or figure to be transformed by an external instruction. Deformation object designating means for designating a deformation area, deformation area setting means for setting a certain area on the display area including all the characters or figures designated as the deformation object as a deformation area, Deformation designation means for designating a transformed shape, outline data of the character or figure in the transformation area is stored in the storage means. Deformation means for reading out, performing a transformation operation on coordinate point information of outline data of the character or graphic in the transformation area, and transforming the set transformation area into the transformation shape designated by the transformation means; and the transformation. It has first modified display conversion means for converting the outline data of the shape or the deformed character or graphic into pattern data by the display conversion means and displaying the pattern data on the display device.

【0008】また、前記第1の変形表示変換手段の代わ
りに、前記変形形状と変形された前記文字または図形の
アウトラインデータを前記表示変換手段によりパターン
データに変換し、前記文字または図形のドット形式でコ
ード化されたパターンデータの周りを縁取る縁取り図形
についてドット形式のパターンデータを作成し、前記パ
ターンデータを前記表示装置に表示する第2の変形表示
変換手段を有する。
Further, instead of the first modified display conversion means, the outline data of the deformed shape and the deformed character or graphic is converted into pattern data by the display conversion means, and the dot format of the character or graphic is converted. The second modified display conversion means is provided for creating pattern data in a dot format with respect to the edging figure that surrounds the pattern data coded in 1. and displaying the pattern data on the display device.

【0009】また、文字または図形の変形処理方法とし
て、文字または図形をベクトル形式でコード化するアウ
トラインデータをドット形式でコード化されたパターン
データに変換し、表示領域上に表示するステップ、外部
からの指示により変形対象となる前記表示領域上の文字
または図形を指定するステップ、変形対象として指定さ
れた前記文字または図形を全て中に含む前記表示領域上
のある領域を変形領域として設定するステップ、外部か
らの指示で前記変形領域の変形形状を指定するステッ
プ、前記変形領域中の前記文字または図形のアウトライ
ンデータの座標点情報について変形演算を行うステッ
プ、設定された前記変形領域を前記変形形状に変形する
ステップ、前記変形演算するステップにおいて算出され
た前記文字または図形についてのアウトラインデータを
表示形式データに変換し、前記表示領域上に表示するス
テップを有する。
Further, as a character or graphic transformation method, a step of converting outline data for coding a character or graphic in vector format into pattern data coded in dot format and displaying it on a display area, from the outside. The step of designating a character or graphic on the display area to be transformed by the instruction of, a step of setting a certain area on the display area including all of the letters or graphics designated as the modification target as a transformation area, A step of designating a deformed shape of the deformed area by an instruction from the outside, a step of carrying out a deforming operation on coordinate point information of outline data of the character or a figure in the deformed area; Deformation step, the character or figure calculated in the transformation calculation step Converting the outline data about the display format data, comprising displaying on the display area.

【0010】[0010]

【作用】本発明によれば、ベクトル表示方式の図形や文
字にある境界線を境に分割した各々の部分にそれぞれ異
なった変形を行い、変形を行う前に境界線上の図形デー
タが補正することにより、図形に折り目や角の付いた変
形を行なえる。また、図形の周りを囲む図形とは異なる
色の枠を自動的に生成し表示することにより、模様や背
景の上に図形を配置して、図形が見えにくくなることを
防ぐ。また、図形のベクトル座標データの内、境界線上
を横切る線分を検索して、境界線と該線分の交わる座標
点を算出し図形のデータに加えることにより、折り目や
角の在る形状を表現できる。また、表示する図形より一
回り太い図形を作成し、まず、図形の表示位置に図形と
は異なる色で描画し、その上に図形を重ねて描画するこ
とによって、縁取りを付け、模様や背景の上の図形や文
字を見やすく表示する。
According to the present invention, different deformations are made to respective parts divided by a boundary line in a vector display type graphic or character, and the graphic data on the boundary line is corrected before the deformation. This allows you to transform shapes with creases and corners. Further, by automatically generating and displaying a frame having a color different from that of the figure surrounding the figure, it is possible to prevent the figure from being difficult to see by arranging the figure on the pattern or the background. In addition, by searching for a line segment that crosses the boundary line in the vector coordinate data of the figure, calculating the coordinate point where the boundary line and the line segment intersect and adding it to the data of the figure, the shape with folds or corners can be obtained. Can be expressed. Also, create a shape that is slightly thicker than the shape to be displayed, first draw in a different color from the shape at the display position of the shape, and then draw the shape on top of it to draw a border and add a border. Display the above figures and letters so that they are easy to see.

【0011】[0011]

【実施例】図1は本発明の1実施例を示す装置のブロッ
ク図である。本装置は、ユーザからの指示を伝える入力
部1と、入力部1から入力された指示に従い装置の各ユ
ニットに制御信号を送る入力インターフェース部2と、
データ記憶部4に格納されている図形データや文字デー
タを入力部からの指示に従って検索し読みだすデータ選
択部3と、表示装置に表示する文字や図形の表示情報を
記憶するデータバッファ6と、ユーザの指定した形状に
図形や文字を加工するためのパラメータを設定する変形
指定部5と、該設定されたパラメータを受け取って図形
や文字データを加工する変形部7と、加工したデータを
格納するデータバッファ8と、ある範囲内の文字や図形
を一度に扱う場合に範囲領域を設定する領域設定部12
と、表示する文字や図形の大きさを整える拡大縮小部1
3と、表示する図形の位置を自動的に設定するための表
示位置設定部14と、加工した文字や図形の枠データを
生成する縁取り作成部16と、文字や図形データ、枠デ
ータなどを表示するためにビットマップメモリ等の表示
バッファ10上にドットデータ展開する展開部9、表示
バッファ10上のデータを表示する表示部11からな
る。また変形部7は、変形演算部100と、相対位置算
出部101、位置加算部102、位置減算部105、境
界補正部106から構成される。
1 is a block diagram of an apparatus showing an embodiment of the present invention. The apparatus includes an input unit 1 for transmitting an instruction from a user, an input interface unit 2 for transmitting a control signal to each unit of the apparatus according to an instruction input from the input unit 1,
A data selection unit 3 for searching and reading out graphic data or character data stored in the data storage unit 4 according to an instruction from an input unit; a data buffer 6 for storing display information of characters or graphics to be displayed on a display device; A transformation specifying unit 5 that sets parameters for processing a figure or a character into a shape designated by a user, a transformation unit 7 that receives the set parameters and processes the figure or character data, and stores the processed data. A data buffer 8 and an area setting unit 12 that sets a range area when handling characters and graphics within a certain range at a time.
And a scaling unit 1 for adjusting the size of characters and figures to be displayed
3, a display position setting unit 14 for automatically setting the position of a graphic to be displayed, an edging creation unit 16 for generating frame data of processed characters and graphics, and displaying characters, graphic data, frame data, etc. In order to do so, it comprises a developing unit 9 for developing dot data on a display buffer 10 such as a bitmap memory, and a display unit 11 for displaying the data on the display buffer 10. Further, the deformation unit 7 is composed of a deformation calculation unit 100, a relative position calculation unit 101, a position addition unit 102, a position subtraction unit 105, and a boundary correction unit 106.

【0012】図2はデータ記憶部4に記憶されている文
字や図形データの例である。本装置では、説明の便宜
上、図形輪郭線の代表点を羅列してその形状を定義し
た、ベクトル表示方式のデータを使用するものとして説
明する。文字の場合、通常アウトラインフォントと呼ば
れる文字データの1つである。図2のデータは、図形輪
郭線を直線部分と曲線部分に分け、直線部分はその端点
を羅列し、曲線部分は三次曲線に近似するため端点と制
御点2点で表している。表示装置上に表示する際には、
図2のデータを展開し、ビットマップメモリ等の上に図
形輪郭線のドットデータを復元し、必要に応じて塗りつ
ぶし処理等を行ない、図形や文字の視覚情報を復元す
る。ただし、本発明は図形や文字の記憶形式及びその展
開方法を扱うものではなく、データ構成は上記の例には
こだわらない。また、以後データ記憶部4の図2のよう
な形式の図形データをアウトラインデータと呼び、ビッ
トマップメモリ等の上に図形の形状に展開された図形表
示情報をドットデータと呼ぶ。
FIG. 2 shows an example of character and graphic data stored in the data storage unit 4. For convenience of explanation, the present apparatus will be described on the assumption that the data of the vector display system in which the representative points of the graphic contour line are listed and the shape is defined is used. In the case of a character, it is one of character data which is usually called an outline font. In the data of FIG. 2, the figure contour line is divided into a straight line portion and a curved line portion, and the straight line portion is arranged with its end points. The curved line portion is represented by an end point and two control points in order to approximate a cubic curve. When displaying on the display device,
The data of FIG. 2 is expanded, the dot data of the graphic outline is restored on the bit map memory and the like, and the filling process is performed as necessary to restore the visual information of the graphic and the character. However, the present invention does not deal with the storage format of figures and characters and the expansion method thereof, and the data structure is not limited to the above example. Further, hereinafter, the graphic data in the format shown in FIG. 2 in the data storage unit 4 will be referred to as outline data, and the graphic display information developed in the shape of the graphic on the bitmap memory or the like will be referred to as dot data.

【0013】図3(a)は、従来の装置で作成した背景
図形と文字列の例である。本装置では、図3(a)を図
3(b)のように様々に変形出来る上に、図3(c)背
景図形が模様を持っていても見やすく表示できる。以
下、図3の文字や図形を表示する場合を例にとって本装
置の動作を説明する。まず、従来の図3(a)のように
図形を表示したいときは、ユーザが表示したい文字や図
形名,表示位置,大きさ,色等、図形を表示装置に表示
するために必要な表示情報を入力部1から入力すると、
その識別コードと表示情報がデータバッファ6の図4の
ような表示データテーブルに格納される。通常、図形や
イラストを表示するときは大きさや表示位置をその都度
入力するが、まとまった文書作成時には、表示位置設定
部14が、横書き,縦書き,文字間隔,行間隔等をユー
ザの指示に従い自動的に調節して表示位置を設定する。
表示データテーブルにデータが入ると、データ選択部3
がデータ記憶部4から表示する図形や文字の図2のよう
なアウトラインデータを読み出す。読み出されたデータ
は拡大縮小部13で、文字や図形データをユーザの指定
したサイズに変換されデータバッファ8に送られる。展
開部9は、データバッファ8の座標点列情報に従って表
示バッファ10上に図形輪郭線を描き、塗りつぶし処理
を行なうことにより、図2のような図形や文字データを
表示のためのドットデータに展開する。展開されたドッ
トデータは表示部11の表示画面上の表示位置に転送さ
れ文字や図形が表示される。背景の矩形、“T”“E”
“S”“T”を順に大きさや色や表示位置を指定して入
力し、図4のような表示データテーブルを作成すると、
図3(a)が表示される。
FIG. 3A is an example of a background graphic and a character string created by a conventional device. In this apparatus, FIG. 3 (a) can be modified in various ways as shown in FIG. 3 (b), and even if the background graphic in FIG. 3 (c) has a pattern, it can be displayed easily. Hereinafter, the operation of the present apparatus will be described by taking the case of displaying the characters and figures of FIG. 3 as an example. First, when the user wants to display a graphic as shown in FIG. 3A in the related art, the display information necessary for displaying the graphic on the display device, such as characters and graphic names desired by the user, display position, size, and color. When inputting from the input section 1,
The identification code and the display information are stored in the display data table of the data buffer 6 as shown in FIG. Normally, when displaying a figure or an illustration, the size and display position are input each time, but when creating a document, the display position setting unit 14 sets horizontal writing, vertical writing, character spacing, line spacing, etc. according to a user's instruction. Adjust automatically to set the display position.
When data is entered in the display data table, the data selection section 3
Reads out the outline data of the figure or character to be displayed from the data storage unit 4 as shown in FIG. The read data is converted by the enlarging / reducing unit 13 into character or graphic data having a size designated by the user and sent to the data buffer 8. The expansion unit 9 draws a graphic contour line on the display buffer 10 according to the coordinate point sequence information of the data buffer 8 and performs a filling process to expand the graphic or character data as shown in FIG. 2 into dot data for display. To do. The expanded dot data is transferred to the display position on the display screen of the display unit 11 to display characters and figures. Background rectangle, "T""E"
When "S" and "T" are input in order of size, color and display position and a display data table as shown in Fig. 4 is created,
FIG. 3A is displayed.

【0014】表示図形を図3(b)のように変形させる
ためには、上記のようにして表示した文字や図形の中か
ら変形したいものを選び、入力部から入力する。する
と、表示データテーブルの該選択された図形のデータに
変形属性が登録される。複数の文字や図形を選択したと
きは、領域処理部12がその複数の図形や文字を含む変
形領域の大きさと位置を計算し記憶する。選択図形が1
つの時はその図形の大きさと表示位置がそのまま変形領
域となる。上記の例の場合は、背景の矩形とTESTの
4文字を矩形で囲って指定する。または、図形を1つ1
つ対象指定してもよい。そして、選択した文字や図形を
どのように変形するかを変形指定部5で指定する。変形
指定部5の詳細を図5に示す。変形指定部5内のメニュ
ー表示部55は、図6(a)のような変形形状メニュー
を表示画面に表示する。ユーザはメニューから形状パタ
ーンを1つ選び、そのパターンでの変形度を入力する。
つまり、本装置では、例えば図6(a)の1番の変形パ
ターンを選択したときには、変形度が図6(b)のよう
に10段階に変わるようになっているため、何段階目の
変形度とするかを入力部1内のキーボードの数値キーを
使って入力する。あるいは、最小の変形度からキーボー
ドの“+キー”を打鍵しながら増やしていって丁度よい
変形度を選択したり、逆に最大の変形度から“−キー”
を押して1段かいずつ減らして選んだりという、最初の
変形度と“+キー”“−キー”の打鍵回数で所望の変形
を指定できる。変形指定コントローラ51はユーザの選
択した形状と変形度を受け取り、該選択形状に従って変
形パラメータ算出部56のパラメータ算出式を読みだ
し、変形度と、領域設定部12から受け取った変形領域
のサイズから、変形演算部100の座表移動演算回路に
設定するパラメータを算出し変形部7に送る。さらに、
境界パラメータ算出部57に変形境界線の端点を算出さ
せ、変形部7の境界補正部106に送り設定する。すな
わち、本装置は文字や図形の変形をアウトラインデータ
に座標移動演算を行なうことにより実現しているため、
変形指定部5は、所望の変形形状に対応する数値演算を
行うよう変形部7を設定するのである。
In order to transform the displayed graphic as shown in FIG. 3B, one of the characters and graphics displayed as described above is selected and the input is input from the input section. Then, the deformation attribute is registered in the data of the selected figure in the display data table. When a plurality of characters or figures are selected, the area processing unit 12 calculates and stores the size and position of the deformation area including the plurality of figures and characters. Selected figure is 1
When it is two, the size and display position of the figure will be the deformation area as it is. In the case of the above example, the four characters of the background rectangle and TEST are specified by enclosing them in a rectangle. Or one figure one
You may specify one target. Then, the transformation designation unit 5 designates how to transform the selected character or figure. The details of the deformation designation unit 5 are shown in FIG. The menu display unit 55 in the deformation designation unit 5 displays a deformation shape menu as shown in FIG. 6A on the display screen. The user selects one shape pattern from the menu and inputs the degree of deformation in that pattern.
That is, in the present apparatus, when the first deformation pattern in FIG. 6A is selected, the degree of deformation changes in 10 steps as shown in FIG. Use the numeric keys on the keyboard in the input section 1 to input whether to use degrees. Alternatively, you can select the correct degree of deformation by increasing the "+ key" on the keyboard from the minimum degree of deformation while typing, or conversely, select the "-key" from the maximum degree of deformation.
The desired deformation can be specified by the initial deformation degree, such as pressing to select one step at a time, and the number of times the "+ key" and "-key" are tapped. The deformation designation controller 51 receives the shape and the deformation degree selected by the user, reads out the parameter calculation formula of the deformation parameter calculation unit 56 according to the selected shape, and based on the deformation degree and the size of the deformation area received from the area setting unit 12, The parameters set in the seat movement calculation circuit of the deformation calculation unit 100 are calculated and sent to the deformation unit 7. further,
The boundary parameter calculation unit 57 is caused to calculate the end points of the deformation boundary line, and is sent to the boundary correction unit 106 of the deformation unit 7 for setting. In other words, this device realizes the transformation of characters and figures by performing coordinate movement calculation on outline data.
The deformation designation unit 5 sets the deformation unit 7 to perform a numerical operation corresponding to a desired deformed shape.

【0015】変形領域と変形形状が決まると、変形部7
が、変形対象図形を変形領域内に占める部分に応じて変
形できるよう、各図形に領域処理を行い変形する。ま
ず、変形を指定した文字や図形のデータが、順次、デー
タ選択部3によりデータ記憶部4から読み出され、拡大
縮小部13を経て変形部7の位置加算部102に送られ
る。一方、変形部7の相対位置算出部101は、変形領
域と表示データテーブルのデータから、変形する図形や
文字の変形領域に対する相対位置を算出する。そして、
位置加算部102で、変形する文字や図形のアウトライ
ンデータに、該算出した相対位置を加算する。この処理
により、個々の座標平面上に定義されていた変形対象図
形は、数値上、変形領域の一部となる。さらにその後、
境界を持つ変形を行なう場合に限り、境界補正部106
で境界線上の特異点座標を算出し、領域処理したアウト
ラインデータに追加する。境界を持つ変形とは、例えば
図6(a)に示すような、図形の途中に折り目やずれの
入ったようなものである。アウトラインデータは図形輪
郭線を代表座標点の羅列で表しているため、代表座標点
のみ座標移動して変形しても、輪郭線を展開したとき
に、折り目やずれの境界が抜けているということがあ
る。例えば、図3(a)の例の場合、境界補正無しで変
形すると、図7(a)のように背景の矩形が4本の直線
を表す代表点座標から成っているため、所望の形状にな
らない。そのため、境界線と図形輪郭線の交点座標を算
出しアウトラインデータに追加して、図7(b)のよう
に折り目やずれを表せるようにする。本装置では、図8
のように境界線の情報は該線分が変形領域矩形と交わる
2端点の座標で与えられる。該2端点の位置は変形形状
に固有に決まっており、前記変形指定部5で変形形状を
選択したときに、既に境界パラメータ算出部57によっ
て算出され、境界補正部106に設定されている。境界
補正部106は、この2点を通る直線上に変形対象図形
が重なるか否かを判定し、重ならなければそのまま変形
演算部100に送り、重なる場合は点列の座標から上記
境界線を横切る線分を求めつつ、該線分と境界直線の交
点座標を新たに座標データとして追加していく。たとえ
ば、図6(a)の変形メニューで、1,2,3,4の変
形は全て左右対称に真中で折曲がったような形状となっ
ているため、変形領域のサイズ(x方向×y方向)が
(t×s)とすると、境界線情報は(t/2 ,0)と
(t/2 ,s)の2点で示される。図9は、領域補正の
方法を示したものである。図8に示すように、例図形の
場合は、変形領域のサイズt×sは42×12である。
従って、境界線情報の2座標点は(21 ,0)と(21
,12)となっている。この例で、“T”“E”“S”
“T”は境界線上にないが、背景の矩形に境界線が重な
るため、矩形のアウトラインデータが境界補正部106
で処理される。図9に背景矩形の座標データを追加する
様子を示す。図9(a)は領域処理後の矩形のデータで
ある。該矩形は4本の線分を表す5個の座標データから
なるが、まず開始点(1 ,1)から2番目の点(1 ,1
1)を端点とする線分は境界線と交差しないためそのま
ま、2番目から3番目の点(41 ,11)間での線分は
境界線と交差するためその交点(21 ,11)を新たに
座標点データとして前記2点の間につけ加える。同様に
して4番目の点(41 ,1)から5番目の終了点(1 ,
1)の間に境界線との交点座標(21 ,1)が付け加わ
り図9(b)のようなアウトラインデータに書き変わ
る。このように補正してから座標移動により変形すると
図9(c)のように所望の形状になる。また、本装置の
ようにアウトラインデータに曲線が使われている場合に
は、曲線データを直線データに変更してから、上記処理
を行う。例えば、図10(a)のように点1,点a,点
b,点2で表される3次Bezier曲線線分が境界線上に
在ったときは、点1と点aを端点とする線分、または点
bと点2を端点とする線分で境界線が交差するため、こ
の曲線を分割補正する必要のあることがわかる。本装置
では3次曲線を使用しているため1本の曲線を4本以上
の直線で近似する。つまり、図10(b)のように点
3,点4,点5を算出し、Bezier曲線制御点の点a,
点bと置き換え、曲線コードデータを取り除く。それか
ら図10(c)に示すように、分割した各々の直線線分
について前記と同様に境界線との交点を求め、アウトラ
インデータに加える。このようにして曲線部分も領域補
正することができる。
When the deformation area and the deformation shape are determined, the deformation portion 7
However, region processing is performed on each figure so that the figure to be transformed can be transformed according to the portion occupied in the transformation area. First, data of a character or a graphic designating deformation is sequentially read from the data storage unit 4 by the data selection unit 3, and sent to the position addition unit 102 of the deformation unit 7 via the scaling unit 13. On the other hand, the relative position calculation unit 101 of the deformation unit 7 calculates the relative position of the deformed graphic or character with respect to the deformation region, from the deformation region and the data of the display data table. And
The position addition unit 102 adds the calculated relative position to the outline data of the deformed character or graphic. By this processing, the transformation target figure defined on each coordinate plane becomes a part of the transformation area in terms of numerical values. After that,
The boundary correction unit 106 is limited only when the boundary is deformed.
The coordinate of the singular point on the boundary line is calculated by and is added to the outline data subjected to the region processing. The deformation having a boundary is, for example, a crease or a deviation in the middle of a figure as shown in FIG. The outline data represents the contour line of a figure with a list of representative coordinate points, so even if only the representative coordinate points are moved and transformed, when the contour line is expanded, the crease or misalignment boundaries are missing. There is. For example, in the case of the example in FIG. 3A, if the deformation is performed without boundary correction, the background rectangle is composed of the representative point coordinates representing four straight lines as shown in FIG. I won't. Therefore, the coordinates of the intersection of the boundary line and the figure contour line are calculated and added to the outline data so that the fold line and the shift can be expressed as shown in FIG. 7B. In this device, as shown in FIG.
As described above, the information of the boundary line is given by the coordinates of the two end points where the line segment intersects the deformation area rectangle. The positions of the two end points are uniquely determined to the deformed shape, and when the deformed shape is selected by the deformation specifying unit 5, the positions are already calculated by the boundary parameter calculation unit 57 and set in the boundary correction unit 106. The boundary correction unit 106 determines whether or not the deformation target graphic overlaps a straight line passing through these two points, and if it does not overlap, it is sent to the deformation calculation unit 100 as it is. While obtaining the crossing line segment, the intersection coordinates of the line segment and the boundary straight line are newly added as coordinate data. For example, in the deformation menu of FIG. 6A, since the deformations 1, 2, 3, and 4 are all symmetrically bent in the center, the size of the deformation region (x direction × y direction) ) Is (t × s), the boundary line information is represented by two points (t / 2, 0) and (t / 2, s). FIG. 9 shows a method of area correction. As shown in FIG. 8, in the case of the example figure, the size t × s of the deformation area is 42 × 12.
Therefore, the two coordinate points of the boundary line information are (21, 0) and (21
, 12). In this example, "T""E""S"
Although “T” is not on the boundary line, the boundary line overlaps the background rectangle, so that the rectangular outline data is the boundary correction unit 106.
Is processed in. FIG. 9 shows how the coordinate data of the background rectangle is added. FIG. 9A shows rectangular data after area processing. The rectangle consists of 5 pieces of coordinate data representing 4 line segments. First, from the start point (1, 1) to the second point (1, 1, 1)
Since the line segment whose end point is 1) does not intersect the boundary line, the line segment between the second to third points (41, 11) intersects the boundary line, so the intersection point (21, 11) is newly added. Is added as coordinate point data between the two points. Similarly, from the fourth point (41, 1) to the fifth end point (1,
The intersection point coordinates (21, 1) with the boundary line are added during 1) to rewrite the outline data as shown in FIG. 9B. When the correction is performed in this way and then the deformation is performed by the coordinate movement, a desired shape is obtained as shown in FIG. When a curve is used for the outline data as in the present apparatus, the above processing is performed after changing the curve data into straight line data. For example, when the cubic Bezier curve segment represented by point 1, point a, point b, and point 2 is on the boundary line as shown in FIG. 10A, the points 1 and a are set as end points. Since the boundary line intersects with a line segment or a line segment having the point b and the point 2 as an end point, it is understood that this curve needs to be divided and corrected. Since a cubic curve is used in this device, one curve is approximated by four or more straight lines. That is, as shown in FIG. 10B, the points 3, 4 and 5 are calculated, and the Bezier curve control point point a,
Replace with point b and remove curve code data. Then, as shown in FIG. 10C, an intersection with the boundary line is obtained for each of the divided straight line segments and added to the outline data. In this way, the curved portion can also be area-corrected.

【0016】補正が終了すると、変形演算部100が各
座標データに変形演算を行なう。変形演算は、変形領域
が前記変形指定部5で指定した形状になるようにアウト
ラインデータの座標移動を行なうものである。本装置の
演算部は図11に示すように724,725,726の
3つの演算回路を持ち、それぞれ図12の式〜式で
表されるような変形演算を行う。図6(a)のメニュー
に示された変形形状のうち、変形1と2は式で、変形
3と4は式で、変形5と6は式による座標移動演算
で実現できる。演算コントローラ71は変形指定部5の
指示に従い、使用する演算に応じてスイッチ77を切り
替え、演算に使用するパラメータを設定する。データ制
御部73は、アウトラインデータの座標点以外のコード
データに演算を行わないように制御する。また、補完線
補正部74は、前記コードデータの演算防止とともに、
図形の直線部分を曲線化するような変形を行うときに、
アウトラインデータの直線補完部は曲線を表現できるよ
うに補正する部分である。演算式のtとsは変形領域の
x方向とy方向のサイズで、wは前記変形指定部5で入
力させた変形度であり、変形度1〜変形度10に対し
て、0.2,0.4,0.6,…2.0の10段階の値をとる。ここ
では、既に前記変形指定部5で変形形状を選択した時
に、対応するtとsとwパラメータが設定されており、
スイッチ76も、切り替わっている。領域処理されたア
ウトラインデータは、変形部100による演算で所望の
形状となるよう加工される。その後、位置減算部105
で変形加工前に加算した相対位置を減算し、個々の図形
データに戻す。そして、データバッファ8に出力された
変形したアウトラインデータは、無変形の場合と同様に
展開部9で表示バッファ10にドットデータに展開さ
れ、表示部11に転送され表示される。図9(b)のデ
ータを変形処理すると図9(c)のように境界部分で折
れ曲がる。そして、領域内の図形全て、すなわち、背景
の矩形、“T”“E”“S”“T”に上記の処理を行な
うと、図3(b)のように所望の形状に変形した図形や
文字が表示できる。
When the correction is completed, the transformation calculation unit 100 performs transformation calculation on each coordinate data. The transformation operation is to move the coordinates of the outline data so that the transformation area has the shape designated by the transformation designating section 5. As shown in FIG. 11, the arithmetic unit of this apparatus has three arithmetic circuits 724, 725, and 726, and each performs a transformation operation represented by the equations to equations in FIG. Of the deformed shapes shown in the menu of FIG. 6A, the modifications 1 and 2 are expressions, the modifications 3 and 4 are expressions, and the modifications 5 and 6 can be realized by coordinate movement calculation by the expressions. The calculation controller 71 switches the switch 77 according to the calculation to be used in accordance with the instruction from the transformation designating section 5 and sets the parameters used for the calculation. The data control unit 73 controls so that the code data other than the coordinate points of the outline data is not operated. In addition, the complementary line correction unit 74 prevents the calculation of the code data,
When transforming a straight part of a figure into a curve,
The straight line complementing portion of the outline data is a portion for correcting so as to express a curve. In the equation, t and s are the sizes of the deformation area in the x direction and the y direction, and w is the deformation degree input by the deformation designating unit 5. For deformation degrees 1 to 10, 0.2, 0.4, It takes a value of 10 steps of 0.6, ... 2.0. Here, when the deformed shape is already selected by the deformation designation unit 5, the corresponding t, s, and w parameters are set,
The switch 76 is also switched. The region-processed outline data is processed by the deforming unit 100 to have a desired shape. Then, the position subtraction unit 105
At, the relative position added before the deformation processing is subtracted, and each figure data is restored. Then, the deformed outline data output to the data buffer 8 is expanded into dot data in the display buffer 10 by the expansion unit 9 and transferred to the display unit 11 for display as in the case of no deformation. When the data shown in FIG. 9B is transformed, the data is bent at the boundary as shown in FIG. 9C. When the above process is applied to all the figures in the area, that is, the background rectangles "T", "E", "S", and "T", the figure transformed into a desired shape as shown in FIG. Characters can be displayed.

【0017】次に縁取り作成部16について説明する。
縁取り作成部16は、ユーザの指示に従い、図形の縁取
りのドットデータを作成し表示する。縁取りとは、例え
ば、前記図3(a)や図3(b)のように、ある模様の
上や他の図形に重ねて上記アウトラインデータ図形を展
開表示すると見えにくくなる場合があるため、図3
(c)や図14(b)のように表示するアウトラインデ
ータ図形とは異なった色で図形や文字の周囲を囲んだ
り、白抜きにしたりして、文字や図形を見やすく表示す
るための枠である。縁取り作成部16は、ユーザの縁取
り表示指示があると、データバッファ8のアウトライン
データを展開する前に、まず縁取り図形のドットデータ
を表示バッファ10に作成し表示する。縁取り作成部1
6は、展開部9と同様このアウトラインデータの座標点
を補間する曲線または直線をビットマップメモリ上に描
画することにより縁取り図形を作成するが、展開部9が
1ドットの太さの線で輪郭線を描いて内部を塗りつぶす
ことにより表示用のドットデータを作成するのに対し、
図形輪郭線を太く描いて縁取りを作成する。すなわち、
縁取り作成部14は、図13(a)に示すような、大き
さの異なる筆先のマトリクスを記憶しており、表示する
図形のサイズに合わせて該筆先の中の1つを選択する。
そして図13(b)に示すように、表示バッファ10上
で、図形輪郭線をその筆先を1ドットずつずらして置く
ように描画すると、図13(c)縁取りのドットデータ
が作成できる。この縁取りのドットデータを表示部11
に転送し、図14(a)のように図形とは異なった色で
表示する。その後、展開部9が展開した図形データをそ
の上に重ねて表示すると、図14(b)のように、模様
のある図形の上でも見やすく表示できる。また、縁を付
ける図形が文字フォントの場合には、上記縁取り作成用
の筆先として丸や矩形など様々な形状を用意し、角ゴシ
ック体のフォントを表示する場合は矩形の筆先を使用
し、丸ゴシック体の時は丸い筆先を使用する等、字体に
応じて使い分け、それぞれ適した形状の縁取りを作成す
る。
Next, the edging creating section 16 will be described.
The edging creating unit 16 creates and displays the edging dot data of the graphic according to the user's instruction. The edging is, for example, as shown in FIGS. 3 (a) and 3 (b), when the outline data graphic is expanded and displayed on a certain pattern or on another graphic, it may be difficult to see the outline data. Three
A frame for displaying characters or figures in an easy-to-see manner by surrounding them with a different color from the outline data figure displayed as shown in (c) or FIG. is there. When the user gives a border display instruction, the border creation unit 16 first creates and displays the dot data of the border graphic in the display buffer 10 before expanding the outline data in the data buffer 8. Border creation part 1
6 draws a curved line or a straight line for interpolating the coordinate points of the outline data on the bitmap memory as in the expanding unit 9, to create an outline figure, but the expanding unit 9 outlines a line with a thickness of 1 dot. In contrast to creating dot data for display by drawing a line and filling the inside,
Draw a thick outline to create a border. That is,
The edging creation unit 14 stores a matrix of brush tips having different sizes as shown in FIG. 13A, and selects one of the brush tips according to the size of the figure to be displayed.
Then, as shown in FIG. 13B, when the graphic contour is drawn on the display buffer 10 so that the brush tip is shifted by one dot, the dot data of the border of FIG. 13C can be created. This bordered dot data is displayed on the display unit 11
And is displayed in a color different from the figure as shown in FIG. After that, when the graphic data expanded by the expansion unit 9 is displayed on top of it, it can be displayed easily on a graphic with a pattern as shown in FIG. 14B. Also, if the figure to be bordered is a character font, prepare various shapes such as circles and rectangles as the brush tip for creating the above border, and use a rectangular brush tip to display a square Gothic font. For Gothic type, use a round brush tip, etc., depending on the type of font, and create a border with a suitable shape.

【0018】図15は、縁取り作成部16の別の例であ
る。この場合は、アウトラインデータを展開した後のド
ットデータから縁取りを作成する。図16(a)に示す
ように、展開したドットパターンを本来の表示位置から
右上方向,左上方向,右下方向,左下方向の4方向にず
らして4回重ねるように図形とは異なる色で表示すると
図16(b)のように縁取りが出来る。又は、前記4方
向に上下左右を加えた8方向にずらして8回重ねて表示
してもよい。その上に図形データを描画表示すると、図
16(c)のように縁取り付きの図形が表示できる。ず
らし方を大きくしたり小さくしたりすることにより、縁
取りの幅を広くしたり狭くしたりすることができる。
FIG. 15 shows another example of the edging creation section 16. In this case, the outline is created from the dot data after the outline data is developed. As shown in FIG. 16 (a), the developed dot pattern is displayed in a color different from that of the figure so as to be shifted four times from the original display position in the upper right direction, the upper left direction, the lower right direction, and the lower left direction so as to overlap four times. Then, an edge can be formed as shown in FIG. Alternatively, it may be displayed eight times in a row by shifting in four directions by adding vertical and horizontal directions. When the graphic data is drawn and displayed on it, a graphic with a border can be displayed as shown in FIG. The width of the edging can be widened or narrowed by increasing or decreasing the shifting method.

【0019】上記の縁取りは、図形や文字が重なった
り、背景イメージの上に文字や図形を置く場合だけでな
く、WPやデスクトップパブリッシングシステムなど一
般の文書作成機で文書の一部に編かけ修飾を行なう場合
にも使用できる。また、文字の上から網かけを行なって
いる場合は、上記縁取りパターンを網かけのマスクパタ
ーンとして使用すればよい。すなわち、網かけをひょう
じするときに、ビットマップメモリ上で、上記縁取り図
形の部分をマスクして網かけ模様を作成し、それを表示
部に図形の上から表示しても図3(c)のような縁取り
を作成できる。
The above-mentioned edging is not limited to the case where figures and characters overlap each other, or the case where characters and figures are placed on the background image, and a part of the document is modified by knitting with a general document creator such as WP or a desktop publishing system. Can also be used when Further, when the characters are shaded from above, the edging pattern may be used as a shaded mask pattern. That is, when shading is performed, even if a shaded pattern is created by masking the above-described bordered figure portion on the bit map memory and displaying it on the display unit from above the figure, FIG. ) Can be created.

【0020】[0020]

【発明の効果】本発明によれば、文字や図形を折り目や
ずれのあるような形状に変形し、模様や背景画の上でも
見易く表示することができる。
According to the present invention, a character or a figure can be transformed into a shape having a fold line or a shift, and can be displayed easily on a pattern or a background image.

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

【図1】本発明の1実施例の文字図形処理装置の構成図
である。
FIG. 1 is a configuration diagram of a character / graphics processing device according to an embodiment of the present invention.

【図2】図1の文字図形処理装置で使用するアウトライ
ンデータの構成図である。
FIG. 2 is a configuration diagram of outline data used in the character / graphics processing device of FIG.

【図3】図1の文字図形処理装置による図形と文字列変
形の例を示す図と、従来装置による図形と文字列変形の
例を示す図である。
3A and 3B are diagrams showing an example of a figure and a character string modification by the character / graphics processing apparatus of FIG. 1 and a diagram showing an example of a figure and a character string modification by a conventional apparatus.

【図4】図1の文字図形処理装置で使用する表示情報テ
ーブルの例を示す図である。
4 is a diagram showing an example of a display information table used in the character / graphics processing device in FIG.

【図5】図1の文字図形処理装置の変形指定部5の詳細
を示す構成図である。
5 is a configuration diagram showing details of a deformation designating unit 5 of the character / graphics processing device in FIG. 1. FIG.

【図6】図5の装置で使用する変形形状選択のための変
形メニューの例を示す図である。
6 is a diagram showing an example of a deformation menu for selecting a deformed shape used in the apparatus of FIG.

【図7】従来の装置と図1の文字図形処理装置による図
形と文字の変形例を示す図である。
7 is a diagram showing a modified example of a figure and a character by the conventional apparatus and the character and figure processing apparatus of FIG.

【図8】境界線のある図形と文字を示す図である。FIG. 8 is a diagram showing a figure and a character having a boundary line.

【図9】図1の境界補正部106の動作の説明図であ
る。
9 is an explanatory diagram of an operation of the boundary correction unit 106 in FIG.

【図10】図1の境界補正部106の動作の説明図であ
る。
10 is an explanatory diagram of an operation of the boundary correction unit 106 in FIG.

【図11】図1の変形演算部100の詳細図である。FIG. 11 is a detailed diagram of a transformation calculation unit 100 in FIG.

【図12】図1の文字図形処理装置で使用する変形演算
式の例を示す図である。
12 is a diagram showing an example of a modified arithmetic expression used in the character / graphics processing device of FIG.

【図13】図1の縁取り作成部16の使用する筆先パタ
ーンマトリクスの例を示す図である。
13 is a diagram showing an example of a brush tip pattern matrix used by the edging creation unit 16 of FIG.

【図14】図1の縁取り作成部16の動作の説明図であ
る。
14 is an explanatory diagram of an operation of the edging creation unit 16 of FIG.

【図15】縁取り作成部16の別の実施例を示す構成図
である。
FIG. 15 is a configuration diagram showing another embodiment of the edging creation unit 16.

【図16】図15の縁取り作成部16の動作の説明図で
ある。
16 is an explanatory diagram of an operation of the edging creation unit 16 of FIG.

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

1…入力部、2…入力インターフェース部、3…データ
選択部、4…アウトラインデータ記憶部、5…変形指定
部、6…データバッファ、7…変形部、8…データバッ
ファ、9…展開部、10…表示バッファ、11…表示
部、12…領域設定部、13…拡大縮小部、14…表示
位置設定部、15…切替スイッチ、16…縁取り作成
部、100…演算部、101…相対位置算出部、102
…位置加算部、105…位置減算部、106…境界補正
部。
1 ... Input unit, 2 ... Input interface unit, 3 ... Data selection unit, 4 ... Outline data storage unit, 5 ... Deformation designation unit, 6 ... Data buffer, 7 ... Deformation unit, 8 ... Data buffer, 9 ... Expansion unit, DESCRIPTION OF SYMBOLS 10 ... Display buffer, 11 ... Display part, 12 ... Area setting part, 13 ... Enlargement / reduction part, 14 ... Display position setting part, 15 ... Changeover switch, 16 ... Border creation part, 100 ... Arithmetic part, 101 ... Relative position calculation Part, 102
... position addition unit, 105 ... position subtraction unit, 106 ... boundary correction unit.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G09G 5/36 8121−5G (72)発明者 松田 泰昌 神奈川県横浜市戸塚区吉田町292番地株式 会社日立製作所マイクロエレクトロニクス 機器開発研究所内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification number Internal reference number FI Technical indication location G09G 5/36 8121-5G (72) Inventor Yasumasa Matsuda 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Hitachi, Ltd. Microelectronics Device Development Laboratory

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】文字または図形を表示領域上に表示する表
示装置、 前記文字または図形をベクトル形式でコード化するアウ
トラインデータを、前記表示装置に表示するためのドッ
ト形式でコード化されたパターンデータに変換する表示
変換手段、 前記アウトラインデータを記憶するための記憶手段、 外部からの指示により、変形対象となる文字または図形
を指定する変形対象指定手段、 変形対象として指定された前記文字または図形を全て中
に含む表示領域上のある領域を、変形領域として設定す
る変形領域設定手段、 外部からの指示で前記変形領域の変形形状を指定する変
形指定手段、 前記変形領域中にある前記文字または図形のアウトライ
ンデータを前記記憶手段から読み出し、前記変形領域中
の前記文字または図形のアウトラインデータの座標点情
報について変形演算を行い、設定された前記変形領域を
前記変形手段によって指定された前記変形形状に変形す
る変形手段、および前記変形形状と変形された前記文字
または図形のアウトラインデータを前記表示変換手段に
よりパターンデータに変換し、前記表示装置に表示する
変形表示変換手段を有することを特徴とする文字図形処
理装置。
1. A display device for displaying characters or graphics on a display area, and pattern data encoded in dot format for displaying outline data for encoding the characters or graphics in vector format on the display device. Display conversion means for converting to, storage means for storing the outline data, transformation target designating means for designating a character or figure to be transformed by an external instruction, and the character or figure designated as the transformation target Deformation area setting means for setting a certain area on the display area included in all as a deformation area, deformation designation means for designating the deformed shape of the deformation area by an external instruction, the character or figure in the deformation area Outline data of the character or figure in the transformation area is read out from the storage means. Transforming means for transforming the set transforming area into the transforming shape designated by the transforming means, and outline data of the deformed shape and the transformed characters or figures. A character / graphics processing device comprising a modified display conversion unit for converting the pattern data by the display conversion unit and displaying the pattern data on the display device.
【請求項2】前記変形指定手段は、指定された変形形状
を変形演算のための変形式に与えるパラメータ値として
出力する手段を具備し、 前記変形手段は、変形領域中の各図形や文字の変形領域
に対する相対位置を算出する手段、該算出した相対位置
を図形や文字のアウトラインデータに加算する手段、お
よび該加算したアウトラインデータに、前記変形指定手
段の出力した変形パラメータを設定した変形演算を行っ
て文字や図形を変形する手段を具備することを特徴とす
る請求項1記載の文字図形処理装置。
2. The deformation designating means comprises means for outputting the designated deformed shape as a parameter value given to a transformation formula for a transformation calculation, and the transformation means includes a shape of each figure or character in the transformation area. A means for calculating a relative position with respect to the deformation area, a means for adding the calculated relative position to outline data of a figure or a character, and a deformation operation in which the added outline data is set with a deformation parameter output by the deformation designating means. 2. The character / graphics processing apparatus according to claim 1, further comprising means for performing deformation of a character or a graphic.
【請求項3】前記変形手段は、複数の変形式を格納した
演算部を具備し、 変形指定手段が指定された変形形状を変形演算のために
使用する変形式を指定し、該変形式に設定するパラメー
タ値を出力する手段を具備することを特徴とする請求項
2記載の文字図形処理装置。
3. The transforming means comprises an arithmetic unit storing a plurality of transforming expressions, wherein the transforming designating means designates a transforming expression to use the designated deformed shape for transforming operation. 3. The character / graphics processing apparatus according to claim 2, further comprising means for outputting a parameter value to be set.
【請求項4】前記変形手段は、前記変形領域矩形の大き
さに従って出力するパラメータ値を調整する手段を具備
することを特徴とする請求項2記載の文字図形処理装
置。
4. The character graphic processing apparatus according to claim 2, wherein the deforming means comprises means for adjusting a parameter value to be output according to the size of the deformation area rectangle.
【請求項5】前記変形手段は、折り目やずれ等の境界線
のある形状に変形する効果を与える変形演算手段、およ
び該境界線上に位置する図形のアウトラインデータに境
界線と図形輪郭線の交点座標を付加する手段を具備する
ことを特徴とする請求項1乃至請求項4記載の文字図形
処理装置。
5. The deforming means is a deforming calculating means for providing an effect of deforming into a shape having a boundary line such as a fold line or a shift, and the outline data of a graphic located on the boundary line, the intersection of the boundary line and the graphic contour line. 5. The character / graphics processing apparatus according to claim 1, further comprising means for adding coordinates.
【請求項6】文字または図形を表示領域上に表示する表
示装置、 前記文字または図形をベクトル形式でコード化するアウ
トラインデータを、前記表示装置に表示するためのドッ
ト形式でコード化されたパターンデータに変換する表示
変換手段、 前記アウトラインデータを記憶するための記憶手段、お
よび前記文字または図形のアウトラインデータを前記表
示変換手段によりパターンデータに変換し、前記文字ま
たは図形のドット形式でコード化されたパターンデータ
の周りを縁取る縁取り図形についてドット形式のパター
ンデータを作成し、前記パターンデータを前記表示装置
に表示する変形表示変換手段を有することを特徴とする
文字図形処理装置。
6. A display device for displaying characters or graphics on a display area, and pattern data encoded in dot format for displaying outline data for encoding the characters or graphics in vector format on the display device. Display conversion means for converting to, storage means for storing the outline data, and outline data of the character or figure is converted into pattern data by the display conversion means, and coded in dot format of the character or figure A character / graphics processing device comprising: a modified display conversion means for creating pattern data in a dot format with respect to a fringed graphic framing the pattern data and displaying the pattern data on the display device.
【請求項7】さらに、前記縁取り図形を前記文字または
図形と異なる色で前記表示装置に表示する手段を有する
ことを特徴とする請求項6記載の文字図形処理装置。
7. The character / graphics processing apparatus according to claim 6, further comprising means for displaying the border graphic on the display device in a color different from that of the character or graphic.
【請求項8】さらに、前記縁取り図形の縁取り幅を、表
示される前記文字または図形の大きさに応じて変更する
手段を有することを特徴とする請求項6記載の文字図形
処理装置。
8. The character / graphics processing apparatus according to claim 6, further comprising means for changing the edging width of the edging graphic according to the size of the displayed character or graphic.
【請求項9】文字または図形をベクトル形式でコード化
するアウトラインデータをドット形式でコード化された
パターンデータに変換し、表示領域上に表示するステッ
プ、 外部からの指示により変形対象となる前記表示領域上の
文字または図形を指定するステップ、 変形対象として指定された前記文字または図形を全て中
に含む前記表示領域上のある領域を変形領域として設定
するステップ、 外部からの指示で前記変形領域の変形形状を指定するス
テップ、 前記変形領域中の前記文字または図形のアウトラインデ
ータの座標点情報について変形演算を行うステップ、 設定された前記変形領域を前記変形形状に変形するステ
ップ、 前記変形演算するステップにおいて算出された前記文字
または図形についてのアウトラインデータを表示形式デ
ータに変換し、前記表示領域上に表示するステップを有
することを特徴とする文字または図形の変形処理方法。
9. A step of converting outline data for encoding a character or a figure in a vector format into pattern data encoded in a dot format and displaying the pattern data on a display area, the display to be transformed by an external instruction. A step of designating a character or a figure on the area; a step of setting a certain area on the display area which includes all of the characters or figures designated as a transformation target as a transformation area; A step of designating a deformed shape, a step of performing a deforming operation on coordinate point information of outline data of the character or a figure in the deformed area, a step of deforming the set deformed area into the deformed shape, a step of performing the deforming operation Display the outline data of the character or figure calculated in Character or deformation processing method for graphic, characterized in that it comprises the step of converting the over data, displayed on the display area.
【請求項10】さらに、前記文字または図形の回りを縁
取る縁取り図形のドット形式パターンを作成するステッ
プ、 前記パターンデータにより前記縁取り図形を前記表示領
域上に表示するステップを有することを特徴とする請求
項9記載の文字または図形の変形処理方法。
10. The method further comprises the step of creating a dot-shaped pattern of a fringed graphic that borders around the character or graphic; and displaying the fringed graphic on the display area according to the pattern data. The character or graphic transformation processing method according to claim 9.
JP4257774A 1992-09-28 1992-09-28 Character and figure processor and method for deforming character of figure Pending JPH06110442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4257774A JPH06110442A (en) 1992-09-28 1992-09-28 Character and figure processor and method for deforming character of figure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4257774A JPH06110442A (en) 1992-09-28 1992-09-28 Character and figure processor and method for deforming character of figure

Publications (1)

Publication Number Publication Date
JPH06110442A true JPH06110442A (en) 1994-04-22

Family

ID=17310920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4257774A Pending JPH06110442A (en) 1992-09-28 1992-09-28 Character and figure processor and method for deforming character of figure

Country Status (1)

Country Link
JP (1) JPH06110442A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7046242B2 (en) 2000-06-05 2006-05-16 Namco Ltd. Game system, program and image generating method
US7307623B2 (en) 2002-02-28 2007-12-11 Sony Computer Entertainment Inc. Information processing device having detector capable of detecting coordinate values, as well as changes thereof, of a plurality of points on display screen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7046242B2 (en) 2000-06-05 2006-05-16 Namco Ltd. Game system, program and image generating method
US7307623B2 (en) 2002-02-28 2007-12-11 Sony Computer Entertainment Inc. Information processing device having detector capable of detecting coordinate values, as well as changes thereof, of a plurality of points on display screen

Similar Documents

Publication Publication Date Title
JP3164617B2 (en) Apparatus and method for deforming character / graphics
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JP3479282B2 (en) Character and graphic transformation processor
JP2999019B2 (en) Character and graphic transformation processor
JPH0827843B2 (en) How to edit a character string in a figure
JP3170249B2 (en) Apparatus and method for deforming character / graphics
JP3164795B2 (en) Apparatus and method for deforming character / graphics
JP2721344B2 (en) Image processing method
JP2721348B2 (en) Image processing device
JP2896544B2 (en) Character generation method and apparatus
JPH0619902A (en) Japanese word processor
JP2001242849A (en) Character and pattern transforming processor
JPH07234868A (en) Document preparing device
JP2000081872A (en) Character and graphic deformation processor and processing method
JP2605690B2 (en) Image creation device
JPS62157089A (en) Generation of vector character
JPS58208864A (en) Plotting system of semigraphic display
JPH056164A (en) Character processing device
JPH04139585A (en) Image processor
JPH11109940A (en) Countour editing device for image data and countour editing method for the image data and recording medium
JPH0560598B2 (en)
JPH06124106A (en) Method for setting screen output from digitizer
JPH0528149A (en) Image data magnifying method
JPH0728999A (en) Picture processing method
JPH0258158A (en) Documentation device