JP3156297B2 - Pattern output device - Google Patents

Pattern output device

Info

Publication number
JP3156297B2
JP3156297B2 JP25592491A JP25592491A JP3156297B2 JP 3156297 B2 JP3156297 B2 JP 3156297B2 JP 25592491 A JP25592491 A JP 25592491A JP 25592491 A JP25592491 A JP 25592491A JP 3156297 B2 JP3156297 B2 JP 3156297B2
Authority
JP
Japan
Prior art keywords
axis
rotation
output
character
modification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP25592491A
Other languages
Japanese (ja)
Other versions
JPH0566762A (en
Inventor
伸 三国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP25592491A priority Critical patent/JP3156297B2/en
Publication of JPH0566762A publication Critical patent/JPH0566762A/en
Application granted granted Critical
Publication of JP3156297B2 publication Critical patent/JP3156297B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、奥行き感を持たせた
出力パターンを出力するパターン出力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern output device for outputting an output pattern having a sense of depth.

【0002】[0002]

【従来の技術】従来、ワードプロセッサにおいて、特定
文字を強調する場合には、網かけ、反転、肉太、アンダ
ーライン、回転等によって文字を修飾するようにしてい
るが、このうち、文字の回転修飾は文字が出力される平
面(例えば紙面)に直交する方向を軸として文字全体を
回転させることによって行っていた。
2. Description of the Related Art Conventionally, in a word processor, when a particular character is emphasized, the character is modified by shading, inversion, boldness, underlining, rotation, etc. Is performed by rotating the entire character around an axis perpendicular to a plane (for example, a paper surface) on which the character is output.

【0003】[0003]

【発明が解決しようとする課題】このように従来の回転
修飾は文字が出力される平面に直交する方向を軸として
文字を回転させるので、文字の向きを任意に変化させる
ことができるが、それ以上、多彩な修飾をかけることは
できなかった。この発明の課題は、奥行き感を持たせた
出力パターンを出力できるようにすることである。
As described above, in the conventional rotation modification, a character is rotated about an axis perpendicular to a plane on which the character is output, so that the direction of the character can be arbitrarily changed. As described above, various modifications could not be applied. An object of the present invention is to be able to output an output pattern having a sense of depth.

【0004】[0004]

【課題を解決するための手段】請求項1の発明の手段
は、2次元平面上に出力される出力パターンを記憶する
出力パターン記憶手段と、ユーザ操作に応じて、2次元
軸のX軸に対する軸回転の回転角を指示する軸回転指示
手段と、前記軸回転指示手段の指示に基づいて、前記出
力パターンをその上から下または下から上に向かって横
方向の出力倍率を前記回転角に応じて変化させることに
より前記X軸を回転軸として仮想回転した場合の変形パ
ターンを生成する変形パターン生成手段と、前記変形パ
ターン生成手段で生成された変形パターンを前記2次元
平面上に出力する出力手段と、を具備したことを特徴と
する。請求項2の発明の手段は、2次元平面上に出力さ
れる出力パターンを記憶する出力パターン記憶手段と、
ユーザ操作に応じて、2次元軸のY軸に対する軸回転の
回転角を指示する軸回転指示手段と、前記軸回転指示手
段の指示に基づいて、前記出力パターンをその左から右
または右から左に向かって縦方向の出力倍率を前記回転
角に応じて変化させることにより前記Y軸を回転軸とし
て仮想回転した場合の変形パターンを生成する変形パタ
ーン生成手段と、前記変形パターン生成手段で生成され
た変形パターンを前記2次元平面上に出力する出力手段
と、を具備したことを特徴とする。
According to the present invention, an output pattern storage means for storing an output pattern output on a two-dimensional plane, and an output pattern storage means for storing a two-dimensional X-axis in response to a user operation. Shaft rotation instructing means for instructing the rotation angle of the shaft rotation, and, based on the instruction of the shaft rotation instructing means, changing the output pattern in the horizontal direction from the top to the bottom or from the bottom to the top to the rotation angle. A deformation pattern generating means for generating a deformation pattern when virtual rotation is performed about the X axis as a rotation axis, and an output for outputting the deformation pattern generated by the deformation pattern generation means on the two-dimensional plane. Means. An output pattern storage means for storing an output pattern output on a two-dimensional plane,
Axis rotation instructing means for instructing the rotation angle of the axis rotation with respect to the Y-axis of the two-dimensional axis in accordance with a user operation; and outputting the output pattern from left to right or right to left based on an instruction from the axis rotation instructing means. A deformation pattern generating means for generating a deformation pattern when virtual rotation is performed about the Y axis as a rotation axis by changing an output magnification in the vertical direction according to the rotation angle toward Output means for outputting the deformed pattern on the two-dimensional plane.

【0005】[0005]

【作用】請求項1の発明の手段の作用は、次の通りであ
る。出力パターン記憶手段は、2次元平面上に出力され
る出力パターンを記憶しており、、軸回転指示手段によ
るユーザ操作に応じた2次元軸のX軸に対する軸回転の
指示に基づいて、変形パターン生成手段は、出力パター
ンをその上から下または下から上に向かって横方向の出
力倍率を前記回転角に応じて変化させることにより前記
X軸を回転軸として仮想回転した場合の変形パターンを
生成し、出力手段は、変形パターン生成手段で生成され
た変形パターンを前記2次元平面上に出力する。請求項
2の発明の手段の作用は、次の通りである。出力パター
ン記憶手段は、2次元平面上に出力される出力パターン
を記憶しており、、軸回転指示手段によるユーザ操作に
応じた2次元軸のY軸に対する軸回転の指示に基づい
て、変形パターン生成手段は、出力パターンをその左か
ら右または右から左に向かって縦方向の出力倍率を前記
回転角に応じて変化させることにより前記Y軸を回転軸
として仮想回転した場合の変形パターンを生成し、出力
手段は、変形パターン生成手段で生成された変形パター
ンを前記2次元平面上に出力する。従って、請求項1の
発明によれば、2次元軸のX軸方向に対してユーザ操作
により指示された回転角に応じた奥行き感を持たせた出
力パターンを2次元平面上に出力することができる。ま
た、請求項2の発明によれば、2次元軸のY軸方向に対
してユーザ操作により指示された回転角に応じた奥行き
感を持たせた出力パターンを2次元平面上に出力するこ
とができる。 [機能ブロック図の説明] 図1はこの発明の機能ブロック図である。同図におい
て、1は指示手段、2は回転修飾手段、3は出力手段で
ある。
The operation of the means of the present invention is as follows. The output pattern storage unit stores an output pattern output on a two-dimensional plane, and based on an instruction of axis rotation of the two-dimensional axis with respect to the X-axis according to a user operation by the axis rotation instruction unit, forms a deformation pattern. The generating means generates a deformed pattern when the output pattern is virtually rotated about the X axis as a rotation axis by changing an output magnification in a horizontal direction from top to bottom or from bottom to top in accordance with the rotation angle. The output means outputs the deformation pattern generated by the deformation pattern generation means on the two-dimensional plane. The operation of the means of the invention of claim 2 is as follows. The output pattern storage means stores an output pattern output on a two-dimensional plane, and based on an instruction to rotate the two-dimensional axis with respect to the Y axis in accordance with a user operation by the axis rotation instructing means, outputs a deformation pattern. The generating means generates a deformation pattern when the output pattern is virtually rotated around the Y axis as a rotation axis by changing an output magnification in a vertical direction from left to right or right to left in accordance with the rotation angle. The output means outputs the deformation pattern generated by the deformation pattern generation means on the two-dimensional plane. Therefore, according to the first aspect of the present invention, it is possible to output an output pattern having a sense of depth corresponding to a rotation angle instructed by a user operation with respect to the X-axis direction of a two-dimensional axis on a two-dimensional plane. it can. According to the second aspect of the present invention, it is possible to output an output pattern having a sense of depth corresponding to a rotation angle instructed by a user operation with respect to the Y-axis direction of the two-dimensional axis on a two-dimensional plane. it can. [Description of Functional Block Diagram] FIG. 1 is a functional block diagram of the present invention. In FIG. 1, reference numeral 1 denotes an instruction unit, 2 denotes a rotation modification unit, and 3 denotes an output unit.

【0006】[0006]

【実施例】以下、図2〜図10を参照して一実施例を説
明する。図2は修飾文字出力装置のブロック構成図であ
る。手操作入力装置11は文字情報等を入力するもの
で、手操作入力装置11から入力された文字コードは主
制御装置12に取り込まれたのち、文書メモリ13の文
字情報記憶部13−1に格納される。文書メモリ13に
は文字情報記憶部13−1の他に修飾情報記憶部13−
2を有し、手操作入力装置11から回転修飾等の様に文
字を修飾する為の情報が入力されると、主制御装置12
はこれを取り込んで修飾情報記憶部13−2に格納す
る。ここで、回転修飾情報として本実施例においては、
文字が出力される平面に対して直交する方向を軸として
文字を回転させる第1軸(Z軸)の回転角と、文字をX
方向(水平方向)を軸として回転させる第2軸(X軸)
の回転角と、文字をY方向(垂直方向)を軸として回転
させる第3軸(Y軸)の回転角とを1組とし、1つの文
字データに対応して1組の回転修飾情報が文書メモリ1
3内に格納されている。しかして、文字出力指令に応答
し、文書メモリ13の文字情報記憶部13−1内に格納
されている文字情報(文字コード)はフォントメモリ1
4に与えられ、該当する文字フォントデータがフォント
メモリ14から読み出されて3軸回転修飾演算装置15
に送られる。なお、文字フォントデータは文字を構成す
る要素の輪郭を座標でなぞるようなデータ列で構成され
ており、座標変換により文字修飾がかけやすいデータ構
造となっている。
An embodiment will be described below with reference to FIGS. FIG. 2 is a block diagram of the decoration character output device. The manual operation input device 11 is for inputting character information and the like. The character code input from the manual operation input device 11 is taken into the main control device 12 and then stored in the character information storage section 13-1 of the document memory 13. Is done. In the document memory 13, in addition to the character information storage unit 13-1, the decoration information storage unit 13-
When information for modifying characters such as rotation modification is input from the manual operation input device 11, the main control device 12
Takes this and stores it in the decoration information storage unit 13-2. Here, in the present embodiment, the rotation modification information is
A rotation angle of a first axis (Z-axis) for rotating a character around a direction orthogonal to a plane on which the character is output, and a character X
Second axis (X axis) that rotates around the direction (horizontal direction)
And a set of the rotation angle of the third axis (Y-axis) for rotating the character about the Y direction (vertical direction) as an axis, and one set of rotation modification information corresponding to one character data is included in the document. Memory 1
3 is stored. In response to the character output command, the character information (character code) stored in the character information storage unit 13-1 of the document memory 13 is stored in the font memory 1.
4, the corresponding character font data is read out from the font memory 14 and the three-axis rotation modification operation device 15
Sent to Note that the character font data is composed of a data string that traces the outline of an element constituting the character with coordinates, and has a data structure that allows easy character modification by coordinate conversion.

【0007】3軸回転修飾演算装置15にはフォントメ
モリ14から出力対象の文字フォントデータの他に、修
飾情報記憶部13−2から対応する回転修飾情報が入力
されており、3軸回転修飾演算装置15はフォントメモ
リ14から読み出された文字フォントデータを回転修飾
情報に基づいて演算処理し、文字を変形させてラスタラ
イザ16に送る。この場合、3軸回転修飾演算装置15
はX、Y、Z方向に対応して各種の回転修飾を行うが、
Z方向を軸とする回転は通常と同様の回転修飾である。
また、X方向を軸とする回転は文字の縦方向について上
から下または下から上に向かって横方向に一定値で倍率
を変化させると共に縦方向に圧縮する。更に、Z方向を
軸とする回転は文字の横方向について左から右または右
から左に向かって縦方向に一定値で倍率を変化させると
共に横方向に圧縮する。
[0007] In addition to the character font data to be output from the font memory 14, the three-axis rotation modification operation device 15 receives corresponding rotation modification information from the modification information storage unit 13-2. The device 15 performs arithmetic processing on the character font data read from the font memory 14 based on the rotation modification information, transforms the character, and sends the character to the rasterizer 16. In this case, the three-axis rotation modification arithmetic unit 15
Performs various rotation modifications corresponding to the X, Y, and Z directions.
Rotation about the Z direction is the same rotation modification as usual.
The rotation about the X direction changes the magnification at a constant value in the horizontal direction from top to bottom or from bottom to top in the vertical direction of the character, and compresses the character in the vertical direction. Further, the rotation about the Z direction changes the magnification at a constant value in the vertical direction from left to right or right to left in the horizontal direction of the character, and compresses the character in the horizontal direction.

【0008】なお、3軸回転修飾演算装置15にはフォ
ントメモリ14から読み出された文字フォントデータに
そのフォントのエリアを示す枠データを付加する機能が
設けられている。例えば、文字フォントデータが256
×256(1辺が±128)ドットのフィールドで構成
されているものとすると、3軸回転修飾演算装置15は
枠データとして(128、128)、(128、−12
8)、(−128、−128)、(−128、12
8)、(128、128)というデータと(127、1
27)、(127、−127)、(−127、−12
7)、(−127、127)、(127、127)とい
うデータをフォントメモリ14から読み出された文字フ
ォントデータに付け加える。この場合、枠データは1ド
ット幅の正方形である。なお、文字フォントデータを表
示する場合には常に文字フォントデータに枠を付け加え
るが、印刷に対してはユーザの指定に応じて枠を付け加
えるようにしてある。
The three-axis rotation modification arithmetic unit 15 has a function of adding frame data indicating the area of the font to the character font data read from the font memory 14. For example, if the character font data is 256
Assuming that the field is constituted by a field of × 256 (one side is ± 128) dots, the three-axis rotation modification arithmetic unit 15 outputs (128, 128) and (128, -12) as frame data.
8), (−128, −128), (−128, 12)
8), (128, 128) and (127, 1
27), (127, -127), (-127, -12)
7) Add the data (-127, 127) and (127, 127) to the character font data read from the font memory 14. In this case, the frame data is a square of one dot width. Note that when displaying character font data, a frame is always added to the character font data, but for printing, a frame is added according to the user's specification.

【0009】ラスタライザ16は3軸回転修飾演算装置
15から送られて来る文字フォントデータの内部を表示
の時には水平方向に塗り潰して表示メモリ17に与え、
印字の時には垂直方向(プリンタの印字ヘッドが垂直方
向に取り付けられている時)に塗り潰して印刷バッファ
メモリ18に格納する。なお、表示メモリ17の内容は
CRT表示装置19から表示出力され、またバッファメ
モリ18の内容はプリンタ制御装置20を介してプリン
タ21から印字出力される。
The rasterizer 16 paints the inside of the character font data sent from the three-axis rotation modification arithmetic unit 15 in the horizontal direction at the time of display, and gives it to the display memory 17.
During printing, the image is painted in the vertical direction (when the print head of the printer is mounted in the vertical direction) and stored in the print buffer memory 18. The contents of the display memory 17 are displayed and output from the CRT display device 19, and the contents of the buffer memory 18 are printed and output from the printer 21 via the printer control device 20.

【0010】次に、本実施例の動作を図3〜図10に基
づいて説明する。いま、文字情報記憶部13−1内に任
意に入力作成した文字列データを印字出力する場合、こ
の文字列に対応して修飾情報記憶部13−2内にはこの
文字列を構成する各文字毎に回転修飾情報が格納されて
いるものとする。
Next, the operation of the present embodiment will be described with reference to FIGS. Now, when the character string data arbitrarily input and created is printed out in the character information storage unit 13-1, each character constituting the character string is stored in the modification information storage unit 13-2 corresponding to the character string. It is assumed that the rotation modification information is stored for each.

【0011】ここで、印字指令に応答して、文書メモリ
13を構成する文字情報記憶部13−1からは文字情報
が読み出されてフォントメモリ14に与えられ、該当す
る文字フォントデータに変換されたのち3軸回転修飾演
算装置15に送られる。この3軸回転修飾演算装置15
には修飾情報記憶部13−2から回転修飾情報が入力さ
れており、この回転修飾情報に基づいてフォントメモリ
14からの文字フォントデータに対して図3〜図6に示
す様な4種類の演算処理を行う。
Here, in response to the print command, character information is read from the character information storage unit 13-1 constituting the document memory 13 and given to the font memory 14, where it is converted into the corresponding character font data. Then, it is sent to the three-axis rotation modification arithmetic unit 15. This three-axis rotation modification arithmetic unit 15
Are input with rotation modification information from the modification information storage unit 13-2. Based on the rotation modification information, four types of calculations as shown in FIGS. 3 to 6 are performed on the character font data from the font memory 14. Perform processing.

【0012】図3は文字データが出力される平面に対し
て直交する方向(Z方向)を軸として文字フォントデー
タを回転させることによりZ方向を軸とする回転修飾を
行う場合の演算処理を示したものである。この場合の回
転修飾は文字フォントデータを構成する座標列を次式に
したがって順次変換することによって行う。ここで、紙
面に直交するZ方向を軸として回転角θだけ回転させた
場合、修飾前における任意の点の座標(x1、y1)は修
飾後において座標(x0、y0)に変換されるが、その変
換式は、 x1=x0 cosθ−y0 sinθ y1=x0 sinθ+y0 cosθ となる。なお、回転角θはZ方向を軸として反時計方向
に回転させた場合を正とした。
FIG. 3 shows an arithmetic processing in the case where the character is rotated in the direction (Z direction) perpendicular to the plane from which the character data is output (Z direction) to perform rotation modification about the Z direction. It is a thing. In this case, the rotation modification is performed by sequentially converting a coordinate sequence constituting the character font data according to the following equation. Here, when rotated by the rotation angle θ about the Z direction perpendicular to the paper surface, the coordinates (x 1 , y 1 ) of an arbitrary point before modification are converted into coordinates (x 0 , y 0 ) after modification. However, the conversion formula is x 1 = x 0 cos θ−y 0 sin θ y 1 = x 0 sin θ + y 0 cos θ. Note that the rotation angle θ was positive when rotated in a counterclockwise direction around the Z direction.

【0013】このようにZ方向を軸とする回転修飾は、
通常と同様の演算処理によって求められるが、残りのX
方向、Y方向を軸とする回転修飾は、図4〜図6に示す
様な絞り修飾と拡大・縮小修飾を組み合せることによっ
て求められる。即ち、X方向を軸とする回転修飾は、文
字の縦方向について上から下または下から上に向かって
横方向に一定値で倍率を変化させるX方向の絞り修飾と
文字を縦方向に圧縮する縮小修飾とから成る。また、Y
方向を軸とする回転修飾は、文字の横方向について左か
ら右または右から左に向かって縦方向に一定値で倍率を
変化させるY方向の絞り修飾と文字を横方向に圧縮する
縮小修飾とから成る。この場合、X方向、Y方向共に絞
り修飾を行ったのち、縮小修飾を行う。
As described above, the rotation modification about the Z direction is
It is obtained by the same arithmetic processing as usual, but the remaining X
The rotation modification about the direction and the Y direction can be obtained by combining the aperture modification and the enlargement / reduction modification as shown in FIGS. In other words, the rotation modification about the X direction is an X direction aperture modification that changes the magnification by a constant value in the horizontal direction from top to bottom or from bottom to top in the vertical direction of the character, and compresses the character in the vertical direction. Consists of a reduced modifier. Also, Y
Rotational modification with the axis as the direction is a Y-direction aperture modification that changes the magnification in the horizontal direction of the character from left to right or right to left at a constant value in the vertical direction, and a reduction modification that compresses the character in the horizontal direction. Consists of In this case, after performing the aperture modification in both the X and Y directions, the reduction modification is performed.

【0014】図4はX方向の絞り修飾を示し、修飾前に
おける任意の点の座標(x0、y0)は修飾後において
(x1、y1)に変換されるが、その変換式は、 x1=x0−x0・y0・R1 y1=y0 となる。ここで、R1は絞り率を示し、R1=K×si
nαとなる。なお、Kはフォントデータのサイズを2M
×2Mドットとすると、K=1/Mで90度回転させた
時、絞り切る(絞られる側の長さが0になる)ことにな
るので、良好な結果を得る為にK=1/2Mに設定され
ている。また、αはX方向を軸として回転させた場合の
回転角である。このような絞り修飾によりX方向の軸上
ではy0=0となる為、x1=x0となり、修飾後におい
ても座標値は変化しないが、Y方向においてその値が正
のとき、Y座標値が大きくなるにしたがってX座標の絶
対値は徐々に小さくなり、またY方向の値が負のとき、
その値が小さくなるにしたがってX座標の絶対値は徐々
に大きくなる。
FIG. 4 shows the aperture modification in the X direction. The coordinates (x 0 , y 0 ) of an arbitrary point before modification are converted into (x 1 , y 1 ) after modification. , the x 1 = x 0 -x 0 · y 0 · R1 y 1 = y 0. Here, R1 indicates the aperture ratio, and R1 = K × si
nα. K indicates the font data size is 2M.
Assuming that it is × 2M dots, when rotated 90 degrees at K = 1 / M, the aperture is cut off (the length of the side to be squeezed becomes 0). Therefore, to obtain a good result, K = 1 / M Is set to Α is a rotation angle when rotated about the X direction. Since y 0 = 0 on the axis in the X direction due to such aperture modification, x 1 = x 0 , and the coordinate value does not change even after modification, but when the value is positive in the Y direction, the Y coordinate As the value increases, the absolute value of the X coordinate gradually decreases, and when the value in the Y direction is negative,
As the value decreases, the absolute value of the X coordinate gradually increases.

【0015】しかして、X方向の絞り修飾を行ったら図
6に示す拡大・縮小修飾を行う。この場合、文字の縦方
向を次式にしたがって圧縮する。 x1=x0・RX y1=y0・RY ここで、RX、RYは拡大・縮小率(倍率)を示し、R
Y=cosα、RX=cosβとなる。なお、βはY方
向を軸として回転させた場合の回転角である。図5はY
方向の絞り修飾を示し、修飾後の座標(x1、y1)は x1=x01=y0−y0・y0・R2 より求められる。ここで、R2は絞り率を示し、R2−
K×sinβとなる。このような絞り修飾によりY方向
の軸上ではx0=0となる為、y1=y0となり、修飾後
においても座標値は変化しないが、X方向においてその
値が正のときX座標値が大きくなるにしたがってY座標
の絶対値は徐々に小さくなり、またX方向の値が負のと
き、その値が小さくなるにしたがってY座標の絶対値は
徐々に大きくなる。
After the aperture modification in the X direction is performed, the enlargement / reduction modification shown in FIG. 6 is performed. In this case, the vertical direction of the character is compressed according to the following equation. x 1 = x 0 · RX y 1 = y 0 · RY Here, RX and RY indicate an enlargement / reduction ratio (magnification), and R
Y = cosα and RX = cosβ. Here, β is a rotation angle when rotated about the Y direction as an axis. FIG.
Indicates the direction of the aperture modification, after modification coordinates (x 1, y 1) is determined from the x 1 = x 0 y 1 = y 0 -y 0 · y 0 · R2. Here, R2 indicates the aperture ratio, and R2-
K × sin β. Since x 0 = 0 on the axis in the Y direction by such aperture modification, y 1 = y 0 , and the coordinate value does not change even after the modification, but when the value is positive in the X direction, the X coordinate value Becomes larger, the absolute value of the Y coordinate gradually decreases, and when the value in the X direction is negative, the absolute value of the Y coordinate gradually increases as the value decreases.

【0016】また、Y方向の絞り修飾を行ったら図6に
示す拡大・縮小修飾を行う。この場合、文字の横方向を
1=x0・RX、y1=y0・RYにしたがって縮小す
る。このように3軸回転修飾演算装置15は3方向を軸
として文字フォントデータに回転修飾をかけるが、その
際、文字フォントデータに枠データを付加した場合に
は、枠データも含めて上述の様な回転修飾を行う。ここ
で、図7は回転修飾が全く指定されていない場合におけ
る文字列の出力例を示し、図8はZ方向を軸とする第1
軸の回転が指定された場合における文字列の出力例を示
している。なお、図8の具体例は文字列を構成する各文
字を図中矢印方向に同じ回転角だけ回転させた場合であ
る。図9はY方向を軸とする第3軸の回転が指定された
場合における文字列の出力例を示し、図中矢印方向に同
じ回転角だけ回転させた場合である。図10はX方向を
軸とする第2軸の回転が指定された場合における文字列
の出力例を示し、図中矢印方向に同じ回転角だけ回転さ
せた場合である。なお、図8〜図10の具体例では1方
向のみの回転を示したが、2方向あるいは3方向を同時
に回転させる修飾も可能である。
When the aperture modification in the Y direction is performed, the enlargement / reduction modification shown in FIG. 6 is performed. In this case, the horizontal direction of the character is reduced according to x 1 = x 0 · RX and y 1 = y 0 · RY. As described above, the three-axis rotation modification arithmetic unit 15 applies the rotation modification to the character font data around the three directions. At this time, when the frame data is added to the character font data, the three-axis rotation modification calculation device 15 includes the frame data as described above. Perform various rotation modifications. Here, FIG. 7 shows an example of character string output when no rotation modification is specified, and FIG.
The example of the output of the character string when rotation of an axis | shaft is designated is shown. Note that the specific example of FIG. 8 is a case where each character forming the character string is rotated by the same rotation angle in the direction of the arrow in the figure. FIG. 9 shows an output example of a character string when the rotation of the third axis about the Y direction is designated, in which the character string is rotated by the same rotation angle in the direction of the arrow in the figure. FIG. 10 shows an output example of a character string when the rotation of the second axis about the X direction is designated, in which the character string is rotated by the same rotation angle in the direction of the arrow in the figure. In addition, in the specific examples of FIGS. 8 to 10, rotation in only one direction is shown.

【0017】以上のように本実施例においては、X方
向、Y方向、Z方向を軸として文字フォントを任意に回
転させることができるので、多彩な文字修飾が可能とな
る。特にX方向、Y方向についての回転修飾は、絞り修
飾と拡大・縮小修飾とを組み合せて成る為、奥行き感の
ある高度な修飾を高速に得ることが可能となる。また、
文字フォントに枠データを付け加えて出力すれば、回転
角を指定する際、指定状態が明瞭となる。
As described above, in this embodiment, since the character font can be arbitrarily rotated about the X, Y, and Z directions, various character modifications are possible. In particular, since the rotational modification in the X direction and the Y direction is a combination of the aperture modification and the enlargement / reduction modification, it is possible to obtain an advanced modification with a sense of depth at a high speed. Also,
If the character font is added with the frame data and output, the designation state becomes clear when the rotation angle is designated.

【0018】なお、上記実施例においては文字フォント
データに枠データを付加して回転修飾をかけるようにし
たが、3軸回転修飾演算装置15、ラスタライザ16の
処理速度が遅い場合には枠データのみを出力するように
してもよい。
In the above embodiment, the character font data is added with frame data to apply rotation modification. However, when the processing speed of the three-axis rotation modification arithmetic unit 15 and the rasterizer 16 is slow, only the frame data is used. May be output.

【0019】更に、回転角を指定するときやその指定状
態を確認するときのみ枠データを表示するようにしても
よい。
Further, the frame data may be displayed only when the rotation angle is specified or when the specified state is confirmed.

【0020】[0020]

【発明の効果】請求項1の発明によれば、ユーザ操作に
応じた2次元軸のX軸に対する軸回転の回転角の指示に
基づいて、出力パターンをその上から下または下から上
に向かって横方向の出力倍率を指示された回転角に応じ
て変化させることによりX軸を回転軸として仮想回転し
た場合の変形パターンを生成し、生成された変形パター
ンを2次元平面上に出力することができるので、2次元
軸のX軸方向に対してユーザ操作により指示された回転
角に応じた奥行き感を持たせた出力パターンを2次元平
面上に出力することができる。請求項2の発明によれ
ば、ユーザ操作に応じた2次元軸のY軸に対する軸回転
の回転角の指示に基づいて、出力パターンをその左から
右または右から左に向かって縦方向の出力倍率を指示さ
れた回転角に応じて変化させることによりY軸を回転軸
として仮想回転した場合の変形パターンを生成し、生成
された変形パターンを2次元平面上に出力することがで
きるので、2次元軸のY軸方向に対してユーザ操作によ
り指示された回転角に応じた奥行き感を持たせた出力パ
ターンを2次元平面上に出力することができる。
According to the first aspect of the present invention, the output pattern is directed upward or downward or upward from below based on the instruction of the rotation angle of the two-dimensional axis with respect to the X-axis according to the user operation. Changing the lateral output magnification in accordance with the designated rotation angle to generate a deformation pattern when virtual rotation is performed about the X axis as a rotation axis, and outputting the generated deformation pattern on a two-dimensional plane. Therefore, it is possible to output an output pattern having a sense of depth corresponding to a rotation angle instructed by a user operation in the X-axis direction of the two-dimensional axis on a two-dimensional plane. According to the second aspect of the present invention, the output pattern is output in the vertical direction from left to right or right to left based on the instruction of the rotation angle of the two-dimensional axis with respect to the Y axis according to the user operation. By changing the magnification in accordance with the instructed rotation angle, it is possible to generate a deformation pattern when virtual rotation is performed with the Y axis as a rotation axis, and to output the generated deformation pattern on a two-dimensional plane. An output pattern having a sense of depth in accordance with the rotation angle instructed by a user operation with respect to the Y-axis direction of the dimensional axis can be output on a two-dimensional plane.

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

【図1】この発明の機能ブロック図。FIG. 1 is a functional block diagram of the present invention.

【図2】実施例を示した修飾文字出力装置のブロック
図。
FIG. 2 is a block diagram of a modified character output device showing an embodiment.

【図3】回転修飾を説明する為の図。FIG. 3 is a diagram for explaining rotation modification.

【図4】X方向の絞り修飾を説明する為の図。FIG. 4 is a diagram for explaining aperture modification in the X direction.

【図5】Y方向の絞り修飾を説明する為の図。FIG. 5 is a diagram for describing aperture modification in the Y direction.

【図6】X方向、Y方向の回転修飾時に拡大・縮小修飾
を説明する為の図。
FIG. 6 is a view for explaining enlargement / reduction modification at the time of rotational modification in the X and Y directions.

【図7】回転修飾を行う前の文字列の出力例を示した
図。
FIG. 7 is a diagram showing an output example of a character string before rotation modification is performed.

【図8】第1軸の回転角が指定された場合の文字列の出
力例を示した図。
FIG. 8 is a diagram illustrating an output example of a character string when a rotation angle of a first axis is designated.

【図9】第3軸の回転角が指定された場合の文字列の出
力例を示した図。
FIG. 9 is a diagram illustrating an output example of a character string when a rotation angle of a third axis is designated.

【図10】第2軸の回転角が指定された場合の文字列の
出力例を示した図。
FIG. 10 is a diagram showing an output example of a character string when a rotation angle of a second axis is designated.

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

11 手操作入力装置 12 主制御装置 13 文書メモリ 13−1 文字情報記憶部 13−2 修飾情報記憶部 14 フォントメモリ 15 3軸回転修飾演算装置 19 CRT表示装置 21 プリンタ Reference Signs List 11 Manual operation input device 12 Main control device 13 Document memory 13-1 Character information storage unit 13-2 Modification information storage unit 14 Font memory 15 Triaxial rotation modification arithmetic unit 19 CRT display device 21 Printer

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G09G 5/24 640 G09G 5/26 G09G 5/36 G06F 17/21 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) G09G 5/24 640 G09G 5/26 G09G 5/36 G06F 17/21

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】2次元平面上に出力される出力パターンを
記憶する出力パターン記憶手段と、ユーザ操作に応じて、 2次元軸のX軸に対する軸回転
回転角を指示する軸回転指示手段と、 前記軸回転指示手段の指示に基づいて、前記出力パター
ンをその上から下または下から上に向かって横方向の出
力倍率を前記回転角に応じて変化させることにより前記
X軸を回転軸として仮想回転した場合の変形パターンを
生成する変形パターン生成手段と、 前記変形パターン生成手段で生成された変形パターンを
前記2次元平面上に出力する出力手段と、 を具備したことを特徴とするパターン出力装置。
1. An output pattern storage means for storing an output pattern output on a two-dimensional plane, and an axis rotation of the two-dimensional axis with respect to the X axis in accordance with a user operation .
And axial rotation instruction means for instructing the rotation angle, based on the instruction of the shaft rotation instruction means, according to the transverse direction of the output ratio in the rotation angle upwardly the output pattern from the bottom or down from the top of change A deformation pattern generating means for generating a deformation pattern when virtual rotation is performed about the X axis as a rotation axis; an output means for outputting the deformation pattern generated by the deformation pattern generating means on the two-dimensional plane; A pattern output device comprising:
【請求項2】2次元平面上に出力される出力パターンを
記憶する出力パターン記憶手段と、ユーザ操作に応じて、 2次元軸のY軸に対する軸回転
回転角を指示する軸回転指示手段と、 前記軸回転指示手段の指示に基づいて、前記出力パター
ンをその左から右または右から左に向かって縦方向の出
力倍率を前記回転角に応じて変化させることにより前記
Y軸を回転軸として仮想回転した場合の変形パターンを
生成する変形パターン生成手段と、 前記変形パターン生成手段で生成された変形パターンを
前記2次元平面上に出力する出力手段と、 を具備したことを特徴とするパターン出力装置。
2. An output pattern storage means for storing an output pattern output on a two-dimensional plane, and an axis rotation of the two-dimensional axis with respect to the Y axis in response to a user operation .
And axial rotation instruction means for instructing the rotation angle, based on the instruction of the shaft rotation instruction means, according to the longitudinal direction of the output ratio in the rotation angle of the output pattern from the right or the right from the left toward the left change A deformation pattern generating means for generating a deformation pattern when virtual rotation is performed about the Y axis as a rotation axis; an output means for outputting the deformation pattern generated by the deformation pattern generating means on the two-dimensional plane; A pattern output device comprising:
JP25592491A 1991-09-09 1991-09-09 Pattern output device Expired - Fee Related JP3156297B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25592491A JP3156297B2 (en) 1991-09-09 1991-09-09 Pattern output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25592491A JP3156297B2 (en) 1991-09-09 1991-09-09 Pattern output device

Publications (2)

Publication Number Publication Date
JPH0566762A JPH0566762A (en) 1993-03-19
JP3156297B2 true JP3156297B2 (en) 2001-04-16

Family

ID=17285465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25592491A Expired - Fee Related JP3156297B2 (en) 1991-09-09 1991-09-09 Pattern output device

Country Status (1)

Country Link
JP (1) JP3156297B2 (en)

Also Published As

Publication number Publication date
JPH0566762A (en) 1993-03-19

Similar Documents

Publication Publication Date Title
JPH06149212A (en) Character generation method and its device
JP3156297B2 (en) Pattern output device
US20060071948A1 (en) 3D font-engine
Lever Real-time 3D character animation with Visual C++
JP2010224145A (en) Information processing apparatus, control device, and program
KR100302163B1 (en) Character generating method and apparatus
JPH02224079A (en) Device and method for generating character pattern
JP3899421B2 (en) Character and character string generation and display device
JPH04331162A (en) Character pattern generator
JP2791014B2 (en) Character processor
JP2800435B2 (en) Method and apparatus for rotating figures in three-dimensional computer graphics
JP2763409B2 (en) Multimedia processing equipment
JP3129717B2 (en) Image processing apparatus and image processing method
JP2785929B2 (en) Character processor
JP2935189B2 (en) Outline font processor
Thompson Quartz 2D graphics for Mac OS X developers
JP3211591B2 (en) Image processing device
JP3347756B2 (en) Character generation method and device
JP3040624B2 (en) Pattern generator
JP3025141B2 (en) Character modifier
JP2895890B2 (en) Layouter for flyers and catalogs
JP2710350B2 (en) Image processing apparatus and image processing method of image processing apparatus
JPH0344766A (en) Information display device
JPH05158933A (en) Document processor
JP3473046B2 (en) Non-erected character drawing method and apparatus

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090209

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090209

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100209

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110209

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees