JPH03161869A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH03161869A
JPH03161869A JP30125189A JP30125189A JPH03161869A JP H03161869 A JPH03161869 A JP H03161869A JP 30125189 A JP30125189 A JP 30125189A JP 30125189 A JP30125189 A JP 30125189A JP H03161869 A JPH03161869 A JP H03161869A
Authority
JP
Japan
Prior art keywords
point
scaling
reference point
graphic
screen
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
JP30125189A
Other languages
Japanese (ja)
Other versions
JPH0738229B2 (en
Inventor
Rikiya Makimoto
槙本 力也
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP30125189A priority Critical patent/JPH0738229B2/en
Publication of JPH03161869A publication Critical patent/JPH03161869A/en
Publication of JPH0738229B2 publication Critical patent/JPH0738229B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To easily select a scaling mode by dividing a screen into nine sections by two horizontal lines and two vertical lines passing operation points on the four corners of a graphic element and selecting a prescribed scaling selecting mode and its direction in accordance with positional relation between each specified operation point and the divided area. CONSTITUTION:A divided area setting part 10 divides a screen into nine areas by straight lines and sets up four areas for determining the regulated scaling mode and its direction in accordance with the positional relation between each of nine divided areas and a reference point as shown in the figure. When an operator specifies an operation point 18 on the screen by a cursor, a reference position discriminating part 11 sets up the operation point 18 on the reference point of scaling. When the operator specifies a cursor position on the screen, a divided area discriminating part 12 decides which divided area selects the specified position and a scaling discriminating part 13 sets up the scaling mode in accordance with the regulated scaling mode allocated to each area. Consequently, the graphic scaling mode can easily be selected.

Description

【発明の詳細な説明】 〔概要〕 表示画面上で図形の拡大縮小のモードおよび方向を指定
する機能を備えた図形処理装置に関し、図形の拡大縮小
モードおよび方向指定の操作の容易な図形処理装置を得
ることを目的とし、図形データ入力手段と図形の画面表
示手段と図形処理手段とを備え、図形処理手段は、四隅
の操作点のうちの2つずつを通る2本の水平線と2本の
垂直線により百面を9つに分割する分割領域を設定する
分割領域設定部と、指定された任意の一つの操作点を基
準点として判定する基準点判定部と、基準点の指定入力
に続いて他の座標点が入力されたとき、その座標点が9
つの上記分割領域のいづれに位置するかを判定する分割
領域判定部と、各判定された基準点と分割領域との関係
において、予め定められた規定に基づき、対象図形を水
平方向への拡大もしくは縮小、あるいは垂直方向への拡
大もしくは縮小、あるいは対象図形を相似に拡大もしく
は縮小のいずれの処理を行うかを判定する拡大縮小判定
部とを備えた構戒を持つ。
[Detailed Description of the Invention] [Summary] A graphic processing device that allows easy operations for specifying the scaling mode and direction of a graphic, regarding a graphic processing device that has a function of specifying the scaling mode and direction of a graphic on a display screen. It is equipped with a figure data input means, a figure screen display means, and a figure processing means, and the figure processing means has two horizontal lines and two There is a division area setting section that sets a division area that divides a hundred planes into nine parts by vertical lines, a reference point determination section that determines any one specified operation point as a reference point, and a When another coordinate point is input, the coordinate point becomes 9.
A divided area determination unit that determines which of the divided areas the target figure is located in, and a divided area determination unit that determines which of the divided areas the target figure is located in, and expands or The image forming apparatus has an enlargement/reduction determination unit that determines whether to perform reduction, vertical enlargement or reduction, or similar enlargement or reduction of the target figure.

〔産業上の利用分野] 本発明は、表示画面上で図形の拡大縮小のモードおよび
方向を指定する機能を備えた図形処理装置に関する。
[Industrial Field of Application] The present invention relates to a graphic processing device having a function of specifying the mode and direction of scaling of a graphic on a display screen.

〔従来技術〕[Prior art]

表示画面上で図形処理を行う場合においては、図形を相
似に拡大縮小あるいは水平方向もしくは垂直方向に拡大
縮小する必要がしばしば生しる。
When performing graphical processing on a display screen, it is often necessary to scale the graphic similarly or to scale it horizontally or vertically.

従来の画面上での図形の拡大縮小の操作方法の例を第4
図により説明する. 第4図(a)は、表示画面上で図形を拡大縮小する場合
の拡大縮小図形の例である。
The fourth example shows how to enlarge/reduce figures on the conventional screen.
This will be explained using a diagram. FIG. 4(a) is an example of an enlarged/reduced figure when the figure is enlarged/reduced on the display screen.

図において、41は拡大縮小の対象となる図形要素、4
2は図形要素41を水平方向に拡大した図形、43は図
形要素4lを相似に拡大した図形、44は図形要素4l
を垂直方向に拡大した図形を示す。
In the figure, 41 is a graphical element to be scaled;
2 is a figure that is horizontally enlarged from the figure element 41, 43 is a figure that is similar to the figure element 4l, and 44 is a figure that is enlarged in a similar manner to the figure element 4l.
Shows a vertically expanded figure.

図(b)は、図形の拡大縮小を行うための第lの従来の
操作方法を示す。
Figure (b) shows a first conventional operation method for enlarging or reducing a figure.

図において45は拡大縮小の対象となる図形要素、46
は図形要素の拡大縮小の基準となる位置を指定するため
の操作点を示し、図形要素の■、■、■、■の周囲4箇
所に表示される。
In the figure, 45 is a graphical element to be scaled; 46
indicates operation points for specifying the reference position for enlarging/reducing the graphical element, and is displayed at four locations around the graphical element (■, ■, ■, ■).

従来の操作方法lは、先ず、(1)拡大縮小の対象とな
る図形を選択し、続いて画面上でカーソル47により操
作点を指定する。
The conventional operation method 1 is to (1) first select a figure to be enlarged or reduced, and then specify an operation point on the screen using the cursor 47;

指定された操作点と拡大縮小する方向と反対側の操作点
が拡大縮小の基準となる。
The operating point on the opposite side of the specified operating point and the direction of scaling becomes the reference for scaling.

例えば、図において、右側の水平方向に拡大する場合に
ついて、従来の操作方法1を説明する。
For example, in the figure, conventional operation method 1 will be described for the case of enlarging in the horizontal direction on the right side.

先ず、(1)操作点2を選択する。この場合、指定した
操作点2に対して拡大縮小する方向と反対側の操作点■
が拡大縮小の基準となる。
First, (1) select operating point 2; In this case, the operating point on the opposite side of the direction of scaling with respect to the specified operating point 2
is the standard for scaling.

次に、(2)相似に拡大縮小するかあるいは水平方向も
しくは垂直方向に拡大縮小するかの拡大5 縮小の選択モード画面により、「水平方向」を画面上で
カーソルにより指定する。
Next, (2) the "horizontal direction" is designated on the screen using the cursor on the enlargement/reduction selection mode screen for whether to enlarge or reduce the image in a similar manner or in the horizontal or vertical direction.

さらに、(3)カーソルにより画面上で拡大する位置を
指定する。
Furthermore, (3) specify the position to be enlarged on the screen using the cursor.

以上の操作により図に点線で示す領域に図形要素45を
水平方向に拡大した図形が表示される。
As a result of the above operations, a graphic obtained by enlarging the graphic element 45 in the horizontal direction is displayed in the area indicated by the dotted line in the figure.

次に、従来の第2の拡大縮小方法を図(c)により説明
する。
Next, the second conventional scaling method will be explained with reference to FIG.

図において、46は拡大縮小の対象の図形要素である。In the figure, 46 is a graphical element to be enlarged or reduced.

従来の拡大縮小方法2では、図形要素46の周囲に拡大
縮小のモードと方向を指定する8箇所の操作点が表示さ
れる。図における■〜■が操作点である。
In the conventional scaling method 2, eight operating points are displayed around the graphic element 46 to specify the scaling mode and direction. ■ to ■ in the figure are operating points.

操作方法は、拡大縮小する図形の周囲に表示される8つ
の操作点のうちの何れかを選択し、拡大縮小モードと方
向および拡大縮小の基準点を決定する。
The operating method is to select one of the eight operation points displayed around the figure to be enlarged or reduced, and to determine the enlargement/reduction mode, direction, and reference point for enlargement/reduction.

図において■、■、■、■は相似に拡大縮小する場合の
操作点、■、■は垂直方向に拡大縮小する場合の操作点
、■、■は水平方向に拡大縮小す6 ー る場合の操作点である。
In the figure, ■, ■, ■, ■ are operating points when scaling in a similar manner, ■, ■ are operating points when scaling in the vertical direction, and ■, ■ are operating points when scaling in the horizontal direction. This is the operating point.

水平方向に拡大する場合について、図により説明する。The case of expanding in the horizontal direction will be explained using figures.

先ず、(1)水平方向右側に拡大するための基準の位置
を定め、拡大モードを指定するための操作点■を画面上
で選択する。
First, (1) determine the reference position for enlarging to the right side in the horizontal direction, and select the operating point ■ on the screen to specify the enlargement mode.

次に(2)拡大する位置を画面上でカーソル48により
位置指定する。
Next, (2) the position to be enlarged is specified on the screen using the cursor 48;

以上の操作により図に点線で示す領域に図形要素46を
水平方向に拡大した図形が表示される。
Through the above operations, a graphic obtained by enlarging the graphic element 46 in the horizontal direction is displayed in the area indicated by the dotted line in the figure.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記の従来の操作方法1では、拡大縮小するための操作
数が多いため時間がかかり、従来の操作方法2では、操
作点の数が多いため図形が小さい場合には操作点が見分
けにくくなり、拡大縮小が困難になったりする場合があ
る。
Conventional operation method 1 described above requires a large number of operations for scaling, which takes time, and conventional operation method 2 requires a large number of operation points, making it difficult to distinguish the operation points when the figure is small. It may become difficult to scale the image.

〔課題を解決するための手段] 本発明は、表示画面を拡大縮小の対象となる図形に対し
て、図形要素の4隅に表示される操作点を通る2本の水
平線と2本の垂直線により画面を9つの領域に分割し、
指定したlつの操作点と指定した1つの分割領域との位
置関係に応じて規定により定められた拡大縮小の選択モ
ードおよび方向を選択をすることにより拡大縮小のモー
ド選択の操作を容易にできるようにした。
[Means for Solving the Problems] The present invention provides two horizontal lines and two vertical lines passing through operation points displayed at the four corners of a graphic element on a display screen for a figure to be enlarged or reduced. Divide the screen into nine areas by
The enlargement/reduction mode selection operation can be made easier by selecting the enlargement/reduction selection mode and direction defined by regulations according to the positional relationship between one specified operating point and one specified divided area. I made it.

本発明は、このような図形の拡大縮小操作の容易な図形
処理装置を得ることを目的とする.第1図により、本発
明の原理を説明する。
The object of the present invention is to provide a graphic processing device that facilitates such graphic scaling operations. The principle of the present invention will be explained with reference to FIG.

第1図(a)は、本発明の基本構威図である.図におい
て、1はマウス、キーボード等の図形データの入力手段
、2は入力データに基づいて図形を表示する表示手段、
3は入力手段1により入力された図形データを処理プロ
グラムに従って処理するCPU、4は図形データ、処理
プログラ等を格納するメモリ、5は入力データを処理す
るプログラム等で構威される図形処理手段、10は表示
画面上の図形要素の4隅に表示される操作点を通る水平
方向と垂直方向の各2木の線により画面を9つの分割領
域を設定する分割領域設定部、llは画面上で指定され
たカーソルの位置を読み取って拡大縮小の基準位置を設
定する基準位置判定部、12は基準位置指定に続いて画
面上でカーソルにより指定された位置を読み取って指定
された分割領域を判定する分割領域判定部、l3は基準
位置判定部11で判定された基準位置と分割領域判定部
12で判定された分割領域の位置関係により拡大縮小の
モードと方向を判定する拡大縮小判定部である。
FIG. 1(a) is a basic configuration diagram of the present invention. In the figure, 1 is a means for inputting figure data such as a mouse or a keyboard; 2 is a display means for displaying figures based on the input data;
3 is a CPU that processes the graphic data inputted by the input means 1 according to a processing program; 4 is a memory that stores graphic data, a processing program, etc.; 5 is a graphic processing means consisting of a program, etc. that processes the input data; 10 is a divided area setting section that sets the screen into nine divided areas by two-tree lines in the horizontal and vertical directions passing through the operation points displayed at the four corners of the graphical element on the display screen; A reference position determination unit 12 reads the specified cursor position and sets a reference position for scaling; 12 reads the position specified by the cursor on the screen after specifying the reference position to determine the specified divided area; The divided area determination unit 13 is an enlargement/reduction determination unit that determines the mode and direction of expansion/reduction based on the positional relationship between the reference position determined by the reference position determination unit 11 and the divided area determined by the divided area determination unit 12.

[作用] 第1図(b)、(c)により、本発明の基本構威の作用
を説明する。必要に応じて、図(a)を参照する。
[Operation] The operation of the basic structure of the present invention will be explained with reference to FIGS. 1(b) and 1(c). Refer to Figure (a) if necessary.

図(b)は分割領域設定部10が設定した分割領域の例
である。
FIG. 3B shows an example of divided regions set by the divided region setting section 10. FIG.

図において、l4は図形要素、15、16、17、18
は操作点、直線■、■はそれぞれ操作点17、18およ
び15、16を通る水平線、■、■はそれぞれ操作点1
5、18および16、17を通る垂直線、19は操作点
の位置を指定して拡大縮小の基準点を設定するカーソル
である。
In the figure, l4 is a graphical element, 15, 16, 17, 18
are operating points, straight lines ■ and ■ are horizontal lines passing through operating points 17, 18 and 15, 16, respectively, and ■ and ■ are operating points 1, respectively.
A vertical line 19 passing through 5, 18 and 16, 17 is a cursor for specifying the position of the operating point and setting the reference point for scaling.

拡大縮小の基準点として図示の操作点18を指定した場
合について説明する。
A case will be described in which the illustrated operation point 18 is designated as the reference point for scaling.

分割領域設定部10は、直線■〜■により画面を図示の
ように9分割する。そして、9つの分割領域に対して基
準点との位置関係により規定された拡大縮小モードと方
向を決定する4つの領域を図示のように定める。
The divided area setting unit 10 divides the screen into nine parts as shown in the figure using straight lines (1) to (2). Then, as shown in the figure, four areas are determined for the nine divided areas, the enlargement/reduction mode and direction defined by the positional relationship with the reference point.

分割領域として、図示の領域のが選択された場合には、
拡大縮小の基準点18と操作点l6を結ぶ対角線■と直
線の、■との関係で拡大縮小モードと方向を決定する。
If the area shown is selected as the divided area,
The enlargement/reduction mode and direction are determined based on the relationship between the diagonal line (■) connecting the enlargement/reduction reference point 18 and the operating point l6 and the straight line (■).

即ち、対角線■より直線のに近い図示の領域イにある場
合には垂直方向への縮小モードを設定し、基準点18と
操作点16を結ぶ対角線■より直線■に近い図示の領域
二にある場合には水平方向への縮小モードを設定し、直
線■、■より対角線■に近い領域ロ、ハの場合には相似
に拡大縮小するモードを選択する。
That is, if the image is in region A shown in the figure, which is closer to the straight line than the diagonal line ■, the vertical reduction mode is set, and if it is in the region 2, which is closer to the straight line ■ than the diagonal line connecting the reference point 18 and the operating point 16. In this case, the horizontal reduction mode is set, and in the case of areas B and C that are closer to the diagonal lines ■ than the straight lines ■ and ■, a similar scaling mode is selected.

分割領域として、図示の領域■が選択されている場合に
は、図形要素を相似にそれぞれの方向に拡大縮小するモ
ードを選択する。領域■が選択されている場合には、図
形要素をそれぞれの方向に垂直に拡大縮小するモードを
選択する。領域■が選択されている場合には、図形要素
をそれぞれの方向に水平に拡大縮小するモードを選択す
る。
When the illustrated area (3) is selected as the divided area, a mode is selected in which the graphic elements are similarly enlarged or reduced in each direction. If area ■ is selected, select a mode for vertically scaling the graphic elements in each direction. If area ■ is selected, select a mode for horizontally scaling the graphic elements in each direction.

次に、拡大縮小の基準点として操作点l8を選択する場
合について本発明の具体的な操作方法と基本構戒の動作
について説明する。
Next, the specific operating method and basic precepts of the present invention will be described for the case where the operating point l8 is selected as the reference point for scaling.

作業者は、先ず、画面上で操作点18をカーソルにより
指定する。基準位置判定部l1は操作点l8を拡大縮小
の基準点に設定する。次に作業者が画面上でカーソルの
位置を指定すると、分割領域判定部l2は指定された位
置がいずれの分割領域に選択されたかを判定し、拡大縮
小判定部l3はそれぞれの傾截に割り当てられた規定の
拡大縮小モードに従って、拡大縮小モードを設定する。
The operator first specifies the operation point 18 on the screen with a cursor. The reference position determination unit l1 sets the operating point l8 as the reference point for scaling. Next, when the operator specifies the position of the cursor on the screen, the divided area determination unit l2 determines which divided area the specified position has been selected, and the enlargement/reduction determination unit l3 assigns it to each slope. Set the scaling mode according to the specified scaling mode.

上記の分割領域判定部12と拡大縮小判定部13の部分
の動作のフローを図(c)に示す。
The flow of the operation of the above-mentioned divided area determination unit 12 and enlargement/reduction determination unit 13 is shown in FIG. 3(c).

−1  1− なお、上記説明において、操作点18を拡大縮小の基準
点に選択した場合について説明したが、他の操作点を基
準点として選択した場合にも、領域■〜■の相対的位置
関係は同じであり、各領域に割り当てられた基準点との
関係で規定された拡大縮小モードも同じである。
-1 1- In the above explanation, the case where the operating point 18 is selected as the reference point for scaling is explained, but even when other operating points are selected as the reference point, the relative positions of areas ■ to ■ The relationship is the same, and the scaling mode defined in relation to the reference point assigned to each area is also the same.

また、領域■〜■に割り当てられた拡大縮小モードにつ
いても上記説明は例示的なものであって、これに限られ
るものではない。
Furthermore, the above explanation regarding the enlargement/reduction modes assigned to areas (1) to (2) is merely an example, and the present invention is not limited thereto.

図(b)において分割された、各領域に図示した模様は
説明の便宜上図示したものであり、画面上に表示される
ものではない。
The patterns shown in each divided area in FIG. 2B are shown for convenience of explanation and are not displayed on the screen.

〔実施例〕〔Example〕

第2図、第3図により、本発明の実施例の説明をする。 An embodiment of the present invention will be explained with reference to FIGS. 2 and 3.

図において、21は文字、図形データを入力するキーボ
ード、22は図形データを入力するマウス入力手段、2
3は入力データに基づいて図形を表示する表示手段、2
4は文字、図形データを格−1 2− 納するディスク装置、25は文字、図形を印刷するブリ
ンク、26はキーボード21、マウス入力手段22より
入力された文字、図形データを処理プログラムに従って
処理するCPU、27は図形データ、処理プログラム等
を格納するRAM、28は制御プログラム,基本図形デ
ータ等を格納したROM,29は入力データを処理する
プログラム等で構威される図形処理手段、30は拡大縮
小の対象となる指定された図形を認識する図形要素認識
部、3lは図形要素認識部30で認識した図形要素の4
隅に操作点を設定する操作点設定部、32は表示画面上
の図形要素の4隅に表示される操作点を通る水平方向と
垂直方向の各2本の線により画面を9つに分割して分割
領域を設定する分割領域設定部、33は画面上で指定さ
れたカーソルの位置を読み取って拡大縮小の基準位置を
設定する基準虎、判定部、34は基準位置指定に続いて
画面上でカーソルにより指定された位置を読み取って指
定された分割領域を判定する分割領域判定部、35は基
準概、判定部33で判定された基l3 準位置と分割領域判定部で判定された分割領域の位置関
係に応じてあらかじめ定められた規定により拡大縮小の
モードと方向を判定する拡大縮小判定部、40は分割領
域を指定するための座標入力点の位置を判定するための
座標入力点判定部である。
In the figure, 21 is a keyboard for inputting characters and graphic data; 22 is a mouse input means for inputting graphic data;
3 is a display means for displaying a figure based on input data;
4 is a disk device for storing character and graphic data; 25 is a blinker for printing characters and graphics; 26 is for processing character and graphic data inputted from the keyboard 21 and mouse input means 22 according to a processing program. 27 is a RAM that stores graphic data, processing programs, etc.; 28 is a ROM that stores control programs, basic graphic data, etc.; 29 is a graphic processing means consisting of programs that process input data; and 30 is an enlarged A graphic element recognition unit that recognizes a specified figure to be reduced; 3l is a graphic element 4 recognized by the graphic element recognition unit 30;
An operating point setting section 32 for setting operating points at the corners divides the screen into nine parts by two lines each in the horizontal and vertical directions passing through the operating points displayed at the four corners of the graphical elements on the display screen. 33 is a reference tiger that reads the position of the cursor designated on the screen and sets the standard position for scaling; 34 is a determination unit that reads the position of the cursor specified on the screen and sets the divided area; A divided area determination unit reads the position designated by the cursor and determines the designated divided area, 35 is a reference outline, and the reference position 13 determined by the determination unit 33 and the divided area determined by the divided area determination unit are An enlargement/reduction determination unit that determines the mode and direction of enlargement/reduction according to predetermined rules according to the positional relationship; and 40 is a coordinate input point determination unit that determines the position of a coordinate input point for specifying a divided area. be.

図形処理手段29における各部の動作は次の通りである
The operation of each part in the graphic processing means 29 is as follows.

作業者が画面上で拡大縮小しようとする図形を指定する
と、図形要素認識部30は対象となる図形データを確認
し、操作点設定部31は図形要素の周囲の4隅に操作点
を設定する。
When the operator specifies a figure to be enlarged or reduced on the screen, the figure element recognition section 30 checks the target figure data, and the operation point setting section 31 sets operation points at the four corners around the figure element. .

次に、分割領域設定部32は操作点を通る2本の水平線
および2本の垂直線により分割領域を設定する。そこで
、作業者が画面上でカーソルにより拡大縮小の基準とな
る操作点を指定すると、基準点判定部33は拡大縮小の
基準点を設定する。
Next, the divided area setting unit 32 sets divided areas using two horizontal lines and two vertical lines passing through the operating point. Therefore, when the operator specifies an operating point on the screen with a cursor to serve as a reference point for scaling, the reference point determination unit 33 sets the reference point for scaling.

次に、作業者が分割領域を指定するため画面上でカーソ
ルの位置指定により座標入力をすると、座標入力点判定
部40は座標位置を判定し、その結1 4− 果、分割領域判定部34は指定された分割領域を読み取
る。拡大縮小判定部35は基準点と分割領域の位置関係
に応してあらかじめ定められた規定に従って、拡大縮小
モードおよび拡大縮小の方向を設定する。
Next, when the operator inputs coordinates by specifying the position of the cursor on the screen in order to designate the divided area, the coordinate input point determination unit 40 determines the coordinate position, and as a result, the divided area determination unit 34 reads the specified partition. The enlargement/reduction determination unit 35 sets the enlargement/reduction mode and the direction of enlargement/reduction according to a predetermined rule according to the positional relationship between the reference point and the divided area.

第3図に、本発明の実施例の拡大縮小の分割領域の例を
示す。
FIG. 3 shows an example of divided areas for scaling according to the embodiment of the present invention.

図(a)、(b)、(c)、(d)のいずれの場合も各
領域■〜■に定められた拡大縮小の選択モードは同じで
ある。
In all of the cases shown in FIGS. (a), (b), (c), and (d), the enlargement/reduction selection mode defined for each region (1) to (2) is the same.

第1図における場合と同様に、分割領域は代表的に図(
a)に示す図形要素の4隅に設定される操作点を通る2
本の水平線(直線■、■)と2本の垂直線(直線の、■
)により画面を分割することにより定められる。
As in Figure 1, the divided regions are typically shown in Figure (
2 passing through the operating points set at the four corners of the graphic element shown in a)
The book's horizontal line (straight line ■, ■) and two vertical lines (straight line, ■
) is determined by dividing the screen.

また、図(a)に示すカーソルにより操作点を指定して
拡大縮小の基準点を定め、基準点との関係において、分
割領域を図示のような4つの領域に定め、各領域と基準
点との関係においてあらかしめ定められた拡大縮小モー
ドを選択することについても第1図の場合と同様である
。例えば、領域のにおいては、拡大縮小モードは座標入
力点の位置の基準点とその対角点を結ぶ対角線■と水平
線■の関係もしくは直線■と垂直線■との関係において
定められ、領域■は相似の拡大縮小モード、領域■は垂
直方向の拡大縮小モード、領域■は水平方向の拡大縮小
モードを定める。
In addition, specify the operating point with the cursor shown in Figure (a) to set the reference point for scaling, and in relation to the reference point, define the divided areas into four areas as shown in the figure, and connect each area to the reference point. The selection of the enlargement/reduction mode predetermined in relation to the above is also the same as in the case of FIG. For example, in a region, the scaling mode is determined by the relationship between the diagonal line ■ connecting the reference point of the coordinate input point and its diagonal point and the horizontal line ■, or the relationship between the straight line ■ and the vertical line ■. Similar scaling modes, region (2) determines the vertical scaling mode, and region (2) determines the horizontal scaling mode.

各図において、(a)は拡大縮小の基準点として右下の
操作点を指定した場合であり、(b)、(c)、(d)
は拡大縮小の基準点としてそれぞれ右上、左下、左上の
操作点を指定した場合である。
In each figure, (a) is the case where the lower right operating point is specified as the reference point for scaling, and (b), (c), (d)
This is the case where the upper right, lower left, and upper left operating points are specified as the reference points for scaling, respectively.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、図形の処理装置において、2本の水平
線と2本の垂直線により分割された領域と指定座標の位
置関係とにより図形の拡大縮小モードを指定できるため
図形の拡大縮小処理の操作性が向上する。
According to the present invention, in a figure processing device, the enlargement/reduction mode of the figure can be specified based on the positional relationship between the area divided by two horizontal lines and two vertical lines and the specified coordinates. Improves operability.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図(a)は、本発明の基本構威図である。 第1図(b)は、本発明の基本構戒における図形要素と
分割領域の説明図である。 第1図(C)は、本発明の基本構或の拡大縮小判定のフ
ロー図である。 第2図は、本発明の実施例構或図である。 第3図は、本発明の実施例の分割領域である。 第4図(a)は、図形の拡大縮小の一般的説明図である
。 第4図(b)は、従来の図形の拡大縮小方法1の説明図
である。 第4図(c)は、従来の図形の拡大縮小方法2の説明図
である。 第1図において、 l 二入力手段、 2 :表示手段、 5 :図形処理手段、 10;分割領域設定部、 Il:基準位置判定部、 1 7 − l2:分割領域判定部、 l3:拡大縮小判定部。
FIG. 1(a) is a basic configuration diagram of the present invention. FIG. 1(b) is an explanatory diagram of graphical elements and divided regions in the basic structure of the present invention. FIG. 1(C) is a flowchart of enlargement/reduction determination according to the basic structure of the present invention. FIG. 2 is a diagram showing an embodiment of the present invention. FIG. 3 shows divided regions according to an embodiment of the present invention. FIG. 4(a) is a general explanatory diagram of enlarging/reducing a figure. FIG. 4(b) is an explanatory diagram of a conventional figure enlargement/reduction method 1. FIG. 4(c) is an explanatory diagram of a conventional figure enlargement/reduction method 2. In FIG. In FIG. 1, l two input means, 2: display means, 5: graphic processing means, 10: divided area setting section, Il: reference position determination section, 17-12: divided area determination section, l3: enlargement/reduction determination. Department.

Claims (2)

【特許請求の範囲】[Claims] (1)図形データ入力手段と図形の画面表示手段と図形
処理手段とを備え、拡大縮小の対象となる図形の四隅に
拡大縮小の基準点として選択される操作点を表示し、指
定された操作点と次に指定された表示画面上の座標点と
の関係において、図形の水平方向および垂直方向および
相似に拡大縮小を行う図形処理装置において、 図形処理手段は、四隅の操作点のうちの2つずつを通る
2本の水平線と2本の垂直線により画面を9つに分割す
る分割領域を設定する分割領域設定部と、 指定された任意の一つの操作点を基準点として判定する
基準点判定部と、 基準点の指定入力に続いて他の座標点が入力されたとき
、その座標点が9つの上記分割領域のいづれに位置する
かを判定する分割領域判定部と、上記各判定された基準
点と分割領域との関係において、予め定められた規定に
基づき、対象図形を水平方向への拡大もしくは縮小、あ
るいは垂直方向への拡大もしくは縮小、あるいは対象図
形を相似に拡大もしくは縮小のいずれの処理を行うかを
判定する拡大縮小判定部とを備えたことを特徴とする図
形処理装置。
(1) Comprising a figure data input means, a figure screen display means, and a figure processing means, the operation points to be selected as reference points for scaling are displayed at the four corners of the figure to be scaled, and the specified operation is performed. In a graphic processing device that scales a graphic horizontally, vertically, and similarly in relation to a point and a coordinate point on the display screen designated next, the graphic processing means is configured to expand or reduce the shape of a graphic in the horizontal and vertical directions and in a similar manner. A dividing area setting section that sets a dividing area that divides the screen into nine parts by two horizontal lines and two vertical lines that pass through each, and a reference point that determines a specified arbitrary operation point as a reference point. a determination unit; a divided area determination unit that determines in which of the nine divided areas the coordinate point is located when another coordinate point is input following the input of designation of the reference point; In the relationship between the reference point and the divided area, the target figure can be enlarged or reduced in the horizontal direction, or vertically, or the target figure can be similarly enlarged or reduced, based on predetermined rules. 1. A graphic processing device comprising: an enlargement/reduction determination unit that determines whether to perform processing.
(2)拡大縮小判定部は、基準点の指定入力に続いて入
力される他の座標点が四隅の操作点のうちの2つずつを
通る2本の水平線と2本の垂直線により分割される9つ
の分割領域のうちの中央部部分にあるときは、上記他の
座標点の位置の基準点と、基準点の対角点を結ぶ対角線
と、基準点を通る水平線と垂直線との関係において、予
め定められた規定に基づき、対象図形を水平方向への拡
大もしくは縮小、あるいは垂直方向への拡大もしくは縮
小、あるいは対象図形を相似に拡大もしくは縮小のいず
れの処理を行うかを判定することを特徴とする請求項1
に記載の図形処理装置。
(2) The enlargement/reduction determination section divides the other coordinate points that are input following the input of the reference point designation by two horizontal lines and two vertical lines that pass through two of the operation points at the four corners. If it is located in the central part of the nine divided areas, the relationship between the reference point at the position of the other coordinate points above, the diagonal line connecting the diagonal point of the reference point, and the horizontal line and vertical line passing through the reference point. , to determine whether to enlarge or reduce the target figure in the horizontal direction, to enlarge or reduce it in the vertical direction, or to enlarge or reduce the target figure in a similar manner, based on predetermined rules. Claim 1 characterized by
The graphic processing device described in .
JP30125189A 1989-11-20 1989-11-20 Graphic processing device Expired - Lifetime JPH0738229B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30125189A JPH0738229B2 (en) 1989-11-20 1989-11-20 Graphic processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30125189A JPH0738229B2 (en) 1989-11-20 1989-11-20 Graphic processing device

Publications (2)

Publication Number Publication Date
JPH03161869A true JPH03161869A (en) 1991-07-11
JPH0738229B2 JPH0738229B2 (en) 1995-04-26

Family

ID=17894585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30125189A Expired - Lifetime JPH0738229B2 (en) 1989-11-20 1989-11-20 Graphic processing device

Country Status (1)

Country Link
JP (1) JPH0738229B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090237679A1 (en) * 2008-03-24 2009-09-24 Seiko Epson Corporation Image processing device and method for image processing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090237679A1 (en) * 2008-03-24 2009-09-24 Seiko Epson Corporation Image processing device and method for image processing

Also Published As

Publication number Publication date
JPH0738229B2 (en) 1995-04-26

Similar Documents

Publication Publication Date Title
JP2003288144A (en) Display control method, program using the method and information processing apparatus
JPH03161869A (en) Graphic processor
JPH06282401A (en) Menu display method
EP0439333A2 (en) Electronic image modification
JP2751114B2 (en) Character processing method
JPH07182530A (en) Document preparing device and graphic plotting method for the same
JPH05266133A (en) Simultaneous display method for partial image
JPH06124106A (en) Method for setting screen output from digitizer
JPH07282285A (en) Graphic editing device
JP2610828B2 (en) Figure information extraction method
JPH11109940A (en) Countour editing device for image data and countour editing method for the image data and recording medium
JP2575636B2 (en) Graphic display device
JPH03172891A (en) Multiwindow control system
JPH07234868A (en) Document preparing device
JPH04357571A (en) Method and device for processing image
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JPH03282589A (en) Document preparing device
JPS62279475A (en) Graphic processor
JPH02230378A (en) Graphic processor
JPH08110852A (en) Document preparation device and its cursor movement control method
JPH0714635B2 (en) Character string allocation device
JPH05324629A (en) Document processor
JPH04333175A (en) Processing system for scaling and displaying
JPH05119762A (en) Text input system
JPS63100576A (en) Graph generating method