JPS62271069A - Graphic editing device - Google Patents

Graphic editing device

Info

Publication number
JPS62271069A
JPS62271069A JP11365086A JP11365086A JPS62271069A JP S62271069 A JPS62271069 A JP S62271069A JP 11365086 A JP11365086 A JP 11365086A JP 11365086 A JP11365086 A JP 11365086A JP S62271069 A JPS62271069 A JP S62271069A
Authority
JP
Japan
Prior art keywords
graphic
display
size
circle
editing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11365086A
Other languages
Japanese (ja)
Inventor
Takanori Yano
隆則 矢野
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP11365086A priority Critical patent/JPS62271069A/en
Publication of JPS62271069A publication Critical patent/JPS62271069A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To improve the graphic editing efficiency by providing a pattern changing system connected to an editing part to designate the center point of a desired graphic and therefore reducing the working load in case such a graphic having the special characteristics as a regular triangle, etc. CONSTITUTION:A graphic changing system 12 is connected to an ediging part 4 to calculate the coordinates of a graphic with an indication of the part 4 and gives the changes with time to the size or the rotational angle of the graphic. In a graphic production mode, an operator first designates a center point of the pattern display on a screen of a display part 10 via an input part 2. Then the operator designates the type of a graphic having special characteristics like a circle, a regular triangle, etc. by means of a function key. Thus the system 12 is actuated to give the change with time to the size and the rotational angle of the designated graphic. These changing states are displayed at the part 10. Thus the operator stops the changing state of the graphic when the graphic has the desired size and rotational angle to have fixed display of the graphic. As a result, the production load of a special graphic is reduced and the graphic editing efficiency is improved.

Description

【発明の詳細な説明】 3、発明の詳細な説明 技術分野 本発明は図形!i集装置に関し、ワード・プロセッサ等
において図形を編集する機能を有する図形編集装置に関
する。
[Detailed Description of the Invention] 3. Detailed Description of the Invention Technical Field The present invention is a graphic! The present invention relates to an i-collection device, and relates to a graphic editing device having a function of editing graphics in a word processor or the like.

従来技術 従来、ワード・プロセッサやパーソナル・コンピュータ
等による図形の編集は、例えばワード・プロセッサを用
いて円を作図する場合、描こうとする円の位置と大きさ
を考慮して中心座標と半径を決め、インプットすること
により行われ、正三角形を作図する場合には、描こうと
する正三角形の位置、大きさおよび回転(傾き)角度を
考慮して3点の座標を計算し、求めた座標の値をインプ
ットすることにより行われていた。
Prior Art Conventionally, when editing figures using a word processor or personal computer, for example, when drawing a circle using a word processor, the center coordinates and radius were determined by taking into account the position and size of the circle to be drawn. , when drawing an equilateral triangle, calculate the coordinates of the three points by taking into account the position, size, and rotation (tilt) angle of the equilateral triangle to be drawn, and calculate the calculated coordinate values. This was done by inputting the

また、いくつかの図形が予め図形の編集機能に設定され
、選定することができる装こがあるが、この場合には図
形の大きさが限られており選択範囲が狭く、希望どラリ
の図形を作図することはむずかしい、その他、大きさ等
を指定できる場合でも、実際に描いたときの感覚によっ
て選択をしなければならない場合が多い。
In addition, some shapes are preset in the shape editing function and can be selected, but in this case, the size of the shapes is limited and the selection range is narrow, and you can only select the shape you want. Even if you can specify the size, etc., you often have to make a selection based on how you feel when actually drawing it.

したがって、操作者は正三角形などのように〔三辺の長
さが同一である」といった特殊な性質をもつ図形を作図
するような場合に、作図する位置と図形の大きさや回転
(傾き)角度を考慮して、その図形のもつ定理等により
各座標を正確に計算するという作業をしなければならず
、精神的負担が増加するとともに手間もかかり作業上非
能率的になる欠点があった。
Therefore, when drawing a figure with special properties such as an equilateral triangle (having three sides of the same length), the operator must carefully consider the drawing position, the size of the figure, and the angle of rotation (tilt). It is necessary to take into account the following and calculate each coordinate accurately using theorems of the figure, which has the disadvantage of increasing mental burden, time-consuming work, and inefficient work.

[1的 本発明はこのような従来技術の欠点を解消し、図形の編
集を効率的に行うことができる図形編集装とを提供する
ことを目的とする。
[1] An object of the present invention is to provide a graphic editing system that eliminates the drawbacks of the prior art and allows graphic editing to be performed efficiently.

構成 本発明は上記の目的を達成させるため、図形データおよ
び指示を入力する入力手段と、入力手段から入力された
図形データを編集する編集手段と、編集手段で編集され
た図形データを表示する表示手段とを有し、編集手段は
1図形変化手段を有し、入力手段から作図すべき図形の
種類が指定されると図形の大きさおよび回転角度のうち
少なくとも一方を経時的に変化させて表示手段に表示し
、入力手段を介して入力される変化動作中止の指示に従
い、図形の大きさまたは回転角度を決定し、指示入力時
における大きさまたは回転角度の図形を表示手段に固定
表示させることを特徴としたものである。以下、本発明
の一実施例に基づいて具体的に説明する。
Structure In order to achieve the above object, the present invention provides an input means for inputting graphic data and instructions, an editing means for editing the graphic data inputted from the input means, and a display for displaying the graphic data edited by the editing means. The editing means has a figure changing means, and when the type of figure to be drawn is specified from the input means, at least one of the size and rotation angle of the figure is changed over time and displayed. Displaying the figure on the means, determining the size or rotation angle of the figure in accordance with an instruction to stop the changing operation inputted through the input means, and fixedly displaying the figure having the size or rotation angle at the time of inputting the instruction on the display means. It is characterized by Hereinafter, a detailed explanation will be given based on one embodiment of the present invention.

第1図には本発明による図形編集装置を適用したワード
・プロセッサの一実施例の機能ブロック図が示されてい
る。
FIG. 1 shows a functional block diagram of an embodiment of a word processor to which a graphic editing device according to the present invention is applied.

本装置は、入力部2、編集部4、記憶部6、表示制御部
8、表示部lOおよび図形変化システム12を有する。
This device includes an input section 2, an editing section 4, a storage section 6, a display control section 8, a display section IO, and a graphic change system 12.

入力部2は、英数字、記号およびカーソル移動などのキ
ーと図形の種類を指定する例えば円を指定する「円キー
」 [第2図(24a)3等の選択キーと、図形の変化
動作を中止させる「固定キー」 [第2図(24b)]
および図形を拡大変化させる「拡大キー」 [第2図(
240月等の指示キーを含むキーボードとマウス〔第2
図(30月等の入力装置からなり、図形に関するデータ
および指示が入力される。
The input section 2 includes keys for alphanumeric characters, symbols, cursor movement, etc., a "circle key" for specifying the type of figure, such as a circle (for example, a circle), a selection key such as 3 in Fig. 2 (24a), and a key for changing the figure. "Fixed key" to cancel [Figure 2 (24b)]
and the "enlargement key" that enlarges and changes the figure [Figure 2 (
Keyboard and mouse including instruction keys such as 240 month [2nd
It consists of an input device such as a figure (30), into which data and instructions regarding figures are input.

編集部4は、入力部2から入力された図形に関するデー
タおよび記憶部6に記憶された図形データを編集する。
The editing section 4 edits data related to graphics input from the input section 2 and graphic data stored in the storage section 6.

表示制御部8は、記憶8116に記憶された図形データ
を読み出し、編集部4の指示に従い表示部I n 、t
−ffj制御ナス 表示部lOは、CRT等の表示画面[第2図(22)1
を有し、図形等のデータを表示制御部8の指示に従い表
示する。
The display control section 8 reads the graphic data stored in the memory 8116, and displays the display section I n , t according to the instructions from the editing section 4.
-ffj control eggplant display unit lO is a display screen such as a CRT [Fig. 2 (22) 1
It displays data such as figures according to instructions from the display control section 8.

図形変化システム12は1編集部4に接続し、編集部4
の指示により図形の座標を計算し、図形の大きさまたは
回転角度の経時的変化を実行する。
The figure changing system 12 is connected to the editing section 4, and the editing section 4
The coordinates of the figure are calculated according to the instructions, and the size or rotation angle of the figure is changed over time.

本装置により図形を作成する場合、操作者はまず入力部
2のマウス30により、図形を表示させたい場所の中心
点を表示部10の表示画面22上に指定する。
When creating a graphic using this device, the operator first uses the mouse 30 of the input unit 2 to specify the center point of the location where the graphic is to be displayed on the display screen 22 of the display unit 10.

次に円、正三角形または正方形等図形の種類を指定する
ファンクションキー24により描きたい図形を選定する
Next, a figure to be drawn is selected using the function key 24 for specifying the type of figure, such as a circle, an equilateral triangle, or a square.

以上の入力により装置内の図形変化システムが作動し、
指定された図形の大きさおよび回転(#Iき)角度が経
時的に変化し、その変化状態が表示部10の表示画面2
2に表示される。
With the above input, the shape change system inside the device is activated,
The size and rotation (#I) angle of the specified figure change over time, and the state of change is displayed on the display screen 2 of the display unit 10.
2.

操作者は、表示画面22に表示される図形の変化状態を
見て1図形が希望する大きさおよび回転角度になったと
きに図形の変化動作を中止させる「固定キー」24bに
よる指示を入力部2から入力する。 操作者は、以上の
操作をすることにより希望の図形を作図することができ
る。
The operator looks at the changing state of the figures displayed on the display screen 22 and inputs an instruction using the "fixed key" 24b to stop the figure changing operation when one figure reaches the desired size and rotation angle. Enter from step 2. The operator can draw a desired figure by performing the above operations.

次に、円を作図するアルゴリズムについて第4図および
第5図に示すフローチャートにより説明する。
Next, an algorithm for drawing a circle will be explained with reference to flowcharts shown in FIGS. 4 and 5.

第4図には本装置により円を作図するアルゴリズム例が
示されている。
FIG. 4 shows an example of an algorithm for drawing a circle using this device.

まずマウス30により指定された点を作図する図形の中
心点とし、その座標を読み込む(402) 。
First, the point specified by the mouse 30 is set as the center point of the figure to be drawn, and its coordinates are read (402).

次に、円の大きさを決定するための半径の初期設定値r
lJを係数レジスタiに入れ(404) 、設定単位変
化量「10」を半径レジスタΔrに入れる(40B) 
Next, the initial setting value r of the radius to determine the size of the circle
Put lJ into the coefficient register i (404), and put the set unit change amount "10" into the radius register Δr (40B)
.

次に、変化動作の過程において1つの半径によって描か
れる円を一定時間、あるいは操作者から「固定キー」2
4bによる変化動作中止の指示があるまで表示するため
の表示時間をカウントする計時レジスタTに設定時間の
「lOO」を入れる(408) 。
Next, in the process of change operation, the circle drawn by one radius is held for a certain period of time, or the operator presses the "fixed key" 2.
The set time "lOO" is entered into the timer register T that counts the display time until an instruction to stop the changing operation is given by step 4b (408).

次に、指定された中心点の座標上に係数レジスタiの係
数と半径レジスタΔrによって決まる表示半径 iΔr
 (この場合lxΔrglo)の円を描き表示する(4
10) 。
Next, on the coordinates of the specified center point, display radius iΔr determined by the coefficient of coefficient register i and radius register Δr
Draw and display a circle (in this case lxΔrglo) (4
10).

次に、ステップ410における円を表示している間に操
作者から「固定キー」24bの入力があるか否かを判断
しく412)、「固定キー」24bの入力があった場合
は動作を中止し、入力がない場合には次のステップに移
る。
Next, while displaying the circle in step 410, it is determined whether or not the operator inputs the "fixed key" 24b (412), and if the "fixed key" 24b is input, the operation is stopped. However, if there is no input, the process moves to the next step.

ステップ412において、「固定キー」24bの入力が
なかった場合は、計時レジスタTに設定時間「〒−1」
つまりこの例では「98」を入れる(414) 。
In step 412, if there is no input from the "fixed key" 24b, the set time "〒-1" is entered in the timer register T.
In other words, in this example, "98" is entered (414).

次に、計時レジスタTが「0」か否かを判断しく41B
) 、計時レジスタTがrOJ以外の場合にはステップ
410に戻り、rOJの場合にはステップ418に移る
Next, it is necessary to judge whether the time register T is "0" or not.
), if the time register T is other than rOJ, the process returns to step 410, and if it is rOJ, the process moves to step 418.

ステップ41Bにおいて、計時レジスタTがrOJにな
り設定時間の「100」になった場合、半径の係数レジ
スタiに係数「国」つまり「2」を入れる(418) 
In step 41B, when the clock register T reaches rOJ and reaches the set time of "100", the coefficient "country", that is, "2" is entered in the radius coefficient register i (418).
.

次に、係数レジスタiの係数が設定最大係数であるrl
ooJを上回るか否かを判断しく420)、r100J
以下の場合にはステップ408に戻り、指定された中心
点の座標上に係数レジスタiの係数と半径レジスタΔr
によって決まる表示半径iΔr (この場合2!Δr=
20)の円を描き表示する(41G) 。
Next, the coefficient of coefficient register i is rl, which is the maximum coefficient set.
420), r100J
In the following cases, the process returns to step 408, and the coefficient of the coefficient register i and the radius register Δr are placed on the coordinates of the specified center point.
Display radius iΔr determined by (in this case 2!Δr=
20) Draw and display the circle (41G).

ステップ420において、係数レジスタiの係数が設定
最大係数であるrloOJを上回った場合、つまり表示
半径iΔrが最大になった場合には初期設定値「1」を
係数レジスタiに入れ(422)、ステップ408に戻
る。
In step 420, if the coefficient of coefficient register i exceeds the set maximum coefficient rloOJ, that is, if the display radius iΔr becomes the maximum, the initial setting value "1" is put in coefficient register i (422), and step Return to 408.

本実施例によれば、操作者がマウス30により円の中心
点を指定すると装置内の図形変化システムが作動し、予
め設定されている最小円から最大円まで一定時間毎に変
化し、その変化状態が表示部10の表示画面22に表示
される。
According to this embodiment, when the operator specifies the center point of a circle using the mouse 30, the shape change system in the device is activated, and the shape changes from the preset minimum circle to the maximum circle at regular intervals, and the The status is displayed on the display screen 22 of the display unit 10.

したがって、操作者は、表示画面に表示される円の脅イ
)−諸毫か口で 円が蚤q十六÷1■か。
Therefore, the operator can check whether the yen displayed on the display screen is 16 ÷ 1 ■ or not.

たときに変化動作を中止させる指示を入力部2の「固定
キー」24bで入力することにより希望の円を作図する
−ことができる。
A desired circle can be drawn by inputting an instruction to stop the changing operation using the "fixed key" 24b of the input section 2.

しかも変化する円は、予め設定されている最大円になる
と再び最小円に戻り、最小円から増大する変化動作を繰
り返すため、最初の変化動作でまず希望する円の大きさ
を確認してから、次の変化動作で大きさを決定すること
ができる。
Moreover, when the changing circle reaches the preset maximum circle, it returns to the minimum circle again and repeats the changing operation of increasing from the minimum circle, so in the first changing operation, first confirm the desired size of the circle, and then The size can be determined by the following change operation.

第5図には本装置により円を作図する他のアルゴリズム
例が示されている。
FIG. 5 shows another example of an algorithm for drawing a circle using this device.

操作者から円を作図することを指定する「円キー」 [
第2図(24B月の入力があると、まず円の大きさを決
定するための半径の初期設定値rlJを係数レジスタi
に入れ(502) 、設定単位変化量である「lO」を
半径レジスタΔrに入れる(5G4)。
"Circle key" to specify drawing of a circle from the operator [
Figure 2 (24B When the month is input, first set the initial radius value rlJ to determine the size of the circle in the coefficient register i.
(502), and the setting unit change amount "lO" is entered into the radius register Δr (5G4).

次に、操作者が入力部2のマウス30により、円を表示
させたい場所を表示画面上に指定すると、マウス30に
より指定された点を作図する円の中心点とし、その座標
を読み込む(50B)。
Next, when the operator uses the mouse 30 of the input unit 2 to specify the location on the display screen where he wants to display the circle, the point specified using the mouse 30 is set as the center point of the circle to be drawn, and its coordinates are read (50B ).

次に、操作者から円の大きさの決定を指示する「固定キ
ー」24bの入力があるか否かを判断しく508) 、
入力があった場合には動作を終了し、入力がない場合に
はステップ510に移る。
Next, it is determined whether or not the operator inputs the "fixed key" 24b instructing the determination of the size of the circle (508).
If there is an input, the operation ends; if there is no input, the process moves to step 510.

ステップ5(18で「固定キー」24bによる入力がな
い場合は、操作者が押している間だけ円の変化動作を行
う「拡大キー」 [第2図(240月による指示がある
か否かを判断し、「拡大キー」24cによる指示がある
場合はステップ512に移り、指示がない場合にはステ
ップ508に戻る。
Step 5 (If there is no input using the "fixed key" 24b in Step 18, use the "enlarge key" that performs a circle changing operation only while the operator presses it) [Figure 2 (Determine whether there is an instruction by 240 However, if there is an instruction using the "enlargement key" 24c, the process moves to step 512, and if there is no instruction, the process returns to step 508.

ステップ510において、「拡大キー」24cによる指
示がある場合は、半径の係数レジスタiに係数「i◆1
」つまり「2」を入れる(512) 。
In step 510, if there is an instruction using the "enlargement key" 24c, the coefficient "i◆1" is stored in the radius coefficient register i.
” In other words, enter “2” (512).

次に、係数レジスタiの係数が設定最大係数であるrl
ooJを上回るか否かを判断しく514)、rlOQJ
以下の場合にはステップ518に移り、指定された中心
点の座標上に係数レジスタiの係数と半径レジスタΔr
Kよって決まる表示半径iΔr (この場合2xΔra
2Q)の円を描き、表示しく518) 、  ステップ
508に戻る。
Next, the coefficient of coefficient register i is rl, which is the maximum coefficient set.
514), rlOQJ
In the following cases, the process moves to step 518, and the coefficient of the coefficient register i and the radius register Δr are placed on the coordinates of the specified center point.
The display radius iΔr determined by K (in this case, 2xΔra
Draw and display the circle 2Q) 518) and return to step 508.

ステップ514において、係数レジスタ1の係数が設定
最大係数であるrlooJを上回った場合、つまり表示
半径 iΔrが最大になった場合には初期設定値「1」
を係数レジスタiに入れ(51B) 、表示半径iΔr
 (この場合l!Δralo)の円を描き、表示しく5
18) 、ステップ508に戻る。
In step 514, if the coefficient of coefficient register 1 exceeds the set maximum coefficient rlooJ, that is, if the display radius iΔr becomes the maximum, the initial setting value is "1".
into coefficient register i (51B), display radius iΔr
(In this case l!Δralo), draw a circle and display 5
18), return to step 508.

したがって、操作者が「固定キー」24bの入力をせず
、「拡大キー」24cを押している間は、円の変化動作
が行われる。
Therefore, while the operator presses the "enlarge key" 24c without making any input using the "fixed key" 24b, the circle changing motion is performed.

本実施例によれば、操作者がマウス30により円の中心
点を指定した後、「拡大キー」24Cを押すと装置内の
図形変化システムが作動し、「拡大キー」24cを押し
ている間、予め設定されている最小円から最大円までが
経時的に変化し、その変化状態が表示部lOの表示画面
22に表示される。
According to this embodiment, when the operator presses the "enlarge key" 24C after specifying the center point of the circle with the mouse 30, the figure change system in the device is activated, and while the "enlarge key" 24c is pressed, The preset minimum circle to maximum circle changes over time, and the state of the change is displayed on the display screen 22 of the display unit IO.

したがって、操作者は、表示画面22に表示される円の
変化状態を見て、円が希望する大きさになったときに「
拡大キー」24cの操作を中止し、円の大きさの決定を
指示する「固定キー」24bの入力をすることによりん
望の円を作図することができる。
Therefore, the operator can watch the changing state of the circle displayed on the display screen 22 and when the circle reaches the desired size,
A desired circle can be drawn by canceling the operation of the "enlarge key" 24c and inputting an input using the "fixed key" 24b to instruct determination of the size of the circle.

しかも変化する円は、予め設定されている最大円になる
と再び最小円に戻り変化動作を繰り返すため、希望する
円の大きさを確認して作図することができる。
Furthermore, when the changing circle reaches a preset maximum circle, it returns to the minimum circle again and repeats the changing operation, so it is possible to confirm the desired size of the circle and draw it.

第3図には従来の装置により円を作図するアルゴリズム
例が示されている。
FIG. 3 shows an example of an algorithm for drawing a circle using a conventional device.

まずマウス (本実施例のマウス30に相当する)によ
り指定された点を作図する図形の中心点とし、その座標
を読み込む(32)。
First, a point specified by a mouse (corresponding to the mouse 30 in this embodiment) is set as the center point of a figure to be drawn, and its coordinates are read (32).

次に、円の半径を指定するマウスのクリ7クがあるか否
かを判断しく34)、マウスのクリ7クがあった場合に
は1図形の中心点の座標とマウスのクリ7クによる座標
の距離を求め5円の半径を決定する(3B)。
Next, determine whether there is a mouse click that specifies the radius of the circle.34) If there is a mouse click, use the coordinates of the center point of one figure and the mouse click. Find the distance of the coordinates and determine the radius of the 5 circles (3B).

ステー、ブ3Bにおいて決定した半径と指定された図形
の中心点により円を描< (38)。
Draw a circle using the radius determined by stay and block 3B and the center point of the specified shape (38).

径を入力することにより円が描かれる。したがって1図
の大きさを決める半径の決定は、表示画面(本実施例の
表示画面22に相当する)に円が描かれたときを想像し
、感覚によって行わなければならなかった。
A circle is drawn by entering the diameter. Therefore, the radius that determines the size of a diagram had to be determined by feeling and imagining a circle drawn on the display screen (corresponding to the display screen 22 of this embodiment).

次に、正方形を作図するアルゴリズムについて第6図に
示すフローチャートにより説明する。
Next, an algorithm for drawing a square will be explained with reference to the flowchart shown in FIG.

まずマウス30により指定された点を作図する図形の中
心点とし、その座標を読み込む(802) 。
First, the point specified by the mouse 30 is set as the center point of the figure to be drawn, and its coordinates are read (802).

次に、正方形の中心点を主点とする回転角度jΔ0(第
7図)を決定するための角度の初期設定値「0」を角度
係数レジスタjに入れ(804) 、設定単位変化量の
「5度」を角度レジスタΔ0に入れる(soe) 。
Next, enter the initial setting value "0" of the angle for determining the rotation angle jΔ0 (Fig. 7) with the center point of the square as the principal point into the angle coefficient register j (804), and set " 5 degrees" into the angle register Δ0 (soe).

次に、変化動作過程において1つの回転角度によって描
かれる正方形を−定時間、あるいは操作者から「固定キ
ー」24bによる変化動作中止の指示があるまで表示す
るための表示時間をカウント千ス拝flu + −’;
 フ#〒L−iQt 中藺凹/?% r I^I’l 
■f、 1 hqる(808) 。
Next, count the display time for displaying the square drawn by one rotation angle during the change operation process for a fixed period of time or until the operator instructs to stop the change operation using the "fixed key" 24b. + -';
Fu#〒L-iQt 中藺dent/? % r I^I'l
■ f, 1 hqru (808).

次に、指定された中心点を中心として、中心点から正方
形の各端点への設定距離を最小値「1o」とし、角度係
数レジスタjの係数と角度レジスタΔθによって決まる
表示回転角度jΔθ(この場合0x5=O)の正方形、
つまり表示回転角度0度の最小正方形を描き表示する(
810) 。
Next, with the specified center point as the center, set the distance from the center point to each end point of the square as the minimum value "1o", and set the display rotation angle jΔθ (in this case 0x5=O) square,
In other words, draw and display the minimum square with a display rotation angle of 0 degrees (
810).

次に、スッテプ810における正方形を表示している間
に操作者から「固定キー」24bによる角度変動中止の
入力があるか否かを判断しく612) 、入力があった
場合はステップ824に移り、入力がない場合には次の
ステップ614に移る。
Next, while displaying the square in step 810, it is determined whether or not there is an input from the operator to stop the angle variation using the "fixed key" 24b (612), and if there is an input, the process moves to step 824, If there is no input, the process moves to the next step 614.

ステップ612において、「固定キー」24bの入力が
なかった場合は、計時レジスタTに設定時間rT−I 
Jつまり「89」を入れる(814) 。
In step 612, if there is no input from the "fixed key" 24b, the set time rT-I is stored in the timer register T.
Enter J, or "89" (814).

次に、計時レジスタTがrOJか否かを判断しく81B
) 、計時レジスタTがroJ以外の場合にはステップ
610に戻り、rOJの場合にはステップ618に移る
Next, it is necessary to judge whether the time register T is rOJ or not.81B
), if the time register T is other than roJ, the process returns to step 610, and if it is rOJ, the process moves to step 618.

ステップ818において、計時レジスタTがroJにな
り設定時間のrloOJになった場合、flj度係数レ
ジスタjに係数rj+1」っまり「1」を入れる(81
8) 。
In step 818, when the clock register T reaches roJ and reaches the set time rloOJ, a coefficient rj+1, or ``1'', is put into the flj coefficient register j (81
8).

次に、角度係数レジスタjの係数が設定最大係数である
「71」を上回るか否かを判断しく820)、「71」
以下の場合にはステップ808に戻り、中心点から各端
点への距離がrlOJで角度係数レジスタjの係数と角
度レジスタΔ0によって決まる表示回転角度jΔ0 (
1!5=5 )の正方形、つまりこの場合、表示回転角
度5度の最小正方形を描き表示する(eto) 。
Next, it is determined whether the coefficient of the angle coefficient register j exceeds the set maximum coefficient "71" (820), "71".
In the following cases, the process returns to step 808, and the distance from the center point to each end point is rlOJ, and the display rotation angle jΔ0 (
1!5=5), that is, in this case, the smallest square with a display rotation angle of 5 degrees is drawn and displayed (eto).

ステップ820において、°角度係数レジスタjの係数
が設定最大係数である「71」を上回った場合、つまり
表示回転角度jΔθが最大になった場合には初期設定値
rQJを角度係数レジスタjに入れ(G22) 、  
ステップ808に戻る。
In step 820, if the coefficient of the degree angle coefficient register j exceeds the set maximum coefficient "71", that is, if the display rotation angle jΔθ has reached the maximum, the initial setting value rQJ is put into the angle coefficient register j ( G22),
Return to step 808.

次に、ステップ812において正方形を表示している間
に操作者から「固定キー」24bによる角度変化動作中
止の指示があった場合は、正方形の大きさを決定するた
めの係数、つまり指定された中心点から正方形の各端点
への距離の初期設定値「1」を係数レジスタiに入れ(
ff24) 、設定単位変化量である「lO」をレジス
タΔrに入れる(82B) 。
Next, in step 812, if the operator instructs to stop the angle change operation using the "fixed key" 24b while the square is being displayed, the coefficient for determining the size of the square, that is, the specified Put the initial setting value "1" of the distance from the center point to each end point of the square into the coefficient register i (
ff24), the setting unit change amount "lO" is input into the register Δr (82B).

次に、変化動作過程において中心点から正方形の各端点
までが1つの距離によって描かれる正方形を一定時間、
あるいは操作者から「固定キー」24bによる変化動作
中止の指示があるまで表示するための表示時間をカウン
トする計時レジスタTに設定時間のrlooJを入れる
(G28) 。
Next, in the changing motion process, a square drawn by one distance from the center point to each end point of the square is drawn for a certain period of time.
Alternatively, the set time rloooJ is entered into the timer register T that counts the display time until the operator instructs the user to stop the changing operation using the "fixed key" 24b (G28).

次に、指定された中心点の座標上にステップ812にお
ける表示回転角度jΔθで、中心点から正方形の各端点
への距離の係数である係数レジスタiと距離のレジスタ
Δrによる表示距離iΔr (この場合l!Δr =1
0)の第7図に示すような正方形を描き表示する(83
0) 。
Next, on the coordinates of the designated center point at the display rotation angle jΔθ in step 812, the display distance iΔr (in this case l!Δr=1
Draw and display a square as shown in Figure 7 of 0) (83
0).

次に、ステップ630における正方形を表示している間
に操作者から「固定キー」24bによる変化動作中止の
指示があるか否かを判断しく832)、「固定キー」2
4bによる入力があった場合は動作を中1h L、入力
がない場合には次のステップに移る。
Next, while displaying the square in step 630, it is determined whether or not there is an instruction from the operator to cancel the changing operation using the "fixed key" 24b (832), and the "fixed key 2"
If there is an input from 4b, the operation is stopped at 1hL, and if there is no input, the process moves to the next step.

ステップ632において、「固定キー」24bによる入
力がなかった場合は、計時レジスタTに設定時間rT−
I Jっまり「99」を入れる(634) 。
In step 632, if there is no input using the "fixed key" 24b, the set time rT-
Enter ``99'' (634).

次に、計時レジスタTがrOJか否かを判断しく83G
) 、計時レジスタTがroJ以外の場合にはステップ
830に戻り、rOJの場合にはステップ638に移る
Next, it is necessary to judge whether the time register T is rOJ or not.83G
), if the time register T is other than roJ, the process returns to step 830, and if it is rOJ, the process moves to step 638.

ステップ83Bにおいて、計時レジスタTが「0」にな
り設定時間のrlOQJになった場合、大きさを示す距
離の係数レジスタiに係数ri+lJっまり「2」を入
れる(838)。
In step 83B, when the time register T becomes "0" and the set time rlOQJ is reached, a coefficient ri+lJ, or "2", is entered in the distance coefficient register i indicating the size (838).

次に、係数レジスタiの係数が設定最大係数であるrl
ooJを上回るか否かを判断しく840)、rloOJ
以下の場合にはステップ628に戻り、ステップ612
における表示回転角度jΔ0で、中心点から正方形の各
端点への距離の係数である係数レジスタiと距離のレジ
スタΔrによる表示距離iΔr (この場合2!Δr=
20)の正方形を描き表示する(830) 。
Next, the coefficient of coefficient register i is rl, which is the maximum coefficient set.
840), rloOJ
In the following cases, the process returns to step 628 and step 612
At the display rotation angle jΔ0, the display distance iΔr is determined by the coefficient register i, which is the coefficient of the distance from the center point to each end point of the square, and the distance register Δr (in this case, 2!Δr=
20) and displays the square (830).

ステップ840において、係数レジスタiの係数が設定
最大係数であるrloOJを上回った場合。
In step 840, if the coefficient in coefficient register i exceeds the set maximum coefficient rloOJ.

つまり表示半径iΔrが最大になった場合には初期設定
値rlJを係数レジスタiに入れ(842)、ステー、
プロ28に戻る。
In other words, when the display radius iΔr becomes the maximum, the initial setting value rlJ is put into the coefficient register i (842), and the stay
Return to Pro28.

本実施例によれば、操作者がマウス30により正方形の
中心点を指定すると装置内の図形変化システムが作動し
、予め設定された図形の回転角度と中心点から正方形の
各端点までの距離により、図形の回転状態と大きさが一
定時間毎に変化し、その変化状態が表示部1Gの表示画
面22に表示される。
According to this embodiment, when the operator specifies the center point of the square using the mouse 30, the figure changing system in the device is activated, and the shape change system operates according to the preset rotation angle of the figure and the distance from the center point to each end point of the square. , the rotation state and size of the figure change at regular intervals, and the changing state is displayed on the display screen 22 of the display section 1G.

したがって、操作者は、表示画面22に表示される正方
形の変化状態を見て、正方形が希望する回転角度になっ
たときと希望する大きさになったときに変化動作を中止
させる指示を入力部2の「固定キー」24bで入力する
ことにより希望の正方形を作図することができる。
Therefore, the operator looks at the changing state of the square displayed on the display screen 22 and inputs an instruction to stop the changing operation when the square reaches the desired rotation angle and the desired size. A desired square can be drawn by inputting with the "fixed key" 24b of 2.

しかも変化する正方形は、予め設定されている回転角度
が最大回転角度になると再び最小回転角度に戻り、また
大きさも最大になると再び最小に戻る変化動作を繰り返
すため、希望する正方形の大きさを確認して作図するこ
とができる。また、以上の実施例は、大きさまたは回転
角度に関し、最小から最大へという図形変化例を示した
が最大から最小への縮小変化をする場合にも適用できる
Moreover, the changing square repeats the change operation when the preset rotation angle reaches the maximum rotation angle, returns to the minimum rotation angle, and returns to the minimum rotation angle again when the size reaches the maximum, so check the desired square size. You can draw the diagram using Further, in the above embodiments, an example of a graphic change from a minimum to a maximum is shown in terms of size or rotation angle, but it can also be applied to a case where a reduction change from a maximum to a minimum is performed.

また、以上の実施例ではワード・プロセー2すにおける
図形編集装置について説明したが、ワード・ブロセー2
す以外の例えばオフィス・コンピュータやパーソナル・
コンピュータ等の図形編集装置を備えた装置に適用でき
る。
Furthermore, in the above embodiment, the graphic editing device in Word Process 2 was explained, but in Word Process 2,
For example, office computers and personal
It can be applied to devices equipped with a graphic editing device such as a computer.

効  果 本発明によれば、装置内に図形変化システムがあり、操
作者が作成したい図形の中心点を指定するだけで、図形
の大きさおよび回転(#1き)角度が経時的に変化しそ
の変化状態を表示するため、図形を編集または作成する
場合に、作図する図形の各座標を正確に計算して入力す
る必要がなく、特に正三角形等のように特定の性質をも
つ図形や特殊な形状をもつ図形を作成する場合には、操
作者の作業が低減でき、図形の編集作業を能率よくする
ことができる。
Effects According to the present invention, there is a figure change system in the device, and the size and rotation (#1) angle of the figure can be changed over time by simply specifying the center point of the figure that the operator wants to create. In order to display the state of change, when editing or creating a figure, there is no need to accurately calculate and input each coordinate of the figure to be drawn. When creating a figure having a similar shape, the operator's work can be reduced and the figure editing work can be made more efficient.

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

第1図は1本発明による図形編集装置の一実施例を示す
機能ブロック図、 第2図は、第1図に示す装置の外観斜視図、第3図は、
従来の装置において円を描くアルゴリズム例を示すフロ
ーチャート、 第4図および第5図は、551図の装置において円を描
くアルゴリズム例を示すフローチャート、第6図は、第
1図の装置において正方形を描くアルゴリズム例を示す
フローチャート、i7図は、第2図の表示画面22での
正方形の表示例を示す説明図である。 主要部分の符号の説明 211.入力部 ル        罵4t!、蔗 600.記憶部 8100表示制御部 10、、、表示部 12、、、図形変化システム 22、、、表示画面 24、、、ファンクションキー 2B、、、表示部d 30、、、マウス
FIG. 1 is a functional block diagram showing an embodiment of a figure editing device according to the present invention, FIG. 2 is an external perspective view of the device shown in FIG. 1, and FIG.
Flowchart showing an example of an algorithm for drawing a circle in the conventional device; FIGS. 4 and 5 are flowcharts showing an example of an algorithm for drawing a circle in the device of FIG. 551; FIG. 6 is a flowchart showing an example of an algorithm for drawing a circle in the device of FIG. A flowchart showing an example of the algorithm, FIG. i7, is an explanatory diagram showing an example of a square display on the display screen 22 of FIG. Explanation of symbols of main parts 211. Input part Ru 4t! , 600. Storage unit 8100 Display control unit 10 Display unit 12 Graphic change system 22 Display screen 24 Function key 2B Display unit d 30 Mouse

Claims (1)

【特許請求の範囲】 1、図形データおよび指示を入力する入力手段と、 該入力手段から入力された図形データを編集する編集手
段と、 該編集手段で編集された図形データを表示する表示手段
とを有し、 前記編集手段は、図形変化手段を有し、前記入力手段か
ら作図すべき図形の種類が指定されると該図形の大きさ
および回転角度のうち少なくとも一方を経時的に変化さ
せて前記表示手段に表示し、前記入力手段を介して入力
される変化動作中止の指示に従い、図形の大きさまたは
回転角度を決定し、指示入力時における大きさまたは回
転角度の図形を前記表示手段に固定表示させることを特
徴とする図形編集装置。 2、特許請求の範囲第1項記載の装置において、前記入
力手段は、前記図形変化手段を作動させる特定キーを含
み、前記編集手段は、特定キーが押されているあいだ図
形の大きさおよび回転角度のうち少なくとも一方を経時
的に変化させ、特定キーの操作が解除されると図形の変
動を中止し、大きさまたは回転角度の決定の指示入力が
あった場合に、指示入力時における大きさまたは回転角
度の図形を前記表示手段に固定表示させることを特徴と
する図形編集装置。
[Scope of Claims] 1. Input means for inputting graphic data and instructions; Editing means for editing the graphic data input from the input means; Display means for displaying the graphic data edited by the editing means. The editing means has a figure changing means, and when the type of figure to be drawn is specified by the input means, the editing means changes at least one of the size and rotation angle of the figure over time. Displaying the figure on the display means and determining the size or rotation angle of the figure in accordance with the instruction to stop the changing operation inputted through the input means, and displaying the figure with the size or rotation angle at the time of inputting the instruction on the display means. A figure editing device characterized by fixed display. 2. The device according to claim 1, wherein the input means includes a specific key that operates the figure changing means, and the editing means changes the size and rotation of the figure while the specific key is pressed. At least one of the angles changes over time, and when the operation of a specific key is released, the figure stops changing, and when an instruction is input to determine the size or rotation angle, the size at the time of input is changed. Alternatively, a figure editing device characterized in that a figure having a rotation angle is fixedly displayed on the display means.
JP11365086A 1986-05-20 1986-05-20 Graphic editing device Pending JPS62271069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11365086A JPS62271069A (en) 1986-05-20 1986-05-20 Graphic editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11365086A JPS62271069A (en) 1986-05-20 1986-05-20 Graphic editing device

Publications (1)

Publication Number Publication Date
JPS62271069A true JPS62271069A (en) 1987-11-25

Family

ID=14617642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11365086A Pending JPS62271069A (en) 1986-05-20 1986-05-20 Graphic editing device

Country Status (1)

Country Link
JP (1) JPS62271069A (en)

Similar Documents

Publication Publication Date Title
US5345543A (en) Method for manipulating objects on a computer display
US7110005B2 (en) Object manipulators and functionality
CA2533296C (en) Common on-screen zone for menu activation and stroke input
US4661810A (en) Method for interactive rotation of displayed graphic objects
EP0493990A2 (en) Display image scroll control and method
JPH06259193A (en) Computer input device
JPH07210515A (en) Computer with tabulation capability
JPH08129469A (en) Optimization display method for computer processing operation button
JPH08249125A (en) Method for inputting numeric value by pointer
JPH0452871A (en) Character/graphic processor
JPS62271069A (en) Graphic editing device
JP2005100132A (en) Display control device
JP2004126759A (en) Figure display control device and program
JPH04328626A (en) Information processor
JPH0424818A (en) Input display device
JPH0628349A (en) Graph correction method for plotting/tabulating system
JP2954608B2 (en) Document processing method and apparatus
JP2695082B2 (en) Electronic device with graph shadowing function
JPH06202605A (en) Display controller
JPH06301759A (en) Picture processor
JPH07282122A (en) Cad system
JPH05314269A (en) Graph preparing device
JP2002023915A (en) Device and method for controlling display of tool button and recording medium
JP2004126684A (en) Graphic display controller and program
JP2932487B2 (en) Chart editing device