JPH05108050A - Character editing device - Google Patents

Character editing device

Info

Publication number
JPH05108050A
JPH05108050A JP3266472A JP26647291A JPH05108050A JP H05108050 A JPH05108050 A JP H05108050A JP 3266472 A JP3266472 A JP 3266472A JP 26647291 A JP26647291 A JP 26647291A JP H05108050 A JPH05108050 A JP H05108050A
Authority
JP
Japan
Prior art keywords
contour
contours
character
inclusion
editing
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.)
Granted
Application number
JP3266472A
Other languages
Japanese (ja)
Other versions
JP3000749B2 (en
Inventor
Yasushi Masuda
康 増田
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 JP3266472A priority Critical patent/JP3000749B2/en
Publication of JPH05108050A publication Critical patent/JPH05108050A/en
Application granted granted Critical
Publication of JP3000749B2 publication Critical patent/JP3000749B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To properly select several contours as objects of editing only by specifying some of the respective contours which constitute a character. CONSTITUTION:A contour retrieval part 3 retrieve contour data indicating one character from a contour information storage part 5 in response to an indication sent from an input part 1 through an editing contents decision part 3 and supplies the contour data to an editing process part 4. The editing process part 4 displays the contour of the character on the display screen of a display part 9 through a display control part 8. A contour inclusion relation detection part 6 detects the inclusion relation of the respective contours constituting the character and stores data indicating the inclusion relation of the respective contours as an inclusion table in an inclusion table storage part 7. When one contour is indicated from the input part 1, the contour retrieval part 3 retrieves other contours having the inclusion relation with the contour in the inclusion table and informs the editing process part 4 of those contours. The editing process part 4 edits the respective contours when the editing process is indicated from the input part 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は複数の輪郭を組み合わせ
て表現される文字を表示画面上に表示し、この文字を編
集する文字編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character editing apparatus for displaying a character represented by combining a plurality of contours on a display screen and editing the character.

【0002】[0002]

【従来の技術】この種の文字編集装置は、例えば第10
図に示すような複数の輪郭a1〜a8からなる文字を表示画
面上に表示し、これらの輪郭を編集処理するためのもの
である。この編集処理としては、輪郭の削除、移動、複
写、拡大、縮小、変形等がある(特開昭62−1570
89号公報を参照)。
2. Description of the Related Art This type of character editing device is, for example,
This is for displaying a character consisting of a plurality of contours a1 to a8 as shown in the drawing on the display screen and for performing an editing process on these contours. This editing processing includes deleting, moving, copying, enlarging, reducing and transforming the contour (Japanese Patent Laid-Open No. 62-1570).
89).

【0003】ところで、複数の輪郭を1つずつ編集処理
していたのでは、作業が繁雑になり、かつ時間を要す
る。このため、幾つかの輪郭を適宜に選択し、選択され
た各輪郭を一括して編集処理するようなことも行われて
いる。
By the way, if a plurality of contours are edited one by one, the work becomes complicated and time-consuming. For this reason, some contours are appropriately selected and the selected contours are collectively edited.

【0004】しかしながら、文字を構成する全ての各輪
郭のうちから幾つかの輪郭を適宜に選択する方法として
は、次のような2つのものしかなかった。
However, there are only the following two methods for appropriately selecting some contours from all the contours forming a character.

【0005】(A)選択すべき各輪郭を表示画面上で1
つずつ指定していく。
(A) Each contour to be selected is displayed on the display screen by 1
Specify each one.

【0006】(B)選択すべき各輪郭を包含する矩形領
域を表示画面上で指定し、該各輪郭を一括して選択す
る。
(B) A rectangular area including each contour to be selected is designated on the display screen, and each contour is selected at once.

【0007】前者(A)の方法では、操作が明らかに繁
雑である。
In the former method (A), the operation is obviously complicated.

【0008】また、後者(B)の方法では、文字の形状
が複雑である場合、矩形領域内に選択すべき各輪郭のみ
がうまく納まるとは限らず、対象外の余計な輪郭まで選
択してしまうことが度々ある。
Further, in the latter method (B), when the shape of the character is complicated, only the contours to be selected do not always fit in the rectangular area, and unnecessary contours other than the target are selected. It often happens.

【0009】[0009]

【発明が解決しようとする課題】このように従来の文字
編集装置では、文字を構成する全ての各輪郭のうちから
幾つかの輪郭を編集対象として選択しようとしても、そ
の選択方法としては先に述べた2つのものしかなく、い
ずれにしても操作が繁雑であったり、対象外の余計な輪
郭まで選択してしまうことが度々あるという問題点があ
った。
As described above, in the conventional character editing apparatus, even if an attempt is made to select some contours out of all the contours forming a character as an object to be edited, the selection method is as follows. There are only the two described above, and in any case, there are problems that the operation is complicated and that an unnecessary extra contour is often selected.

【0010】そこで、本発明は文字を構成する各輪郭の
うちのいずれかを指定するだけで、幾つかの輪郭を編集
対象として適宜に選択することが可能な文字編集装置を
提供することを目的とする。
Therefore, an object of the present invention is to provide a character editing apparatus capable of appropriately selecting some contours as an object to be edited only by designating one of the contours forming a character. And

【0011】[0011]

【課題を解決するための手段】本発明では文字を構成す
る複数の輪郭のうちからいずれかを指定手段にて指定す
ると、検出手段は指定された輪郭に対して包含関係を有
する他の輪郭を検出し、編集手段は前記指定手段によっ
て指定された輪郭、および前記検出手段によって検出さ
れた他の輪郭を共に編集するようにしている。
According to the present invention, when any one of a plurality of contours forming a character is designated by the designating means, the detecting means designates another contour having an inclusive relationship with the designated contour. The detecting and editing means edits the contour designated by the designating means and the other contour detected by the detecting means.

【0012】[0012]

【作用】本発明によれば、1つの輪郭を指定手段にて指
定すると、この輪郭に対して包含関係を有する他の輪郭
が検出手段によって検出され、指定された輪郭、および
検出された他の輪郭が共に編集手段によって編集され
る。したがって、1つの輪郭を指定するだけで、この輪
郭のみでなく、この輪郭に対して包含関係を有する他の
輪郭をも選択され、選択された該各輪郭を一括して編集
することができる。このため、編集対象となる各輪郭を
1つずつ選択する必要がなく、また余計な輪郭を選択し
てしまうようなこともない。
According to the present invention, when one contour is designated by the designating means, another contour having an inclusive relation with this contour is detected by the detecting means, and the designated contour and other detected contours are detected. Both the contours are edited by the editing means. Therefore, only by designating one contour, not only this contour but also other contours having an inclusive relation with this contour are selected, and the selected contours can be collectively edited. Therefore, it is not necessary to select each of the contours to be edited one by one, and an unnecessary contour is not selected.

【0013】[0013]

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

【0014】第1図は本発明に係わる文字編集装置の一
実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a character editing device according to the present invention.

【0015】同図において、入力部1はキーボード、マ
ウス(ポインティング装置)等で構成され、各種のデー
タ並びにコマンド等を入力するために操作される。
In FIG. 1, the input unit 1 is composed of a keyboard, a mouse (pointing device), etc., and is operated to input various data and commands.

【0016】編集内容判定部2は入力部1からのデータ
並びにコマンドの種類を判定し、文字の検索に係わるデ
ータ並びにコマンドを輪郭検索部3に通知するととも
に、文字の編集に係わるデータ並びにコマンドを編集処
理部4に通知する。
The edit content determination unit 2 determines the type of data and command from the input unit 1, notifies the contour search unit 3 of data and commands related to character search, and at the same time outputs data and commands related to character editing. The edit processing unit 4 is notified.

【0017】輪郭情報記憶部5には複数の文字について
のそれぞれの輪郭データが記憶されており、例えば第2
図に示すような文字を構成する各輪郭a1〜a8を示す輪郭
データが記憶されている。
The contour information storage unit 5 stores the contour data of each of a plurality of characters, for example, the second contour data.
Contour data indicating the respective contours a1 to a8 forming the character as shown in the figure is stored.

【0018】輪郭包含関係検出部6は1つの文字を構成
する各輪郭毎に、他の輪郭との包含関係を検出するため
のものであり、各輪郭毎の包含関係を示すデータを包含
テーブルとして包含テーブル格納部7に格納する。
The contour inclusion relation detection unit 6 is for detecting the inclusion relation with other contours for each contour forming one character, and data showing the inclusion relation for each contour is used as an inclusion table. It is stored in the inclusion table storage unit 7.

【0019】輪郭検索部3は輪郭情報記憶部5から1つ
の文字を示す輪郭データを検索したり、包含テーブル格
納部7内の包含テーブルを検索する。輪郭情報記憶部5
から検索された輪郭データは、輪郭検索部3から編集処
理部4へと通知される。
The contour search unit 3 searches the contour information storage unit 5 for contour data indicating one character, or searches the inclusion table in the inclusion table storage unit 7. Contour information storage unit 5
The contour search unit 3 notifies the contour search unit 3 of the contour data searched for.

【0020】編集処理部4は輪郭情報記憶部5から輪郭
データを通知されると、この輪郭データによって示され
る文字を表示制御部8を介して表示部9の表示画面に表
示する。また、編集処理部4は編集内容判定部2から文
字の編集に係わるデータ並びにコマンドを通知される
と、これらのデータ並びにコマンドに基づいて表示部9
の表示画面に既に表示されている文字に対する編集処理
を行う。
Upon being notified of the contour data from the contour information storage unit 5, the edit processing unit 4 displays the character indicated by the contour data on the display screen of the display unit 9 via the display control unit 8. Further, when the edit processing unit 4 is notified by the edit content determination unit 2 of data and commands related to character editing, the display unit 9 is based on these data and commands.
Edit the characters that are already displayed on the display screen.

【0021】なお、本発明の請求の範囲における指定手
段は入力手段に該当し、検出手段は輪郭検索部3、輪郭
包含関係検出部6および輪郭テーブル格納部7に該当
し、編集手段は編集処理部4に該当する。
The designating means in the claims of the present invention corresponds to the inputting means, the detecting means corresponds to the contour searching section 3, the contour inclusion relation detecting section 6 and the contour table storing section 7, and the editing means corresponds to the editing process. It corresponds to part 4.

【0022】このような構成において、所望の文字を表
示しようとする場合は、入力部1を操作することにより
該文字についての検索コマンドを入力する。この検索コ
マンドは編集内容判定部2を介して輪郭検索部3に通知
され、これに応答して輪郭検索部3は該文字を示す輪郭
データを輪郭情報記憶部5から検索する。この輪郭デー
タは輪郭検索部3から編集処理部4に通知され、編集処
理部4は該輪郭データによって示される文字を表示制御
部8を介して表示部9の表示画面に表示する。ここで、
表示された文字が第2図に示すようなものとすると、輪
郭データは該文字を構成する各輪郭a1〜a8の位置を2次
元座標系において表したものである。すなわち、輪郭を
形作る各線分の始点座標と終点座標を各輪郭a1〜a8毎に
配列したものが輪郭データである。したがって、編集処
理部4は各輪郭a1〜a8毎に、各線分の始点座標と終点座
標を結ぶことにより輪郭を形作り、もって1つの文字を
表示画面に表示する。
In such a configuration, when a desired character is to be displayed, the input unit 1 is operated to input a search command for the character. This search command is notified to the contour search unit 3 via the edit content determination unit 2, and in response to this, the contour search unit 3 searches the contour information storage unit 5 for contour data indicating the character. This contour data is notified from the contour search unit 3 to the editing processing unit 4, and the editing processing unit 4 displays the character indicated by the contour data on the display screen of the display unit 9 via the display control unit 8. here,
Assuming that the displayed characters are as shown in FIG. 2, the contour data represents the positions of the contours a1 to a8 constituting the character in a two-dimensional coordinate system. That is, the starting point coordinates and the ending point coordinates of each line forming the contour are arranged for each of the contours a1 to a8, which is the contour data. Therefore, the edit processing unit 4 forms a contour by connecting the starting point coordinates and the ending point coordinates of each line segment for each of the contours a1 to a8, and thus displays one character on the display screen.

【0023】こうして所望の文字を表示画面に表示した
後に、この文字に対する編集処理を施す場合、この文字
を構成する各輪郭a1〜a8のうちから処理の対象となる幾
つかの輪郭を選択しなければならない。
In this way, when the desired character is displayed on the display screen and then the edit process is performed on this character, some outlines to be processed must be selected from the outlines a1 to a8 constituting this character. I have to.

【0024】このような幾つかの輪郭の選択を容易にす
るために、この実施例では編集処理に先立って、第3図
に示すフローチャートの処理が行われる。なお、このフ
ローチャートの処理は、先に述べた所望の文字を表示す
るための処理と並行に行われるものである。
In order to facilitate the selection of some of such contours, the processing of the flowchart shown in FIG. 3 is performed prior to the editing processing in this embodiment. The processing of this flowchart is performed in parallel with the processing for displaying the desired character described above.

【0025】まず、第2図に示す文字についての輪郭デ
ータ、つまり該文字を構成する各輪郭a1〜a8が輪郭情報
記憶部5から輪郭包含関係検出部6へと通知さ、輪郭包
含関係検出部6は各輪郭a1〜a8上のそれぞれの最小点座
標(x,min y)を求める(ステップ101)。ここで
は、各輪郭a1〜a8が矩形であることから、それぞれの矩
形の底辺における中点の座標がそれぞれの最小点座標
(x,min y)として求められる。
First, the contour data for the character shown in FIG. 2, that is, the contours a1 to a8 constituting the character are notified from the contour information storage unit 5 to the contour inclusion relation detection unit 6, and the contour inclusion relation detection unit. 6 obtains the minimum point coordinates (x, min y) on each contour a1 to a8 (step 101). Here, since each of the contours a1 to a8 is a rectangle, the coordinates of the middle point on the bottom of each rectangle are obtained as the coordinates of the minimum point (x, min y).

【0026】次に、輪郭包含関係検出部6は各輪郭a1〜
a8毎に、輪郭の最小点座標(x,min y)から水平にか
つ一方向に延長しうる直線と他の輪郭との交点の数を求
める(ステップ102)。ただし、該直線と接するだけ
で交差しない点を除く。例えば、輪郭a1の最小点座標
(x,min y)から水平にかつ右方向に延長しうる直線
と交差する他の輪郭は、輪郭a6のみであり、その交点の
数は2である。また、輪郭a2の最小点座標(x,min
y)から水平にかつ右方向に延長しうる直線と交差する
他の輪郭は、各輪郭a1,a6,a7であり、その交点の数は
5である。同様に、輪郭a3についての交点の数は0であ
り、輪郭a4についての交点の数は1であり、輪郭a5交点
の数は1であり、輪郭a6についての交点の数は0であ
り、輪郭a7についての交点の数は1であり、輪郭a8につ
いての交点の数は1である。
Next, the contour inclusion relation detecting section 6 determines each of the contours a1 ...
For each a8, the number of intersections between a straight line that can extend horizontally and in one direction from the minimum point coordinates (x, min y) of the contour and another contour is obtained (step 102). However, the points that do not intersect but only contact the straight line are excluded. For example, the other contour that intersects a straight line that can extend horizontally and to the right from the minimum point coordinates (x, min y) of the contour a1 is only the contour a6, and the number of intersections is two. Also, the minimum point coordinates (x, min
The other contours that intersect the straight line that can extend horizontally and to the right from y) are the contours a1, a6, and a7, and the number of intersections is five. Similarly, the number of intersections for the contour a3 is 0, the number of intersections for the contour a4 is 1, the number of intersections for the contour a5 is 1, and the number of intersections for the contour a6 is 0. The number of intersection points for a7 is one and the number of intersection points for the contour a8 is one.

【0027】こうして各輪郭a1〜a8毎に交点の数を求め
ると、交点の数が2n+1(n=0,1,2,…)回で
あった輪郭を内輪郭とし、交点の数が2n(n=0,
1,2,…)回であった輪郭を外輪郭とする(ステップ
103)。ここでは、内輪郭が各輪郭a2,a4,a5,a7,
a8であり、外輪郭が各輪郭a1,a3,a6である。
When the number of intersections is calculated for each of the contours a1 to a8 in this way, the contour whose number of intersections is 2n + 1 (n = 0, 1, 2, ...) Is the inner contour and the number of intersections is 2n ( n = 0,
The contour which has been 1, 2, ...) times is set as the outer contour (step 103). Here, the inner contour is each contour a2, a4, a5, a7,
a8, and the outer contours are the contours a1, a3, and a6.

【0028】次に、輪郭包含関係検出部6は各外輪郭a
1,a3,a6毎に、外輪郭の最小点座標(x,min y)か
ら水平にかつ右方向に延長しうる直線と最初に交差しか
つ2n+1(n=0,1,2,…)回交差する内輪郭を
求め(ステップ104)、該当する内輪郭があれば(ス
テップ105,YES )、該内輪郭を該外輪郭を包含する
ものとして包含テーブル格納部7内の包含テーブルに登
録するとともに、該外輪郭を該内輪郭に包含されるもの
として包含テーブルに登録する(ステップ106)。
Next, the contour inclusion relation detection unit 6 determines each outer contour a.
For every 1, a3, a6, it first intersects with a straight line that can extend horizontally and to the right from the minimum point coordinates (x, min y) of the outer contour and 2n + 1 (n = 0, 1, 2, ...) times An intersecting inner contour is obtained (step 104), and if there is a corresponding inner contour (step 105, YES), the inner contour is registered in the inclusion table in the inclusion table storage unit 7 as including the outer contour. , The outer contour is registered in the inclusion table as being included in the inner contour (step 106).

【0029】ただし、第2図に示す文字においては、外
輪郭の最小点座標(x,min y)から水平にかつ右方向
に延長しうる直線と最初に交差しかつ2n+1(n=
0,1,2,…)回交差する内輪郭は無く(ステップ1
05,NO)、よってステップ106をジャンプして次の
ステップ107に移ることとなる。
However, in the character shown in FIG. 2, 2n + 1 (n =) which first intersects with a straight line that can extend horizontally and rightward from the minimum point coordinates (x, min y) of the outer contour.
There is no inner contour that intersects 0, 1, 2, ...) times (Step 1
05, NO), and therefore step 106 is jumped to the next step 107.

【0030】なお、例えば内輪郭a2の内側に図示されな
い外輪郭があると仮定するならば、前記ステップ104
で内輪郭a2が求められ、ステップ106においては内輪
郭a2を図示されない外輪郭を包含するものとして包含テ
ーブルに登録するとともに、図示されない外輪郭を内輪
郭a2に包含されるものとして包含テーブルに登録するこ
ととなる。
If it is assumed that there is an outer contour (not shown) inside the inner contour a2, for example, step 104
In step 106, the inner contour a2 is obtained, and the inner contour a2 is registered in the inclusion table as including the outer contour not shown, and the outer contour not shown is registered in the inclusion table as being included in the inner contour a2. Will be done.

【0031】次に、輪郭包含関係検出部6は各内輪郭a
2,a4,a5,a7,a8毎に、内輪郭の最小点座標(x,min
y)から水平にかつ右方向に延長しうる直線と最初に
交差する外輪郭を求め(ステップ107)、該当する外
輪郭があれば(ステップ108,YES )、該外輪郭を該
内輪郭を包含するものとして包含テーブルに登録すると
ともに、該内輪郭を該外輪郭に包含されるものとして包
含テーブルに登録する(ステップ106)。
Next, the contour inclusion relation detecting unit 6 determines each inner contour a.
For every 2, a4, a5, a7, a8, the minimum point coordinates (x, min
From y), an outer contour that first intersects a straight line that can extend horizontally and to the right is first obtained (step 107), and if there is a corresponding outer contour (step 108, YES), the outer contour includes the inner contour. The inner contour is registered in the inclusion table as being included in the outer contour (step 106).

【0032】例えば、内輪郭a2については前記ステップ
107で外輪郭a1が求められ、ステップ109において
は外輪郭a1を内輪郭a2を包含するものとして包含テーブ
ルに登録するとともに、内輪郭a2を外輪郭a1に包含され
るものとして包含テーブルに登録することとなる。
For example, for the inner contour a2, the outer contour a1 is obtained in step 107, and in step 109, the outer contour a1 is registered in the inclusion table as including the inner contour a2, and the inner contour a2 is registered as the outer contour a2. It will be registered in the inclusion table as included in a1.

【0033】こうして形成された包含テーブル格納部7
内の包含テーブルを第4図に示す。同図において、輪郭
a1については当該輪郭に包含されるものとして輪郭a2を
登録するとともに、当該輪郭を包含するものがないの
で、この旨を示す“nil ”を登録している。輪郭a2につ
いては当該輪郭に包含されるものがないので“nil ”を
登録するとともに、当該輪郭を包含するものとして輪郭
a1登録している。輪郭a3については当該輪郭に包含され
るものとして各輪郭a4,a5を登録するとともに、当該輪
郭を包含するものがないので“nil ”を登録している。
輪郭a4については当該輪郭に包含されるものがないので
“nil ”を登録するとともに、当該輪郭を包含するもの
として輪郭a3登録している。輪郭a5については当該輪郭
に包含されるものがないので“nil ”を登録するととも
に、当該輪郭を包含するものとして輪郭a3登録してい
る。輪郭a6については当該輪郭に包含されるものとして
各輪郭a7,a8を登録するとともに、当該輪郭を包含する
ものがないので“nil ”を登録している。輪郭a7につい
ては当該輪郭に包含されるものがないので“nil ”を登
録するとともに、当該輪郭を包含するものとして輪郭a6
登録している。輪郭a8については当該輪郭に包含される
ものがないので“nil ”を登録するとともに、当該輪郭
を包含するものとして輪郭a6登録している。
The inclusion table storage unit 7 thus formed
The inclusion table in the above is shown in FIG. In the figure, the contour
Concerning a1, the contour a2 is registered as being included in the contour, and "nil" indicating this is registered because there is no contour including the contour. For contour a2, there is nothing that is included in the contour, so register "nil" and define that the contour is included.
a1 registered. Regarding the contour a3, the contours a4 and a5 are registered as being included in the contour, and "nil" is registered because there is no contour including the contour.
Since the contour a4 is not included in the contour, "nil" is registered, and the contour a3 is registered as including the contour. Since the contour a5 is not included in the contour, "nil" is registered, and the contour a3 is registered as including the contour. Regarding the contour a6, the contours a7 and a8 are registered as being included in the contour, and "nil" is registered because there is no contour including the contour. For contour a7, since there is nothing included in the contour, "nil" is registered and contour a6 is included as the contour.
I have registered. Since the contour a8 is not included in the contour, "nil" is registered, and the contour a6 is registered as including the contour.

【0034】さて、表示画面に表示された文字に対する
編集処理を施すに際し、この文字を構成する各輪郭a1〜
a8のうちから処理の対象となる幾つかの輪郭を選択する
ための手順を第5図に示すフローチャートに従って次に
述べる。
Now, when performing the editing process on the character displayed on the display screen, the outlines a1 to
A procedure for selecting some of the contours to be processed from a8 will be described below with reference to the flowchart shown in FIG.

【0035】まず、入力部1のマウスを操作することに
より、第6図に示すポインタ61を表示画面上で移動さ
せ、このポインタ61によって例えば輪郭a2を編集処理
の対象の1つとして指示すると、この輪郭a2が編集内容
判定部2を介して輪郭検索部3および編集処理部4に通
知される。これに応答して、編集処理部4は輪郭a2を太
線で表示する(以下、ハイライトと称する)。引き続い
て、入力部1のマウスに付設の左ボタンおよび右ボタン
(図示せず)のいずれかを押下する(ステップ20
1)。
First, when the pointer 61 shown in FIG. 6 is moved on the display screen by operating the mouse of the input unit 1, for example, the contour a2 is designated as one of the objects of the editing process, The contour a2 is notified to the contour search unit 3 and the edit processing unit 4 via the editing content determination unit 2. In response to this, the edit processing unit 4 displays the contour a2 with a thick line (hereinafter referred to as highlight). Then, either the left button or the right button (not shown) attached to the mouse of the input unit 1 is pressed (step 20).
1).

【0036】なお、左ボタンを押下することは先に指示
された輪郭を包含する他の輪郭を検索することが予め定
められており、また右ボタンを押下することは先に指示
された輪郭に包含される他の輪郭を検索することが予め
定められている。
Note that it is predetermined that pressing the left button retrieves another contour including the previously specified contour, and pressing the right button causes the contour to be specified earlier. It is predetermined to search for other included contours.

【0037】ここで、マウスの左ボタンを押下したとす
るならば、つまり先に指示された輪郭a2を包含する他の
輪郭を検索することが指示されたならば(ステップ20
2,YES )、この旨が編集内容判定部2を介して輪郭検
索部3に通知され、これに応答して輪郭検索部3は包含
テーブル格納部7内の包含テーブルから輪郭a2を包含す
る他の輪郭を検索する(ステップ203)。ここでは該
当する他の輪郭として輪郭a1があるので(ステップ20
4,YES )、輪郭検索部3は輪郭輪郭a1を編集処理部4
に通知する。すなわち、輪郭検索部3は第4図に示す包
含テーブルにおける輪郭a2に対応する部位を検索して、
輪郭a2を包含する輪郭a1を求め、この輪郭a1を編集処理
部4に通知する。編集処理部4は第7図に示すように輪
郭a1を輪郭a2と同様にハイライトで表示する(ステップ
205)。
Here, if the left button of the mouse is pressed, that is, if it is instructed to search for another contour including the previously designated contour a2 (step 20)
2, YES), to that effect is notified to the contour search unit 3 via the edit content determination unit 2, and in response to this, the contour search unit 3 includes the contour a2 from the inclusion table in the inclusion table storage unit 7. Is searched for (step 203). Here, since there is the contour a1 as another relevant contour (step 20)
4, YES), the contour search unit 3 edits the contour contour a1 by the edit processing unit 4
To notify. That is, the contour search unit 3 searches for a portion corresponding to the contour a2 in the inclusion table shown in FIG.
The contour a1 including the contour a2 is calculated, and the contour a1 is notified to the edit processing unit 4. The edit processing unit 4 highlights the contour a1 as with the contour a2 as shown in FIG. 7 (step 205).

【0038】したがって、ポインタ61によって輪郭a2
を指示するとともに、マウスの左ボタンを押下するだけ
で、輪郭a2、および該輪郭線を包含する輪郭a1を編集処
理の対象として選択することができる。
Accordingly, the contour a2 is made by the pointer 61.
The contour a2 and the contour a1 including the contour line can be selected as the target of the editing process by simply pressing the left button of the mouse while instructing.

【0039】同様に、入力部1のマウスを操作すること
により、第8図に示すようにポインタ61によって輪郭
a3を編集処理の対象の1つとして指示すると、この輪郭
a3がハイライトで表示される。この後、入力部1のマウ
スに付設の右ボタンを押下すると(ステップ201)、
左ボタンを押下しなかったと判定されるが(ステップ2
02,NO)、右ボタンを押下したと判定される(ステッ
プ206,YES )。この右ボタンの押下は先に指示され
た輪郭a3に包含される他の輪郭を検索することを指示し
たのであるから、これに応答して輪郭検索部3は包含テ
ーブル格納部7内の包含テーブルから輪郭a3に包含され
る他の輪郭を検索する(ステップ207)。そして、該
当する他の輪郭として各輪郭a4,a5があるので(ステッ
プ204,YES )、輪郭検索部3は各輪郭a4,a5を編集
処理部4に通知する。編集処理部4は第9図に示すよう
に各輪郭a4,a5を輪郭a3と同様にハイライトで表示する
(ステップ205)。
Similarly, when the mouse of the input section 1 is operated, the outline is moved by the pointer 61 as shown in FIG.
If you specify a3 as one of the editing targets, this contour
a3 is highlighted. After that, when the right button attached to the mouse of the input unit 1 is pressed (step 201),
It is determined that the left button was not pressed (step 2
02, NO), and it is determined that the right button has been pressed (step 206, YES). Since the pressing of the right button has instructed to search for another contour included in the previously designated contour a3, in response to this, the contour search unit 3 causes the inclusion table in the inclusion table storage unit 7 to search. To search for another contour included in the contour a3 (step 207). Then, since there are contours a4 and a5 as other relevant contours (step 204, YES), the contour search unit 3 notifies the edit processing unit 4 of the contours a4 and a5. As shown in FIG. 9, the edit processing unit 4 highlights the contours a4 and a5 similarly to the contour a3 (step 205).

【0040】すなわち、ポインタ61によって輪郭a3を
指示するとともに、マウスの右ボタンを押下するだけ
で、輪郭a3、および該輪郭線に包含される各輪郭a4,a5
を編集処理の対象として選択することができる。
That is, by pointing the contour a3 by the pointer 61 and pressing the right button of the mouse, the contour a3 and the contours a4 and a5 included in the contour line are drawn.
Can be selected as a target of the editing process.

【0041】このように入力部1のマウスを操作するこ
とにより1つの輪郭を指示し、この後にマウスに付設の
左ボタンおよび右ボタンのいずれかを押下すると、指示
された輪郭のみならず、該輪郭を包含するか、または該
輪郭に包含される他の輪郭を選択することができる。こ
のため、編集処理の対象として選択すべき複数の輪郭を
1つずつ選択したり、余計な輪郭を選択してしまうよう
なことはない。
By operating the mouse of the input unit 1 in this way to designate one contour, and then pressing either the left button or the right button attached to the mouse, not only the designated contour but also the contour Other contours can be selected to be included or contained by the contour. Therefore, a plurality of contours that should be selected as the target of the editing process are not selected one by one, and an unnecessary contour is not selected.

【0042】こうして編集処理の対象として包含関係を
相互に有する各輪郭を選択すると、これらの輪郭を一括
して編集することができる。すなわち、入力部1を操作
することにより、輪郭の削除、移動、複写、拡大、縮
小、変形等のうちのいずれかを指示する編集コマンドを
入力すると、この編集コマンドは編集内容判定部2を通
じて編集処理部4に通知される。編集処理部4は該編集
コマンドに応じた編集処理を編集処理の対象として選択
された各輪郭に対して一括して施す。これにより、該各
輪郭は表示部9の表示画面上で削除、移動、複写、拡
大、縮小、変形等の処理を受けることとなる。
In this way, when the contours having the mutual relation of inclusion are selected as the target of the editing process, these contours can be edited at once. That is, when an edit command for instructing any one of deletion, movement, copying, enlargement, reduction, transformation, etc. of a contour is input by operating the input unit 1, this edit command is edited through the edit content determination unit 2. The processing unit 4 is notified. The edit processing unit 4 collectively performs the edit processing corresponding to the edit command on each contour selected as the target of the edit processing. As a result, each contour is subjected to processing such as deletion, movement, copying, enlargement, reduction, and deformation on the display screen of the display unit 9.

【0043】なお、上記実施例では1つの輪郭を指示
し、この輪郭との包含関係を指示すると、包含テーブル
における該輪郭に対応する部位を検索して、その包含関
係を有する他の輪郭を求めるようにしているが、さらに
包含テーブルにおける該他の輪郭に対応する部位を検索
して、その包含関係を有する別の輪郭を求め、これらの
輪郭を選択するようにしてもよい。このようにすれば、
多数の輪郭が多重の構造であっても、これらの輪郭を1
度に選択することができる。
In the above embodiment, when one contour is designated and the inclusion relation with this contour is designated, the portion corresponding to the contour in the inclusion table is searched and another contour having the inclusion relation is obtained. However, a part corresponding to the other contour in the inclusion table may be searched for another contour having the inclusion relationship, and these contours may be selected. If you do this,
Even if many contours have a multiple structure, these contours are
Can be selected at any time.

【0044】[0044]

【発明の効果】以上説明したように本発明によれば、1
つの輪郭を指定すると、この輪郭に対して包含関係を有
する他の輪郭が検出され、これらの輪郭が編集処理の対
象となるので、編集対象となる各輪郭を1つずつ選択す
る必要がなく、また余計な輪郭を選択してしまうような
こともない。
As described above, according to the present invention, 1
When one contour is specified, other contours having an inclusion relation with this contour are detected, and these contours are the targets of the editing process, so it is not necessary to select each contour to be edited one by one. Also, there is no need to select an extra contour.

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

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

【図2】文字の構成を例示する図。FIG. 2 is a diagram illustrating an example of a character configuration.

【図3】文字を構成する各輪郭の包含関係を検出するた
めの処理手順を示すフローチャート。
FIG. 3 is a flowchart showing a processing procedure for detecting an inclusion relation of contours forming a character.

【図4】第3図に示すフローチャートの処理の結果とし
て得られる包含テーブルを示す図。
FIG. 4 is a diagram showing an inclusion table obtained as a result of the processing of the flowchart shown in FIG.

【図5】文字を構成する各輪郭のうちから編集処理の対
象となる幾つかの輪郭を選択するための処理手順を示す
フローチャート。
FIG. 5 is a flowchart showing a processing procedure for selecting some contours to be edited from among the contours forming a character.

【図6】第5図に示すフローチャートの処理を説明する
ために用いられた図。
FIG. 6 is a diagram used for explaining the process of the flowchart shown in FIG.

【図7】第5図に示すフローチャートの処理を説明する
ために用いられた図。
FIG. 7 is a diagram used for explaining the process of the flowchart shown in FIG.

【図8】第5図に示すフローチャートの処理を説明する
ために用いられた図。
FIG. 8 is a diagram used for explaining the process of the flowchart shown in FIG.

【図9】第5図に示すフローチャートの処理を説明する
ために用いられた図。
FIG. 9 is a diagram used for explaining the process of the flowchart shown in FIG.

【図10】文字の構成を例示する図。FIG. 10 is a diagram illustrating an example of a character configuration.

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

1…入力部、2…編集内容判定部、3…輪郭検索部、4
…編集処理部、5…輪郭情報記憶部、6…輪郭包含関係
検出部、7…輪郭テーブル格納部、8…表示制御部、9
…表示部。
1 ... Input unit, 2 ... Editing content determination unit, 3 ... Contour search unit, 4
... edit processing unit, 5 ... contour information storage unit, 6 ... contour inclusion relation detection unit, 7 ... contour table storage unit, 8 ... display control unit, 9
… Display.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の輪郭を組み合わせて表現される文字
を表示画面上に表示し、この文字を編集する文字編集装
置において、 前記各輪郭のうちからいずれかを指定する指定手段と、 前記指定手段によって指定された輪郭に対して包含関係
を有する他の輪郭を検出する検出手段と、 前記指定手段によって指定された輪郭、および前記検出
手段によって検出された他の輪郭を共に編集する編集手
段とを備えたことを特徴とする文字編集装置。
1. A character editing apparatus for displaying a character represented by combining a plurality of contours on a display screen and editing the character, a designating unit for designating one of the contours, and the designation. Detecting means for detecting another contour having an inclusion relation with the contour designated by the means, and editing means for editing together the contour designated by the designating means and the other contour detected by the detecting means. A character editing device comprising:
JP3266472A 1991-10-15 1991-10-15 Character editing device Expired - Fee Related JP3000749B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3266472A JP3000749B2 (en) 1991-10-15 1991-10-15 Character editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3266472A JP3000749B2 (en) 1991-10-15 1991-10-15 Character editing device

Publications (2)

Publication Number Publication Date
JPH05108050A true JPH05108050A (en) 1993-04-30
JP3000749B2 JP3000749B2 (en) 2000-01-17

Family

ID=17431409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3266472A Expired - Fee Related JP3000749B2 (en) 1991-10-15 1991-10-15 Character editing device

Country Status (1)

Country Link
JP (1) JP3000749B2 (en)

Also Published As

Publication number Publication date
JP3000749B2 (en) 2000-01-17

Similar Documents

Publication Publication Date Title
EP0535894A2 (en) Apparatus and method for transforming a graphic pattern
JPH09231393A (en) Instruction input device
JP3357760B2 (en) Character / graphic input editing device
JPH0680510B2 (en) Image information retrieval device
JP3000749B2 (en) Character editing device
JPH0322014A (en) Menu selecting method
JP2718782B2 (en) Figure creation device
JPH0580025B2 (en)
JPH04246785A (en) Graphic preparing device
JPH10240960A (en) Method for selecting graphic
JPH045991B2 (en)
JPH07271994A (en) Method and system for graphic selection
JP2977360B2 (en) Ruled line selection method
JP2671598B2 (en) Document processing device
JPH07296023A (en) Dimension plotting method in cad system
JP3142191B2 (en) Graphic processing unit
JPH06282619A (en) Graphic plotting device
JP2536948B2 (en) Three-point specified circular arc detection method and device
JPH08171646A (en) Graphic preparation device
JP2000020741A (en) Object selecting device and recording medium
JPH07105245A (en) Cad system
JPH07121736A (en) Graphic preparing device
JPH07114646A (en) Word processor and object specifying method
JP2000207087A (en) Displayed graphic selecting method
JPH10105738A (en) Graphic display device, and method therefor

Legal Events

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

Free format text: PAYMENT UNTIL: 20071112

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees