JP3323645B2 - Graphic processing method and apparatus - Google Patents

Graphic processing method and apparatus

Info

Publication number
JP3323645B2
JP3323645B2 JP12954494A JP12954494A JP3323645B2 JP 3323645 B2 JP3323645 B2 JP 3323645B2 JP 12954494 A JP12954494 A JP 12954494A JP 12954494 A JP12954494 A JP 12954494A JP 3323645 B2 JP3323645 B2 JP 3323645B2
Authority
JP
Japan
Prior art keywords
edit
editing
area
target area
reference point
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
JP12954494A
Other languages
Japanese (ja)
Other versions
JPH07311855A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP12954494A priority Critical patent/JP3323645B2/en
Publication of JPH07311855A publication Critical patent/JPH07311855A/en
Application granted granted Critical
Publication of JP3323645B2 publication Critical patent/JP3323645B2/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)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、図形の移動を指示し
て、所望の図形を得ることができる図形処理方法及び装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processing method and apparatus capable of obtaining a desired graphic by instructing movement of the graphic.

【0002】[0002]

【従来の技術】従来、例えば、ビットマップデータを表
示し、それを編集する装置において、ビットマップの行
または列を指定して、その指定した行または列を削除し
たり(ライン削除)、その列または行に空間を空けたり
(ライン挿入)する方法が知られている。
2. Description of the Related Art Conventionally, for example, in a device for displaying and editing bitmap data, a row or column of a bitmap is designated and the designated row or column is deleted (line deletion). There is known a method of providing a space in a column or a row (line insertion).

【0003】この方法は、複数の行または列を指定する
には、その回数分だけ列または行を指定する。更に、削
除或は挿入した行または列をどちら側にずらすか、その
ずらす方向を指定する。
In this method, to specify a plurality of rows or columns, the number of rows or columns is specified by the number of times. Further, to which side the deleted or inserted row or column is to be shifted, the direction of the shift is specified.

【0004】また、前記装置において、ビットマップの
編集対象領域を指定し、該編集対象領域を移動する方法
として、前記編集対象領域を指定する際に、それを囲む
矩形の、例えば右上と左下等、2点を指定し、次に移動
先の基準点を指定し、該指定した移動先へ前記編集対象
領域を移動する方法が知られている。
In the above-mentioned apparatus, a method of designating a region to be edited in a bitmap and moving the region to be edited is performed by specifying a region surrounding the region to be edited when the region to be edited is designated, for example, an upper right corner and a lower left corner. There is known a method of designating two points, then designating a reference point of a movement destination, and moving the edit target area to the designated movement destination.

【0005】この方法の場合、前記編集対象領域の移動
が終了するまでにオペレータが指示しなければならない
編集領域上の点の数は、最低3点となる。
[0005] In this method, the number of points on the editing area which the operator must specify before the movement of the editing target area is completed is at least three.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た従来装置にあっては、複数の行または列のライン削除
或は挿入を実行するには、その回数分だけ列または行を
指定しなければならず、更に、削除或は挿入した行また
は列をどちら側にずらすか、そのずらす方向も指定しな
ければならず、オペレーション回数が増大する。
However, in the above-mentioned conventional apparatus, in order to execute line deletion or insertion of a plurality of rows or columns, a column or a row must be designated by the number of times. In addition, it is necessary to specify to which side the row or column to be deleted or inserted is shifted, and the direction of the shift, which increases the number of operations.

【0007】また、これを上述した従来の移動方法によ
り実現する際にも、オペレータの入力指定する点の数
は、最低3点となり、複数の行または列のライン削除及
びライン挿入を実現するためのオペレーション回数が増
大するという問題点があった。
Also, when this is realized by the above-described conventional moving method, the number of points designated by the operator is at least three points, and line deletion and line insertion of a plurality of rows or columns can be realized. There is a problem that the number of operations increases.

【0008】本発明は上述した従来の技術の有する問題
点に鑑みてなされたものであり、その目的とするところ
は、複数の行または列のライン削除或は挿入を実行する
際のオペレーション回数を低減し得る図形処理方法及び
装置を提供しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and has as its object to reduce the number of operations when executing line deletion or insertion of a plurality of rows or columns. It is an object of the present invention to provide a graphic processing method and apparatus which can be reduced.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明の図形処理方法は、表示された図形の編集領域
上で編集基準点と編集終了点をそれぞれ指定し、該指定
した前記編集基準点と前記編集終了点とから、編集対象
領域と該編集対象領域の移動先を特定し、該特定した移
動先へ前記編集対象領域を移動することを特徴とするも
のである。
In order to achieve the above object, a graphic processing method according to the present invention designates an edit reference point and an edit end point on an edit area of a displayed graphic, and specifies the specified edit. An editing target area and a destination of the editing target area are specified from a reference point and the editing end point, and the editing target area is moved to the specified destination.

【0010】同じ目的を達成するために本発明の図形処
理装置は、表示された図形の編集領域上で編集基準点を
指定する編集基準点指定手段と、前記編集領域上で編集
終了点を指定する編集終了点指定手段と、前記各指定手
段により指定した前記編集基準点と前記編集終了点とか
ら編集対象領域と該編集対象領域の移動先を特定する特
定手段と、該特定手段により特定した移動先へ前記編集
対象領域を移動する移動手段とを具備したことを特徴と
するものである。
To achieve the same object, a graphic processing apparatus according to the present invention comprises an editing reference point specifying means for specifying an editing reference point on an editing area of a displayed figure, and an editing end point on the editing area. Edit end point designating means to be specified, specifying means for specifying an edit target area and a destination of the edit target area from the edit reference point and the edit end point specified by the respective specify means, Moving means for moving the editing target area to a moving destination.

【0011】[0011]

【0012】[0012]

【実施例】以下、本発明の実施例を図面に基づき説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0013】(第1実施例)まず、本発明の第1実施例
を図1乃至図12に基づき説明する。図1は、本発明の
第1実施例に係わる図形処理装置の構成を示すブロック
図であり、同図中、1は図形処理装置で、制御部2、表
示部3、ビデオメモリ(VRAM)4、キーボード(K
B)5及びポインティングデバイス6を主要構成要素と
しており、これらの各構成要素は、システムバス7を介
して互いに接続されている。
(First Embodiment) First, a first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing a configuration of a graphic processing apparatus according to a first embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a graphic processing apparatus, and a control unit 2, a display unit 3, and a video memory (VRAM) 4 , Keyboard (K
B) 5 and a pointing device 6 are main components, and these components are connected to each other via a system bus 7.

【0014】制御部2は本装置1全体を制御するもの
で、マイクロプロセッサ等のCPU(中央処理装置)
8、RAM(読み書き可能メモリ)等により構成される
プログラムメモリ(PMEM)9、I/Oインターフェ
ース部10及びハードディスク装置11等を備えてい
る。CPU8は、後述するフローチャートで表わされる
プログラムに従って本装置1全体を制御するものであ
る。プログラムメモリ9は、前記プログラムを格納する
と共に、CPU8による制御実行時、編集データやワー
クエリアとして使用される各種データの一時保存領域を
備えている。I/Oインターフェース部10は、ハード
ディスク装置11とのインターフェース制御を行うもの
である。ハードディスク装置11は、ディスク状の磁気
記録媒体にデータを記録して読み書きするための記憶装
置である。
The control unit 2 controls the entire device 1 and includes a CPU (central processing unit) such as a microprocessor.
8, a program memory (PMEM) 9 including a RAM (read / write memory), an I / O interface unit 10, a hard disk device 11, and the like. The CPU 8 controls the entire apparatus 1 according to a program represented by a flowchart described later. The program memory 9 stores the program and has a temporary storage area for editing data and various data used as a work area when the CPU 8 executes control. The I / O interface unit 10 controls the interface with the hard disk device 11. The hard disk device 11 is a storage device for recording data on a disk-shaped magnetic recording medium and reading and writing the data.

【0015】表示部3は、本装置1において作成或は編
集処理された各図形やオペレータへのメッセージを画面
に表示するもので、CRT(陰極線管)等からなる。ビ
デオメモリ4は、表示部3の画面に表示すべきデータを
展開するものである。キーボード5及びポインティング
デバイス6は、いずれもオペレータにより操作され、各
種のデータやコマンドを入力するものである。また、こ
れらキーボード5及びポインティングデバイス6によ
り、表示部3の画面上のカーソルを任意方向へ移動し
て、該表示部3の画面に表示された編集領域の任意の位
置を指示することができる。更に、これらキーボード5
及びポインティングデバイス6により、コマンドメニュ
ーのコマンドイメージ等を選択するとにより、そのコマ
ンドを選択して指示することができる。
The display unit 3 displays on the screen each figure created or edited in the apparatus 1 and a message to the operator, and is composed of a CRT (cathode ray tube) or the like. The video memory 4 expands data to be displayed on the screen of the display unit 3. The keyboard 5 and the pointing device 6 are both operated by an operator to input various data and commands. The keyboard 5 and the pointing device 6 can move the cursor on the screen of the display unit 3 in an arbitrary direction to indicate an arbitrary position in the editing area displayed on the screen of the display unit 3. Furthermore, these keyboards 5
By selecting a command image or the like in the command menu with the pointing device 6, the command can be selected and instructed.

【0016】次に前記構成の図形処理装置1の移動処理
動作を図2に基づき説明する。図2は、本装置1におけ
る移動処理動作を示すフローチャートであり、この移動
処理を実行するための制御プログラムは、制御部2のプ
ログラムメモリ9に記憶されている。また、この移動処
理は、編集領域が編集対象である図形と共に表示部3の
画面に表示されている状態で開始される。
Next, the movement processing operation of the graphic processing apparatus 1 having the above configuration will be described with reference to FIG. FIG. 2 is a flowchart showing the movement processing operation in the present apparatus 1. A control program for executing this movement processing is stored in the program memory 9 of the control unit 2. The moving process is started in a state where the editing area is displayed on the screen of the display unit 3 together with the graphic to be edited.

【0017】本実施例は、矩形領域をその対象となる2
点(始点と終点)を指定するだけで、その指定領域が横
長の場合は、始点を含む列から終点方向へ編集領域の列
全体を、また、前記指定領域が縦長の場合は、始点を含
む行から終点方向へ編集領域の行全体を編集対象領域と
し、且つ終点の列または行を移動先位置として、編集対
象領域を移動させるものである。
In this embodiment, a rectangular area is used as a target 2
If only the point (start point and end point) is specified and the specified area is horizontally long, the entire row of the edit area is extended from the row including the start point toward the end point, and if the specified area is vertically long, the start point is included. The edit target area is moved from the row to the end point with the entire row of the edit area as the edit target area, and the end point column or row as the destination position.

【0018】まず、図2のステップS201で、表示部
3の画面に表示されている編集領域上において、編集基
準点をキーボード5或はポインティングデバイス6によ
り指定する。次にステップS202へ進み、表示部3の
画面に表示されている編集領域上において、編集終了点
をキーボード5或はポインティングデバイス6により指
定する。次にステップS203へ進み、前記ステップS
201及びステップS202においてそれぞれ指定され
た編集基準点及び編集終了点により編集対象領域及び移
動先を特定する。次にステップS204へ進み、前記ス
テップS203において特定された編集対象領域を、同
じく前記ステップS203において特定された編集対象
領域基準点及び移動先基準点に従って移動する。
First, in step S201 of FIG. 2, an editing reference point is designated by the keyboard 5 or the pointing device 6 on the editing area displayed on the screen of the display unit 3. Next, the process proceeds to step S202, where the editing end point is designated by the keyboard 5 or the pointing device 6 on the editing area displayed on the screen of the display unit 3. Next, proceeding to step S203,
The edit target area and the movement destination are specified by the edit reference point and the edit end point designated in step 201 and step S202, respectively. Next, proceeding to step S204, the edit target area specified in step S203 is moved according to the edit target area reference point and the destination reference point also specified in step S203.

【0019】次に前記図2のステップS203において
実行される編集対象領域と移動先を特定する方法を図3
乃至図12を用いて説明する。図3は、編集対象領域と
移動先を特定する制御手順を示すフローチャートであ
り、該フローチャートによりライン挿入の実現も可能で
ある。また、図5、図7、図9及び図11は、表示部3
の画面の編集領域上に編集図形が表示されている状態を
それぞれ示す図であり、各図において、P0は編集領域
の左上の点、P1は編集領域の右下の点、Psは前記図
2のステップS201において指定された編集基準点、
Peは前記図2のステップS202において指定された
編集終了点である。
Next, a method of specifying the edit target area and the destination to be executed in step S203 of FIG. 2 will be described with reference to FIG.
This will be described with reference to FIGS. FIG. 3 is a flowchart showing a control procedure for specifying an edit target area and a movement destination, and line insertion can be realized by the flowchart. FIGS. 5, 7, 9 and 11 show the display unit 3
2A and 2B are diagrams respectively showing a state in which an edit graphic is displayed on an edit area of the screen of FIG. 2, where P0 is a point on the upper left of the edit area, P1 is a point on the lower right of the edit area, and Ps is FIG. The editing reference point specified in step S201 of
Pe is the editing end point specified in step S202 of FIG.

【0020】今、点P0の座標値を(x0,y0)、点
P1の座標値を(x1,y1)、点Psの座標値を(x
s,ys)、点Peの座標値を(xe,ye)とする。
また、dx,dyの絶対値をABS(dx),ABS
(dy)で表わすものとする。更に、点Pを編集対象領
域の基準点とし、点P′をその編集対象領域を移動する
際の移動後の基準点とし、点Pを点P′に一致させるよ
うな領域の移動を実現するものとする。
Now, the coordinate value of the point P0 is (x0, y0), the coordinate value of the point P1 is (x1, y1), and the coordinate value of the point Ps is (x0, y1).
s, ys) and the coordinate value of the point Pe are (xe, ye).
Further, the absolute values of dx and dy are represented by ABS (dx), ABS
(Dy). Further, the point P is set as a reference point of the edit target area, the point P 'is set as a reference point after movement when the edit target area is moved, and the movement of the area such that the point P coincides with the point P' is realized. Shall be.

【0021】まず、図3のステップS301で、点Ps
と点PeのX座標値の差及びY座標の差をそれぞれ求
め、dx=xe−xs、dy=ye−ysとする。次に
ステップS302へ進み、ABS(dx)≧ABS(d
y)且つdx≧0であるか否かを判別する。ここで、A
BS(dx),ABS(dy)はそれぞれ前記ステップ
S301において求めたdx,dyの絶対値を表わす。
そして、ABS(dx)≧ABS(dy)且つdx≧0
であればステップS303へ進み、編集対象領域Sを点
(xs,y0)と点(x1,y1)で囲まれる矩形領域
に特定する。また、その編集対象領域Sの基準点Pを
(xs,y0)に特定し、移動先の基準点P′を(x
e,y0)に特定する。
First, at step S301 in FIG.
The difference between the X coordinate values and the difference between the Y coordinates of the point Pe and the point Pe are determined, and dx = xe-xs and dy = ye-ys. Next, the process proceeds to step S302, where ABS (dx) ≧ ABS (d
y) It is determined whether or not dx ≧ 0. Where A
BS (dx) and ABS (dy) represent the absolute values of dx and dy obtained in step S301, respectively.
Then, ABS (dx) ≧ ABS (dy) and dx ≧ 0
If so, the process proceeds to step S303, where the edit target area S is specified as a rectangular area surrounded by the point (xs, y0) and the point (x1, y1). Further, the reference point P of the edit target area S is specified as (xs, y0), and the reference point P ′ of the movement destination is set to (x
e, y0).

【0022】図5は、前記ステップS303において特
定された場合の表示部3の画面の表示例を示す図であ
る。
FIG. 5 is a diagram showing a display example of the screen of the display unit 3 when specified in step S303.

【0023】前記ステップS302においてABS(d
x)≧ABS(dy)且つdx≧0でなければステップ
S304へ進み、ABS(dx)≧ABS(dy)且つ
dx<0であるか否かを判別する。そして、ABS(d
x)≧ABS(dy)且つdx<0であればステップS
305へ進み、編集対象領域Sを点(x0,y0)と点
(xs,y1)で囲まれる矩形領域に特定する。また、
その編集対象領域Sの基準点Pを(x0,y0)に特定
し、移動先の基準点P′を(x0+dx,y0)に特定
する。
In step S302, ABS (d
If x) ≧ ABS (dy) and dx ≧ 0, the process proceeds to step S304, and it is determined whether ABS (dx) ≧ ABS (dy) and dx <0. And ABS (d
x) ≧ ABS (dy) and dx <0 if step S
Proceeding to 305, the edit target area S is specified as a rectangular area surrounded by the point (x0, y0) and the point (xs, y1). Also,
The reference point P of the edit target area S is specified as (x0, y0), and the reference point P 'of the movement destination is specified as (x0 + dx, y0).

【0024】図7は、前記ステップS305において特
定された場合の表示部3の画面の表示例を示す図であ
る。
FIG. 7 is a diagram showing a display example of the screen of the display unit 3 when specified in step S305.

【0025】前記ステップS304においてABS(d
x)≧ABS(dy)且つdx<0でなければステップ
S306へ進み、ABS(dx)<ABS(dy)且つ
dy≧0であるか否かを判別する。そして、ABS(d
x)<ABS(dy)且つdy≧0であればステップS
307へ進み、編集対象領域Sを点(x0,ys)と点
(x1,y1)で囲まれる矩形領域に特定する。また、
その編集対象領域Sの基準点Pを(x0,ys)に特定
し、移動先の基準点P′を(x0,ye)に特定する。
In step S304, ABS (d
If x) ≧ ABS (dy) and dx <0, the process proceeds to step S306, and it is determined whether ABS (dx) <ABS (dy) and dy ≧ 0. And ABS (d
x) <ABS (dy) and if dy ≧ 0, step S
Proceeding to 307, the edit target area S is specified as a rectangular area surrounded by the point (x0, ys) and the point (x1, y1). Also,
The reference point P of the edit target area S is specified as (x0, ys), and the reference point P 'of the movement destination is specified as (x0, ye).

【0026】図9は、前記ステップS307において特
定された場合の表示部3の画面の表示例を示す図であ
る。
FIG. 9 is a diagram showing a display example of the screen of the display unit 3 when specified in step S307.

【0027】前記ステップS306においてABS(d
x)<ABS(dy)且つdy≧0でなければステップ
S308へ進み、編集対象領域Sを点(x0,y0)と
点(x1,ys)で囲まれる矩形領域に特定する。ま
た、その編集対象領域Sの基準点Pを(x0,y0+d
y)に特定し、移動先の基準点P′を(x0,y0)に
特定する。
In step S306, ABS (d
x) <ABS (dy) and unless dy ≧ 0, the process proceeds to step S308, and the editing target area S is specified as a rectangular area surrounded by the point (x0, y0) and the point (x1, ys). Further, the reference point P of the edit target area S is set to (x0, y0 + d
y), and the reference point P ′ of the movement destination is specified as (x0, y0).

【0028】図11は、前記ステップS308において
特定された場合の表示部3の画面の表示例を示す図であ
る。
FIG. 11 is a diagram showing a display example of the screen of the display unit 3 when specified in step S308.

【0029】次に前記図2のステップS204において
実行される編集対象領域の移動処理方法を、図4を用い
て説明する。図4は、編集領域の座標値と編集領域上の
図形であるビットマップパターンと、前記図2のステッ
プS203において特定された座標値及び編集対象領域
上のビットマップパターンを格納するビットマップデー
タテーブルを示す図であり、このビットマップデータテ
ーブルは制御部2のプログラムメモリ9に格納されてい
る。図4において、格納領域p0、p1には、図3のフ
ローチャートでも説明した編集領域を表わす座標値P
0、P1が、格納領域bには、編集領域上のビットマッ
プパターンがそれぞれ格納されている。
Next, a method of moving the editing target area, which is executed in step S204 in FIG. 2, will be described with reference to FIG. FIG. 4 is a bitmap data table that stores the coordinate values of the edit area, the bitmap pattern that is a figure on the edit area, and the coordinate values specified in step S203 of FIG. 2 and the bitmap pattern on the edit target area. This bitmap data table is stored in the program memory 9 of the control unit 2. In FIG. 4, the storage areas p0 and p1 have coordinate values P representing the editing area described in the flowchart of FIG.
In the storage area b, 0 and P1 are stored bitmap patterns in the editing area.

【0030】前記図2のステップS203の説明では省
略したが、該ステップS203で特定された編集対象領
域Sの座標値(編集対象基準点)P、P′は、格納領域
p、p′内に格納され、また、編集対象領域Sのビット
マップパターンは格納領域s′内に格納されるものとす
る。
Although omitted in the description of step S203 in FIG. 2, the coordinate values (edit target reference points) P and P 'of the edit target area S specified in step S203 are stored in the storage areas p and p'. The bitmap pattern of the editing target area S is stored in the storage area s'.

【0031】まず、格納領域s′内に格納された編集対
象領域Sのビットマップデータを、格納領域pに格納さ
れた編集対象基準点Pに、排他的論理和(XOR)で、
格納領域bに格納されているビットマップデータに重ね
る。こうすることで、格納領域bに格納されたビットマ
ップデータ上の編集対象領域は、パターンがクリアされ
る。
First, the bitmap data of the edit target area S stored in the storage area s' is added to the edit target reference point P stored in the storage area p by exclusive OR (XOR).
This is superimposed on the bitmap data stored in the storage area b. By doing so, the pattern of the edit target area on the bitmap data stored in the storage area b is cleared.

【0032】次に編集対象領域Sの位置を、格納領域
p′に格納された編集対象基準点P′が基準点となるよ
うにずらし、編集領域との論理積(AND)をとり、重
ね領域を決定し、その領域内でコピー(COPY)で、
格納領域bのビットマップデータに重ねる。
Next, the position of the edit target area S is shifted so that the edit target reference point P 'stored in the storage area p' becomes the reference point, and a logical product (AND) with the edit area is obtained, and the overlap area is obtained. Is determined, and a copy is made in that area.
It is superimposed on the bitmap data in the storage area b.

【0033】これにより、編集対象領域Sを所望の位置
へ移動することができるものである。
Thus, the editing target area S can be moved to a desired position.

【0034】図6は、前記図3のステップS303にお
いて特定された値に従って図5に示す編集対象領域Sを
移動した場合の表示部3の画面の表示例を示す図、図8
は、前記図3のステップS305において特定された値
に従って図7に示す編集対象領域Sを移動した場合の表
示部3の画面の表示例を示す図、図10は、前記図3の
ステップS307において特定された値に従って図9に
示す編集対象領域Sを移動した場合の表示部3の画面の
表示例を示す図、図12は、前記図3のステップS30
8において特定された値に従って図11に示す編集対象
領域Sを移動した場合の表示部3の画面の表示例を示す
図である。
FIG. 6 is a diagram showing a display example of the screen of the display unit 3 when the editing target area S shown in FIG. 5 is moved in accordance with the value specified in step S303 of FIG.
FIG. 10 is a view showing a display example of the screen of the display unit 3 when the editing target area S shown in FIG. 7 is moved according to the value specified in step S305 in FIG. 3, and FIG. 10 is a view in step S307 in FIG. FIG. 12 is a view showing a display example of the screen of the display unit 3 when the editing target area S shown in FIG. 9 is moved according to the specified value. FIG. 12 is a view showing step S30 in FIG.
12 is a diagram illustrating a display example of a screen of the display unit 3 when the editing target area S illustrated in FIG. 11 is moved according to the value specified in FIG.

【0035】(第2実施例)次に、本発明の第2実施例
を、図13乃至図21を用いて説明する。尚、本実施例
に係る図形処理装置の基本構成及び移動処理動作は、上
述した第1実施例における図1及び図2と同一であるか
ら、これら図1及び図2を流用して説明する。
(Second Embodiment) Next, a second embodiment of the present invention will be described with reference to FIGS. Note that the basic configuration and the movement processing operation of the graphic processing apparatus according to the present embodiment are the same as those in FIGS. 1 and 2 in the above-described first embodiment.

【0036】この第2実施例では、矩形領域をその対象
となる2点(始点と終点)を指定するだけで、その指定
領域が横長の場合は、始点を含む列から終点方向と逆方
向へ編集領域の列全体を、また、前記指定領域が縦長の
場合は、始点を含む行から終点方向と逆方向へ編集領域
の行全体を編集対象領域とし、且つ終点の列または行を
移動先位置として、編集対象領域を移動させるものであ
る。
In the second embodiment, a rectangular area is simply designated by two points (a starting point and an ending point). If the designated area is horizontally long, the direction from the column including the starting point to the direction opposite to the ending point is set. If the specified area is vertically long, the entire row of the editing area is set to the entire area of the editing area in the direction opposite to the end point direction from the line including the start point, and the column or row of the end point is set to the destination position. Is to move the edit target area.

【0037】本実施例において、上述した第1実施例と
異なる点は、図13のステップS1303、ステップS
1305、ステップS1307及びステップS1308
において実行される編集対象領域と移動先を特定する方
法が異なるもので、その他は同一である。
The present embodiment is different from the first embodiment in that steps S1303 and S130 in FIG.
1305, Step S1307 and Step S1308
Are different from each other in the method of specifying the edit target area and the destination to be executed, and the others are the same.

【0038】従って、ここでは、異なるステップについ
てのみ、図13乃至図21を用いて説明し、その他の説
明は省略する。
Therefore, here, only the different steps will be described with reference to FIGS. 13 to 21, and the other description will be omitted.

【0039】図13は、本実施例に係る図形処理装置1
の移動処理動作を示すフローチャートであり、この移動
処理を実行するための制御プログラムは、制御部2のプ
ログラムメモリ9に記憶されている。また、この移動処
理は、編集領域が編集対象である図形と共に表示部3の
画面に表示されている状態で開始される。更に、該フロ
ーチャートによりライン削除の実現も可能である。
FIG. 13 shows a graphic processing apparatus 1 according to this embodiment.
5 is a flowchart showing the movement processing operation of FIG. 5. A control program for executing this movement processing is stored in the program memory 9 of the control unit 2. The moving process is started in a state where the editing area is displayed on the screen of the display unit 3 together with the graphic to be edited. Further, it is possible to realize line deletion by the flowchart.

【0040】図14、図16、図18及び図20は、表
示部3の画面の編集領域上に編集図形が表示されている
状態をそれぞれ示す図であり、各図において、P0は編
集領域の左上の点、P1は編集領域の右下の点、Psは
前記図2のステップS201において指定された編集基
準点、Peは前記図2のステップS202において指定
された編集終了点である。
FIGS. 14, 16, 18 and 20 are diagrams respectively showing states in which an edit figure is displayed on the edit area of the screen of the display unit 3. In each figure, P0 indicates the edit area. The upper left point, P1 is the lower right point of the editing area, Ps is the editing reference point specified in step S201 of FIG. 2, and Pe is the editing end point specified in step S202 of FIG.

【0041】まず、図13のステップS1301で、点
Psと点PeのX座標及びY座標の差を求め、dx=x
e−xs、dy=ye−ysとする。次にステップS1
302へ進み、ABS(dx)≧ABS(dy)且つd
x≧0であるか否かを判別する。ここで、ABS(d
x),ABS(dy)はそれぞれ前記ステップS130
1において求めたdx,dyの絶対値を表わす。そし
て、ABS(dx)≧ABS(dy)且つdx≧0であ
ればステップS1303へ進み、編集対象領域Sの右上
の座標を(x0,y0)、左下の座標を(xs,y1)
の矩形で囲まれる矩形領域に特定する。また、その編集
対象領域Sの基準点Pを(x0,y0)に特定し、移動
先の基準点P′を(x0+dx,y0)に特定する。
First, in step S1301 in FIG. 13, the difference between the X coordinate and the Y coordinate of the point Ps and the point Pe is obtained, and dx = x
e-xs, dy = ye-ys. Next, step S1
Go to 302, ABS (dx) ≧ ABS (dy) and d
It is determined whether or not x ≧ 0. Here, ABS (d
x) and ABS (dy) are respectively determined in step S130.
1 represents the absolute values of dx and dy obtained in 1. If ABS (dx) ≧ ABS (dy) and dx ≧ 0, the process proceeds to step S1303, where the upper right coordinates of the editing target area S are (x0, y0) and the lower left coordinates are (xs, y1).
Is specified in a rectangular area surrounded by the rectangle. Further, the reference point P of the editing target area S is specified as (x0, y0), and the reference point P 'of the movement destination is specified as (x0 + dx, y0).

【0042】図14は、前記ステップS1303におい
て特定された場合の表示部3の画面の表示例を示す図で
ある。
FIG. 14 is a diagram showing a display example of the screen of the display unit 3 when specified in step S1303.

【0043】前記ステップS1302においてABS
(dx)≧ABS(dy)且つdx≧0でなければステ
ップS1304へ進み、ABS(dx)≧ABS(d
y)且つdx<0であるか否かを判別する。そして、A
BS(dx)≧ABS(dy)且つdx<0であればス
テップS1305へ進み、編集対象領域Sを点(xs,
y0)と点(x1,y1)で囲まれる矩形領域に特定す
る。また、その編集対象領域Sの基準点Pを(xs,y
0)に特定し、移動先の基準点P′を(xe,y0)に
特定する。
In step S1302, ABS
If (dx) ≧ ABS (dy) and dx ≧ 0, the process proceeds to step S1304, where ABS (dx) ≧ ABS (d
y) It is determined whether dx <0. And A
If BS (dx) ≧ ABS (dy) and dx <0, the flow advances to step S1305 to set the edit target area S at the point (xs,
y0) and a rectangular area surrounded by points (x1, y1). Further, the reference point P of the edit target area S is set to (xs, y
0), and the reference point P ′ of the movement destination is specified as (xe, y0).

【0044】図16は、前記ステップS1305におい
て特定された場合の表示部3の画面の表示例を示す図で
ある。
FIG. 16 is a diagram showing a display example of the screen of the display unit 3 when specified in step S1305.

【0045】前記ステップS1304においてABS
(dx)≧ABS(dy)且つdx<0でなければステ
ップS1306へ進み、ABS(dx)<ABS(d
y)且つdy≧0であるか否かを判別する。そして、A
BS(dx)<ABS(dy)且つdy≧0であればス
テップS1307へ進み、編集対象領域Sを点(x0,
y0)と点(x1,ys)で囲まれる矩形領域に特定す
る。また、その編集対象領域Sの基準点Pを(x0,y
0)に特定し、移動先の基準点P′を(x0,y0+d
y)に特定する。
In step S1304, ABS
If (dx) ≧ ABS (dy) and dx <0, the process proceeds to step S1306, where ABS (dx) <ABS (d
y) It is determined whether or not dy ≧ 0. And A
If BS (dx) <ABS (dy) and dy ≧ 0, the flow advances to step S1307 to set the edit target area S at the point (x0,
y0) and a rectangular area surrounded by points (x1, ys). Further, the reference point P of the edit target area S is set to (x0, y
0), and the reference point P ′ of the movement destination is (x0, y0 + d
y).

【0046】図18は、前記ステップS1307におい
て特定された場合の表示部3の画面の表示例を示す図で
ある。
FIG. 18 is a diagram showing a display example of the screen of the display unit 3 when specified in step S1307.

【0047】前記ステップS1306においてABS
(dx)<ABS(dy)且つdy≧0でなければステ
ップS1308へ進み、編集対象領域Sを点(x0,y
s)と点(x1,y1)で囲まれる矩形領域に特定す
る。また、その編集対象領域Sの基準点Pを(x0,y
s)に特定し、移動先の基準点P′を(x0,ye)に
特定する。
In step S1306, ABS
If (dx) <ABS (dy) and dy ≧ 0, the flow advances to step S1308 to set the edit target area S at the point (x0, y
s) and a rectangular area surrounded by points (x1, y1). Further, the reference point P of the edit target area S is set to (x0, y
s), and the reference point P ′ of the movement destination is specified as (x0, ye).

【0048】図20は、前記図13のステップS130
8において特定された場合の表示部3の画面の表示例を
示す図である。図15は、前記図13のステップS13
03において特定された値に従って図14に示す編集対
象領域Sを移動した場合の表示部3の画面の表示例を示
す図、図17は、前記図13のステップS1305にお
いて特定された値に従って図16に示す編集対象領域S
を移動した場合の表示部3の画面の表示例を示す図、図
19は、前記図13のステップS1307において特定
された値に従って図18に示す編集対象領域Sを移動し
た場合の表示部3の画面の表示例を示す図、図21は、
前記図13のステップS1308において特定された値
に従って図20に示す編集対象領域Sを移動した場合の
表示部3の画面の表示例を示す図である。
FIG. 20 is a flowchart showing the operation of step S130 in FIG.
8 is a diagram illustrating a display example of a screen of the display unit 3 when specified in FIG. FIG. 15 is a flowchart showing step S13 in FIG.
FIG. 17 is a diagram showing a display example of the screen of the display unit 3 when the edit target area S shown in FIG. 14 is moved according to the value specified in FIG. 03. FIG. 17 is a diagram showing FIG. 16 according to the value specified in step S1305 in FIG. Edit target area S shown in
FIG. 19 is a diagram showing a display example of the screen of the display unit 3 in the case where is moved. FIG. 19 shows the display unit 3 when the editing target area S shown in FIG. 18 is moved in accordance with the value specified in step S1307 in FIG. FIG. 21 shows a display example of a screen, and FIG.
FIG. 21 is a diagram showing a display example of the screen of the display unit 3 when the editing target area S shown in FIG. 20 is moved according to the value specified in step S1308 in FIG.

【0049】(第3実施例)次に、本発明の第3実施例
を図22乃至図30を用いて説明する。尚、本実施例に
係る図形処理装置の基本構成及び移動処理動作は、上述
した第1実施例における図1及び図2と同一であるか
ら、これら図1及び図2を流用して説明する。
Third Embodiment Next, a third embodiment of the present invention will be described with reference to FIGS. Note that the basic configuration and the movement processing operation of the graphic processing apparatus according to the present embodiment are the same as those in FIGS. 1 and 2 in the above-described first embodiment.

【0050】この第3実施例では、指定した2点の始点
から終点の方向が右下の場合には、編集領域の始点から
右下の矩形領域を編集対象領域とし、右上の場合には、
編集領域の始点から右上の矩形領域を編集対象領域と
し、左上の場合には、編集領域の始点から左上の領域を
編集対象領域とし、左下の場合には、編集領域の始点か
ら左下の矩形領域を編集対象領域とし、始点から終点方
向へ編集対象領域を移動させるものである。
In the third embodiment, when the direction from the start point to the end point of the two designated points is the lower right, the rectangular area from the start point of the edit area to the lower right is set as the edit target area.
The rectangular area at the upper right from the start point of the edit area is set as the edit target area. In the case of the upper left, the area at the upper left from the start point of the edit area is set as the edit target area. In the case of the lower left, the rectangular area at the lower left of the start point of the edit area. Is the edit target area, and the edit target area is moved from the start point to the end point.

【0051】本実施例において、第1実施例と異なる部
分は、図22のステップS2202、ステップS220
4、ステップS2206の移動方向の判断と、ステップ
S2203、ステップS2205、ステップS220
7、ステップS2208の編集対象領域と移動先を特定
する方法であり、その他は第1実施例と同一である。
The present embodiment differs from the first embodiment in that steps S2202 and S220 in FIG.
4. Determination of the moving direction in step S2206, and step S2203, step S2205, step S220
7. This is a method of specifying the edit target area and the movement destination in step S2208, and the other steps are the same as those in the first embodiment.

【0052】従って、ここでは異なるステップについて
のみ図22乃至図30を用いて説明し、その他の説明は
省略する。
Therefore, only the different steps will be described with reference to FIGS. 22 to 30, and the other description will be omitted.

【0053】図22は、本実施例に係る図形処理装置1
における移動処理動作を示すフローチャートであり、こ
の移動処理を実行するための制御プログラムは、制御部
2のプログラムメモリ9に記憶されている。また、この
移動処理は、編集領域が編集対象である図形と共に表示
部3の画面に表示されている状態で開始される。
FIG. 22 shows a graphic processing apparatus 1 according to this embodiment.
5 is a flowchart showing the movement processing operation in the control unit 2. A control program for executing the movement processing is stored in the program memory 9 of the control unit 2. The moving process is started in a state where the editing area is displayed on the screen of the display unit 3 together with the graphic to be edited.

【0054】図23、図25、図27及び図29は、表
示部3の画面の編集領域上に編集図形が表示されている
状態をそれぞれ示す図であり、各図において、P0は編
集領域の左上の点、P1は編集領域の右下の点、Psは
前記図2のステップS201において指定された編集基
準点、Peは前記図2のステップS202において指定
された編集終了点である。
FIGS. 23, 25, 27, and 29 are diagrams showing states in which an edit graphic is displayed on the edit area of the screen of the display unit 3. In each figure, P0 indicates the edit area. The upper left point, P1 is the lower right point of the editing area, Ps is the editing reference point specified in step S201 of FIG. 2, and Pe is the editing end point specified in step S202 of FIG.

【0055】まず、図22のステップS2201で、点
Psと点PeのX座標及びY座標の差を求め、dx=x
e−xs、dy=ye−ysとする。次にステップS2
202へ進み、dx≧0且つdy≧0であるか否かを判
別する。ここで、dx≧0且つdy≧0であればステッ
プS2203へ進み、編集対象領域Sの右上の座標を
(xs,ys)、左下の座標を(x1,y1)の矩形で
囲まれる矩形領域に特定する。また、その編集対象領域
Sの基準点Pを(xs,ys)に特定し、移動先の基準
点P′を(xe,ye)に特定する。
First, in step S2201 of FIG. 22, the difference between the X coordinate and the Y coordinate of the point Ps and the point Pe is obtained, and dx = x
e-xs, dy = ye-ys. Next, step S2
Proceeding to 202, it is determined whether dx ≧ 0 and dy ≧ 0. If dx ≧ 0 and dy ≧ 0, the process proceeds to step S2203, where the upper right coordinates of the editing target area S are set to (xs, ys), and the lower left coordinates are set to a rectangular area surrounded by a rectangle (x1, y1). Identify. Further, the reference point P of the editing target area S is specified as (xs, ys), and the reference point P 'of the movement destination is specified as (xe, ye).

【0056】図23は、前記ステップS2203におい
て特定された場合の表示部3の画面の表示例を示す図で
ある。
FIG. 23 is a diagram showing a display example of the screen of the display unit 3 when specified in step S2203.

【0057】前記ステップS2202においてdx≧0
且つdy≧0でなければステップS2204へ進み、d
x≧0且つdy<0であるか否かを判別する。そして、
dx≧0且つdy<0であればステップS2205へ進
み、編集対象領域Sを点(xs,y0)と点(x1,y
s)で囲まれる矩形領域に特定する。また、その編集対
象領域Sの基準点Pを(xs,y0)に特定し、移動先
の基準点P′を(xe,y0+dy)に特定する。
In step S2202, dx ≧ 0
If dy ≧ 0, the process proceeds to step S2204, and d
It is determined whether or not x ≧ 0 and dy <0. And
If dx ≧ 0 and dy <0, the flow advances to step S2205 to set the edit target area S at the point (xs, y0) and the point (x1, y
Specify a rectangular area enclosed by s). Further, the reference point P of the edit target area S is specified as (xs, y0), and the reference point P 'of the movement destination is specified as (xe, y0 + dy).

【0058】図25は、前記ステップS2205におい
て特定された場合の表示部3の画面の表示例を示す図で
ある。
FIG. 25 is a diagram showing a display example of the screen of the display unit 3 when specified in step S2205.

【0059】前記ステップS2204においてdx≧0
且つdy<0でなければステップS2206へ進み、d
x<0且つdy≧0であるか否かを判別する。そして、
dx<0且つdy≧0であればステップS2207へ進
み、編集対象領域Sを点(x0,ys)と点(xs,y
1)で囲まれる矩形領域に特定する。また、その編集対
象領域Sの基準点Pを(x0,ys)に特定し、移動先
の基準点P′を(xe+dx,ye)に特定する。
In step S2204, dx ≧ 0
If not dy <0, the process proceeds to step S2206 and d
It is determined whether or not x <0 and dy ≧ 0. And
If dx <0 and dy ≧ 0, the flow advances to step S2207 to set the edit target area S at the point (x0, ys) and the point (xs, y
Specify a rectangular area surrounded by 1). Further, the reference point P of the edit target area S is specified as (x0, ys), and the reference point P 'of the movement destination is specified as (xe + dx, ye).

【0060】図27は、前記ステップS2207におい
て特定された場合の表示部3の画面の表示例を示す図で
ある。
FIG. 27 is a diagram showing a display example of the screen of the display unit 3 when specified in step S2207.

【0061】前記ステップS2206においてdx<0
且つdy≧0でなければステップS2208へ進み、編
集対象領域Sを点(x0,y0)と点(xs,ys)で
囲まれる矩形領域に特定する。また、その編集対象領域
Sの基準点Pを(x0,y0)に特定し、移動先の基準
点P′を(x0+dx,y0+dy)に特定する。
In step S2206, dx <0
If dy ≧ 0, the flow advances to step S2208 to specify the edit target area S as a rectangular area surrounded by the point (x0, y0) and the point (xs, ys). Further, the reference point P of the edit target area S is specified as (x0, y0), and the reference point P 'of the movement destination is specified as (x0 + dx, y0 + dy).

【0062】図29は、前記図22のステップS220
8において特定された場合の表示部3の画面の表示例を
示す図である。図24は、前記図22のステップS22
03において特定された値に従って図23に示す編集対
象領域Sを移動した場合の表示部3の画面の表示例を示
す図、図26は、前記図22のステップS2205にお
いて特定された値に従って図25に示す編集対象領域S
を移動した場合の表示部3の画面の表示例を示す図、図
28は、前記図22のステップS2207において特定
された値に従って図27に示す編集対象領域Sを移動し
た場合の表示部3の画面の表示例を示す図、図30は、
前記図22のステップS2208において特定された値
に従って図29に示す編集対象領域Sを移動した場合の
表示部3の画面の表示例を示す図である。
FIG. 29 is a flowchart showing step S220 in FIG.
8 is a diagram illustrating a display example of a screen of the display unit 3 when specified in FIG. FIG. 24 is a flowchart showing step S22 in FIG.
FIG. 26 is a diagram showing a display example of the screen of the display unit 3 when the editing target area S shown in FIG. 23 is moved according to the value specified in FIG. 03. FIG. Edit target area S shown in
FIG. 28 is a diagram showing a display example of the screen of the display unit 3 when the display area 3 has been moved. FIG. 28 shows a display example of the display unit 3 when the edit target area S shown in FIG. 27 has been moved according to the value specified in step S2207 in FIG. FIG. 30 shows a display example of a screen, and FIG.
FIG. 29 is a diagram showing a display example of a screen of the display unit 3 when the editing target area S shown in FIG. 29 is moved according to the value specified in step S2208 in FIG. 22.

【0063】本実施例によれば、少ない回数で、ある編
集対象領域の移動が行える。
According to the present embodiment, a certain edit target area can be moved with a small number of times.

【0064】(その他の実施例)尚、本発明は、複数の
機器から構成されるシステムに適用しても1つの機器か
ら成る装置に適用しても良い。また、本発明は、システ
ム或は装置にプログラムを供給することによって達成さ
れる場合にも適用できることはいうまでもない。
(Other Embodiments) The present invention may be applied to a system including a plurality of devices or an apparatus including one device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or an apparatus.

【0065】[0065]

【発明の効果】以上詳述したように本発明の図形処理方
法及び装置によれば、表示された図形の編集領域上で編
集基準点と編集終了点がそれぞれ指定され、該指定され
た前記編集基準点と前記編集終了点とから、編集対象領
域と該編集対象領域の移動先が特定され、該特定された
移動先へ前記編集対象領域が移動されるので、複数の行
または列のライン削除或は挿入を実行する際のオペレー
ション回数を低減し得る効果を奏する。
As described above in detail, according to the graphic processing method and apparatus of the present invention, an editing reference point and an editing end point are respectively designated on an editing area of a displayed graphic, and the designated editing is performed. From the reference point and the edit end point, an edit target area and a destination of the edit target area are specified, and the edit target area is moved to the specified destination, so that a plurality of rows or columns of lines are deleted. Alternatively, there is an effect that the number of operations at the time of executing the insertion can be reduced.

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

【図1】本発明の第1実施例に係わる図形処理装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a graphic processing apparatus according to a first embodiment of the present invention.

【図2】同図形処理装置の移動処理動作を示すフローチ
ャートである。
FIG. 2 is a flowchart showing a movement processing operation of the graphic processing apparatus.

【図3】同図形処理装置の編集対象領域及び移動先を特
定する処理動作を示すフローチャートである。
FIG. 3 is a flowchart showing a processing operation of the graphic processing apparatus for specifying an edit target area and a destination.

【図4】同図形処理装置の移動処理に必要なデータを示
す図である。
FIG. 4 is a diagram showing data necessary for movement processing of the graphic processing apparatus.

【図5】同図形処理装置の移動処理に必要な各点と編集
領域の例を示す図である。
FIG. 5 is a diagram showing an example of points and an editing area required for a moving process of the graphic processing apparatus.

【図6】同図形処理装置の移動例を表わす図である。FIG. 6 is a diagram illustrating an example of movement of the graphic processing apparatus.

【図7】同図形処理装置の移動処理に必要な各点と編集
領域の例を示す図である。
FIG. 7 is a diagram showing an example of points and an editing area required for the movement processing of the graphic processing apparatus.

【図8】同図形処理装置の移動例を表わす図である。FIG. 8 is a diagram illustrating an example of movement of the graphic processing apparatus.

【図9】同図形処理装置の移動処理に必要な各点と編集
領域の例を示す図である。
FIG. 9 is a diagram showing an example of points and editing areas required for movement processing of the graphic processing apparatus.

【図10】同図形処理装置の移動例を表わす図である。FIG. 10 is a diagram illustrating an example of movement of the graphic processing apparatus.

【図11】同図形処理装置の移動処理に必要な各点と編
集領域の例を示す図である。
FIG. 11 is a diagram showing an example of points and editing areas required for movement processing of the graphic processing apparatus.

【図12】同図形処理装置の移動例を表わす図である。FIG. 12 is a diagram illustrating an example of movement of the graphic processing apparatus.

【図13】本発明の第2実施例に係る図形処理装置の移
動処理動作を示すフローチャートである。
FIG. 13 is a flowchart showing a movement processing operation of the graphic processing apparatus according to the second embodiment of the present invention.

【図14】同図形処理装置の移動処理に必要な各点と編
集領域の例を示す図である。
FIG. 14 is a diagram showing an example of points and an editing area required for the movement processing of the graphic processing apparatus.

【図15】同図形処理装置の移動例を表わす図である。FIG. 15 is a diagram illustrating an example of movement of the graphic processing apparatus.

【図16】同図形処理装置の移動処理に必要な各点と編
集領域の例を示す図である。
FIG. 16 is a diagram showing an example of points and editing areas required for movement processing of the graphic processing apparatus.

【図17】同図形処理装置の移動例を表わす図である。FIG. 17 is a diagram illustrating a movement example of the graphic processing apparatus.

【図18】同図形処理装置の移動処理に必要な各点と編
集領域の例を示す図である。
FIG. 18 is a diagram illustrating an example of points and an editing area required for the moving process of the graphic processing apparatus.

【図19】同図形処理装置の移動例を表わす図である。FIG. 19 is a diagram illustrating an example of movement of the graphic processing apparatus.

【図20】同図形処理装置の移動処理に必要な各点と編
集領域の例を示す図である。
FIG. 20 is a diagram showing an example of each point and an editing area necessary for the movement processing of the graphic processing apparatus.

【図21】同図形処理装置の移動例を表わす図である。FIG. 21 is a diagram illustrating an example of movement of the graphic processing apparatus.

【図22】本発明の第3実施例に係る図形処理装置の編
集対象領域及び移動先を特定する処理動作を示すフロー
チャートである。
FIG. 22 is a flowchart showing a processing operation of the graphic processing device according to the third embodiment of the present invention for specifying an edit target area and a movement destination.

【図23】同図形処理装置の移動処理に必要な各点と編
集領域の例を示す図である。
FIG. 23 is a diagram showing an example of points and an editing area required for movement processing of the graphic processing apparatus.

【図24】同図形処理装置の移動例を表わす図である。FIG. 24 is a diagram illustrating an example of movement of the graphic processing apparatus.

【図25】同図形処理装置の移動処理に必要な各点と編
集領域の例を示す図である。
FIG. 25 is a diagram showing an example of points and editing areas required for the movement processing of the graphic processing apparatus.

【図26】同図形処理装置の移動例を表わす図である。FIG. 26 is a diagram illustrating a movement example of the graphic processing apparatus.

【図27】同図形処理装置の移動処理に必要な各点と編
集領域の例を示す図である。
FIG. 27 is a diagram showing an example of points and an editing area required for the movement processing of the graphic processing apparatus.

【図28】同図形処理装置の移動例を表わす図である。FIG. 28 is a diagram illustrating an example of movement of the graphic processing apparatus.

【図29】同図形処理装置の移動処理に必要な各点と編
集領域の例を示す図である。
FIG. 29 is a diagram showing an example of points and editing areas required for movement processing of the graphic processing apparatus.

【図30】同図形処理装置の他の移動例を表わす図であ
る。
FIG. 30 is a diagram illustrating another movement example of the graphic processing apparatus.

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

1 図形処理装置 2 制御部(特定手段、移動手段) 5 キーボード(編集基準点指定手段、編集終了点指
定手段) 6 ポインティングデバイス(編集基準点指定手段、
編集終了点指定手段) 8 CPU(特定手段、移動手段)
DESCRIPTION OF SYMBOLS 1 Graphic processing apparatus 2 Control part (specifying means, moving means) 5 Keyboard (editing reference point specifying means, editing end point specifying means) 6 Pointing device (editing reference point specifying means,
Editing end point designating means) 8 CPU (specifying means, moving means)

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 11/80 G06F 17/21 G09G 5/38 G06T 3/00 G06F 3/14 - 3/153 Continuation of front page (58) Fields investigated (Int.Cl. 7 , DB name) G06T 11/80 G06F 17/21 G09G 5/38 G06T 3/00 G06F 3/14-3/153

Claims (20)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 表示された図形の編集領域上で編集基準
点と編集終了点をそれぞれ指定し、該指定した前記編集
基準点と前記編集終了点とから、編集対象領域と該編集
対象領域の移動先を特定し、該特定した移動先へ前記編
集対象領域を移動することを特徴とする図形処理方法。
An editing reference point and an editing end point are respectively specified on an editing area of a displayed figure, and an editing target area and an editing end area are designated based on the specified editing reference point and the editing end point. A graphic processing method comprising: specifying a destination; and moving the editing target area to the specified destination.
【請求項2】 前記指定領域が横長の場合は、前記編集
基準点を含む列から前記編集終了点へ向かう方向に広が
編集領域の列全体を編集対象領域とし且つ前記編集終
了点の列を移動先位置として、前記編集対象領域を移動
させることを特徴とする請求項1記載の図形処理方法。
2. When the designated area is horizontally long, the area is expanded in a direction from the column including the editing reference point to the editing end point .
2. The graphic processing method according to claim 1, wherein the editing target area is moved by setting the entire row of the editing area to be an editing target area and the row of the editing end point as a movement destination position.
【請求項3】 前記指定領域が縦長の場合は、前記編集
基準点を含む行から前記編集終了点へ向かう方向に広が
編集領域の行全体を編集対象領域とし且つ前記編集終
了点の行を移動先位置として、前記編集対象領域を移動
させることを特徴とする請求項1記載の図形処理方法。
3. When the designated area is vertically long, the area is expanded in a direction from the line including the editing reference point to the editing end point .
2. The graphic processing method according to claim 1, wherein the edit target area is moved by setting an entire row of the edit area to be an edit target area and a row of the edit end point as a destination position.
【請求項4】 前記指定領域が横長の場合は、前記編集
基準点を含む列から前記編集終了点へ向かう方向と逆方
に広がる編集領域の列全体を編集対象領域とし且つ前
記編集終了点の列を移動先位置として、前記編集対象領
域を移動させることを特徴とする請求項1記載の図形処
理方法。
4. When the designated area is horizontally long, an entire row of the edit area extending in a direction opposite to a direction from the row including the edit reference point to the edit end point is set as the edit target area, and the edit end point is determined. 2. The graphic processing method according to claim 1, wherein the edit target area is moved with a column as a movement destination position.
【請求項5】 前記指定領域が縦長の場合は、前記編集
基準点を含む行から前記編集終了点へ向かう方向と逆方
に広がる編集領域の行全体を編集対象領域とし且つ前
記編集終了点の行を移動先位置として、前記編集対象領
域を移動させることを特徴とする請求項1記載の図形処
理方法。
5. When the designated area is vertically long, the entire line of the edit area extending in a direction opposite to the direction from the line including the edit reference point to the edit end point is set as the edit target area, and the edit end point is 2. The graphic processing method according to claim 1, wherein the edit target area is moved with a line as a movement destination position.
【請求項6】 前記編集基準点から前記編集終了点の方
向が右下の場合には、前記編集基準点から右下の矩形領
域を編集対象領域とし、前記編集基準点から前記編集終
了点方向へ編集対象領域を移動させることを特徴とする
請求項1記載の図形処理方法。
6. When the direction from the edit reference point to the edit end point is lower right, a rectangular area at the lower right from the edit reference point is set as an edit target area, and the direction from the edit reference point to the edit end point is 2. The graphic processing method according to claim 1, wherein the region to be edited is moved to a destination.
【請求項7】 前記編集基準点から前記編集終了点の方
向が右上の場合には、前記編集基準点から右上の矩形領
域を編集対象領域とし、前記編集基準点から前記編集終
了点方向へ編集対象領域を移動させることを特徴とする
請求項1記載の図形処理方法。
7. When the direction from the editing reference point to the editing end point is at the upper right, a rectangular area at the upper right from the editing reference point is set as an editing target area, and editing is performed from the editing reference point toward the editing end point. 2. The graphic processing method according to claim 1, wherein the target area is moved.
【請求項8】 前記編集基準点から前記編集終了点の方
向が左下の場合には、前記編集基準点から左下の矩形領
域を編集対象領域とし、前記編集基準点から前記編集終
了点方向へ編集対象領域を移動させることを特徴とする
請求項1記載の図形処理方法。
8. When the direction from the editing reference point to the editing end point is lower left, a rectangular area at the lower left from the editing reference point is set as an editing target area, and editing is performed from the editing reference point toward the editing end point. 2. The graphic processing method according to claim 1, wherein the target area is moved.
【請求項9】 前記編集基準点から前記編集終了点の方
向が左上の場合には、前記編集基準点から左上の矩形領
域を編集対象領域とし、前記編集基準点から前記編集終
了点方向へ編集対象領域を移動させることを特徴とする
請求項1記載の図形処理方法。
9. When the direction from the edit reference point to the edit end point is at the upper left, a rectangular area at the upper left from the edit reference point is set as an edit target area, and the edit is performed from the edit reference point toward the edit end point. 2. The graphic processing method according to claim 1, wherein the target area is moved.
【請求項10】 前記複数の列のライン削除を実行する
ことを特徴とする請求項2または4に記載の図形処理方
法。
10. A graphics processing method according to claim 2 or 4, characterized in that to perform the line deletion of the plurality of rows.
【請求項11】 前記複数の行のライン挿入を実行する
ことを特徴とする請求項3または5に記載の図形処理方
法。
11. A graphics processing method according to claim 3 or 5, characterized in that to perform the line insertion of said plurality of rows.
【請求項12】 表示された図形の編集領域上で編集基
準点を指定する編集基準点指定手段と、前記編集領域上
で編集終了点を指定する編集終了点指定手段と、前記各
指定手段により指定した前記編集基準点と前記編集終了
点とから編集対象領域と該編集対象領域の移動先を特定
する特定手段と、該特定手段により特定した移動先へ前
記編集対象領域を移動する移動手段とを具備したことを
特徴とする図形処理装置。
12. An editing reference point specifying means for specifying an editing reference point on an editing area of a displayed figure, an editing end point specifying means for specifying an editing end point on the editing area, and each of the specifying means. Specifying means for specifying the edit target area and the destination of the edit target area from the specified edit reference point and the edit end point; and moving means for moving the edit target area to the destination specified by the specific means. A graphic processing apparatus comprising:
【請求項13】 前記指定領域が横長の場合は、前記編
集基準点を含む列から前記編集終了点へ向かう方向に広
がる編集領域の列全体を編集対象領域とし且つ前記編集
終了点の列を移動先位置として、前記編集対象領域を移
動させることを特徴とする請求項12記載の図形処理装
置。
13. When the designated area is horizontally long, the area is widened in a direction from the column including the editing reference point to the editing end point .
Want as the destination position a row of whole edit target area column and then and the edit end point of the editing area, the graphics processing apparatus according to claim 12, wherein the moving the edit target area.
【請求項14】 前記指定領域が縦長の場合は、前記編
集基準点を含む行から前記編集終了点へ向かう方向に広
がる編集領域の行全体を編集対象領域とし且つ前記編集
終了点の行を移動先位置として、前記編集対象領域を移
動させることを特徴とする請求項12記載の図形処理装
置。
14. When the designated area is vertically long, the area is widened in a direction from the line including the editing reference point to the editing end point .
Want as the destination position and the line of the editing end point is edited area an entire row of the editing area, the graphics processing apparatus according to claim 12, wherein the moving the edit target area.
【請求項15】 前記指定領域が横長の場合は、前記編
集基準点を含む列から前記編集終了点へ向かう方向と逆
方向に広がる編集領域の列全体を編集対象領域とし且つ
前記編集終了点の列を移動先位置として、前記編集対象
領域を移動させることを特徴とする請求項12記載の図
形処理装置。
15. When the designated area is horizontally long, the entire row of the edit area extending in the direction opposite to the direction from the row including the edit reference point to the edit end point is set as the edit target area, and the edit end point is determined. 13. The graphic processing apparatus according to claim 12 , wherein the edit target area is moved by using a column as a movement destination position.
【請求項16】 前記指定領域が縦長の場合は、前記編
集基準点を含む行から前記編集終了点へ向かう方向と逆
方向に広がる編集領域の行全体を編集対象領域とし且つ
前記編集終了点の行を移動先位置として、前記編集対象
領域を移動させることを特徴とする請求項12記載の図
形処理装置。
16. When the designated area is vertically long, the entire line of the editing area extending in a direction opposite to the direction from the line including the editing reference point to the editing end point is set as an editing target area, and 13. The graphic processing apparatus according to claim 12 , wherein the edit target area is moved with a line as a movement destination position.
【請求項17】 前記編集基準点から前記編集終了点の
方向が右下の場合には、前記編集基準点から右下の矩形
領域を編集対象領域とし、前記編集基準点から前記編集
終了点方向へ編集対象領域を移動させることを特徴とす
る請求項12記載の図形処理装置。
17. When the direction from the edit reference point to the edit end point is lower right, a rectangular area at the lower right from the edit reference point is set as an edit target area, and the direction from the edit reference point to the edit end point is 13. The graphic processing apparatus according to claim 12, wherein the region to be edited is moved to a destination.
【請求項18】 前記編集基準点から前記編集終了点の
方向が右上の場合には、前記編集基準点から右上の矩形
領域を編集対象領域とし、前記編集基準点から前記編集
終了点方向へ編集対象領域を移動させることを特徴とす
る請求項12記載の図形処理装置。
18. When the direction from the edit reference point to the edit end point is on the upper right, a rectangular area on the upper right from the edit reference point is set as an edit target area, and the edit is performed from the edit reference point toward the edit end point. 13. The graphic processing apparatus according to claim 12, wherein the target area is moved.
【請求項19】 前記編集基準点から前記編集終了点の
方向が左下の場合には、前記編集基準点から左下の矩形
領域を編集対象領域とし、前記編集基準点から前記編集
終了点方向へ編集対象領域を移動させることを特徴とす
る請求項12記載の図形処理装置。
19. When the direction from the edit reference point to the edit end point is lower left, a rectangular area at the lower left from the edit reference point is set as an edit target area, and editing is performed from the edit reference point toward the edit end point. 13. The graphic processing apparatus according to claim 12, wherein the target area is moved.
【請求項20】 前記編集基準点から前記編集終了点の
方向が左上の場合には、前記編集基準点から左上の矩形
領域を編集対象領域とし、前記編集基準点から前記編集
終了点方向へ編集対象領域を移動させることを特徴とす
る請求項12記載の図形処理装置。
20. When the direction from the edit reference point to the edit end point is at the upper left, a rectangular area at the upper left from the edit reference point is set as an edit target area, and editing is performed from the edit reference point toward the edit end point. 13. The graphic processing apparatus according to claim 12, wherein the target area is moved.
JP12954494A 1994-05-19 1994-05-19 Graphic processing method and apparatus Expired - Fee Related JP3323645B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12954494A JP3323645B2 (en) 1994-05-19 1994-05-19 Graphic processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12954494A JP3323645B2 (en) 1994-05-19 1994-05-19 Graphic processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH07311855A JPH07311855A (en) 1995-11-28
JP3323645B2 true JP3323645B2 (en) 2002-09-09

Family

ID=15012144

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12954494A Expired - Fee Related JP3323645B2 (en) 1994-05-19 1994-05-19 Graphic processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3323645B2 (en)

Also Published As

Publication number Publication date
JPH07311855A (en) 1995-11-28

Similar Documents

Publication Publication Date Title
EP0217048A2 (en) Method for editing a graphic object in an interactive draw graphic system
JPH10188014A (en) Picture editing method and its device
JP2009140382A (en) Image editing device, image editing program, record medium, and method for editing image
JP3323645B2 (en) Graphic processing method and apparatus
JP3121360B2 (en) Data creation apparatus and figure enlargement / reduction method using the same
JP2009129224A (en) Image operating device, image operating program, recording medium, and image operating method
JP3658027B2 (en) Graphic editing apparatus and graphic editing method
JP2713147B2 (en) How to edit multimedia presentations
JP3014209B2 (en) Image information presentation device
JP2854174B2 (en) Enlargement drawing method in numerical controller
JP3483333B2 (en) Graphic processing method and apparatus
JP2722544B2 (en) Data processing device
JP3486476B2 (en) Graphic processing method and apparatus
JPH0744559A (en) Method and device for editing document
JPH06230919A (en) Multiwindow display method
JPH07319513A (en) Programming device for programmable controller and sequence program preparing method for the same
JPH10228210A (en) Picture editing device and recording medium with recorded program for executing processing therefor
JP3513318B2 (en) Graphic processing method and graphic processing apparatus
JPH08185429A (en) Device and method for displaying image
JPH0772914B2 (en) Graphic display device and graphic display method
JP2001331536A (en) Editing method, medium and program for cad system
JPH0488478A (en) Signature column masking method for cad drawing
JPH01318168A (en) Document forming device
JPH07325819A (en) Device and method for processing document
JPH08137858A (en) Character editing device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080628

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090628

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090628

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100628

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110628

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120628

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120628

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130628

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees