JPH05173544A - Character and graphic editing device - Google Patents

Character and graphic editing device

Info

Publication number
JPH05173544A
JPH05173544A JP3343402A JP34340291A JPH05173544A JP H05173544 A JPH05173544 A JP H05173544A JP 3343402 A JP3343402 A JP 3343402A JP 34340291 A JP34340291 A JP 34340291A JP H05173544 A JPH05173544 A JP H05173544A
Authority
JP
Japan
Prior art keywords
control point
coordinate value
display
coordinate
displayed
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
JP3343402A
Other languages
Japanese (ja)
Inventor
Hiroko Morikawa
裕子 森川
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP3343402A priority Critical patent/JPH05173544A/en
Publication of JPH05173544A publication Critical patent/JPH05173544A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To execute delicate editing for the form of character and graphic by displaying the coordinate value of a control point which is the closest to a position instructed by An instruction means on a coordinate value display means. CONSTITUTION:This device is provided with the instruction means 10 which instructs a desired position on a display screen, a detection means 50 which detects the control point which is the closest to the position instructed by the means 10 out of the respective control points constituting a contour displayed on a display screen, and the coordinate value display means 60 which displays the coordinate value of the control point detected by the means 50. Then, the coordinate value of the control point which is the closest to the position instructed by the means 10 is displayed on the means 60. Therefore, by designating the position near the desired control point, a user knows the accurate coordinate value of the control point, thereby executing the delicate editing for the form of the character and the graphic.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、アウトラインデータ
に対応する文字・図形等の輪郭を表示画面上に表示する
文字・図形編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character / graphics editing apparatus for displaying outlines of characters / graphics corresponding to outline data on a display screen.

【0002】[0002]

【従来の技術】従来においては、文字・図形の形状デー
タがアウトラインで表現された形状を作成・編集すると
きには、その形状をディスプレイに表示し、該ディスプ
レイに表示された形状に対して、ポインティングデバイ
スやキーボードを使用して対話的に操作するようにして
いる。
2. Description of the Related Art Conventionally, when a shape in which character / graphic shape data is represented by an outline is created / edited, the shape is displayed on a display, and a pointing device is used for the shape displayed on the display. I try to operate it interactively using the keyboard.

【0003】具体的には、アウトラインは制御点の座標
値と属性とからなる閉曲線の集まりであるので、形状を
変更するときは、一つの制御点、複数の制御点、一つの
閉曲線、複数の閉曲線、全ての形状データ、のいずれか
の単位で変更するようにしている。
Specifically, since an outline is a set of closed curves consisting of coordinate values and attributes of control points, when changing the shape, one control point, a plurality of control points, one closed curve, and a plurality of closed curves. The closed curve and all the shape data are changed in any of the units.

【0004】また制御点の座標値を知る方法としては、
Altsys社から「January 4、1990」に発行された「Font
grapher (Ver.3 ・0 )ユーザ・マニュアル、p4 、
p27他」(以下、文献という)に記載されたものが知ら
れている。この文献に記載された技術によれば、常にカ
ーソルの座標値を表示するようにしているので、カーソ
ルが制御点の近傍に存在していれば、その制御点の大体
の座標値を知ることができる。また制御点の座標値を表
示させるべくポップアップメニューを表示し、そのメニ
ューを操作することによって一つ一つの制御点の座標値
を表示させることにより、制御点の座標値を知ることも
できる。
As a method of knowing the coordinate value of the control point,
"Font issued by Altsys in" January 4, 1990 "
grapher (Ver.3 ・ 0) User Manual, p4,
p27 et al. "(hereinafter referred to as literature) are known. According to the technique described in this document, since the coordinate value of the cursor is always displayed, it is possible to know the approximate coordinate value of the control point if the cursor exists near the control point. it can. It is also possible to know the coordinate value of the control point by displaying a pop-up menu to display the coordinate value of the control point and displaying the coordinate value of each control point by operating the menu.

【0005】[0005]

【発明が解決しようとする課題】ところで、形状の微妙
な変更を行う場合は、形状の表示倍率を高くして表示し
た後、ポインティングデバイスを操作する必要がある。
By the way, in the case of subtly changing the shape, it is necessary to operate the pointing device after displaying the shape with a high display magnification.

【0006】何故ならば、アウトラインデータを基本単
位(例えば1文字)当たり例えば32×32ドットのビ
ットマップで表示するとすると、解像度が例えば縦64
0×横400ドットのディスプレイ上にも32×32ド
ットでアウトラインがビットマップ表示されることとな
る。しかし、このようなビットマップ表示では、ユーザ
は形状の微妙な違いを認識することができないので、形
状の微妙な変更を行う事は不可能か或いは極めて困難で
ある。そこで基本単位のビットマップの表示倍率を予め
設定される最大倍率にして、例えば100×100ドッ
トでビットマップ表示することにより、形状の細かい部
分もある程度認識可能になるので、形状の微妙な変更を
行うことができる。
The reason is that if the outline data is displayed in a bitmap of, for example, 32 × 32 dots per basic unit (for example, one character), the resolution is, for example, 64 vertically.
The outline is displayed in a bitmap with 32 × 32 dots on the display of 0 × 400 dots. However, in such a bitmap display, the user cannot recognize a subtle difference in shape, so it is impossible or extremely difficult to make a subtle change in shape. Therefore, by setting the display magnification of the bitmap of the basic unit to a preset maximum magnification and displaying the bitmap with 100 × 100 dots, for example, even a fine portion can be recognized to some extent. It can be carried out.

【0007】しかしながら、実際のアウトラインデータ
の基本単位が例えば1000×1000ドットの座標系
で表現されていたとすれば、1000×1000ドット
でデータが表現されるものが、間引きされて100×1
00ドットでビットマップ表示されるので、アウトライ
ンデータに忠実な形状の細部まで表示することは不可能
である。したがって、見た目だけでは表示されている実
際の形状と所望する形状との差異が分からなくても、そ
の実際の形状をビットマップデータに展開するときに
は、所望する形状とは大きな違いとなることもある。
However, if the basic unit of actual outline data is represented by a coordinate system of 1000 × 1000 dots, for example, data represented by 1000 × 1000 dots is thinned out to 100 × 1.
Since it is displayed as a bitmap with 00 dots, it is impossible to display the details of the shape faithful to the outline data. Therefore, even if the difference between the displayed actual shape and the desired shape is not known from the appearance alone, when the actual shape is expanded into the bitmap data, there may be a large difference from the desired shape. ..

【0008】例えば、1000×1000ドットの座標
系においてアウトラインデータで表現された線分の端点
がX−Y座標値(0、0)、X−Y座標値(10、50
0)であった場合、ディスプレイに100×100ドッ
トでビットマップ表示された線分は、垂直としか見えな
い場合がある。従ってユーザはその線分が垂直になって
見えるので、垂直の線分が所望の形状であったときは編
集を行わなくても良いと判断してしまう。しかし、実際
には線分は右の方に傾いているので、アウトラインデー
タを、32×32ドットのビットマップデータに展開し
たときには、そのビットマップデータに基づく形状は、
所望の形状(この例では垂直な線分)とは異なっている
ことがある。
For example, in the coordinate system of 1000 × 1000 dots, the end points of the line segment represented by the outline data are XY coordinate values (0, 0) and XY coordinate values (10, 50).
In the case of 0), the line segment displayed as a bitmap with 100 × 100 dots on the display may be seen only as vertical. Therefore, since the line segment appears to be vertical, the user determines that the vertical line segment does not have to be edited when it has a desired shape. However, since the line segment is actually inclined to the right, when the outline data is expanded into 32 × 32 dot bitmap data, the shape based on the bitmap data is
It may differ from the desired shape (a vertical line segment in this example).

【0009】そこで、ディスプレイに表示されている形
状における輪郭の制御点の座標値を正確に知ることがで
きれば、輪郭がどのうよな状態になっているかを正確に
把握することができる。例えば上記の例では、ユーザ
が、表示装置に表示された線分の各端点(つまり各制御
点)の座標値のx座標値が異なっているということを知
ることにより、線分は垂直ではないと判断することがで
き、その線分を修正することが可能となる。
Therefore, if the coordinate values of the control points of the contour in the shape displayed on the display can be accurately known, it is possible to accurately grasp what the contour is in. For example, in the above example, the line segment is not vertical because the user knows that the x-coordinate value of the coordinate value of each end point (that is, each control point) of the line segment displayed on the display device is different. Therefore, it is possible to correct the line segment.

【0010】しかしながら、上記文献に記載された技術
においては、制御点側(制御点の近傍)にポインティン
グデバイスの移動に伴って連動するカーソルが存在すれ
ば、そのカーソルの座標値を表示するようにしたもので
あって、制御点の座標値そのものを表示するようにした
ものではないので、正確な制御点の座標値を知ることは
できない。例えば、2つの制御点のそれぞれの座標値を
知りたいときは、カーソルを移動してそれぞれの座標値
の近似値を求める(表示させる)ことができるが、この
値は正確な制御点の座標値ではない。
However, in the technique described in the above document, if there is a cursor that interlocks with the movement of the pointing device on the control point side (near the control point), the coordinate value of the cursor is displayed. However, since the coordinate value itself of the control point is not displayed, it is not possible to know the exact coordinate value of the control point. For example, if you want to know the coordinate value of each of the two control points, you can move the cursor to find (display) the approximate value of each coordinate value, but this value is the exact coordinate value of the control point. is not.

【0011】またポップアップメニューを操作して各制
御点の座標値を表示させる方法にあっては、メニュー表
示やそのメニューに対する操作、また所望の制御点の座
標値が表示されるまでメニュー操作しなければならず面
倒である。
In the method of operating the pop-up menu to display the coordinate value of each control point, the menu display and the operation for the menu, and the menu operation until the coordinate value of the desired control point are displayed. It must be troublesome.

【0012】この発明は、画面表示されアウトラインデ
ータに対応する文字・図形等の形状を高精度に編集する
ことのできる文字・図形編集装置を提供することを目的
とする。
It is an object of the present invention to provide a character / graphics editing apparatus capable of highly accurately editing the shapes of characters / graphics displayed on a screen and corresponding to outline data.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するた
め、この発明は、アウトラインデータに対応する文字・
図形等の輪郭を表示画面上に表示する文字・図形編集装
置において、前記表示画面の所望の位置を指示する指示
手段と、前記表示画面上に表示されている輪郭を構成す
る各制御点のうち、前記指示手段によって指示された位
置に最も近い制御点を検出する検出手段と、この検出手
段により検出された制御点の座標値を表示する座標値表
示手段とを具えている。
In order to achieve the above-mentioned object, the present invention provides a character / text corresponding to outline data.
In a character / graphic editing apparatus for displaying the contour of a figure or the like on a display screen, an instruction means for instructing a desired position on the display screen, and control points constituting the contour displayed on the display screen. The detecting means detects the control point closest to the position designated by the indicating means, and the coordinate value display means for displaying the coordinate value of the control point detected by the detecting means.

【0014】[0014]

【作用】この発明に係る文字・図形編集装置によれば、
座標値表示手段には、指示手段よって指示された位置に
最も近い制御点の座標値が表示されるので、ユーザは所
望の制御点の近傍の位置を指定することにより、その制
御点の正確な座標値を知ることができることとなり、文
字・図形等の形状に対して微妙な編集を行うことができ
る。
According to the character / graphic editing apparatus of the present invention,
Since the coordinate value display means displays the coordinate value of the control point closest to the position designated by the designating means, the user can specify the position in the vicinity of the desired control point to accurately determine the control point. Since it is possible to know the coordinate values, it is possible to make subtle edits to the shapes of characters and figures.

【0015】[0015]

【実施例】以下、本発明の実施例を添付図面を参照して
説明する。
Embodiments of the present invention will be described below with reference to the accompanying drawings.

【0016】図1は、本発明に係る文字・図形編集装置
の一実施例を機能ブロック図で示したものである。
FIG. 1 is a functional block diagram showing an embodiment of a character / graphic editing apparatus according to the present invention.

【0017】同図において、文字・図形編集装置は、指
示手段10、表示部20、記憶部30、制御部40、検
出手段50、座標表示手段60を備えている。
In the figure, the character / graphic editing apparatus comprises an instruction means 10, a display section 20, a storage section 30, a control section 40, a detection means 50, and a coordinate display means 60.

【0018】指示手段10はポインティングデバイス例
えばマウスであり、表示部30の表示画面の所望の位置
を指示したり、表示部20に表示されている文字・図形
に対する編集を行うための編集指令を与える。所望の位
置の指定は、指示手段10を操作することにより移動す
るカーソルによって行われる。そのカーソルは、実際に
はマウスの移動に伴って連動するように設定されてい
る。
The instructing means 10 is a pointing device, for example, a mouse, and gives an editing command for instructing a desired position on the display screen of the display unit 30 and for editing the characters / graphics displayed on the display unit 20. .. Designation of a desired position is performed by a cursor that is moved by operating the instruction means 10. The cursor is actually set to interlock with the movement of the mouse.

【0019】表示部20はビットマップ型のディスプレ
イであり、文字・図形やカーソルを表示したり、表示情
報をマルチウィンドウ形式で表示する。
The display unit 20 is a bitmap type display, and displays characters / graphics, a cursor, and display information in a multi-window format.

【0020】記憶部30は、主メモリで構成される形状
データ座標系アウトライン記憶領域31および形状デー
タ座標系カーソル位置記憶領域32と、フレームメモリ
で構成される表示座標系記憶領域33とを有しており、
形状データ座標系アウトライン記憶領域31には、図示
しないディスクからロードされたアウトラインデータや
新規に作成されたアウトラインデータが記憶される。す
なわちアウトラインデータとしての、制御点の座標値と
属性とからなる閉曲線データが記憶される。形状データ
座標系カーソル位置記憶領域32には形状データ座標系
でのカーソルの位置情報(座標)が記憶される。表示座
標系記憶領域33には、表示部20の座標系で表示する
ための、表示座標系に変換された上記アウトラインデー
タ、表示座標系でのカーソルの形状及び位置を示すカー
ソルデータが記憶される。
The storage unit 30 has a shape data coordinate system outline storage area 31 and a shape data coordinate system cursor position storage area 32 which are composed of a main memory, and a display coordinate system storage area 33 which is composed of a frame memory. And
The shape data coordinate system outline storage area 31 stores outline data loaded from a disc (not shown) or newly created outline data. That is, the closed curve data including the coordinate value of the control point and the attribute is stored as the outline data. The shape data coordinate system cursor position storage area 32 stores position information (coordinates) of the cursor in the shape data coordinate system. The display coordinate system storage area 33 stores the outline data converted into the display coordinate system for displaying in the coordinate system of the display unit 20, and cursor data indicating the shape and position of the cursor in the display coordinate system. ..

【0021】制御部40は、プロセッサや中央処理装置
で構成されており、表示座標系記憶領域33に記憶され
ているデータに基づいて、文字・図形やカーソルを表示
部20に表示する。またカーソルの表示座標系での座標
値を、形状データ座標系(例えば1000×1000ド
ットの座標系)での座標値に変換して形状データ座標系
カーソル位置記憶領域32に格納する。更に、指示手段
10によって編集指令が与えられると、制御部40はそ
の旨を検出手段50に通知する。
The control unit 40 is composed of a processor and a central processing unit, and displays characters / graphics and a cursor on the display unit 20 based on the data stored in the display coordinate system storage area 33. Further, the coordinate value in the display coordinate system of the cursor is converted into the coordinate value in the shape data coordinate system (for example, the coordinate system of 1000 × 1000 dots) and stored in the shape data coordinate system cursor position storage area 32. Further, when an editing command is given by the instructing means 10, the control unit 40 notifies the detecting means 50 of that fact.

【0022】検出手段50では、その編集指令に基づい
て、形状データ座標系記憶領域31に記憶されているデ
ータを参照して、表示部20の表示画面上に表示されて
いる輪郭を構成する各制御点のうち、指示手段10によ
って指示された位置に最も近い制御点を検出すると共
に、該検出した制御点の座標値を表示する座標値表示手
段60に表示する。座標値表示手段60は、表示部20
の表示画面に表示されるウィンドウである。このウィン
ドウは、検出手段50によって検出された制御点の座標
値を表示する時点で表示されるようにしても良いし、表
示画面上に予め設けられた表示領域内に表示されていて
も良い。
The detecting means 50 refers to the data stored in the shape data coordinate system storage area 31 on the basis of the editing command to construct each contour displayed on the display screen of the display section 20. Among the control points, the control point closest to the position designated by the designating means 10 is detected, and the coordinate value display means 60 for displaying the coordinate value of the detected control point is displayed. The coordinate value display means 60 includes the display unit 20.
Is a window displayed on the display screen of. This window may be displayed at the time of displaying the coordinate value of the control point detected by the detection means 50, or may be displayed in a display area provided in advance on the display screen.

【0023】検出手段50はプロセッサや中央処理装置
などハードウェアで実現するようにしても良いし、検出
手段50の機能を遂行させるためのソフトウェア(プロ
グラム)を前記ハードウェアで実行することにより実現
するようにしても良い。
The detecting means 50 may be realized by hardware such as a processor or a central processing unit, or by executing software (program) for executing the function of the detecting means 50 by the hardware. You may do it.

【0024】上述した構成において、文字・図形編集装
置の概略動作を図2に示すフローチャートを参照して説
明する。
The schematic operation of the character / figure editing apparatus having the above-mentioned structure will be described with reference to the flow chart shown in FIG.

【0025】制御部40は、表示座標系記憶領域33か
ら、ポインティングデバイスのカーソルの表示座標系で
のカーソル位置(座標値)を読み込むと共に(ステップ
201)、該カーソル位置の座標値を形状データの座標
系に変換して(ステップ202)、形状データ座標系カ
ーソル位置記憶領域32に記憶する。次に検出手段50
は、形状データ座標系アウトライン記憶領域31から形
状データの制御点を、形状データ座標系カーソル位置記
憶領域32からカーソル位置の座標値をそれぞれ読み出
して(ステップ203)、全ての制御点についてカーソ
ルの位置と制御点の位置との差を演算し、その差が予め
設定された閾値以下か否かを調べる(ステップ20
4)。ここで、差が閾値以下の制御点を、カーソルの最
寄りの制御点であると認識する。ステップ204を終了
した場合、検出手段50はカーソルの最寄りの制御点が
あるか否かを判断し(ステップ205)、存在する場合
には、該当する制御点の座標値を座標値表示手段60に
表示し(ステップ206)、一方、存在しない場合は処
理を終了する。
The control unit 40 reads the cursor position (coordinate value) in the display coordinate system of the cursor of the pointing device from the display coordinate system storage area 33 (step 201), and at the same time, the coordinate value of the cursor position is stored in the shape data. It is converted into a coordinate system (step 202) and stored in the shape data coordinate system cursor position storage area 32. Next, the detection means 50
Reads the control point of the shape data from the shape data coordinate system outline storage area 31 and the coordinate value of the cursor position from the shape data coordinate system cursor position storage area 32 (step 203), and moves the cursor position for all control points. And the position of the control point are calculated, and it is checked whether or not the difference is less than or equal to a preset threshold value (step 20).
4). Here, the control point whose difference is less than or equal to the threshold value is recognized as the control point closest to the cursor. When step 204 is completed, the detection means 50 determines whether or not there is a control point closest to the cursor (step 205), and if it exists, the coordinate value of the corresponding control point is displayed on the coordinate value display means 60. It is displayed (step 206), while if it does not exist, the process is terminated.

【0026】次に、本実施例の編集処理動作を、図3乃
至図6、上述した図1を参照して説明する。
Next, the editing processing operation of this embodiment will be described with reference to FIGS. 3 to 6 and FIG. 1 described above.

【0027】尚、図3は編集処理動作を示すフローチャ
ートを、図4は文字形状編集例を、図5及び図6はその
処理過程で作成されるデータをそれぞれ示している。
Incidentally, FIG. 3 shows a flow chart showing the editing processing operation, FIG. 4 shows an example of character shape editing, and FIGS. 5 and 6 show data created in the processing process.

【0028】ここでは、図4に示す様な、制御点0、制
御点1、制御点2、制御点3から構成される閉曲線1
と、制御点4、制御点5、制御点6、制御点7から構成
される閉曲線2とからなる文字形状を、編集する場合の
編集処理について説明する。なお図5において、記号
“□”及び“○”は制御点であり特に記号“□”は開始
点の制御点であり、記号“+”はカーソルである。閉曲
線1の進行方向は左回りとなっており、閉曲線2の進行
方向は右回りとなっている。
Here, a closed curve 1 composed of control point 0, control point 1, control point 2 and control point 3 as shown in FIG.
An editing process for editing a character shape consisting of a closed curve 2 composed of control points 4, 5, 5, 6, and 7 will be described. In FIG. 5, the symbols “□” and “◯” are control points, especially the symbol “□” is the control point of the starting point, and the symbol “+” is the cursor. The traveling direction of the closed curve 1 is counterclockwise, and the traveling direction of the closed curve 2 is clockwise.

【0029】図3に示すように、制御部40は、表示座
標系記憶領域32からカーソルの表示座標系でのカーソ
ル位置の座標値を読み込むと共に(ステップ301)、
該カーソル位置の座標値を形状データの座標系に変換し
て(ステップ302)、形状データ座標系カーソル位置
記憶領域32に記憶する。このとき、形状データ座標系
アウトライン記憶領域31から得られる各制御点およ
び、形状データ座標系カーソル位置記憶領域32から得
られるカーソル位置の座標は、図5に示す座標値データ
500として表されれる。
As shown in FIG. 3, the control unit 40 reads the coordinate value of the cursor position in the display coordinate system of the cursor from the display coordinate system storage area 32 (step 301),
The coordinate value of the cursor position is converted into the coordinate system of the shape data (step 302) and stored in the shape data coordinate system cursor position storage area 32. At this time, each control point obtained from the shape data coordinate system outline storage area 31 and the coordinates of the cursor position obtained from the shape data coordinate system cursor position storage area 32 are represented as coordinate value data 500 shown in FIG.

【0030】検出手段50では、形状データ座標系アウ
トライン記憶領域31から形状データの制御点の座標値
を読み出して(ステップ203)、図6に示すような形
式で候補リスト600を作成する(ステップ304)。
この候補リスト600の各リストは、制御点の順番、距
離の2乗の各アイテムから構成されている。この時点で
は実際のデータは書き込まれていない。ここではリスト
の個数は6個としているが、幾つであっても良い。
The detecting means 50 reads the coordinate values of the control points of the shape data from the shape data coordinate system outline storage area 31 (step 203) and creates the candidate list 600 in the format as shown in FIG. 6 (step 304). ).
Each list of the candidate list 600 is composed of items of control point order and distance squared. Actual data has not been written at this point. Although the number of lists is six here, any number may be used.

【0031】次に検出手段50は、全ての制御点をチェ
ックしたか否かを判断し(ステップ305)、未チェッ
クのものがある場合は、その未チェックの制御点及びカ
ーソルの位置の座標値に基づいて、制御点とカーソルの
位置との距離の2乗を演算し(ステップ306)、この
演算結果に基づいて、距離の2乗の値が予め設定された
閾値以下か否かを判断する(ステップ307)。ここで
は、その閾値は形状データ座標系で「2」に設定されて
いる。ステップ307で距離の2乗の値が、閾値より大
きい場合は上記ステップ305に戻りこのステップ以降
を実行し、また閾値以下の場合は制御点の順番と距離の
2乗の値とを候補リスト600に書き込む(ステップ3
08)。
Next, the detecting means 50 judges whether or not all the control points have been checked (step 305), and if there is an unchecked one, the coordinate values of the unchecked control point and cursor position. Based on the above, the square of the distance between the control point and the cursor position is calculated (step 306), and based on the calculation result, it is determined whether or not the value of the square of the distance is less than or equal to a preset threshold value. (Step 307). Here, the threshold is set to "2" in the shape data coordinate system. If the value of the square of the distance is larger than the threshold value in step 307, the process returns to step 305 to execute this step and subsequent steps. Write to (Step 3
08).

【0032】次に検出手段50は、候補リスト600が
一杯になったか否かつまり各リスト全てにデータが書き
込まれたか否かを判断し(ステップ309)、空きリス
トがある場合は上記ステップ305に戻りこのステップ
以降を実行する。このステップ305で全ての制御点に
ついてチェックしと判断したならば、次に、候補リスト
が全て空きか(カーソルの位置と制御点との距離の2乗
の値が閾値以下のものがないか)を調べる(ステップ3
10)。ここで、2以上のリストにデータが存在してい
たならば、距離の2乗の値が最小である制御点を求め
る。もし距離の2乗の値が最小である制御点が2以上あ
れば、制御点の順番が小さい方を選ぶ(ステップ31
1)。続いて、選んだ制御点の形状データ座標系での座
標値を座標値表示手段60に表示すると共に(ステップ
312)、その制御点を反転表示する(ステップ31
3)。
Next, the detecting means 50 judges whether or not the candidate list 600 is full, that is, whether or not data has been written in all the lists (step 309), and if there is an empty list, the above step 305 is executed. Return Perform this step and subsequent steps. If it is determined in this step 305 that all control points have been checked, then all candidate lists are free (whether the square value of the distance between the cursor position and the control point is less than or equal to a threshold value). (Step 3
10). Here, if there is data in two or more lists, the control point with the smallest value of the square of the distance is obtained. If there are two or more control points with the smallest value of the square of the distance, the control point with the smallest order is selected (step 31).
1). Subsequently, the coordinate value of the selected control point in the shape data coordinate system is displayed on the coordinate value display means 60 (step 312), and the control point is highlighted (step 31).
3).

【0033】上記ステップ309で候補が一杯の場合、
検出手段50は、ステップ311に進む。つまり候補リ
スト600が一杯になったら、もうカーソルと制御点と
の距離の2乗を演算せずに、ステップ311へ進む。
If the candidates are full in step 309,
The detection means 50 proceeds to step 311. In other words, when the candidate list 600 is full, the process proceeds to step 311 without calculating the square of the distance between the cursor and the control point.

【0034】ここで具体例を挙げて説明すると、図5に
示される座標値データ500の内容に基づいて、制御点
とカーソルとの距離の2乗の演算を実行していくと、順
番7の制御点7のとき、制御点7の座標値(4、4)と
カーソル位置の座標値(3、3)との距離の2乗を演算
((4−3)の2乗+(4−3)の2乗)した値が、
「2」となる。これは閾値(値2)以下であるので、制
御点7のデータのみが候補リスト600に書き込まれる
ことになる。従って、この例では、ステップ309の評
価が「NO」となるのでステップ305に進み、このス
テップ305の評価が「YES」となるので次にステッ
プ310に進み、このステップ310の評価が「NO」
となるのでステップ311以降が実行されることとな
り、これによって順番7の制御点7の座標値が表示さ
れ、更に制御点7の画面表示が反転される。これにより
ユーザは、反転表示されている制御点の座標値を知るこ
とができる。
Explaining this with a concrete example, when the calculation of the square of the distance between the control point and the cursor is executed based on the contents of the coordinate value data 500 shown in FIG. At the control point 7, the square of the distance between the coordinate value (4, 4) of the control point 7 and the coordinate value (3, 3) of the cursor position is calculated (square of (4-3) + (4-3) ) Squared value is
It becomes "2". Since this is less than or equal to the threshold value (value 2), only the data of the control point 7 will be written in the candidate list 600. Therefore, in this example, since the evaluation in step 309 is "NO", the process proceeds to step 305, and the evaluation in step 305 is "YES", so the process proceeds to step 310, and the evaluation in step 310 is "NO".
Therefore, step 311 and the subsequent steps are executed, whereby the coordinate values of the control point 7 in the order 7 are displayed, and the screen display of the control point 7 is reversed. This allows the user to know the coordinate value of the highlighted control point.

【0035】次に、この実施例の応用例を列挙する。 (1)閾値をユーザが指定することもできる。 (2)閾値を表示座標系で指定することもできる。この
場合、表示座標系で表現された閾値を形状データ座標系
に変換して、その座標値と、カーソルの位置と制御点と
の距離の2乗を演算した変算結果とを比較することにな
る。 (3)候補リストの個数は6個とは限らない。 (4)候補リストが空きであれば、「該当する制御点が
ない」というメッセージを表示するようにする。 (5)距離の2乗の値が同一で最小の制御点が2つ以上
あるときは、ユーザの操作に応じて、それらの制御点に
ついての情報を順次表示する。 (6)制御点の画面表示を反転させる以外にも、制御点
の色を変更したり、制御点を小さい矩形で囲んだりする
こともできる。 (7)カーソルの最寄りのセグメントを選んで、x座標
やy座標の最小値または最大値、あるいは端点の座標を
表示させることもできる。この場合、カーソルの位置か
ら、各セグメントへ垂線を引き、その垂線の長さが最も
短いときのセグメントを選ぶ。なお垂線の長さが同一で
最も短いときのセグメントが複数ある場合は、ユーザの
操作に応じて、それらのセグメントについての情報を順
次表示する。 (8)カーソルの最寄りの閉曲線を選んで、x座標やy
座標の最小値または最大値、あるいは閉曲線の開始点の
座標を表示させることもできる。この場合、上記(7)
で説明した方法で得られたセグメントを含んでいる閉曲
線を選ぶ。
Next, application examples of this embodiment will be listed. (1) The user can also specify the threshold value. (2) The threshold value can be specified by the display coordinate system. In this case, the threshold value expressed in the display coordinate system is converted into the shape data coordinate system, and the coordinate value is compared with the calculation result of the square of the distance between the cursor position and the control point. Become. (3) The number of candidate lists is not limited to six. (4) If the candidate list is empty, a message "No corresponding control point" is displayed. (5) When the square value of the distance is the same and there are two or more minimum control points, information on those control points is sequentially displayed according to the user's operation. (6) In addition to reversing the screen display of the control points, the color of the control points can be changed and the control points can be surrounded by a small rectangle. (7) It is also possible to select the segment closest to the cursor and display the minimum or maximum value of the x coordinate or the y coordinate, or the coordinate of the end point. In this case, a vertical line is drawn from the cursor position to each segment, and the segment having the shortest vertical line length is selected. If there are a plurality of segments with the same vertical length and the shortest length, information about these segments is sequentially displayed according to the user's operation. (8) Select the closed curve closest to the cursor and select x coordinate or y
It is also possible to display the minimum value or the maximum value of the coordinates, or the coordinates of the starting point of the closed curve. In this case, (7) above
Select the closed curve containing the segment obtained by the method described in.

【0036】以上説明したように本実施例によれば、カ
ーソルの最寄りの制御点の形状データの座標値を数値で
表示するので、精度の高い形状の編集が可能となる。ま
た制御点の座標値が表示されるので、形状のデータチェ
ックが簡単にできる。
As described above, according to this embodiment, since the coordinate value of the shape data of the control point closest to the cursor is displayed as a numerical value, it is possible to edit the shape with high accuracy. Moreover, since the coordinate values of the control points are displayed, it is possible to easily check the shape data.

【0037】[0037]

【発明の効果】以上説明したように本発明によれば、座
標値表示手段には、指示手段よって指示された位置に最
も近い制御点の座標値が表示されるので、ユーザは所望
の制御点の近傍の位置を指定することにより、その制御
点の正確な座標値を知ることができる。従って文字・図
形等の形状に対して微妙な編集を行うことができる。
As described above, according to the present invention, the coordinate value display means displays the coordinate value of the control point closest to the position designated by the designating means. By specifying the position in the vicinity of, the precise coordinate value of the control point can be known. Therefore, it is possible to delicately edit the shapes of characters and figures.

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

【図1】本発明に係る文字・図形編集装置の一実施例を
示す機能ブロック図。
FIG. 1 is a functional block diagram showing an embodiment of a character / graphic editing apparatus according to the present invention.

【図2】本実施例の概略動作を示すフローチャート。FIG. 2 is a flowchart showing a schematic operation of this embodiment.

【図3】図1に示した実施例の装置の詳細な編集処理動
作を示すフローチャート。
FIG. 3 is a flowchart showing a detailed edit processing operation of the apparatus of the embodiment shown in FIG.

【図4】本実施例で使用した文字形状編集の一例を示す
図。
FIG. 4 is a diagram showing an example of character shape editing used in this embodiment.

【図5】本実施例における形状データ座標系での制御点
及びカーソルの座標値データの一例を示す図。
FIG. 5 is a diagram showing an example of coordinate value data of control points and a cursor in the shape data coordinate system in the present embodiment.

【図6】本実施例における候補リストの一例を示す図。FIG. 6 is a diagram showing an example of a candidate list according to the present embodiment.

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

10…指示手段、20…表示部、30…記憶部、 31…形状データ座標系アウトライン記憶領域、 32…形状データ座標系カーソル位置記憶領域、 33…表示座標系記憶領域、40…制御部、 50…検出手段、60…座標値表示手段。 10 ... Instructing means, 20 ... Display unit, 30 ... Storage unit, 31 ... Shape data coordinate system outline storage region, 32 ... Shape data coordinate system cursor position storage region, 33 ... Display coordinate system storage region, 40 ... Control unit, 50 Detecting means, 60 Coordinate value displaying means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】アウトラインデータに対応する文字・図形
等の輪郭を表示画面上に表示する文字・図形編集装置に
おいて、 前記表示画面の所望の位置を指示する指示手段と、 前記表示画面上に表示されている輪郭を構成する各制御
点のうち、前記指示手段によって指示された位置に最も
近い制御点を検出する検出手段と、 この検出手段により検出された制御点の座標値を表示す
る座標値表示手段とを具えたことを特徴とする文字・図
形編集装置。
1. A character / graphics editing apparatus for displaying outlines of characters / graphics, etc. corresponding to outline data on a display screen, instructing means for designating a desired position on the display screen, and displaying on the display screen. Detection means for detecting the control point closest to the position designated by the designating means, out of the respective control points constituting the contour, and the coordinate value for displaying the coordinate value of the control point detected by the detection means. A character / graphics editing device characterized by comprising display means.
JP3343402A 1991-12-25 1991-12-25 Character and graphic editing device Pending JPH05173544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3343402A JPH05173544A (en) 1991-12-25 1991-12-25 Character and graphic editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3343402A JPH05173544A (en) 1991-12-25 1991-12-25 Character and graphic editing device

Publications (1)

Publication Number Publication Date
JPH05173544A true JPH05173544A (en) 1993-07-13

Family

ID=18361237

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3343402A Pending JPH05173544A (en) 1991-12-25 1991-12-25 Character and graphic editing device

Country Status (1)

Country Link
JP (1) JPH05173544A (en)

Similar Documents

Publication Publication Date Title
KR900006042B1 (en) Display control apparatus for use in composite document processing apparatus
JPH0798769A (en) Information processor and its screen editing method
JPS6240580A (en) Graphic drawing method
GB2284524A (en) Graphic editing apparatus and method
JPH05108786A (en) Method and apparatus for transforming graphic form
JPH08255221A (en) Character graphic input editing device
JPH05173544A (en) Character and graphic editing device
JPH09259295A (en) Cad system
JP2751211B2 (en) Document creation device
JPH08106542A (en) Expanding and display method for graphic
JP2674647B2 (en) Graphic processing system
JPH06282401A (en) Menu display method
JP2751212B2 (en) Document creation device
JPS6385978A (en) Graphic editing device
JP2643617B2 (en) Method and apparatus for drawing walls or beams in architectural drawings, etc.
JP2536948B2 (en) Three-point specified circular arc detection method and device
JP3425771B2 (en) Figure creation method and apparatus
JPH11306370A (en) Picture processor
JPH05314232A (en) Graphic preparing device
JPH03226797A (en) Image processor
JP3825826B2 (en) Document editing apparatus and method
JP3470974B2 (en) Figure creation method and apparatus
KR100273334B1 (en) Method of vector font realization in cad system
JPH0458044B2 (en)
JPS622374A (en) Plotting system