JPH01124065A - Graphic display device - Google Patents

Graphic display device

Info

Publication number
JPH01124065A
JPH01124065A JP62282614A JP28261487A JPH01124065A JP H01124065 A JPH01124065 A JP H01124065A JP 62282614 A JP62282614 A JP 62282614A JP 28261487 A JP28261487 A JP 28261487A JP H01124065 A JPH01124065 A JP H01124065A
Authority
JP
Japan
Prior art keywords
point
cursor
specified
display device
rectangular area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62282614A
Other languages
Japanese (ja)
Inventor
Tetsuo Sotani
曽谷 徹郎
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP62282614A priority Critical patent/JPH01124065A/en
Publication of JPH01124065A publication Critical patent/JPH01124065A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Position Input By Displaying (AREA)

Abstract

PURPOSE:To easily display a specified rectangular area around a center point on the screen of a display device by displaying a rectangle defined by setting up a 1st point specified by a specifying means as the center and setting up another specified point as one vortex by means of a rectangle display means. CONSTITUTION:A point cursor is moved to a position x1, y1 to be the center of a rectangular area to be set up on a display screen by operating a mouse 3 and the point is specified as a 1st point 4. A control device 1 stores the coordinates of the 1st point 4 in its internal storage means. When the position of the point cursor point 4 is moved, the control device 1 displays a rectangular cursor 8 defining the 1st point 4 as the center and the lower right point 5 to be the point cursor position at that time as one vortex. Consequently, the rectangular area 8 accurately specified at its center point 4 can be specified.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はオペレーターがマウス等の座標入力装置を用
いて座標入力を行う図形表示装置、特にその矩形領域の
入力方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a graphic display device in which an operator inputs coordinates using a coordinate input device such as a mouse, and particularly to a method for inputting a rectangular area.

〔従来の技術〕[Conventional technology]

第3図[a)およびTo)は従来のこの種の図形表示装
置を示す構成図およびその表示画面例の説明図であり1
図において(1)はマイクロプロセッサ−等によって処
理が実行される制御装置、(2)はこの制御装置11)
からの信号に従って任意の文字1図形等を表示する表示
装置、(3)はこの表示装置(2)の表示画面上の2次
元座標値を上記制御装置11)に入力するマウスである
。14)および(5)はこのマウス(3)によるカーソ
ル移動により位置入力され上記制御装置11)によって
上記表示装置(2)の画面上に表示される第1および第
2のポイント、(6)は上記制御装置II+により、こ
れら第1および第2のポイントを対角点とした矩形とし
て、上記表示装置(2)に表示された矩形カーソルであ
る。
FIGS. 3A and 3B are diagrams illustrating a conventional graphic display device of this kind and an explanatory diagram of an example of its display screen.
In the figure, (1) is a control device whose processing is executed by a microprocessor, etc., and (2) is this control device 11).
A display device (3) is a mouse that inputs two-dimensional coordinate values on the display screen of the display device (2) to the control device 11). 14) and (5) are the first and second points whose positions are input by moving the cursor with the mouse (3) and displayed on the screen of the display device (2) by the control device 11), and (6) is This is a rectangular cursor displayed on the display device (2) by the control device II+ as a rectangle with the first and second points as diagonal points.

次にマウス(3)を操作して表示装置(2)の表示画面
上に任意の矩形領域を指定する場合の動作について説明
する。まずマウス(3)を動かすと、その位置情報が上
記制御装置111に入力され、制御装置11)はマウス
(3)の動きに合せて表示画面上のポイントカーソルの
表示位置を変化させる。このためマウス(3)に連動し
て動くポイントカーソルを表示画面上の任意の位置に移
動させることにより、所望位置のポイントを第1のポイ
ント(4)として表示画面上に指示することができる。
Next, a description will be given of the operation when specifying an arbitrary rectangular area on the display screen of the display device (2) by operating the mouse (3). First, when the mouse (3) is moved, its position information is input to the control device 111, and the control device 11) changes the display position of the point cursor on the display screen in accordance with the movement of the mouse (3). Therefore, by moving the point cursor that moves in conjunction with the mouse (3) to any position on the display screen, it is possible to designate the point at the desired position on the display screen as the first point (4).

次にそこからポイントカーソルを移動させると、制御装
置11:はこのポイントカーソル位置(5)と上記第1
のポイント(4)とを対角点とする矩形を矩形カーソル
(6)として表示させる。この矩形カーソル(6)はポ
イントカーソルの移動に追従して縦と横の長さを変化し
ながら表示される。従ってマウス(3)により第2のポ
イント(5)を指定することにより1表示画面上に第1
および第2のポイント(4)および(5)を対角点とす
るような所望の矩形領域を確定することができる。
Next, when the point cursor is moved from there, the control device 11: controls this point cursor position (5) and the first
A rectangle whose diagonal points are point (4) is displayed as a rectangular cursor (6). This rectangular cursor (6) is displayed while changing its length and width following the movement of the point cursor. Therefore, by specifying the second point (5) with the mouse (3), the first
A desired rectangular area having the second points (4) and (5) as diagonal points can be determined.

第4図は上述の矩形領域の指定動作における制御装置(
1)の動作を示すフローチャートで、以下この第4図の
フローチャートの説明を行うと、まずステップ+IIで
はマウス(3)の移動の有無を検出し。
FIG. 4 shows the control device (
The flowchart of FIG. 4 will be explained below using the flowchart showing the operation of step 1). First, in step +II, the presence or absence of movement of the mouse (3) is detected.

移動が検出された場合はステップαυへ進む。ステップ
aυではマウス(3]の移動に合せてポイントカーソル
の表示位置を変更する。次にステップα2では第1のポ
イント指定が行われたか否かを検出し。
If movement is detected, proceed to step αυ. In step aυ, the display position of the point cursor is changed in accordance with the movement of the mouse (3).Next, in step α2, it is detected whether or not the first point has been specified.

指定が行われていない場合はステップ[1Gへ戻り。If no specification has been made, return to step [1G.

第1のポイント指定が行われた場合にはステップa3へ
進む。ステップa3ではステップazで第1のポイント
指定が行われた時点のポイントカーソルの位置(”1+
y1)を第1のポイント座標として記憶する。次にステ
ップ++4]ではマウス(3)の移動の有無を検出し、
移動が検出された場合はステップα9に進む。ステップ
α9ではポイントカーソルをマウス(3)の動きに合せ
て移動し、上記第1のポイント座標(3:+、3’+)
とこのポイントカーソル位置とを対角点とするような矩
形カーソル(6)を表示させる。
If the first point has been designated, the process advances to step a3. In step a3, the position of the point cursor at the time when the first point was specified in step az ("1+
y1) as the first point coordinate. Next, in step ++4], detect the presence or absence of movement of the mouse (3),
If movement is detected, the process advances to step α9. In step α9, the point cursor is moved in accordance with the movement of the mouse (3), and the above first point coordinates (3:+, 3'+) are set.
A rectangular cursor (6) whose diagonal points are this point cursor position is displayed.

ステップ(161では第2のポイント指定が行われたか
否かを検出し、指定が行われていない場合はステップα
4に戻り、第2のポイント指定が行われた場合にはステ
ップαηに進む。ステップαηで第2のポイント指定が
行われた時点でのポイントカーソルの位置(f2.y2
)を第2のポイント座標とする。
Step (161 detects whether or not the second point designation has been performed, and if the designation has not been performed, step α
Returning to step 4, if the second point designation is performed, the process proceeds to step αη. The position of the point cursor (f2.y2
) are the second point coordinates.

以上の操作により、第1のポイント(3:1. y+)
と第2のポイント(x2.3+2)の座標がオペレータ
ーの指定した矩形領域を示す座標値として確定イイ乙 され、多の装置等に出力される。
By the above operation, the first point (3:1.y+)
The coordinates of the second point (x2.3+2) are determined as the coordinate values indicating the rectangular area specified by the operator, and are output to various devices.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の図形表示装置は以上のように構成されているので
1画面上の1点を中心とした矩形領域を指定する場合、
オペレーターが目測により、目的とする位置が中心とな
るような第1のポイントと第2のポイントを指定するこ
とによってなされることになる。従って指定する矩形領
域の中心を目的の位置に正確に合せるということは難か
しく。
Conventional graphic display devices are configured as described above, so when specifying a rectangular area centered on one point on one screen,
This is done by the operator visually specifying a first point and a second point whose center is the target position. Therefore, it is difficult to accurately align the center of the specified rectangular area to the desired position.

また時間がかかるという問題点があった。Another problem is that it takes time.

この発明はこのような問題点を解消するためになされた
もので、正確な中心点指定のなされた矩形領域の指定が
できる図形表示装置を提供することを目的とする。
The present invention has been made to solve these problems, and it is an object of the present invention to provide a graphic display device that can specify a rectangular area with an accurate center point specification.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る図形表示装置は1表示装置の画面上の任
意のポイントを指示する指示手段と、この指示手段によ
り指定される第1のポイントの座標を記憶する記憶手段
と、この記憶手段に記憶された上記第1のポイントの座
標を中心とし、かつ上記指示手段により指示される任意
のポイントをひとつの頂点とするような矩形を上記表示
装置に表示させる矩形表示手段とを備えたものである。
The graphic display device according to the present invention includes: an instruction means for indicating an arbitrary point on the screen of the display device; a storage means for storing the coordinates of a first point specified by the instruction means; rectangle display means for causing the display device to display a rectangle centered on the coordinates of the first point specified by the user and having one vertex at an arbitrary point indicated by the instruction means. .

〔作 用〕[For production]

この発明においては1表示装置の画面上に指示手段によ
り指示された第1のポイントを中心とし。
In this invention, the first point indicated by the indicating means on the screen of one display device is centered.

かつ指示手段により指示される別のポイントをひとつの
頂点とする矩形が矩形表示手段により表示されるので、
中心点の指定された矩形領域が表示装置の画面上に容易
に表示されることになる。
And since the rectangle whose one vertex is another point indicated by the indicating means is displayed by the rectangle display means,
The rectangular area with the designated center point can be easily displayed on the screen of the display device.

〔実施例〕〔Example〕

第1図[a)はこの発明による図形表示装置の一構成図
を示し、上記した第3図(a)の従来例と同様に制御装
置fi+と1表示装置(2)と、マウス(3)とから構
成されている。また第1図(b)はこの発明の図形表示
装置による表示画面の一例を示した説明図であり、(4
)および(5)はマウス(3)によるポイントカーソル
の移動により位置を指示され制御装置(11により画面
表示される第1および第2のポイント、(8)はこの第
1のポイント(4)を中心とし、かつ上記第2のポイン
ト(5)を右下の頂点とするような矩形をなす矩形カー
ソルである。この矩形カーソル(6)は制御装置fi+
が上記第1および第2のポイント(4)および(5)を
基に演算処理を行って、その左上の頂点(7)の座標(
”31 y3)  を求め、その点の座標(x3゜y3
)と第2のポイント(5)の座標(”2. y2)  
に従って表示装置(2)に表示されるものである。
FIG. 1 [a] shows a configuration diagram of a graphic display device according to the present invention, and similarly to the conventional example shown in FIG. It is composed of. FIG. 1(b) is an explanatory diagram showing an example of a display screen by the graphic display device of the present invention.
) and (5) are the first and second points whose positions are indicated by the movement of the point cursor with the mouse (3) and are displayed on the screen by the control device (11), and (8) is the first point (4). This is a rectangular cursor that forms a rectangle with the center and the second point (5) as the lower right vertex.This rectangular cursor (6) is
performs arithmetic processing based on the first and second points (4) and (5), and calculates the coordinates of the top left vertex (7) (
”31 y3) and the coordinates of that point (x3゜y3
) and the coordinates of the second point (5) ("2. y2)
This is what is displayed on the display device (2) according to the following.

次にこの発明のものにおける表示装置(2)の表示画面
上に任意の矩形領域を指定する場合の動作について説明
する。マウス(3)を動かすと、その位置情報が制御装
置(1)に入力され、制御装置11)はマウス(3]の
動きに合せて表示画面上のポイントカーソルの表示位置
を変化させることができる。このため、まずマウス(3
)を操作して、ポイントカーソルを表示画面上に設定し
ようとする矩形領域の中心としたい位置(zl、yl)
にもって行き、その点を第1のポイント(4)として指
定する。制御装置11)はその内部の記憶手段にこの第
1のポイント(4)の座標を記憶する。次にこの第1の
ポイント(4)からポイントカーソルを移動させると、
制御装置]1)は第1のポイント(4)を中心とし、か
つその時点でのポイントカーソル位置である右下の点(
5)を頂点とする矩形の矩形カーソル(8)を表示させ
る。この矩形カーソル(8)はマウス(3)の動きに合
せて移動するポイントカーソル位置に合せて4つの頂点
位置すなわち縦横の長さを変化させながら表示されるこ
とになる。そして、オペレーターが必要な矩形領域の大
きさに相当する位置で、そのポイントカーソル位置を第
2のポイン) +51として指定すれば。
Next, the operation when specifying an arbitrary rectangular area on the display screen of the display device (2) according to the present invention will be explained. When the mouse (3) is moved, its position information is input to the control device (1), and the control device 11) can change the display position of the point cursor on the display screen in accordance with the movement of the mouse (3). .For this reason, first use the mouse (3
) to set the point cursor on the display screen at the desired center of the rectangular area (zl, yl)
and designate that point as the first point (4). The control device 11) stores the coordinates of this first point (4) in its internal storage means. Next, if you move the point cursor from this first point (4),
Control device] 1) is centered on the first point (4), and the lower right point (
Display a rectangular cursor (8) whose apex is 5). This rectangular cursor (8) is displayed while changing its four apex positions, that is, its length and width, in accordance with the position of the point cursor that moves in accordance with the movement of the mouse (3). Then, if the operator specifies the point cursor position as the second point) +51 at a position corresponding to the size of the required rectangular area.

制御装置+11はその時のポイントカーソルの座標すな
わち第2のポイント(5)の座標(J2.3’2)から
Control device +11 is from the coordinates of the point cursor at that time, that is, the coordinates (J2.3'2) of the second point (5).

矩形領域において第2のポイント(5)と対となる対角
上の点(7)の座標(”313’3)を計算する。この
座標値(”3.3’5)および(、f2. y2)を矩
形領域の対角点として外部に出力するようにすれば。
Calculate the coordinates ("313'3) of the diagonal point (7) that is paired with the second point (5) in the rectangular area. This coordinate value ("3.3'5) and (, f2. If y2) is output to the outside as a diagonal point of a rectangular area.

その中心位置を正確に指定した矩形領域の指定が従来と
同様の一組の対角点座標値を指定するということにより
行うことができることになる。
A rectangular area whose center position is accurately specified can be specified by specifying a set of coordinate values of diagonal points as in the conventional method.

第2図はこの発明の図形表示装置による上述の矩形領域
の指定動作時における制御装置111の動作を説明する
ためのフローチャートである。以下このフローチャート
に従って説明すると、フローチャートのステップno 
−+141は上記した第4図の従来の場合と同じである
ため、ステップ(tSa)からについて説明する。すな
わちステップ(+Sa)においてポイントカーソルをマ
ウス(3)の動きに合せて移動し、そして第1のポイン
・ト(4)を中心とし、かつ現時点のポイントカーソル
位置である右下の点(5)を頂点とするような矩形カー
ソル(8)の左上の頂点の座標C3’5+ y3)を第
1および第2のポイント(4)および(5]の座標値か
ら求める。つまり第1のポイント14)の座標(−rl
、yl)と現時点のポイントカーソルの座標(r2.y
2)から:t3==2.fl−Z’2゜3’3=23’
+  3’2 という演算処理を行う。ステップ(+s
b)では上記ステップ(15a)で求めた座標(”3.
y3)とポイントカーソルの座標(x2゜y2)を基に
、これらを対角点とする矩形カーソル(8)を表示させ
る。ステップOffで第2のポイント指定が行われたか
否かを判定し2行われていなければステップα旧こ戻る
。マウス(3)により第2のポイント(5)が指定され
ると、指定したい矩形領域が確定したことになり、ステ
ップ(+ 7a)で、その時のポイントカーソルの座標
(”2+ 3’2)およびその時に計算された( x3
.3+3 )の座標をもって矩形領域を確定する対角点
の座標として決定される。
FIG. 2 is a flow chart for explaining the operation of the control device 111 during the above-mentioned rectangular area designation operation using the graphic display device of the present invention. The following explanation will be given according to this flowchart. Step no. of the flowchart
-+141 is the same as the conventional case shown in FIG. 4 described above, so the steps starting from step (tSa) will be explained. That is, in step (+Sa), move the point cursor in accordance with the movement of the mouse (3), and then move the point cursor to the lower right point (5), which is centered on the first point (4) and is the current point cursor position. Find the coordinates C3'5+y3) of the upper left vertex of the rectangular cursor (8) whose vertex is C3'5+y3) from the coordinate values of the first and second points (4) and (5]. In other words, the first point 14) coordinates (-rl
, yl) and the coordinates of the current point cursor (r2.y
From 2): t3==2. fl-Z'2゜3'3=23'
+3'2 calculation processing is performed. Step (+s
In b), the coordinates ("3.
y3) and the coordinates of the point cursor (x2°y2), a rectangular cursor (8) with these as diagonal points is displayed. In step OFF, it is determined whether or not the second point designation has been performed, and if the second point designation has not been performed, the process returns to step α. When the second point (5) is specified with the mouse (3), the rectangular area to be specified is confirmed, and in step (+7a), the coordinates of the point cursor at that time ("2+3'2)" and Calculated at that time ( x3
.. 3+3) is determined as the coordinate of the diagonal point that defines the rectangular area.

この2点の座標値(”213’2)、C−37’13”
)を出力することにより、2つの対角点の指定という従
来と同様な矩形領域の指定が行え、しかも矩形領域の中
心点を確実に指定することができることになる。
Coordinate values of these two points ("213'2), C-37'13"
), it is possible to specify a rectangular area as in the conventional method by specifying two diagonal points, and also to reliably specify the center point of the rectangular area.

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

以上のように、この発明によれば1表示装置の画面上の
任意のポイントを指示する指示手段により指定された第
1のポイントの座標を記憶する記憶手段と、その第1の
ポイントを中心とし、かつ上記指示手段により指示され
るポイントをひとつの頂点とするような矩形を表示手段
に表示させる矩形表示手段を備えてたので、オペレータ
ーが指定した第1のポイントを中心とする矩形領域が表
示され、矩形領域を指定する際にその中心位置を容易に
かつ確実に所望位置に合せることができるという効果が
ある。
As described above, according to the present invention, there is provided a storage means for storing the coordinates of a first point specified by an instruction means for specifying an arbitrary point on the screen of a display device, and , and a rectangular display means for displaying a rectangle having one vertex at the point indicated by the above-mentioned indicating means, so that a rectangular area centered on the first point designated by the operator is displayed. This has the advantage that when specifying a rectangular area, the center position can be easily and reliably aligned with the desired position.

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

第1図(alはこの発明による図形表示装置を示す一構
成図、第1図(b)はその表示画面例を示す説明図、第
2図はその動作を説明するフローチャート。 第3図(a)および(b)は従来の図形表示装置を示す
構成図およびその表示画面例の説明図、第4図はその動
作を説明するフローチャートである。 図において、11)は制御装置、(2)は表示装置、(
3)はマウス、(41は第1のポイント、(5ンは第2
のポイント、 +61+81は矩形カーソル表示である
。 なお図中同一符号は同一または相当部分を示す。
FIG. 1 (a) is a configuration diagram showing a graphic display device according to the present invention, FIG. 1 (b) is an explanatory diagram showing an example of its display screen, and FIG. ) and (b) are a configuration diagram showing a conventional graphic display device and an explanatory diagram of an example of its display screen, and FIG. 4 is a flowchart explaining its operation. In the figure, 11) is a control device, (2) is a Display device, (
3) is the mouse, (41 is the first point, (5n is the second point)
The point +61+81 is displayed with a rectangular cursor. Note that the same reference numerals in the figures indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims]  表示装置の画面上の任意のポイントを指示する指示手
段と、この指示手段により指定される第1のポイントの
座標を記憶する記憶手段と、この記憶手段に記憶された
上記第1のポイントの座標を中心とし、かつ上記指示手
段により指示される任意のポイントをひとつの頂点とす
るような矩形を上記表示装置に表示させる矩形表示手段
とを備えたことを特徴とする図形表示装置。
An instruction means for indicating an arbitrary point on a screen of a display device, a storage means for storing the coordinates of the first point specified by the instruction means, and the coordinates of the first point stored in the storage means. A graphic display device comprising: rectangle display means for causing the display device to display a rectangle whose center is , and whose apex is an arbitrary point indicated by the instruction means.
JP62282614A 1987-11-09 1987-11-09 Graphic display device Pending JPH01124065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62282614A JPH01124065A (en) 1987-11-09 1987-11-09 Graphic display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62282614A JPH01124065A (en) 1987-11-09 1987-11-09 Graphic display device

Publications (1)

Publication Number Publication Date
JPH01124065A true JPH01124065A (en) 1989-05-16

Family

ID=17654812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62282614A Pending JPH01124065A (en) 1987-11-09 1987-11-09 Graphic display device

Country Status (1)

Country Link
JP (1) JPH01124065A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5331335A (en) * 1990-08-10 1994-07-19 Fujitsu Limited Panning control device for controlling area of display image in computer aided design system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5331335A (en) * 1990-08-10 1994-07-19 Fujitsu Limited Panning control device for controlling area of display image in computer aided design system

Similar Documents

Publication Publication Date Title
US6407749B1 (en) Combined scroll and zoom method and apparatus
JPH03273113A (en) Trend graph power varying device
CN106612423A (en) Touch control method and device for projection image
JPH01124065A (en) Graphic display device
JP2786098B2 (en) Figure enlargement editing method
JPS6155728A (en) Coordinate input device
JP2009271938A (en) Support method for plotting and medium for storing cad program
JPH0887395A (en) Icon menu selection system, and system and information processor for same
JPH02250178A (en) Graphic generator
JPS63118882A (en) Image editing device
JPH0575837U (en) Touch screen input device
JPH05108263A (en) Mouse input device
JPS62115578A (en) Graphic display device
JP2001046768A (en) Embroidery data preparation device
JPH01251218A (en) Graphic processor
JPH07104937A (en) Cursor display control system
JPS62150422A (en) Coordinate input device
JPS62140169A (en) Designating system for 3-dimensional position
JPH05265691A (en) Display device for data processor
JPH0683565A (en) Pattern form display device
JPH08248938A (en) Pointing device
JPH01250172A (en) Graphic selecting device
JPH03152620A (en) Picture display device
JPH02103672A (en) Panning system
JPH03126121A (en) Three-dimensional coordinate input system