JPS63150767A - Ellipse input system - Google Patents

Ellipse input system

Info

Publication number
JPS63150767A
JPS63150767A JP29930786A JP29930786A JPS63150767A JP S63150767 A JPS63150767 A JP S63150767A JP 29930786 A JP29930786 A JP 29930786A JP 29930786 A JP29930786 A JP 29930786A JP S63150767 A JPS63150767 A JP S63150767A
Authority
JP
Japan
Prior art keywords
ellipse
point
rectangle
points
cursor
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
JP29930786A
Other languages
Japanese (ja)
Inventor
Giichi Yamaguchi
義一 山口
Masashi Saito
斎藤 正史
Hitoshi Ito
均 伊藤
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 JP29930786A priority Critical patent/JPS63150767A/en
Publication of JPS63150767A publication Critical patent/JPS63150767A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the processing time by specifying 1st and 2nd coordinates and drawing an ellipse inscribing a rectangle having line segments tying both the coordinates as diagonal lines so as to facilitate the shape recognition of the expected ellipse thereby reducing number of indicated points and fetched points. CONSTITUTION:A coordinate input is applied by using a mouse 2 to draw an ellipse, then the item of the ellipse in the picture drawing item menu 3 is indicated by a cursor 5, a fetch switch 2a is operated to obtain the ellipse drawing mode. Then the 1st fetch point 17 on the drawing pattern 4 is specified by the cursor 5 and the cursor 5 is moved to specify the 2nd fetch point 18, and a rectangle 19 using a line segment tying the points 17, 18 and one side of which is in parallel with the scanning line is displayed. In specifying the point 18, the rectangle 19 is erased and an ellipse 6 inscribed onto the rectangle 19 is drawn. Thus, the shape recognition of the expected ellipse is facilitated and number of indicated points and fetch points is decreased and the processing time is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、マウス等の座標入力装置を用いて座標入力
を行って図形を描画する図形描画装置における楕円入力
方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an ellipse input method in a figure drawing device that draws figures by inputting coordinates using a coordinate input device such as a mouse.

〔従来の技術〕[Conventional technology]

第3図は、一般的に使われている図形描画装置とその画
面の例である。図中、1はCRT等の表示装置、2は座
標入力装置であるマウス、3は表示装置1に表示された
描画項目メニュー、4は同じく描画用画面、5はマウス
2により指定された描画用画面4上の位置に常時表示さ
れているカーソルであり、通常、このカーソル5はマウ
ス2の移動量に応じて描画用画面4上を移動し、表示位
置が座標入力位置となる。マウス2にはカーソル5の表
示位置を図示外のCPUに取り込む取込みスイッチ2a
が設けられている。6はこの図形描画装置に従来の入力
方式により描画された楕円の例であり、7,8.10は
、マウス2を用いて指示されて取込まれた座標であり、
それぞれ、第1の取込み点、第2の取込み点、第3の取
込み点と称する。これら取込み点7,8.10は輝点F
” 7トとなって表示される。
FIG. 3 shows an example of a commonly used graphic drawing device and its screen. In the figure, 1 is a display device such as a CRT, 2 is a mouse that is a coordinate input device, 3 is a drawing item menu displayed on display device 1, 4 is also a drawing screen, and 5 is a drawing specified by mouse 2 This cursor is always displayed at a position on the screen 4, and normally this cursor 5 moves on the drawing screen 4 according to the amount of movement of the mouse 2, and the display position becomes the coordinate input position. The mouse 2 has a capture switch 2a that captures the display position of the cursor 5 to a CPU (not shown).
is provided. 6 is an example of an ellipse drawn by the conventional input method on this graphic drawing device, 7, 8, and 10 are coordinates inputted using the mouse 2,
They will be referred to as a first capture point, a second capture point, and a third capture point, respectively. These capture points 7, 8, and 10 are bright points F
” is displayed as 7.

次に動作について説明する。図形描画装置上で長軸、あ
るいは短軸が走査線に平行な楕円を描画する場合、まず
第3図の表示装置1の描画項目メニュー3上にカーソル
5をマウス2を用いて移動させ、楕円の項目を指示し、
取込みスイッチ2aを操作して楕円描画モードとする。
Next, the operation will be explained. When drawing an ellipse whose long axis or short axis is parallel to the scanning line on a graphics drawing device, first move the cursor 5 onto the drawing item menu 3 of the display device 1 in FIG. Indicate the item,
Operate the capture switch 2a to set the ellipse drawing mode.

次に、描画すべき楕円6を決定するための十分条件を満
たす座標情報をマウス2を用いて描画用画面4に対し指
示して取込みスイッチ2aで取込むと、所望の楕円6が
描画される。この例での座標情報としては、楕円6の中
心、短軸の片一方の端点、長軸の片一方の端点を、順に
第1の取込み点7.第2の取込み点8.第3の取込み点
1oとして指示して取込んでいる。第3の指示点1oを
取込んだ時点で楕円6が描画される。
Next, coordinate information that satisfies sufficient conditions for determining the ellipse 6 to be drawn is instructed to the drawing screen 4 using the mouse 2, and the desired ellipse 6 is drawn using the capture switch 2a. . In this example, the coordinate information includes the center of the ellipse 6, one end point of the short axis, one end point of the long axis, and the first intake point 7. Second capture point8. The third capture point 1o is designated and captured. An ellipse 6 is drawn when the third designated point 1o is taken in.

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

この様な図形描画装置における従来の楕円入力方式は、
楕円という図形の性質上、座標を指示し取込む時点では
、描画用画面5上には、第1の取込み点7.第2の取込
み点8.最後に取込まれる第3の指示点10が示されて
いるのみで、視覚的に描画される楕円が実際に表示され
ないため予想される楕円の形状認識が困難であり、がっ
、指示点や取込み点の数も多く操作が遅くなるという欠
点があった。
The conventional ellipse input method in such graphic drawing devices is
Due to the nature of the shape of an ellipse, when specifying and importing coordinates, the first import point 7. is displayed on the drawing screen 5. Second capture point8. Only the third indicated point 10 that is captured last is shown, and the visually drawn ellipse is not actually displayed, making it difficult to recognize the expected shape of the ellipse. There was a drawback that the number of acquisition points was large and the operation was slow.

この発明は上記問題点を解消するためになされたもので
、予想される楕円の形状認識が容易で、指示点や取込み
点が少なく処理時間の短かい楕円入力方式を提供するこ
とを目的としている。
This invention was made to solve the above-mentioned problems, and aims to provide an ellipse input method that allows easy recognition of the expected shape of an ellipse, has few instruction points and capture points, and shortens processing time. .

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

この発明においては、表示画面4上で任意位置を指示す
る段階(ステップS2)と、この指示された位置の座標
17を取り込む段階と、これら指示する段階と取り込む
段階を経て第1の座標17を特定する段階(ステップS
3)と、第2の座標18となる任意位置を指示する(ス
テップS4)とともに、この指示位置18と第1の座標
17とを結ぶ直線を対角線とする矩形19を表示する段
階(ステップ35)と、該指示位置18を取り込んで第
2の座標18と特定する(ステップS6)ことにより前
記矩形19に内接する楕円6を描画する段階(ステップ
S8)とを備えた。
In this invention, the step of specifying an arbitrary position on the display screen 4 (step S2), the step of capturing the coordinates 17 of the specified position, and the step of specifying and capturing the first coordinates 17 are obtained. Identifying stage (Step S
3) Instructing an arbitrary position to be the second coordinate 18 (step S4), and displaying a rectangle 19 whose diagonal is a straight line connecting the designated position 18 and the first coordinate 17 (step 35) and a step of drawing an ellipse 6 inscribed in the rectangle 19 (step S8) by capturing the indicated position 18 and specifying it as the second coordinate 18 (step S6).

〔作用〕[Effect]

第1の座標I7と第2の座標18とにより特定された常
時表示される矩形工9により、次に第2の取込み点18
を決定した時点で描かれる楕円6の位置、形状が視覚的
に容易に連想でき、指示する座標の数も2点となり減少
できる。
The constantly displayed rectangular shape 9 specified by the first coordinate I7 and the second coordinate 18 then moves to the second intake point 18.
The position and shape of the ellipse 6 to be drawn at the time when the ellipse 6 is determined can be easily associated visually, and the number of coordinates to be specified can be reduced to 2 points.

〔実施例〕〔Example〕

以下、この発明の一実施例を図面を参照して説明する 第1図は、この発明が適用される図形描画装置とその画
面を示している。図において、1はCRT等の表示装置
、2は座標入力装置であるマウス、3は表示装置1に表
示された描画項目メニュー、4は同じく描画用画面、5
はマウス2により描画用画面4上に指示された位置に常
時表示されているカーソルである。マウス2にはカーソ
ル5の指示位置を図示外のCPUに取り込む取込みスイ
ッチ2aが設けられている。6はこの図形描画装置に本
発明の入力方式により描画された楕円であり、17.1
8はマウス2を用いて指示された位置の取込まれた座標
であり、それぞれ第1の取込み点、第2の取込み点と称
す。これら取込み点17.18は輝点ドツトとなって表
示され、これら2点を結ぶ直線を対角線とし一辺が走査
線と平行な矩形19が表示され、楕円6はこの矩形19
に内接している。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows a graphic drawing device to which the present invention is applied and its screen. In the figure, 1 is a display device such as a CRT, 2 is a mouse which is a coordinate input device, 3 is a drawing item menu displayed on display device 1, 4 is also a drawing screen, and 5
is a cursor that is always displayed at a position specified by the mouse 2 on the drawing screen 4. The mouse 2 is provided with a capture switch 2a that captures the indicated position of the cursor 5 into a CPU (not shown). 6 is an ellipse drawn by the input method of the present invention on this graphic drawing device, and 17.1
Reference numeral 8 indicates the captured coordinates of the position indicated using the mouse 2, and these are called a first capturing point and a second capturing point, respectively. These capture points 17 and 18 are displayed as bright dots, and a rectangle 19 with a straight line connecting these two points as a diagonal line and one side parallel to the scanning line is displayed.
is inscribed in

次に動作について第2図のフローチャートに従って説明
する。まず、ステップS1では第1図の表示装置1の描
画用メニエー3上にカーソル5をマウス2を用いて移動
させ、楕円の項目を指示し、取込みスイッチ2aを操作
して楕円描画モードとする。
Next, the operation will be explained according to the flowchart shown in FIG. First, in step S1, the cursor 5 is moved onto the drawing menu 3 of the display device 1 shown in FIG. 1 using the mouse 2, the ellipse item is designated, and the capture switch 2a is operated to set the ellipse drawing mode.

次に、ステップS2では描画用画面4上で、カーソル5
をマウス2を用いて移動させ所望の一点を指示し、ステ
ップS3では取込みスイッチ2aを操作して、第1取込
み点17を特定する。
Next, in step S2, the cursor 5 is moved on the drawing screen 4.
is moved using the mouse 2 to indicate a desired point, and in step S3, the capture switch 2a is operated to specify the first capture point 17.

次にステップS4では第2の取込み点18を指示するた
めにマウス2を用いて、カーソル5を移動させていく。
Next, in step S4, the mouse 2 is used to move the cursor 5 to point to the second capture point 18.

この間、ステップS5では描画用画面4上には、第1の
取込み点17とカーソル5の指示する第2取込み点18
を結ぶ直線を対角線とし、かつ、−辺が走査線と平行で
ある矩形19が表示される。ステップS6の判断で第2
取込み点18が特定されていなければステップS4に戻
り、カーソル5の動いた所を指示点として、その移動に
伴ない、随時矩形の再描画が繰り返えされている。ステ
ップS6の判断で第2取込み点が特定されていたら、ス
テップS7に進み、上記矩形19は消去され、ステップ
S8ではその矩形19に内接する楕円16を描画する。
During this time, in step S5, the first capture point 17 and the second capture point 18 indicated by the cursor 5 are displayed on the drawing screen 4.
A rectangle 19 whose diagonal line is a straight line connecting the lines and whose negative side is parallel to the scanning line is displayed. According to the judgment in step S6, the second
If the capture point 18 has not been specified, the process returns to step S4, and the rectangle is repeatedly redrawn as needed, using the location where the cursor 5 has moved as the designated point. If the second capture point has been identified as determined in step S6, the process proceeds to step S7, where the rectangle 19 is erased, and in step S8, an ellipse 16 inscribed in the rectangle 19 is drawn.

なお、上記実施例では、第1の取込み点17が特定され
てから第2の取込み点18が指示されている間は、カー
ソル5と矩形19は同時に表示されていたが、カーソル
5の変形であり、所定の一点を端点とし、マウス2の移
動量に対応して、矩形のカーソルを表示できる描画方式
゛においては、第1の取込み点17が指示された時点で
矩形カーソルを表示し、この場合所定の一点と第1の取
込み点17で対角線を作成している。第2の取込み点1
8を指示するとき通常のカーソル5に戻り、新たな所定
の一点を特定するという方法を用いても同様の効果を奏
する。
In the above embodiment, the cursor 5 and the rectangle 19 are displayed at the same time after the first capture point 17 is specified and the second capture point 18 is designated, but due to the deformation of the cursor 5, In the drawing method that can display a rectangular cursor with one predetermined point as an end point and corresponding to the amount of movement of the mouse 2, a rectangular cursor is displayed when the first capture point 17 is specified, and this In this case, a diagonal line is created between a predetermined point and the first intake point 17. Second intake point 1
The same effect can be obtained by using a method of returning to the normal cursor 5 when specifying 8 and specifying a new predetermined point.

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

以上説明してきたように、この発明によれば、表示画面
上で任意位置を指示する段階と、この指示された位置の
座標を取−り込む段階と、これら指示する段階と取り込
む段階を経て第1の座標を特定する段階と、第2の座標
となる任意位置を指示するとともに、この指示位置と第
1の座標とを結ぶ直線を対角線とする矩形を表示する段
階と、該指示位置を取り込んで第2の座標と特定するこ
とにより前記矩形に内接する楕円を描画する段階とを備
えて、表示される矩形の形状より、描画されるべき楕円
が容易に連想できるため、視覚的に優れマウスの操作回
数や座標指示回数も減るため、高速に所望する楕円入力
ができるという効果がある。
As explained above, according to the present invention, the step of specifying an arbitrary position on the display screen, the step of importing the coordinates of the specified position, and the step of specifying and importing the coordinates are performed. a step of specifying the first coordinate, a step of specifying an arbitrary position to be the second coordinate, a step of displaying a rectangle whose diagonal is a straight line connecting the specified position and the first coordinate, and a step of importing the specified position. and a step of drawing an ellipse inscribed in the rectangle by specifying the second coordinates at Since the number of operations and the number of coordinate indications are also reduced, there is an effect that a desired ellipse can be input at high speed.

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

第1図は本発明の楕円入力方式が実施される図形描画装
置の正面図及び表示画面上の描画図、第2図は本発明の
詳細な説明するフローチャート、第3図は従来の図形描
画装置の正面図及び従来の描画図。 1・・・表示装置、2・・・マウス、2a・・・取込み
スイッチ、3・・・描画項目メニュー、4・・・描画用
画面、5・・・カーソル、6・・・楕円、17.18・
・・取込み点、19・・・矩形。 代理人  大  岩  増  1(ばか2名)笑2図 
万引シ明め70−チv −) 第3図
FIG. 1 is a front view of a graphic drawing device in which the ellipse input method of the present invention is implemented and a diagram drawn on the display screen, FIG. 2 is a flowchart explaining the present invention in detail, and FIG. 3 is a conventional graphic drawing device. Front view and conventional drawing. 1... Display device, 2... Mouse, 2a... Capture switch, 3... Drawing item menu, 4... Drawing screen, 5... Cursor, 6... Ellipse, 17. 18・
...Intake point, 19...Rectangle. Agent Masu Oiwa 1 (2 idiots) lol 2
Shoplifting Akame 70-Chiv-) Figure 3

Claims (1)

【特許請求の範囲】[Claims] 図形描画方式において、表示画面上で任意位置を指示す
る段階と、この指示された位置の座標を取り込む段階と
、これら指示する段階と取り込む段階とを経て第1の座
標を特定する段階と、第2の座標となる任意位置を指示
するとともに、この指示位置と前記第1の座標とを結ぶ
直線を対角線とする矩形を表示する段階と、該指示位置
を取り込んで第2の座標と特定することにより前記矩形
に内接する楕円を描画する段階とからなる楕円入力方式
In a graphic drawing method, there are a step of specifying an arbitrary position on a display screen, a step of importing the coordinates of the specified position, a step of specifying the first coordinates through these steps of specifying and importing, and a step of specifying the first coordinates. a step of indicating an arbitrary position that is the coordinate of the second coordinate, displaying a rectangle whose diagonal is a straight line connecting the specified position and the first coordinate, and capturing the specified position and specifying it as the second coordinate. an ellipse input method comprising the steps of: drawing an ellipse inscribed in the rectangle;
JP29930786A 1986-12-16 1986-12-16 Ellipse input system Pending JPS63150767A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29930786A JPS63150767A (en) 1986-12-16 1986-12-16 Ellipse input system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29930786A JPS63150767A (en) 1986-12-16 1986-12-16 Ellipse input system

Publications (1)

Publication Number Publication Date
JPS63150767A true JPS63150767A (en) 1988-06-23

Family

ID=17870842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29930786A Pending JPS63150767A (en) 1986-12-16 1986-12-16 Ellipse input system

Country Status (1)

Country Link
JP (1) JPS63150767A (en)

Similar Documents

Publication Publication Date Title
JPH05165459A (en) Enlarging display system
JPS63150767A (en) Ellipse input system
JPH08106542A (en) Expanding and display method for graphic
JP2001357077A (en) Cad system
JP2652435B2 (en) Image display method
JP2932844B2 (en) Multi-branch shape figure display method
JPH0546707A (en) Information processor
JP2969746B2 (en) Grid display method
JPS62269271A (en) Area indicating device
JPH01282679A (en) Cad system
JPH0527875B2 (en)
JPS6243779A (en) Template picture drawing device for graphic processing
JPS63311868A (en) Picture processing device
JPH0198074A (en) Image plotting/erasing method
JPH0528392B2 (en)
JPH04349580A (en) Method and device for designating image
JPH0546706A (en) Information processor
JP2001357076A (en) Image display method for cad system
JPH01156881A (en) Plotting method for stroke character
JPH0766308B2 (en) Character frame display method
JPH04112379A (en) Image endpoint retracking method
JPS62145370A (en) Arranging method for dimension line in automatic design
JPH04247581A (en) Arranging method for graphic in computer graphics
JPH0330076A (en) Picture drawing system for repeated pattern
JPH022468A (en) Graphic display device