JPH0623995B2 - Character arrangement device of graphic processing device - Google Patents
Character arrangement device of graphic processing deviceInfo
- Publication number
- JPH0623995B2 JPH0623995B2 JP62084226A JP8422687A JPH0623995B2 JP H0623995 B2 JPH0623995 B2 JP H0623995B2 JP 62084226 A JP62084226 A JP 62084226A JP 8422687 A JP8422687 A JP 8422687A JP H0623995 B2 JPH0623995 B2 JP H0623995B2
- Authority
- JP
- Japan
- Prior art keywords
- coordinate
- input
- mode
- character
- graphic 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.)
- Expired - Fee Related
Links
Landscapes
- Processing Or Creating Images (AREA)
Description
【発明の詳細な説明】 〔概要〕 タブレット装置から入力された座標値に対し座標移動処
理を行う画像処理装置に於いて、所定のモード設定時に
入力された文字の座標値に対してのみx軸方向のオフセ
ット量Δx、及びy軸方向のオフセット量Δyを付加す
る文字オフセット付加手段を設けることにより、図形モ
ードと文字モードの入力位置が同一点に丸め込まれない
様にする。DETAILED DESCRIPTION OF THE INVENTION [Outline] In an image processing device that performs coordinate movement processing for coordinate values input from a tablet device, only the x-axis for the character coordinate values input when a predetermined mode is set. By providing the character offset adding means for adding the offset amount Δx in the direction and the offset amount Δy in the y-axis direction, the input positions of the graphic mode and the character mode are not rounded to the same point.
本発明は図形処理装置の文字配置装置に関するものであ
る。The present invention relates to a character arrangement device of a graphic processing device.
〔従来の技術〕 第3図(a)は従来のタブレット装置を有する図形処理シ
ステムの一例を示す図である。[Prior Art] FIG. 3 (a) is a diagram showing an example of a graphic processing system having a conventional tablet device.
図中、1は図形処理装置、2は座標入力装置(タブレッ
ト装置)、2aはタブレット画面、2bはスタイラスペ
ン、2cは制御部である。尚以下全図を通じ同一記号は
同一対象物を表す。In the figure, 1 is a graphic processing device, 2 is a coordinate input device (tablet device), 2a is a tablet screen, 2b is a stylus pen, and 2c is a control unit. The same symbols represent the same objects throughout the drawings.
図形処理システムに於いて、図形を入力するのにタブレ
ット装置2が従来から使用されている。此のタブレット
装置2はタブレット画面2a、スタイラスペン2b、及
び制御部2cから構成され、図形処理装置1に接続され
る。In the graphic processing system, the tablet device 2 is conventionally used to input a graphic. The tablet device 2 is composed of a tablet screen 2a, a stylus pen 2b, and a control unit 2c, and is connected to the graphic processing device 1.
オペレータがスタイラスペン2bでタブレット画面2a
上の任意の点をヒットすると、制御部2cはヒットされ
た点の座標値を求め、此の座標値を図形処理装置1に出
力する。The operator uses the stylus pen 2b to display the tablet screen 2a.
When the arbitrary point above is hit, the control unit 2c obtains the coordinate value of the hit point and outputs the coordinate value to the graphic processing device 1.
従ってオペレータがタブレット画面2a上に図面を置
き、此の図面上の各点をスタイラスペン2bでヒットす
ることにより、図形を図形処理装置1に入力することが
出来る。Therefore, the operator can place a drawing on the tablet screen 2a and hit each point on the drawing with the stylus pen 2b to input a graphic into the graphic processing apparatus 1.
第3図(b)は従来の図形処理装置の一例を示す図であ
る。FIG. 3 (b) is a diagram showing an example of a conventional graphic processing apparatus.
図中、3は入力モード指定キー、10は制御部、11はイン
タフェイス部、12は図面作業ファイル、13は出力手段、
14はディスプレイ画面、15は線分作成手段、16は文字作
成手段、17は座標移動処理手段、18は入力手段である。In the figure, 3 is an input mode designation key, 10 is a control unit, 11 is an interface unit, 12 is a drawing work file, 13 is output means,
Reference numeral 14 is a display screen, 15 is a line segment creating means, 16 is a character creating means, 17 is a coordinate movement processing means, and 18 is an input means.
従来の図形処理装置は第3図(b)に示す構成を取り、イ
ンタフェイス部11はタブレット装置2とのインタフェイ
スを構成する部分で、タブレット装置2から送られた座
標値は此のインタフェイス部11を介して図形処理装置1
に入力される。The conventional graphic processing device has the configuration shown in FIG. 3 (b), and the interface section 11 is a part constituting an interface with the tablet device 2, and the coordinate value sent from the tablet device 2 is the interface. Graphic processing device 1 via unit 11
Entered in.
本図形処理装置により作成される各種の画像データは総
て図面作業ファイル12上で作成され、図面作業ファイル
12上の画像データは出力手段13を介してディスプレイ画
面14上に表示される。All the various image data created by this figure processing device are created on the drawing work file 12 and the drawing work file is created.
The image data on 12 is displayed on the display screen 14 via the output means 13.
入力データは文字又は図形であるかを最初に入力モード
指定キー3により指定される。Whether the input data is a character or a graphic is first designated by the input mode designation key 3.
作成データが図形であると、線分作成手段15が起動さ
れ、図面作業ファイル12上で各種図形を線分により作成
する。例えば、両端の座標を指示することにより直線の
図形を、中心点の座標と半径を指示することにより円の
図形を図面作業ファイル12上に作成し、此れ等座標はタ
ブレット装置2からインタフェイス部11を介し、又は入
力手段18から入力される。If the created data is a figure, the line segment creating means 15 is activated to create various figures on the drawing work file 12 by the line segment. For example, a straight line graphic is created on the drawing work file 12 by designating the coordinates of both ends, and a circle graphic is created on the drawing work file 12 by designating the coordinates and radius of the center point. Input is made via the unit 11 or from the input means 18.
又作成データが文字であると、文字作成手段16が起動さ
れ、図面作業ファイル12上で各種文字を作成する。各文
字のベクトル文字データを格納する文字データファイル
(図示されていない)から指定された文字を選択し、タ
ブレット装置2の指定する座標位置に配置する。If the created data is a character, the character creating means 16 is activated to create various characters on the drawing work file 12. A specified character is selected from a character data file (not shown) that stores vector character data of each character and is arranged at the coordinate position specified by the tablet device 2.
第4図はタブレット画面上のグリット群の一例を示す図
である。FIG. 4 is a diagram showing an example of a grid group on the tablet screen.
第5図は従来の図形・文字の入力時の表示説明図であ
る。FIG. 5 is an explanatory view of a display when a conventional figure / character is input.
図中、G1〜Gnは夫々グリット、P、Qは夫々入力点
である。In the figure, G 1 to G n are grids, and P and Q are input points.
タブレット画面2a上には通常或る一定の間隔で縦横に
複数のグリットG1〜Gnが配置され、此の間隔の値は
任意の値、例えば10mm等に設定することが出来る。尚此
れ等のグリットG1〜Gnはタブレット画面2a上に不
可視的に設けられるものである。On the tablet screen 2a, a plurality of grids G 1 to G n are usually arranged at certain fixed intervals vertically and horizontally, and the value of these intervals can be set to an arbitrary value, for example, 10 mm. Note that these grids G 1 to G n are invisiblely provided on the tablet screen 2a.
タブレット画面2a上の任意の点P(×印で示されてい
る)をスタイラスペン2bによりヒットすると、制御部
2cは点Pの座標(xP、yP)を図形処理装置1に出
力する。When the stylus pen 2b hits an arbitrary point P (indicated by X) on the tablet screen 2a, the control unit 2c outputs the coordinates (x P , y P ) of the point P to the graphic processing device 1.
此の時、図形処理装置1はタブレット装置2からインタ
フェイス部11を介して受信した座標(xP、yP)を其
のまま採用しないで、座標移動処理手段17を起動して点
Pに最も近いグリットGNを求め、グリットGNの座標
(xN、yN)を点Pの座標として図面作業ファイル12
に書き込む処理が行われることがある。At this time, the graphic processing device 1 does not adopt the coordinates (x P , y P ) received from the tablet device 2 via the interface unit 11 as they are, and activates the coordinate movement processing means 17 to move to the point P. The closest grit G N is obtained, and the drawing work file 12 is set with the coordinates (x N , y N ) of the grit G N as the coordinates of the point P.
May be written to.
座標移動処理手段17は上記の如くヒットした座標
(xP、yP)を、最も近いグリットGNの座標
(xN、yN)に変換(丸め込み)するので、例えば、
平行線を引く時等に大変便利である。Coordinates moving processing means 17 hit as described above (x P, y P), and the closest grid G N coordinates (x N, y N) so converting (rounding), for example,
It is very convenient when drawing parallel lines.
然しながら図形処理装置1に座標移動処理手段17を持っ
ている場合、タブレット画面2a上で、図形と文字を同
じ入力点でヒットする時は両方共此の入力点に最も近い
同じグリットGNに丸め込まれる。However, when the figure processing device 1 has the coordinate movement processing means 17, when a figure and a character are hit at the same input point on the tablet screen 2a, both are rounded to the same grid G N closest to this input point. Be done.
一例として第5図に示す様に文字(ABC)がグリット
GNに近い点Pにヒットされ、図形(アンダーライン)
もグリットGNに近い他の点Qにヒットされると、座標
移動処理手段17により点Pも点Qも共に同一のグリット
GNに移動するため、文字と図形が重なり接近し過ぎ、
見にくくなると云う欠点があった。Characters as shown in FIG. 5 as an example (ABC) is hit a point P close to the grit G N, graphics (underline)
Also when it is hit Q other points close to the grid G N, for moving the point P to the point Q is also both the same grit G N by the coordinate moving process unit 17, too close overlapping characters and graphics,
It had the drawback of being difficult to see.
上記問題点は第1図の原理図に示す様に、入力された座
標点に対し予め定められた複数の座標点(xG、yG)
の中で最も近い座標点(xN、yN)を検出する座標移
動処理手段17を有し、座標入力装置2からの入力座標
(xP、yP)を、座標点(xN、yN)へ座標移動を
行う図形処理装置の文字配置装置に於いて、図形処理装
置1の処理モードが文字処理モードであるか、又は図形
処理モードであるかを識別する手段30と、座標点に対し
座標点(xN,yN)の変分を行う変分手段20とを設
けることにより解決される。As shown in the principle diagram of FIG. 1, the above problem is caused by a plurality of predetermined coordinate points (x G , y G ) with respect to the input coordinate points.
The coordinate movement processing means 17 for detecting the closest coordinate point (x N , y N ) among the coordinate input devices 2 is used to convert the input coordinate (x P , y P ) from the coordinate input device 2 into the coordinate point (x N , y In the character arranging device of the graphic processing device for performing coordinate movement to N ), the means 30 for identifying whether the processing mode of the graphic processing device 1 is the character processing mode or the graphic processing mode, and the coordinate point It is solved by providing the variation means 20 which performs variation of the coordinate point (x N , y N ).
本発明に依るとモード識別手段30により識別されたモー
ドに応じ、変分手段20が動作して入力座標(xP、
yP)に最近な座標点(xN、yN)に対し少なくとも
一方の座標値に対する変分処理を行うので、文字の入力
座標と図形の入力座標が仮令同じ位置になった時でも、
図形と文字が若干離れて表示される。According to the present invention, the variation means 20 operates according to the mode identified by the mode identification means 30, and the input coordinates (x P ,
y P ), the variation processing is performed on at least one coordinate value for the most recent coordinate point (x N , y N ). Therefore, even when the input coordinate of the character and the input coordinate of the figure are at the same position,
Figures and characters are displayed slightly separated.
第1図の本発明の原理図を基にして第2図(a)に本発明
の一実施例を示す。An embodiment of the present invention is shown in FIG. 2 (a) based on the principle diagram of the present invention in FIG.
第2図(b)はフローチャートである。FIG. 2 (b) is a flowchart.
図中、20は変分手段、30はモード識別手段である。In the figure, 20 is a variation means and 30 is a mode identification means.
図形処理装置1はタブレット装置2から座標が入力され
ると、座標移動処理手段17を駆動して丸め込み処理を行
った後、モード識別手段30を起動する。モード識別手段
30は線分作成手段15が動作中(図形作成モードの場合)
であるか、文字作成手段16が動作中(文字作成モードの
場合)であるかを調べる。When the coordinates are input from the tablet device 2, the figure processing device 1 drives the coordinate movement processing means 17 to perform the rounding processing, and then activates the mode identifying means 30. Mode identification means
30 is the line segment creating means 15 in operation (in figure creation mode)
Or whether the character creating means 16 is operating (in the character creating mode).
若し文字作成モードである時は変分手段20が動作して丸
め込み処理後の入力座標(xN,yN)に対し、オフセ
ットを加算して (xN+Δx,yN+Δy)に変える動作を行う。若し
図形作成モードである時は変分手段20は動作せず、丸め
込み処理後の入力座標(xN,yN)に対し、オフセッ
トの加算を行わない。If it is in the character creation mode, the variation means 20 operates to add an offset to the input coordinates (x N , y N ) after the rounding process to change to (x N + Δx, y N + Δy). I do. If it is in the figure creation mode, the variation means 20 does not operate and the offset is not added to the input coordinates (x N , y N ) after the rounding process.
タブレット装置2から座標入力があると、本発明による
図形処理装置1は第2図(b)のフローチャートに従って
動作する。When coordinates are input from the tablet device 2, the graphic processing device 1 according to the present invention operates according to the flowchart of FIG. 2 (b).
モード指定を行う。Specify the mode.
タブレット装置2から入力(座標)がある。There is an input (coordinates) from the tablet device 2.
図形処理装置1の制御部10は座標移動処理手段17を起
動して入力座標に対し丸め込み処理を行う。The control unit 10 of the graphic processing device 1 activates the coordinate movement processing means 17 to perform rounding processing on the input coordinates.
モード識別手段30は図形作成モードであるか、文字作
成モードであるかを調べる。The mode identifying means 30 checks whether the mode is the graphic creation mode or the character creation mode.
文字作成モードの時、変分手段20が動作し丸め込み処
理後の入力座標(xN,yN)にオフセットを付加し、
座標値を(xN+Δx,yN+Δy)に変えて、終了す
る。In the character creation mode, the variation means 20 operates to add an offset to the input coordinates (x N , y N ) after the rounding process,
The coordinate value is changed to (x N + Δx, y N + Δy), and the process ends.
若し図形作成モードの時は変分手段20が動作せず、直
ちに終了する。If it is in the figure creation mode, the variation means 20 does not operate and ends immediately.
此の結果、文字のディスプレイ画面上の入力位置はオフ
セット分だけずれることになる。As a result, the input position of the character on the display screen is displaced by the offset.
尚上記説明に於いては、変分手段20はx軸方向とy軸方
向の両方にオフセットを付加したが、必ずしも両軸にオ
フセットを付加する必要はなく、場合によりx軸方向の
み、又はy軸方向のみにオフセットを付加することも可
能である。In the above description, the variation means 20 adds the offsets in both the x-axis direction and the y-axis direction, but it is not always necessary to add the offsets in both the axes, and in some cases, only in the x-axis direction or y. It is also possible to add an offset only in the axial direction.
以上詳細に説明した様に本発明によれば、図形と文字を
入力するため、同じ入力点をヒットした場合でも文字の
配置位置が若干ずれ、見やすい文字の配置を容易に行う
ことが出来ると云う大きい効果がある。As described in detail above, according to the present invention, since a graphic and a character are input, even if the same input point is hit, the position of the character is slightly displaced, and it is possible to easily arrange the character that is easy to see. It has a great effect.
第1図は本発明の原理図である。 第2図(a)は本発明の一実施例を示す図である。 第2図(b)はフローチャートである。 第3図(a)は従来のタブレット装置を有する図形処理シ
ステムの一例を示す図である。 第3図(b)は従来の図形処理装置の一例を示す図であ
る。 第4図はタブレット画面上のグリット群の一例を示す図
である。 第5図は従来の図形の入力時の表示説明図である。 図中、1は図形処理装置、2は座標入力装置(タブレッ
ト装置)、2aはタブレット画面、2bはスタイラスペ
ン、2cは制御部、3はモード指定キー、10は制御部、
11はインタフェイス部、12は図面作業ファイル、13は出
力手段、14はディスプレイ画面、15は線分作成手段、16
は文字作成手段、17は座標移動処理手段、18は入力手
段、20は変分手段、30はモード識別手段である。FIG. 1 is a principle diagram of the present invention. FIG. 2 (a) is a diagram showing an embodiment of the present invention. FIG. 2 (b) is a flowchart. FIG. 3 (a) is a diagram showing an example of a graphic processing system having a conventional tablet device. FIG. 3 (b) is a diagram showing an example of a conventional graphic processing apparatus. FIG. 4 is a diagram showing an example of a grid group on the tablet screen. FIG. 5 is an explanatory view of a display when a conventional figure is input. In the figure, 1 is a figure processing device, 2 is a coordinate input device (tablet device), 2a is a tablet screen, 2b is a stylus pen, 2c is a control unit, 3 is a mode designation key, 10 is a control unit,
11 is an interface unit, 12 is a drawing work file, 13 is output means, 14 is a display screen, 15 is line segment creating means, 16
Is a character creating means, 17 is a coordinate movement processing means, 18 is an input means, 20 is a variation means, and 30 is a mode identification means.
Claims (1)
数の座標点(xG,yG)の中で最も近い座標点
(xN,yN)を検出する座標移動処理手段(17)を
有し、座標入力装置(2)からの入力座標(xP,
yP)を, 前記座標点(xN,yN)へ座標移動を行う図形処理装
置の文字配置装置に於いて, 該図形処理装置(1)の処理モードが文字処理モードで
あるか,又は図形処理モードであるかを識別する手段
(30)と, 座標点に対し座標点(xN,yN)の変分を行う変分手
段(20)とを設け, 該モード識別手段(30)により識別されたモードに応
じ,入力座標(xP,yP)に最近な該座標点(xN,
yN)に対し少なくとも一方の座標値に対する変分処理
を行うことを特徴とする図形処理装置の文字配置装置。1. A coordinate movement processing means (17) for detecting the closest coordinate point (x N , y N ) among a plurality of predetermined coordinate points (x G , y G ) with respect to the input coordinate point. ) And input coordinates (x P , from the coordinate input device (2),
In the character arranging device of the graphic processing device for moving coordinates of y P ) to the coordinate point (x N , y N ), the processing mode of the graphic processing device (1) is the character processing mode, or Means (30) for identifying whether the mode is the graphic processing mode and variation means (20) for varying the coordinate point (x N , y N ) with respect to the coordinate point are provided, and the mode identification means (30) According to the mode identified by the input coordinate (x P , y P ), the coordinate point (x N ,
y N ) is a variation processing for at least one of the coordinate values, and is a character arrangement device of a graphic processing device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62084226A JPH0623995B2 (en) | 1987-04-06 | 1987-04-06 | Character arrangement device of graphic processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62084226A JPH0623995B2 (en) | 1987-04-06 | 1987-04-06 | Character arrangement device of graphic processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63249271A JPS63249271A (en) | 1988-10-17 |
| JPH0623995B2 true JPH0623995B2 (en) | 1994-03-30 |
Family
ID=13824563
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62084226A Expired - Fee Related JPH0623995B2 (en) | 1987-04-06 | 1987-04-06 | Character arrangement device of graphic processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0623995B2 (en) |
-
1987
- 1987-04-06 JP JP62084226A patent/JPH0623995B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63249271A (en) | 1988-10-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0243925B1 (en) | Instruction input system for electronic processor | |
| US5636336A (en) | Graphics processing unit for use with a stylus pen and tablet, and method therefore | |
| JPH0623995B2 (en) | Character arrangement device of graphic processing device | |
| JPS62150423A (en) | display control device | |
| JPS6124753B2 (en) | ||
| JP2554631B2 (en) | Object selection method | |
| JPH0145662B2 (en) | ||
| JPS605320A (en) | Menu appointing method and its device | |
| JPH06168019A (en) | NC automatic programming device | |
| JP2610832B2 (en) | Screen division pattern registration method | |
| JPS6156391A (en) | Image processing system | |
| JPH01282679A (en) | Cad system | |
| JPH0379732B2 (en) | ||
| JPS58154887A (en) | Cursor function | |
| JPH08286832A (en) | Cursor display device | |
| JPH05108263A (en) | Mouse input device | |
| JPH0228189B2 (en) | ||
| JPH0577111B2 (en) | ||
| JPS6140632A (en) | Font data generating device | |
| JPS62128371A (en) | Multi-window controller | |
| JP2803492B2 (en) | Character and image processing device | |
| JP2652435B2 (en) | Image display method | |
| JP2600592B2 (en) | Template display control device | |
| JP2616426B2 (en) | String display device | |
| JPS63106078A (en) | Display method for character string echo of graphic processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |