JPH05143705A - Graphic plotting device - Google Patents

Graphic plotting device

Info

Publication number
JPH05143705A
JPH05143705A JP30772791A JP30772791A JPH05143705A JP H05143705 A JPH05143705 A JP H05143705A JP 30772791 A JP30772791 A JP 30772791A JP 30772791 A JP30772791 A JP 30772791A JP H05143705 A JPH05143705 A JP H05143705A
Authority
JP
Japan
Prior art keywords
graphic
rectangle
point
end point
start point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP30772791A
Other languages
Japanese (ja)
Other versions
JP3081320B2 (en
Inventor
Kouichirou Uchigata
浩一郎 内潟
Takashi Hazui
隆史 筈井
Yoshinori Hatayama
佳紀 畑山
Tetsuo Takeyama
哲夫 竹山
Fumihiro Nakagaki
文浩 中垣
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP03307727A priority Critical patent/JP3081320B2/en
Publication of JPH05143705A publication Critical patent/JPH05143705A/en
Application granted granted Critical
Publication of JP3081320B2 publication Critical patent/JP3081320B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To plot various graphics with the same simple operation by designating the area of a rectangle and plotting a graphic in the rectangle based on the size of the graphic decided by the enlargement/reduction of the rectangle and the kind of the graphic obtained by the kind designation of the graphic. CONSTITUTION:A starting point is instructed, an ending point on a diagonal to the starting point is instructed, the rectangle is platted from the starting point and the ending point, the plotted rectangle is enlarged/reduced by inverting the starting point or the ending point or moving the starting point or the ending point as needed, the prescribed graphic is selected from a graphic storing means 2 storing various graphics based on the rectangle plotted there and the graphic selected by a graphic selecting means 4 is plotted in the area designated by the plotted rectangle. When plotting the graphic, the area of the rectangle is designated and in the rectangle, the graphic is plotted based on the size of the graphic decided by enlarging/reducing the rectangle and the kind of the graphic obtained by the kind designation of the graphic. Further, the central position of the graphic or the external position of the graphic is moved by changing a position to be enlarged or reduced.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、各種の図形をディスプ
レー上で同一の操作で描画する図形描画装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic drawing apparatus for drawing various kinds of graphics on a display by the same operation.

【0002】[0002]

【従来の技術】従来の図形描画は、次に示すように直
線、円、四角等の図形の種類により描画操作が異なって
いる。また、それぞれの図形においても操作は一通りで
はなく複数存在している。
2. Description of the Related Art In the conventional graphic drawing, the drawing operation differs depending on the type of the graphic such as a straight line, a circle, a square, etc. Also, in each figure, there are a plurality of operations instead of one operation.

【0003】例えば、 (1)直線の操作 ・両端の2点の指定 ・1点と角度の指定 (2)円の操作 ・中心の1点と半径の指定 ・中心と円周上の2点の指定 ・円周上の2点の指定 (3)四角の操作 ・対角の2点の指定 ・縦/横の長さの指定 (4)楕円の操作 ・中心点と楕円上(直径、短径)の2点の指定 ・中心の1点と長径、短径の指定 によって、描画処理を実行している。For example, (1) operation of a straight line ・ designation of two points at both ends ・ designation of one point and angle (2) operation of a circle ・ designation of one center point and radius ・ two points on the center and circumference Designation ・ Designation of 2 points on the circumference (3) Operation of square ・ Designation of 2 points on the diagonal ・ Designation of vertical / horizontal length (4) Operation of ellipse ・ Center point and on ellipse (diameter, minor axis) 2) Designation ・ Drawing processing is executed by designating the central point and major and minor axes.

【0004】特許公報で事例を挙げると、特開昭63−
240671号公報等に掲載の技術も、上記技術に関す
るものである。
An example of the patent publication is Japanese Patent Laid-Open No. 63-
The technology published in the publication No. 240671 is also related to the above technology.

【0005】[0005]

【発明が解決しようとする課題】従来の図形描画操作
は、図形の種類により異なり、かつ、それぞれの図形に
おいても複数の操作方法があった。このような描画操作
では、図形の種類が多くなれば、それだけ複雑な多くの
操作を覚えなければならなかった。したがって、熟練す
るまでには相当の訓練を要していた。
The conventional graphic drawing operation differs depending on the type of the graphic, and each graphic has a plurality of operating methods. In such a drawing operation, if the number of types of figures increases, many complicated operations must be learned. Therefore, it took a considerable amount of training to become skilled.

【0006】また、この種の従来の描画方法では、位置
の調整が自由に行なうことができない。例えば、四角形
を描く場合には、四角形の始点を行なってからは、四角
形の終点を指定する位置の変更で四角形の全体全体形状
を変更することができるものの、中心位置の変更、始点
の位置の変更を行なうことができなかった。
Further, in the conventional drawing method of this type, the position cannot be freely adjusted. For example, when drawing a quadrangle, after the start point of the quadrangle is changed, the overall shape of the quadrangle can be changed by changing the position that specifies the end point of the quadrangle. No changes could be made.

【0007】そこで、本発明は、各種の図形を同じ単純
操作によって描画でき、しかも、図形の位置決めが容易
な図形描画装置の提供を課題とするものである。
Therefore, an object of the present invention is to provide a graphic drawing apparatus which can draw various kinds of figures by the same simple operation and which can easily position the figures.

【0008】[0008]

【課題を解決するための手段】本発明にかかる図形描画
装置は、始点を指示し、前記始点と対角線上にある終点
を指示し、前記始点及び終点から矩形を描画し、また、
必要に応じて、始点または終点を反転したり、始点また
は終点を移動することによって描画した矩形の拡大・縮
小を行い、そこに、前記描画した矩形に基づき各種図形
を記憶させた図形記憶手段から所定の図形を選択し、前
記描画した矩形で指定する領域に前記図形選択手段で選
択した図形を描画するものである。
A graphic drawing apparatus according to the present invention indicates a start point, an end point on a diagonal line with the start point, draws a rectangle from the start point and the end point, and
If necessary, reverse the start point or end point, or move the start point or end point to enlarge or reduce the drawn rectangle, and from there, from the figure storage means that stores various figures based on the drawn rectangle. A predetermined figure is selected, and the figure selected by the figure selecting means is drawn in the area designated by the drawn rectangle.

【0009】[0009]

【作用】本発明においては、図形を描画する際に、矩形
の領域を指定し、矩形の拡大・縮小で定まる図形の大き
さと、図形の種類指定で得る図形の種類に基づいて、矩
形内に図形を描画する。用意された全ての図形を矩形の
指定と図形の種類の指定という統一した操作で描画す
る。また、拡大または縮小する位置を変化させることに
よって、図形の中心位置或いは図形の外形位置を移動さ
せる。
According to the present invention, when drawing a figure, a rectangular area is designated, and the size of the figure determined by enlargement / reduction of the rectangle and the type of the figure obtained by specifying the type of the figure Draw a shape. All the prepared figures are drawn by the unified operation of specifying the rectangle and the figure type. Further, the center position of the figure or the outer shape position of the figure is moved by changing the position of enlargement or reduction.

【0010】[0010]

【実施例】図1は本発明の一実施例における図形描画装
置を示す全体のブロック構成図である。図2は図1の図
形描画指示、始点・終点の指定、図形種類の指定、始点
または終点のいずれを移動させるかの切替指定を行なう
キーボードのキー配列を示す説明図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is an overall block diagram showing a figure drawing apparatus according to an embodiment of the present invention. FIG. 2 is an explanatory diagram showing a key arrangement of the keyboard for instructing the drawing of the figure in FIG. 1, designating the start point / end point, designating the figure type, and switching designation of whether to move the start point or the end point.

【0011】また、図3は本発明の一実施例における図
形描画装置の図形描画処理の一部分のフローチャートで
ある、図4は本発明の一実施例における図形描画装置の
図形描画処理の他部分のフローチャートである。
FIG. 3 is a flow chart of a part of the graphic drawing process of the graphic drawing device according to the embodiment of the present invention. FIG. 4 shows another part of the graphic drawing process of the graphic drawing device according to the embodiment of the present invention. It is a flowchart.

【0012】そして、図5は本発明の一実施例における
図形描画装置の入力編集状態の表示例を示す説明図、図
6は本発明の一実施例における図形描画装置の線画キー
を押した状態の表示例を示す説明図、図7は本発明の一
実施例における図形描画装置のクロスカーソル(『+』
のカーソル)を移動した表示例を示す説明図、図8は本
発明の一実施例における図形描画装置の実行キーによ
り、図形を確定したときの表示例を示す説明図、図9は
本発明の一実施例における図形描画装置の線種を直線か
ら円に変更した表示例を示す説明図、図10は本発明の
一実施例における図形描画装置の始点・終点移動切替を
指定し、始点を移動する状態の表示例を示す説明図であ
る。
FIG. 5 is an explanatory view showing a display example of an input editing state of the figure drawing device in the embodiment of the present invention, and FIG. 6 is a state in which a line drawing key of the figure drawing device in the embodiment of the present invention is pressed. 7 is an explanatory view showing a display example of FIG. 7, and FIG. 7 is a cross cursor (“+”) of the graphic drawing apparatus in the embodiment of the present invention.
8 is an explanatory view showing a display example in which the cursor is moved, FIG. 8 is an explanatory view showing a display example when a figure is confirmed by the execution key of the figure drawing apparatus in the embodiment of the present invention, and FIG. FIG. 10 is an explanatory view showing a display example in which the line type of the graphic drawing apparatus in one embodiment is changed from a straight line to a circle. FIG. 10 specifies the start point / end point movement switching of the graphic drawing apparatus in one embodiment of the present invention and moves the start point. It is explanatory drawing which shows the example of a display of the state to do.

【0013】図1において、中央処理部1はマイクロコ
ンピュータ、コンピュータ等の演算手段に相当し、本実
施例の図形描画装置の演算及びプログラム制御を行なう
ものである。ランダムアクセスメモリ2は、各種入出力
情報、図形、矩形描画等のプログラム、始点及び終点座
標情報、図形種類情報、始点または終点のいずれを移動
させて図形の大きさを変更する情報としての始点・終点
移動切替情報等を保持する。矩形発生部3は、始点、終
点情報からディスプレー6上に始点及び終点を対角線上
の位置とする矩形図形を描画する信号を発生させる。キ
ーボード4は、図形描画指示、始点・終点の指定、図形
種類の指定、始点または終点のいずれを移動するかの切
替え指定を行なう入力手段である。図形発生部5は始点
・終点情報と内蔵するメモリに各種図形または図形表現
公式を格納した図形種類情報から特定の図形を出力させ
る。ディスプレー6は、矩形、図形、クロスカーソル
(『+』のカーソル)を表示する手段である。
In FIG. 1, a central processing unit 1 corresponds to a computing means such as a microcomputer and a computer, and performs computation and program control of the graphic drawing apparatus of this embodiment. The random access memory 2 uses various input / output information, programs for drawing figures, rectangles, etc., starting point and ending point coordinate information, figure type information, and starting points as information for changing the size of the figure by moving either the starting point or the ending point. The end point movement switching information and the like are retained. The rectangle generation unit 3 generates a signal for drawing a rectangular graphic having a start point and an end point on a diagonal line on the display 6 based on the start point and end point information. The keyboard 4 is an input means for designating a graphic, designating a start point / end point, designating a graphic type, and designating whether to move the start point or the end point. The figure generation unit 5 outputs a specific figure from the start point / end point information and the figure type information in which various figures or figure expression formulas are stored in a built-in memory. The display 6 is means for displaying a rectangle, a figure, and a cross cursor (“+” cursor).

【0014】図2において、401〜410はソフトキ
ーであり、全機能は本発明の要旨に直接関係がないので
詳述しないが、各ソフトキー401〜410と機能とは
一義的に定まらず、ディスプレー6の画面下部に表示し
ているソフトメニューに対応し、ディスプレー6で表示
していない場合は、その位置にあるキーは無効キーとな
っている。移動キー420〜423は、カーソルによっ
て矩形の始点または終点を上下左右に移動する機能キー
である。また、実行キー430は、特定の動作を行なわ
せる際に操作するキーである。
In FIG. 2, reference numerals 401 to 410 are soft keys, and all the functions are not directly related to the gist of the present invention, so that they will not be described in detail, but the soft keys 401 to 410 and the functions are not uniquely defined. It corresponds to the soft menu displayed at the bottom of the screen of the display 6, and when it is not displayed on the display 6, the key at that position is an invalid key. The move keys 420 to 423 are function keys for moving the start point or the end point of the rectangle vertically and horizontally by the cursor. The execute key 430 is a key operated when a specific operation is performed.

【0015】本実施例では、初期画面として、図5に示
す下の欄の10個の表示に対応してソフトキー401〜
410が機能する。例えば、ソフトキー401は領域作
成、ソフトキー402は領域編集、・・・、ソフトキー
409は文書活用、ソフトキー410は線画等の機能を
有する。このとき、ソフトキー410によって線画モー
ドが選択されると、図形描画を実行する図形描画メニュ
ーとなり、図6に示す下の欄の10個の表示に対応して
ソフトキー401〜410が機能する。例えば、ソフト
キー401は直線、ソフトキー402は四角形、・・
・、ソフトキー409は線種の選択、ソフトキー410
は削除等の機能を有する。
In the present embodiment, as the initial screen, the soft keys 401 to 401 corresponding to the ten displays in the lower column shown in FIG.
410 works. For example, the soft key 401 has an area creating function, the soft key 402 has an area editing function, ..., The soft key 409 has a document utilization function, and the soft key 410 has a line drawing function. At this time, when the line drawing mode is selected by the soft key 410, a graphic drawing menu for executing graphic drawing is displayed, and the soft keys 401 to 410 function corresponding to the ten displays in the lower column shown in FIG. For example, the soft key 401 is a straight line, the soft key 402 is a rectangle, ...
., Softkey 409 selects line type, Softkey 410
Has a function such as deletion.

【0016】次に、このように構成された本発明の一実
施例における図形描画装置の動作について、図3及び図
4のフローチャートを用いて説明する。
Next, the operation of the graphic drawing apparatus thus constructed according to the embodiment of the present invention will be described with reference to the flow charts of FIGS.

【0017】なお、図3及び図4のルーチンは本実施例
の図形描画装置がワードプロセッサ等として使用されて
いる場合には、そのメインプログラムの実行中に、この
ルーチンがコールされる。
The routines of FIGS. 3 and 4 are called during execution of the main program when the graphic drawing apparatus of this embodiment is used as a word processor or the like.

【0018】まず、通常の図5に示すようなワードプロ
セッサ等における文字入力等の入力編集機能にあったと
する(ステップS1)。ここで、線画キー410の操作
がなされなければ、このルーチンを脱する。線画キー4
10が操作されると、図形描画を実行する図形描画モー
ドに入る(ステップS2)。即ち、図5に示すように、
ディスプレー6の画面下部にソフトメニューを表示して
いるとき、ディスプレー6の画面下部のソフトメニュー
に対応する線画キー410の操作がなされると、図形描
画モードとなる(ステップS3,ステップS4)。この
とき、カーソルCの位置が線画の開始点となる。したが
って、まず、開始点の位置を明確にするため、カーソル
Cの位置を線画の開始点に移動させた状態で、図形描画
メニューキー410を操作することになる。
First, it is assumed that there is an input editing function such as character input in a normal word processor as shown in FIG. 5 (step S1). If the line drawing key 410 is not operated, this routine is exited. Line drawing key 4
When 10 is operated, a graphic drawing mode for executing graphic drawing is entered (step S2). That is, as shown in FIG.
When the line drawing key 410 corresponding to the soft menu at the bottom of the screen of the display 6 is operated while the soft menu is displayed at the bottom of the screen of the display 6, the graphic drawing mode is set (steps S3 and S4). At this time, the position of the cursor C becomes the starting point of the line drawing. Therefore, first, in order to clarify the position of the starting point, the figure drawing menu key 410 is operated with the position of the cursor C moved to the starting point of the line drawing.

【0019】図形描画モードに入ると、図6に示すよう
に、カーソルCを文字入力編集用の正方形ブリンクから
十字ブリンクを行なうクロスカーソルCに変更すると共
に、デフォルト値として、線種を直線の実線で、1行1
字分を移動させて終点位置と仮定し、初期表示状態に設
定し(ステップS6)、それをランダムアクセスメモリ
2にセットする。同様に、現在のカーソルCの位置を始
点とするか終点とするかを指定する始点/終点移動のデ
フォルト値として終点移動を設定する(ステップS
7)。そして、図6に示すように、図形描画メニューキ
ー410を操作したカーソルCの位置を始点とし、カー
ソルCを1行1字分を移動させた位置を終点位置とし
て、破線によって矩形を表示する(ステップS8)。図
形描画メニューキー410で選択したカーソルCの始点
と終点位置との間の破線によって描画した矩形の中に、
設定した線種で図形、即ち、ここでは、直線を描画表示
する。更に、始点/終点移動情報をもとに終点位置をク
ロスカーソルCで表示する。なお、デフォルト値として
選択された図形の直線は、ディスプレー6で表示してい
るソフトメニューの該当機能を、図6のように、反転表
示する。
When the figure drawing mode is entered, as shown in FIG. 6, the cursor C is changed from the square blink for character input editing to the cross cursor C for performing cross blink, and the line type is set to a straight line of a straight line as a default value. Then 1 line 1
The character segment is moved to assume the end point position, and is set to the initial display state (step S6) and set in the random access memory 2. Similarly, the end point movement is set as a default value of the start point / end point movement that specifies whether the current position of the cursor C is the start point or the end point (step S).
7). Then, as shown in FIG. 6, a rectangle is displayed by a broken line with the position of the cursor C where the graphic drawing menu key 410 is operated as the starting point, and the position where the cursor C is moved by one character per line as the ending position ( Step S8). In the rectangle drawn by the broken line between the start point and the end point of the cursor C selected by the figure drawing menu key 410,
A graphic, that is, a straight line is drawn and displayed by the set line type. Further, the end point position is displayed by the cross cursor C based on the start point / end point movement information. The straight line of the graphic selected as the default value indicates the corresponding function of the soft menu displayed on the display 6 in reverse as shown in FIG.

【0020】ここで、矩形の始点または終点を上下左右
に移動する移動キー420〜423の操作によって、ク
ロスカーソルCの位置を移動させるとき、移動キー42
0〜423の操作によって、まず、クロスカーソルC、
及び破線によって描画した矩形を消去して(ステップS
12,ステップS13)、始点または終点の位置をクロ
スカーソルCで移動させ、それを基に、始点/終点位置
を再設定し(ステップS14)、ステップS8からステ
ップS11のルーチンを繰返し実行する。これによっ
て、始点を中心に破線による矩形表示を拡大縮小して表
示し、そこに選択した図形を合成し、結果的に、選択し
た図形を拡大縮小することができる。
Here, when the position of the cross cursor C is moved by operating the move keys 420 to 423 for moving the start point or the end point of the rectangle vertically and horizontally, the move key 42 is used.
By the operations of 0 to 423, first, the cross cursor C,
And erase the rectangle drawn by the broken line (step S
12, step S13), the position of the start point or the end point is moved by the cross cursor C, and the start point / end point position is reset based on it (step S14), and the routine from step S8 to step S11 is repeatedly executed. As a result, it is possible to display a rectangular display with a broken line around the start point in an enlarged or reduced manner, combine the selected figure therewith, and consequently enlarge or reduce the selected figure.

【0021】また、ステップS11で実行キー430が
押されたとき、それまで表示されていた図形に設定され
ることであるから、それまで表示されていた図形を確定
維持し、クロスカーソルC、及び破線によって描画した
矩形を消去して(ステップS15,ステップS16)、
通常の入力編集モードに戻るべく、入力編集モード表示
に入り(ステップS17)、このルーチンを脱する。例
えば、図6の表示状態にあった終点位置のカーソルを移
動し、図形を拡大し、図7に示すクロスカーソル位置と
した表示例とする。ここで、実行キー430が押された
とき、それまで表示されていた破線による矩形表示を消
去し、図8に示す図形を確定したときの表示例のように
なる。
Further, when the execution key 430 is pressed in step S11, the figure that has been displayed up to that point is set. Therefore, the figure that has been displayed up to that point is fixedly maintained, and the cross cursor C, and The rectangle drawn by the broken line is deleted (steps S15 and S16),
In order to return to the normal input edit mode, the input edit mode display is entered (step S17), and this routine is exited. For example, assume that the cursor at the end point position in the display state of FIG. 6 is moved, the figure is enlarged, and the cross cursor position shown in FIG. Here, when the execution key 430 is pressed, the display example when the rectangular display by the broken line which has been displayed until then is erased and the figure shown in FIG.

【0022】そして、ステップS11で線種変更キー4
09が押されたとき、クロスカーソルCを消去して(ス
テップS18)、複数の線種を実線、太実線、一点鎖
線、二点鎖線、破線、点線、ローテーションで順次変更
して、それを再設定し(ステップS19)、ステップS
9からのルーチンを実行する。
Then, in step S11, the line type change key 4
When 09 is pressed, the cross cursor C is erased (step S18), a plurality of line types are sequentially changed to a solid line, a thick solid line, a one-dot chain line, a two-dot chain line, a broken line, a dotted line, and a rotation, and then they are re-executed. Set (step S19), step S
The routine from 9 is executed.

【0023】始点/終点移動切替を行なう始点終点移動
切替キー408を押すと、カーソルの始点と終点を相互
に切替え、ステップS10からのルーチンを繰返し実行
する(ステップS21)。これによって、始点を中心に
破線による矩形表示を拡大縮小して表示し、そこに選択
した図形を合成し、結果的に、選択した図形を拡大縮小
するとき、始点と終点を置換えて拡大縮小できるので、
結果的に図形の中心位置を変更することができる。例え
ば、図7の終点にあったクロスカーソルCの位置を、図
7の始点に相当する位置にクロスカーソルCを移動させ
ることにより、図10に示すクロスカーソルCの位置と
することができる。
When the start point / end point movement switching key 408 for switching the start point / end point is pressed, the start point and the end point of the cursor are switched to each other, and the routine from step S10 is repeatedly executed (step S21). As a result, a rectangular display with a broken line is displayed by enlarging or reducing the center of the start point, the selected figure is combined therewith, and as a result, when the selected figure is enlarged or reduced, the start point and the end point can be replaced and enlarged or reduced. So
As a result, the center position of the figure can be changed. For example, the position of the cross cursor C at the end point of FIG. 7 can be changed to the position of the cross cursor C shown in FIG. 10 by moving the cross cursor C to the position corresponding to the start point of FIG.

【0024】一方、ステップS11で図形選択キーとし
てのソフトキー401〜405により、直線、四角形、
円等の内から、図9のように、円を選択すると、クロス
カーソルCを消去して(ステップS22)、それまで表
示されていた破線による矩形表示内に選択した図形を再
設定し(ステップS23)、ステップS9からのルーチ
ンを繰返し実行する。なお、ディスプレー6で表示して
いるソフトメニューにおいては、選択した図形の該当機
能を、図6のように、反転表示する。
On the other hand, in step S11, the soft keys 401 to 405 as figure selection keys are used to select straight lines, squares,
When a circle is selected from among the circles as shown in FIG. 9, the cross cursor C is erased (step S22), and the selected figure is reset in the rectangular display by the broken line that has been displayed (step S22). S23), the routine from step S9 is repeatedly executed. In the soft menu displayed on the display 6, the corresponding function of the selected graphic is highlighted as shown in FIG.

【0025】このように、本実施例の図形描画装置は、
ステップS2乃至ステップS4のルーチンからなる線画
キー410の操作による始点を指示する始点指示手段
と、前記始点と対角線上にある終点を指示するステップ
S5からなる終点指示手段と、前記始点指示手段と終点
指示手段で指示した始点と終点を逆に切替えるステップ
S20及びステップS21からなる始点終点移動切替手
段と、始点及び終点から矩形を描画するステップS8か
らなる矩形描画手段と、始点または終点を移動すること
によって描画した矩形の拡大・縮小を行なうステップS
12乃至ステップS14のルーチンからなる描画変更手
段と、前記描画した矩形に基づいて表示する各種図形を
記憶させた図形発生手段5からなる図形記憶手段と、前
記図形記憶手段から所定の図形を選択するステップS2
2乃至ステップS23からなる図形選択手段と、前記描
画した矩形で指定する領域に前記図形選択手段で選択し
た図形を描画するステップS9からなる選択図形描画手
段とを具備するものである。したがって、ステップS8
からなる矩形描画手段によって始点及び終点から矩形を
描画し、その矩形の中に所定の図形を合成し、その選択
した図形を描くものであるから、描く図形を選択するだ
けで、始点及び終点から描画した矩形で拘束されるよう
に、その選択図形を描くものであるから、例えば、橢円
を描く場合でも、長方形表現で、しかも、その大きさを
矩形の拡大・縮小を行なう描画変更手段による終点位置
の移動によって縦横の幅を変動でき、描き直すことな
く、その橢円の大きさを変更することができる。これ
は、橢円に限定されるものではなく、全図形に該当す
る。
As described above, the graphic drawing apparatus of this embodiment is
Starting point designating means for designating a starting point by operating the line drawing key 410, which comprises the routine of steps S2 to S4, end point designating means comprising step S5 for designating an end point on a diagonal line with the starting point, the starting point designating means and the end point. To move the start point or the end point, and the start point / end point movement switching means, which includes steps S20 and S21, for switching the start point and the end point instructed by the instruction means, and the rectangular drawing means, which includes step S8, for drawing a rectangle from the start point and the end point. Step S for enlarging / reducing the rectangle drawn by
12 to step S14, the drawing changing means, the figure storing means including the figure generating means 5 storing various figures to be displayed based on the drawn rectangle, and a predetermined figure is selected from the figure storing means. Step S2
It is provided with a figure selecting means comprising steps 2 to S23 and a selected figure drawing means comprising step S9 for drawing the figure selected by the figure selecting means in the area designated by the drawn rectangle. Therefore, step S8
A rectangle is drawn from a start point and an end point by a rectangle drawing means consisting of, and a predetermined figure is synthesized in the rectangle, and the selected figure is drawn. Since the selected figure is drawn so as to be constrained by the drawn rectangle, for example, even when drawing a circle, it is represented by a rectangle and its size is changed by the drawing change means for enlarging / reducing the rectangle. The horizontal and vertical width can be changed by moving the end point position, and the size of the circle can be changed without redrawing. This is not limited to a circle, but applies to all figures.

【0026】故に、多くの種類の図形が容易されていて
も、矩形描画手段によって始点及び終点から矩形を描画
し、その矩形の中に所定の図形を合成して選択図形を描
くものであるから、描画手法が図形が異なっても常に一
定となり、特別、多くの種類の図形の描画の練習を行な
うことなく、図形を描くことができる。
Therefore, even if many kinds of figures are facilitated, the rectangle drawing means draws a rectangle from the start point and the end point, and a predetermined figure is synthesized in the rectangle to draw the selected figure. , The drawing method is always constant even if the figures are different, and the figures can be drawn without practicing the drawing of many kinds of figures.

【0027】しかも、前記始点指示手段と終点指示手段
で指示した始点と終点を逆に切替える始点終点移動切替
手段により、始点を中心に破線による矩形表示を拡大縮
小して表示し、そこに選択した図形を合成し、結果的
に、選択した図形を拡大縮小するとき、始点と終点を置
換えて拡大縮小できるので、結果的に図形の中心位置を
変更することができる。また、図形の外形線を任意の位
置に移動させることができる。これによって、複数の各
図形の中心を特定の線上に位置させるという、センタリ
ングの機能を容易とすることができ、また、図形全体の
移動も容易である。
Moreover, the start point / end point movement switching means for switching the start point and the end point designated by the start point designating means and the end point designating means in reverse, enlarging / reducing a rectangular display with a broken line centered on the start point and displaying it. When the figures are combined and, as a result, the selected figure is scaled up or down, the start point and the end point can be replaced and the scaling can be performed, so that the center position of the figure can be changed. Further, the outline of the figure can be moved to any position. This makes it possible to facilitate the centering function of positioning the center of each of the plurality of figures on a specific line, and also to move the entire figure easily.

【0028】[0028]

【発明の効果】始点指示手段で始点を指示し、また、終
点指示手段で前記始点と対角線上にある終点を指示し、
矩形描画手段により前記始点及び終点から矩形を描画
し、また、必要に応じて、始点終点移動切替手段により
始点と終点を変更し、かつ、描画変更手段により始点ま
たは終点を移動することによって描画した矩形の拡大・
縮小を行い、そこに、前記描画した矩形に基づき各種図
形を記憶させた図形記憶手段から所定の図形を選択し、
前記描画した矩形で指定する領域に前記図形選択手段で
選択した図形を描画するものである。
The starting point designating means designates the starting point, and the ending point designating means designates the ending point on a diagonal line with the starting point.
The rectangle drawing means draws a rectangle from the start point and the end point, and if necessary, the start point end point movement switching means changes the start point and the end point, and the drawing change means moves the start point or the end point to draw the rectangle. Enlarge the rectangle
Perform a reduction, and select a predetermined figure from the figure storage means in which various figures are stored based on the drawn rectangle.
The figure selected by the figure selecting means is drawn in the area designated by the drawn rectangle.

【0029】したがって、図形を描画する際に、矩形の
領域を指定し、矩形の拡大・縮小で定まる図形の多きさ
と、図形の種類指定で得る図形の種類に基づいて、矩形
内に図形を描画するものであるから、用意された全ての
図形を矩形の指定と図形の種類の指定という統一した操
作で描画でき、しかも、図形の中心位置または図形全体
の移動も容易となる。更に、全ての図形を同一の操作方
法で描画できるため、図形の種類が多くなっても改め
て、図形別にその操作を覚える必要がない。
Therefore, when drawing a figure, a rectangular area is designated, and the figure is drawn in the rectangle based on the large number of figures determined by enlargement / reduction of the rectangle and the figure type obtained by designating the figure type. Since all the prepared figures can be drawn by the unified operation of designating the rectangle and the type of the figure, the center position of the figure or the whole figure can be easily moved. Further, since all the figures can be drawn by the same operation method, it is not necessary to remember the operation for each figure again even if the types of figures increase.

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

【図1】図1は本発明の一実施例における図形描画装置
を示す全体のブロック構成図である。
FIG. 1 is an overall block diagram showing a figure drawing apparatus in an embodiment of the present invention.

【図2】図2は図1の図形描画指示、始点・終点の指
定、図形種類の指定、始点または終点のいずれを移動さ
せるかの切替指定を行なうキーボードのキー配列を示す
説明図である。
FIG. 2 is an explanatory diagram showing a key arrangement of a keyboard for instructing the drawing of the figure of FIG. 1, designating a start point / end point, designating a figure type, and switching designation of whether to move the start point or the end point.

【図3】図3は本発明の一実施例における図形描画装置
の図形描画処理の一部分のフローチャートである。
FIG. 3 is a flowchart of a part of a graphic drawing process of the graphic drawing apparatus according to the embodiment of the present invention.

【図4】図4は本発明の一実施例における図形描画装置
の図形描画処理の他部分のフローチャートである。
FIG. 4 is a flowchart of another portion of the graphic drawing processing of the graphic drawing apparatus according to the embodiment of the present invention.

【図5】図5は本発明の一実施例における図形描画装置
の入力編集状態の表示例を示す説明図である。
FIG. 5 is an explanatory diagram showing a display example of an input editing state of the graphic drawing apparatus according to the embodiment of the present invention.

【図6】図6は本発明の一実施例における図形描画装置
の線画キーを押した状態の表示例を示す説明図である。
FIG. 6 is an explanatory diagram showing a display example of a state in which a line drawing key of the graphic drawing device in the embodiment of the present invention is pressed.

【図7】図7は本発明の一実施例における図形描画装置
のクロスカーソルを移動した表示例を示す説明図であ
る。
FIG. 7 is an explanatory diagram showing a display example in which the cross cursor is moved in the graphic drawing apparatus according to the embodiment of the present invention.

【図8】図8は本発明の一実施例における図形描画装置
の実行キーにより、図形を確定したときの表示例を示す
説明図である。
FIG. 8 is an explanatory diagram showing a display example when a figure is confirmed by an execution key of the figure drawing device in the embodiment of the present invention.

【図9】図9は本発明の一実施例における図形描画装置
の線種を直線から円に変更した表示例を示す説明図であ
る。
FIG. 9 is an explanatory diagram showing a display example in which the line type of the graphic drawing device in one embodiment of the present invention is changed from a straight line to a circle.

【図10】図10は本発明の一実施例における図形描画
装置の始点・終点移動切替を指定し、始点を移動する状
態の表示例を示す説明図である。
FIG. 10 is an explanatory diagram showing a display example of a state in which the start point / end point movement switching is designated and the start point is moved in the graphic drawing apparatus according to the embodiment of the present invention.

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

1 中央処理部 2 ランダムアクセスメモリ 3 矩形発生部 4 キーボード 5 図形発生部 6 ディスプレー 1 Central processing unit 2 Random access memory 3 Rectangular generation unit 4 Keyboard 5 Graphic generation unit 6 Display

フロントページの続き (72)発明者 竹山 哲夫 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 (72)発明者 中垣 文浩 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内Front page continuation (72) Inventor Tetsuo Takeyama 2-18 Keihanhondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd. (72) Inventor Fumihiro Nakagaki 2-18-18 Keihanhondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 始点を指示する始点指示手段と、 前記始点と対角線上にある終点を指示する終点指示手段
と、 前記始点指示手段と終点指示手段で指示した始点と終点
を逆に切替える始点終点移動切替手段と 始点及び終点から矩形を描画する矩形描画手段と、 始点または終点を移動することによって描画した矩形の
拡大・縮小を行なう描画変更手段と、 前記描画した矩形に基づいて表示する各種図形を記憶さ
せた図形記憶手段と、 前記図形記憶手段から所定の図形を選択する図形選択手
段と、 前記描画した矩形で指定する領域に前記図形選択手段で
選択した図形を描画する選択図形描画手段とを具備する
ことを特徴とする図形描画装置。
1. A start point designating means for designating a start point, an end point designating means for designating an end point on a diagonal line with the start point, and a start point end point for switching the start point and the end point designated by the start point designating means and the end point designating means in reverse. Movement switching means, rectangle drawing means for drawing a rectangle from the start point and end point, drawing change means for enlarging / reducing the drawn rectangle by moving the start point or end point, and various figures displayed based on the drawn rectangle A graphic storage unit that stores the graphic, a graphic selection unit that selects a predetermined graphic from the graphic storage unit, and a selected graphic drawing unit that draws the graphic selected by the graphic selection unit in an area designated by the drawn rectangle. A graphic drawing apparatus comprising:
JP03307727A 1991-11-22 1991-11-22 Graphic drawing device Expired - Fee Related JP3081320B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03307727A JP3081320B2 (en) 1991-11-22 1991-11-22 Graphic drawing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03307727A JP3081320B2 (en) 1991-11-22 1991-11-22 Graphic drawing device

Publications (2)

Publication Number Publication Date
JPH05143705A true JPH05143705A (en) 1993-06-11
JP3081320B2 JP3081320B2 (en) 2000-08-28

Family

ID=17972532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03307727A Expired - Fee Related JP3081320B2 (en) 1991-11-22 1991-11-22 Graphic drawing device

Country Status (1)

Country Link
JP (1) JP3081320B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2337955C (en) 2000-03-15 2006-07-25 Hoya Corporation Plastic lenses for spectacles

Also Published As

Publication number Publication date
JP3081320B2 (en) 2000-08-28

Similar Documents

Publication Publication Date Title
JPS61194577A (en) Editing of graphic object
EP0217048A2 (en) Method for editing a graphic object in an interactive draw graphic system
JP2618145B2 (en) Figure creation method and creation apparatus using figure icons
JP3391852B2 (en) Document processing apparatus and method
JP3081320B2 (en) Graphic drawing device
JPH05143704A (en) Graphic plotting device
JP3343987B2 (en) Image processing device
JPH06295322A (en) Device and method for displaying segment
JP2829079B2 (en) Information processing apparatus and information processing method
JP3113022B2 (en) Large arc diameter dimensioning method and apparatus
JPH08272994A (en) Device and method for information processing
JPH04320579A (en) Image processor
JPH04369717A (en) Information processing method and its device
JPH05128228A (en) Graphic processor
JPS62293474A (en) Graphic data processor
JPS60246433A (en) Command indicating system of document processor
JP3186175B2 (en) Automatic drafting equipment
JPH0696080A (en) Document preparing device having multi-window function and multi-window size changing method
JPH06295328A (en) Method and device for controlling display
JPH05135050A (en) Line segment attribute display method
JPH05101044A (en) Document processor
JPH04191972A (en) Editing system for character attribute
JPH09282480A (en) Processor and method for graphic processing, and storage medium stored with program for graphic processing
JPH04143870A (en) Graphic control system
JPH07114646A (en) Word processor and object specifying method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees