Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3177359B2 - Graphic drawing device - Google Patents
[go: Go Back, main page]

JP3177359B2 - Graphic drawing device - Google Patents

Graphic drawing device

Info

Publication number
JP3177359B2
JP3177359B2 JP27893993A JP27893993A JP3177359B2 JP 3177359 B2 JP3177359 B2 JP 3177359B2 JP 27893993 A JP27893993 A JP 27893993A JP 27893993 A JP27893993 A JP 27893993A JP 3177359 B2 JP3177359 B2 JP 3177359B2
Authority
JP
Japan
Prior art keywords
graphic
point
pattern
end point
column
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.)
Expired - Lifetime
Application number
JP27893993A
Other languages
Japanese (ja)
Other versions
JPH0785300A (en
Inventor
努 田中
剛 滝川
克洋 鈴木
正人 矢野
義則 恩田
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 JP27893993A priority Critical patent/JP3177359B2/en
Publication of JPH0785300A publication Critical patent/JPH0785300A/en
Application granted granted Critical
Publication of JP3177359B2 publication Critical patent/JP3177359B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、例えば始点及び終点の
2点を指定して所要の図形を描画する図形描画装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic drawing apparatus for drawing a required graphic by designating two points, for example, a start point and an end point.

【0002】[0002]

【従来の技術】図15は、図形描画装置の構成を示すブロ
ック図である。この装置は、液晶,CRT等の表示装置
2,オペレータがデータ及び各種指示情報を入力するキ
ーボード3,作成した図形データを出力するためのプリ
ンタ4,CPU(中央処理装置)1が実行するプログラ
ム及び固定的なデータを有するROM(読み出し専用メ
モリ)5,作成した図形データ,CPU1が使用する変
数等のデータを格納するRAM(随時読み出し/書き込
み可能メモリ)6等の各装置を備え、これら各装置の制
御をCPU1が行うようになっている。
2. Description of the Related Art FIG. 15 is a block diagram showing a configuration of a graphic drawing apparatus. The apparatus includes a display device such as a liquid crystal display or a CRT, a keyboard for an operator to input data and various kinds of instruction information, a printer for outputting created graphic data, a program executed by a CPU (central processing unit) 1 and Each device includes a ROM (read only memory) 5 having fixed data, a RAM 6 (randomly readable / writable memory) 6 for storing created graphic data, data such as variables used by the CPU 1, and the like. Is controlled by the CPU 1.

【0003】図16は、キーボード3を示す平面図であ
る。図の上方には、各キーに夫々機能,図形種等の指示
情報が割り当てられており、いずれかのキーを入力する
ことにより、機能,図形種等の指示を選択するためのソ
フトキー7が配置されており、右方にカーソル移動キー
8,カーソル移動キー8の下方に各機能を実行すること
を指示する実行キー9,左下に一旦指示した機能を取り
消すことを指示する取消キー10が夫々配置されている。
FIG. 16 is a plan view showing the keyboard 3. In the upper part of the figure, instruction information such as a function and a graphic type is assigned to each key, and a soft key 7 for selecting an instruction such as a function or a graphic type by inputting one of the keys. The cursor movement key 8 is arranged to the right, an execution key 9 below the cursor movement key 8 to instruct each function to be executed, and a cancel key 10 to the lower left to instruct cancellation of the function once instructed. Are located.

【0004】図17は、機能数が少なく安価なワードプロ
セッサの如き従来装置に備えられたCPU1の主な制御
機能を示す機能ブロック図である。キーボード3から入
力されるデータを制御する、カーソル制御部11, 文字制
御部12,ソフトキー入力制御部13を備え、入力されるデ
ータを夫々所要の制御部にて制御し、全体制御部19へ与
えるようになっている。また全体制御部19は、この与え
られたデータを図形データ入出力部14又は制御変数入出
力部15へ与え、ROM5,RAM6から実行プログラム
を読み出したり、RAM6へのデータの書き込みを行っ
たりするようになっている。そして表示装置2にて表示
するデータは、図形描画制御部16, カーソル表示制御部
17, ソフトキー表示制御部18のうちの所要の制御部へ与
えられ制御されて表示装置2へ与えられるようになって
いる。
FIG. 17 is a functional block diagram showing main control functions of a CPU 1 provided in a conventional apparatus such as a word processor having a small number of functions and being inexpensive. A cursor control unit 11, a character control unit 12, and a soft key input control unit 13 for controlling data input from the keyboard 3 are provided. Each input data is controlled by a required control unit. To give. Further, the overall control unit 19 supplies the given data to the graphic data input / output unit 14 or the control variable input / output unit 15 so as to read the execution program from the ROM 5 and the RAM 6 and write the data into the RAM 6. It has become. The data to be displayed on the display device 2 includes a graphic drawing control unit 16 and a cursor display control unit.
17, is provided to a required control unit of the soft key display control unit 18 and is controlled and provided to the display device 2.

【0005】以上の如き構成の従来装置においては、2
点の位置情報で規定される図形データを描画する場合、
2点によって囲まれる領域に収まるような大きさの図形
を描画する機能がある。例えば菱形の図形を描画するに
は、ソフトキー7の操作により菱形という図形種を選択
し、その後カーソル移動キー8の操作により始点S及び
終点Eを指定することにより、図18に示す如く、始点S
のラインから終点Eのラインまでの範囲と、始点Sのカ
ラムから終点Eのカラムまでの範囲とで囲まれる矩形領
域に内接する菱形が描画される。
[0005] In the conventional apparatus having the above-described configuration, 2
When drawing graphic data specified by point position information,
There is a function of drawing a figure having a size that fits in an area surrounded by two points. For example, in order to draw a rhombus figure, the figure type called rhombus is selected by operating the soft key 7, and then the start point S and the end point E are specified by operating the cursor movement key 8, as shown in FIG. S
Is drawn in a rectangular area surrounded by the range from the line to the end point E and the range from the column of the start point S to the column of the end point E.

【0006】[0006]

【発明が解決しようとする課題】このような従来装置に
おいて、例えば先に描画されている線分の端部である点
Aと接続させた菱形を描画する場合は、一旦所要の菱形
を描画した後に、この菱形の位置情報を調整するか、又
は始点S及び終点Eの位置を正確に設定するかの方法が
ある。しかしながら前者の方法は、一旦描画を終了した
後、図形の移動を行う必要があり、作業性が悪い。
In such a conventional apparatus, for example, when drawing a rhombus connected to a point A which is an end of a previously drawn line segment, a required rhombus is once drawn. Later, there is a method of adjusting the position information of the diamond, or setting the positions of the start point S and the end point E accurately. However, in the former method, it is necessary to move the graphic after the drawing is once completed, and the workability is poor.

【0007】後者の方法は菱形の頂点の位置は終点Eの
位置に応じて変化するため、以下のように行う必要があ
る。即ち、図18(a) に示す如き始点Sと同じラインに位
置する菱形の頂点Bとを接続する場合について説明する
と、まず点Aと同じラインであり、点Aから、所望する
菱形のカラム方向長さの半分だけ左側へ移動したカラム
である位置に始点Sを設定し、また始点Sと点Aに関し
左右対称な位置に相当するカラムであり、点Aから、所
望する菱形のライン方向の長さだけ下側へ移動したライ
ンである位置に終点Eを設定する。図18(b) に示す如き
始点Sと同じカラムに位置する菱形の頂点Bと点Aとを
接続する場合も同様である。まず点Aと同じカラムであ
り、点Aから、所望する菱形のライン方向長さの半分だ
け下側へ移動したラインである位置に始点Sを設定し、
また始点Sと点Aに関し上下対称な位置に相当するライ
ンであり、所望する菱形のカラム方向の長さだけ右側へ
移動したカラムである位置に終点Eを設定する。いずれ
の場合も終点Eが少しでもずれると点Aと頂点Bとは一
致しないため、オペレータの非常に熟練した技術を必要
とする。
In the latter method, the positions of the vertices of the rhombus change according to the position of the end point E, and therefore the following method must be performed. That is, a description will be given of a case where the start point S and the diamond vertex B located on the same line as shown in FIG. 18A are connected. First, the point A is the same line, and the desired diamond column direction is A starting point S is set at a position that is a column that has moved to the left by half the length, and a column corresponding to a position symmetrical with respect to the starting point S and the point A. An end point E is set at a position that is a line moved downward by that amount. The same applies to the case where a vertex B and a point A of a rhombus located in the same column as the starting point S as shown in FIG. First, the starting point S is set at a position that is the same column as the point A, and is a line that has moved downward from the point A by half of the desired diamond-shaped line direction length,
An end point E is set at a position corresponding to a line which is vertically symmetrical with respect to the start point S and the point A, and which is a column shifted to the right by a desired length in the column direction of the rhombus. In any case, even if the end point E is slightly deviated, the point A and the vertex B do not coincide with each other, so that very skilled skill of the operator is required.

【0008】また従来装置では、図形データの構造が図
形種により異なるため、描画中の図形の種類を変更する
ことは不可能であり、この変更を行いたい場合は、描画
処理を取り消し、再度図形種を指定し直してから描画を
行うほか方法はなかった。
Further, in the conventional apparatus, since the structure of the graphic data differs depending on the graphic type, it is impossible to change the type of the graphic being drawn. If this change is desired, the drawing process is canceled and the graphic processing is performed again. There was no other way but to specify the seed and then draw.

【0009】本発明は、斯かる事情に鑑みてなされたも
のであり、図形に関与する所要の点を固定した複数の図
形パターンを設定しておき、与えられる2点の位置情報
から図形パターンを判定することにより、図形の位置合
わせが簡単なキー操作にて、しかも短時間に行うことが
可能な図形描画装置を提供することを目的とする。また
一旦、前記図形パターンを判定した後、2点の位置関係
又は図形種を変更し、再度図形パターンの判定を行うこ
とが可能な構成とすることにより、描画中に図形変更を
行う場合も描画の作業を最初から繰り返す必要がない図
形描画装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and sets a plurality of graphic patterns in which required points related to a graphic are fixed, and converts the graphic pattern from positional information of two given points. It is an object of the present invention to provide a graphic drawing apparatus that can determine a position of a graphic by a simple key operation and in a short time. Also, once the graphic pattern is determined, the positional relationship between two points or the graphic type is changed, and the graphic pattern can be determined again. It is an object of the present invention to provide a graphic drawing apparatus which does not need to repeat the operation from the beginning.

【0010】[0010]

【課題を解決するための手段】第1発明に係る文書作成
処理装置は、図形の描画を指示する2点の位置情報及び
図形の種類を示す図形種情報により規定される図形を描
画する図形描画装置において、前記2点の位置関係によ
って描画領域と前記2点間を伸縮した際に固定される図
形に関与する固定点の位置が異なる複数の図形パターン
が設定してあり、指示された前記2点の位置関係に基づ
いて該当する図形パターンを判定する判定手段と、該手
段により判定された図形パターンに基づいて図形の描画
位置を演算する手段と、該手段により演算された描画位
置、及び指定された図形種に基づいて描画を行う手段と
を備えることを特徴とする。
According to a first aspect of the present invention, there is provided a document creation processing apparatus which draws a graphic defined by position information of two points indicating drawing of a graphic and graphic type information indicating a type of the graphic. In the device, the positional relationship between the two points
Fixed when the drawing area and the two points are expanded and contracted
Position of the fixed points involved in shape Yes set different graphic patterns, determining means for graphic patterns applicable on the basis of the positional relationship between the indicated the two points, is determined by said means figure It is characterized by comprising means for calculating a drawing position of a figure based on a pattern, and means for performing drawing based on the drawing position calculated by the means and a designated figure type.

【0011】第2発明に係る図形描画装置は、第1発明
において、前記図形パターンを判定した後、前記2点の
位置関係、及び/又は図形種を変更する手段と、該手段
により変更を実施した後、再度図形パターンの判定を行
う手段とを備えることを特徴とする。
A graphic drawing apparatus according to a second aspect of the present invention, in the first aspect, comprising: means for changing the positional relationship between the two points and / or the type of the graphic after determining the graphic pattern; And a means for re-determining the graphic pattern.

【0012】[0012]

【作用】第1発明にあっては、2点の位置関係によっ
て、図形上の点又は図形の中心,図形の位置を示す点
等、所要の異なる点を固定する図形パターンを作成して
おき、入力された2点の位置情報に基づいて図形パター
ンを判定し、描画する。これにより図形に関与する所要
の点を固定して図形を描画することができるので、例え
ば他の図形との接続,位置合わせ等の作業が容易に行え
る。また図形の大きさ,形状等を変更する場合でも、最
初の位置関係を保持していれば、所要の点は固定されて
いるので、描画の作業を最初から繰り返す必要がない。
According to the first aspect of the present invention, a graphic pattern for fixing required different points such as a point on a graphic, a center of the graphic, a point indicating the position of the graphic, and the like is created according to a positional relationship between the two points. The graphic pattern is determined based on the input position information of the two points and is drawn. This makes it possible to draw a graphic by fixing required points involved in the graphic, so that, for example, operations such as connection with another graphic and alignment can be easily performed. Even when the size, shape, and the like of the figure are changed, if the initial positional relationship is maintained, the required points are fixed, and it is not necessary to repeat the drawing operation from the beginning.

【0013】第2発明にあっては、図形パターンを一旦
判定した後でも、2点の位置関係及び/又は図形種を変
更した後に再度図形パターンを判定する手段を備えるこ
とにより、描画中において、これらの変更が行えるの
で、図形の大きさ,形状,種類,図形に関与する固定点
等を容易に変更することができる。従って他の図形との
接続,位置合わせ、また複雑な図形描画等の作業が容易
に行える。
According to the second aspect of the present invention, even after the graphic pattern is once determined, a means for determining the graphic pattern again after changing the positional relationship between two points and / or the graphic type is provided, so that during the drawing, Since these changes can be made, it is possible to easily change the size, shape, type, fixed points related to the figure, and the like of the figure. Therefore, operations such as connection with other figures, positioning, and complicated figure drawing can be easily performed.

【0014】[0014]

【実施例】以下、本発明をその実施例を示す図面に基づ
き具体的に説明する。図1は、本発明に係る図形描画装
置におけるCPUの主な制御機能を示す機能ブロック図
である。図15に示すキーボード3から入力されるデータ
を制御する、カーソル制御部11, 文字制御部12,ソフト
キー入力制御部13を備え、入力されるデータを夫々所要
の制御部にて制御し、全体制御部19へ与えるようになっ
ている。また全体制御部19は、この与えられたデータを
図形データ入出力部14又は制御変数入出力部15へ与え、
ROM5,RAM6から実行プログラムを読み出した
り、RAM6へのデータの書き込みを行ったりするよう
になっている。そして表示装置2(図15参照) にて表示
するデータは、図形描画制御部16, カーソル表示制御部
17, ソフトキー表示制御部18のうちの所要の制御部へ与
えられ制御されて表示装置2へ与えられるようになって
いる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be specifically described below with reference to the drawings showing the embodiments. FIG. 1 is a functional block diagram showing main control functions of the CPU in the graphic drawing apparatus according to the present invention. A cursor control unit 11, a character control unit 12, and a soft key input control unit 13 for controlling data input from the keyboard 3 shown in FIG. 15 are provided. It is provided to the control unit 19. The overall control unit 19 gives the given data to the graphic data input / output unit 14 or the control variable input / output unit 15,
An execution program is read from the ROM 5 and the RAM 6 and data is written to the RAM 6. The data displayed on the display device 2 (see FIG. 15 ) includes the graphic drawing control unit 16 and the cursor display control unit.
17, is provided to a required control unit of the soft key display control unit 18 and is controlled and provided to the display device 2.

【0015】以上は従来装置と同様であるが本発明装置
においては、カーソル制御部11及びソフトキー入力制御
部13から与えられる始点S,終点Eの位置情報に基づい
て、これら始点S,終点Eの位置関係が、予め設定して
ある、図形に関与する固定点が異なる複数の図形パター
ンのうちどの図形パターンに相当するかを判定し、さら
に始点S,終点Eの位置情報及び図形種データに基づい
て図形描画位置の演算を行う図形パターン判定部20を備
える。そしてこの図形描画位置を示すデータが全体制御
部19を介して図形描画制御部16へ与えられ、図形描画制
御部16では、この図形描画位置,図形種等の図形データ
に基づいて図形描画を行うようになっている。
The above is the same as the conventional apparatus, but in the apparatus of the present invention, based on the position information of the start point S and the end point E provided from the cursor control unit 11 and the soft key input control unit 13, these start point S and end point E It is determined which of the plurality of pre-set graphic patterns whose fixed points relating to the figures are different corresponds to which graphic pattern, and the positional information of the start point S and the end point E and the graphic type data A graphic pattern determination unit 20 for calculating a graphic drawing position based on the graphic pattern determination unit 20 is provided. Then, data indicating the figure drawing position is given to the figure drawing control unit 16 via the overall control unit 19, and the figure drawing control unit 16 performs figure drawing based on the figure data such as the figure drawing position and the figure type. It has become.

【0016】図2は、本実施例における図形パターンを
説明する図であり、菱形の場合を示す。本実施例では4
つの図形パターンが設定してあり、第1の図形パターン
は、菱形に外接する、画面の水平(カラム),垂直(ラ
イン)方向の線からなる矩形(図中破線で示す)を想定
した場合に、該矩形の左上の頂点に相当する点F1 を固
定点とするものである。第2パターンは菱形の上側の頂
点F2 を固定点とするものであり、第3パターンは菱形
中央に位置する点3 を固定点とするものであり、第
4パターンは菱形の左側の頂点4 を固定点とするもの
である。これら固定点は任意に指定される始点Sの位置
であり、終点Eが始点Sに対してどの位置にあるかによ
って判定される図形パターンは異なる。この判定方法に
ついては後述する。
FIG. 2 is a diagram for explaining a graphic pattern in the present embodiment, and shows a case of a rhombus. In this embodiment, 4
One figure pattern is set, and the first figure pattern is assumed to be a rectangle (shown by a broken line in the figure) composed of horizontal (column) and vertical (line) lines circumscribing a rhombus. , in which a fixed point F 1 point corresponding to the upper left vertex of the said rectangular. The second pattern has a fixed point at the vertex F 2 on the upper side of the diamond, the third pattern has a fixed point at the point F 3 located at the center of the diamond, and the fourth pattern has a fixed point at the left side of the diamond . it is to a fixed point vertex F 4. These fixed points are the positions of the start point S arbitrarily specified, and the figure pattern to be determined differs depending on the position of the end point E with respect to the start point S. This determination method will be described later.

【0017】図3は、図形データの構成要素を示す説明
図である。図形データは、データの確定状態,非確定状
態(処理選択状態)等、描画中の処理状態を示す状態フ
ラグ30, 四角形, 菱形等の図形の種類を示す図形種31,
線種,ハッチ等の属性を示す図形属性32, 図形が存在す
る左端のカラムと上端のラインとの交点を座標点とする
描画左上位置33, 図形が存在する右端のカラムと下端の
ラインとの交点を座標とする描画右下位置34の各情報で
構成される。本発明においては図形種31が異なっても図
形データ構造は共通としているので、図形種31を変更す
る場合でも図形データ構造全てをかえる必要がなく、描
画左上位置33, 描画右下位置34又は図形種31の変更を行
うことができる。
FIG. 3 is an explanatory diagram showing the components of the graphic data. The figure data includes a state flag 30, which indicates a processing state during drawing, such as a data confirmed state, an unconfirmed state (processing selection state), and a graphic type 31, which indicates a type of a figure such as a rectangle or a diamond.
Graphic attributes 32 indicating attributes such as line type and hatch, upper left position 33 where the intersection point of the leftmost column where the graphic exists and the uppermost line is the coordinate point, and the rightmost column and lowermost line where the graphic exists It consists of information on the lower right position 34 in the drawing with the intersection as coordinates. In the present invention, since the graphic data structure is common even when the graphic type 31 is different, even when the graphic type 31 is changed, it is not necessary to change the entire graphic data structure, and the upper left drawing position 33, the lower right drawing position 34 or the graphic Species 31 changes can be made.

【0018】図4は、本発明装置における処理手順を示
すフローチャートである。まずオペレータがキーボード
3にて任意のカーソル位置を始点Sとして指定すると、
この位置情報を初期値としてCPU内のレジスタに保存
する。始点Sの初期値が設定されるとこれと同等の値を
終点Eの初期値としてレジスタに保存する(ステップS
1)。次にオペレータがキーボード3にて図形種を指定
すると、この図形種データも初期値としてCPU内のレ
ジスタに保存する(ステップS2)。
FIG. 4 is a flowchart showing a processing procedure in the apparatus of the present invention. First, when the operator designates an arbitrary cursor position on the keyboard 3 as a starting point S,
This position information is stored as an initial value in a register in the CPU. When the initial value of the start point S is set, a value equivalent to this is stored in the register as the initial value of the end point E (step S).
1). Next, when the operator specifies a graphic type using the keyboard 3, the graphic type data is also stored as an initial value in a register in the CPU (step S2).

【0019】そして図形パターン判定部20が、始点Sと
終点Eとの位置関係から後述する判定方法に基づいて図
形パターンの判定および描画左上位置情報,描画右下位
置情報の演算を行い(ステップS3)、この図形パター
ン及びステップS3で求められる描画左上位置情報,描
画右下位置情報及び図形種データに基づいて図形を描画
し、表示装置にて図形を表示する(ステップS4)。描
画左上位置は図形が存在する最も左のカラムと最も上の
カラムとの交点に位置するものであり、図2における図
形が外接する矩形の左上の頂点D1 である。また描画右
下位置は図形が存在する最も右のカラムと最も下のカラ
ムとの交点に位置するものであり、図2における図形が
外接する矩形の右下の頂点D2 である。この状態でオペ
レータのキー入力待ち状態に入り、例えばオペレータが
表示装置に表示されている画面を見て何らかのキーを入
力する(ステップS5)と、表示装置に表示した図形を
一旦消去する(ステップS6)。
The graphic pattern determining unit 20 determines the graphic pattern and calculates the upper left position information and the lower right position information based on the positional relationship between the start point S and the end point E based on a determination method described later (step S3). ), A graphic is drawn based on the graphic pattern, the upper left drawing position information, the lower right drawing position information and the graphic type data obtained in step S3, and the graphic is displayed on the display device (step S4). Drawing the upper left position are those located at the intersection of the uppermost column leftmost column that there is graphic, the vertex D 1 of the upper left rectangular shape in FIG. 2 is circumscribed. The drawing the lower right position are those located at the intersection of the rightmost column and lowermost column is present figure, the vertex D 2 at the bottom right of the rectangular shape in FIG. 2 is circumscribed. In this state, the apparatus enters a state of waiting for key input by the operator. For example, when the operator looks at the screen displayed on the display device and inputs any key (step S5), the figure displayed on the display device is temporarily deleted (step S6). ).

【0020】その後、オペレータが入力したキーが実行
キー9(図16参照) であったか否かを判断し(ステップ
S7)、実行キー9が入力されたと判断した場合は、先
程の図形位置で確定するため再度図形の描画を行い(ス
テップS8)、さらに描画左上位置,描画右下位置,図
形種等の図形データをRAM6に保存し(ステップS
9)、作成プログラムを終了する。
Thereafter, it is determined whether or not the key input by the operator is the execution key 9 (see FIG. 16) (step S7). If it is determined that the execution key 9 has been input, the figure position is determined. Therefore, the figure is drawn again (step S8), and the figure data such as the upper left position of the drawing, the lower right position of the drawing, and the type of the figure are stored in the RAM 6 (step S8).
9) End the creation program.

【0021】ステップS7にて実行キー9が入力されな
かったと判断した場合は、取消キー10(図16参照) が入
力されたか否かを判断し(ステップS10)、取消キー10
が入力されたと判断した場合は、作成プログラムを終了
し、セットされた初期値は消去される。ステップS10に
て取消キー10が入力されなかったと判断した場合は、カ
ーソルキー8(図16参照) が入力されたか否かを判断し
(ステップS11)、カーソルキー8が入力されたと判断
した場合は、カーソルキー8の入力によるカーソル8の
位置情報を終点Eの位置情報として更新して(ステップ
S12)、本実施例にて新たに設定された、図形種変更の
指示情報が割り当てられた図形種変更キー(図示せず)
が入力されたか否かを判断する(ステップS13)。ステ
ップS11にてカーソルキーが入力されなかったと判断し
た場合は、直接このステップS13へ進む。
If it is determined in step S7 that the execution key 9 has not been input, it is determined whether or not a cancel key 10 (see FIG. 16) has been input (step S10).
When it is determined that is input, the creation program is terminated and the set initial value is deleted. If it is determined in step S10 that the cancel key 10 has not been input, it is determined whether or not the cursor key 8 (see FIG. 16) has been input (step S11). If it has been determined that the cursor key 8 has been input, Then, the position information of the cursor 8 by the input of the cursor key 8 is updated as the position information of the end point E (step S12), and the graphic type to which the instruction information of the graphic type change newly assigned in the present embodiment is assigned. Change key (not shown)
Is determined (step S13). If it is determined in step S11 that the cursor key has not been input, the process directly proceeds to step S13.

【0022】ステップS13にて図形種変更キーが入力さ
れたと判断した場合は、図形種の入力に基づいて図形種
を更新する(ステップS14)。そしてステップS3へ戻
り、最初にセットされている始点Sの位置情報及びその
とき与えられている終点Eの位置情報に基づいて再度図
形パターンの判定を行う。なおステップS13にて図形種
変更キーが入力されなかったと判断した場合は、直接ス
テップS3へ戻り、再度図形パターンの判定を行う。そ
して図形パターンの再判定の後、以下のフローを繰り返
す。
If it is determined in step S13 that the graphic type change key has been input, the graphic type is updated based on the input of the graphic type (step S14). Then, returning to step S3, the figure pattern is determined again based on the position information of the start point S set first and the position information of the end point E given at that time. If it is determined in step S13 that the graphic type change key has not been input, the process directly returns to step S3 to determine the graphic pattern again. After redetermining the graphic pattern, the following flow is repeated.

【0023】初回の処理で与えられているデータでは、
始点Sの位置と終点Eの位置は同等であるため、ステッ
プS4にて描画されている図形は点であり、ステップS
8へ進み作成プログラムを終了しても得られる図形は点
である。従って少なくとも1回は終点Eを更新するステ
ップを経ないと2次元図形は得られないことになる。
In the data given in the first processing,
Since the position of the start point S and the position of the end point E are equivalent, the figure drawn in step S4 is a point, and
Even when the program proceeds to step 8 and the creation program ends, the figure obtained is a point. Therefore, a two-dimensional figure cannot be obtained unless the end point E is updated at least once.

【0024】次に本発明装置における図形パターンの判
定方法について説明する。図形パターンは、始点Sと終
点Eとの位置関係により以下の4パターンに分ける。図
5に示す如く、始点Sを、画面上において直交する2方
向(カラム方向,ライン方向)を座標軸とした座標系の
仮の原点とした場合に、終点Eが第4象限に存在すれば
第1パターン、また第3象限に存在すれば第2パター
ン、第2象限に存在すれば第3パターン、第1象限に存
在すれば第4パターンとする。
Next, a method of determining a graphic pattern in the apparatus of the present invention will be described. The graphic pattern is divided into the following four patterns according to the positional relationship between the start point S and the end point E. As shown in FIG. 5, when the starting point S is a temporary origin of a coordinate system using two orthogonal directions (column direction and line direction) on the screen as coordinate axes, if the end point E exists in the fourth quadrant, One pattern, a second pattern if present in the third quadrant, a third pattern if present in the second quadrant, and a fourth pattern if present in the first quadrant.

【0025】図6は、終点Eが第4象限に存在する第1
パターンの場合を示し、菱形を描画している状態を示
す。この第1パターンでは従来と同様、始点Sと終点E
とのライン座標及びカラム座標にて囲まれる領域に図形
が描画され、描画左上位置を固定点とするものである。
このとき描画左上位置D1 は始点Sと同等であり、描画
右下位置D2 は終点Eと同等である。
FIG. 6 shows a case where the end point E exists in the fourth quadrant.
This shows the case of a pattern, in which a diamond is drawn. In this first pattern, the start point S and the end point E
Is drawn in an area surrounded by the line coordinates and the column coordinates, and the upper left position of the drawing is used as a fixed point.
At this time, the upper left drawing position D 1 is equivalent to the start point S, and the lower right drawing position D 2 is equivalent to the end point E.

【0026】従って始点S及び終点Eの位置情報から描
画左上位置D1 ,描画右下位置D2を求める手順は、そ
のフローチャートを図7に示す如く、始点Sのライン座
標Sy を描画左上位置D1 のライン座標D1yにセット
し、始点Sのカラム座標Sx を描画左上位置D1 のカラ
ム座標D1xにセットする(ステップS21)。そして終点
Eのライン座標Ey を描画右下位置D2 のライン座標D
2yにセットし、終点Eのカラム座標Ex を描画右下位置
2 のカラム座標D2xにセットする(ステップS22)。
[0026] Thus the drawing the upper left position D 1 from the position information of the start point S and end point E, the procedure for obtaining the drawing lower right position D 2, as shown the flow chart in FIG. 7, the drawing upper left position line coordinates S y of the start point S set the line coordinates D 1y of D 1, and sets the column coordinate S x of the starting point S to the column coordinate D 1x drawing the upper left position D 1 (step S21). Then, the line coordinates E y of the end point E are drawn to the line coordinates D of the lower right position D 2 of the drawing.
Set to 2y, set the column coordinates E x of the end point E to the column coordinate D 2x drawing the lower right position D 2 (step S22).

【0027】図8は、終点Eが第3象限に存在する第2
パターンの場合を示し、菱形を描画している状態を示
す。この第2パターンでは、始点Sを通るy軸を中心に
左右に対称である図形が描画され、図形の最上ライン中
央の点を固定点とするものである。このとき描画左上位
置D1 のライン座標は始点Sのライン座標と同等であ
り、描画左上位置D1 のカラム座標は終点Eのカラム座
標と同等である。また描画右下位置D2 のライン座標は
終点Eのライン座標と同等であり、描画右下位置D2
カラム座標は、始点Sのカラム座標と終点Eのカラム座
標との差分を始点Sのカラム座標に加えたものと同等で
ある。
FIG. 8 shows a second example in which the end point E exists in the third quadrant.
This shows the case of a pattern, in which a diamond is drawn. In the second pattern, a figure which is symmetrical left and right around the y-axis passing through the starting point S is drawn, and a point at the center of the uppermost line of the figure is set as a fixed point. At this time, the line coordinates of the upper left drawing position D 1 are equivalent to the line coordinates of the start point S, and the column coordinates of the upper left drawing position D 1 are equivalent to the column coordinates of the end point E. The line coordinates of the lower right position D 2 are the same as the line coordinates of the end point E, and the column coordinates of the lower right position D 2 are the difference between the column coordinates of the start point S and the column coordinates of the end point E. Equivalent to adding to column coordinates.

【0028】従って始点S及び終点Eの位置情報から描
画左上位置D1 ,描画右下位置D2を求める手順は、そ
のフローチャートを図9に示す如く、始点Sのライン座
標Sy を描画左上位置D1 のライン座標D1yにセット
し、終点Eのカラム座標Ex を描画左上位置D1 のカラ
ム座標D1xにセットする(ステップS31)。そして終点
Eのライン座標Ey を描画右下位置D2 のライン座標D
2yにセットし、始点Sのカラム座標Sx と終点Eのカラ
ム座標Ex との差分を始点Sのカラム座標Sx に加えた
ものを描画右下位置D2 のカラム座標D2xにセットする
(ステップS32)。
[0028] Thus the drawing the upper left position D 1 from the position information of the start point S and end point E, the procedure for obtaining the drawing lower right position D 2, as shown the flow chart in FIG. 9, the drawing upper left position line coordinates S y of the start point S set the line coordinates D 1y of D 1, and sets the column coordinates E x of the end point E to the column coordinate D 1x drawing the upper left position D 1 (step S31). Then, the line coordinates E y of the end point E are drawn to the line coordinates D of the lower right position D 2 of the drawing.
Set to 2y, set the column coordinate S x and the column coordinate D 2x drawing what the difference between the column coordinates E x of the end point E was added to the column coordinate S x of the starting point S lower right position D 2 of the start point S (Step S32).

【0029】図10は、終点Eが第2象限に存在する第3
パターンの場合を示し、菱形を描画している状態を示
す。この第3パターンでは、始点Sを通るx軸を中心に
上下対称であり、かつ始点Sを通るy軸を中心に左右に
対称である図形が描画され、図形中心点を固定点とする
ものである。このとき描画左上位置D1 のライン座標は
終点Eのライン座標と同等であり、描画左上位置D1
カラム座標は終点Eのカラム座標と同等である。また描
画右下位置D2 のライン座標は、始点Sのライン座標と
終点Eのライン座標との差分を始点Sのライン座標に加
えたものと同等であり、描画右下位置D2 のカラム座標
は、始点Sのカラム座標と終点Eのカラム座標との差分
を始点Sのカラム座標に加えたものと同等である。
FIG. 10 shows a state in which the end point E exists in the third quadrant in the second quadrant.
This shows the case of a pattern, in which a diamond is drawn. In this third pattern, a figure that is vertically symmetrical about the x-axis passing through the starting point S and symmetrical left and right about the y-axis passing through the starting point S is drawn, and the figure center point is a fixed point. is there. At this time, the line coordinates of the upper left drawing position D 1 are equivalent to the line coordinates of the end point E, and the column coordinates of the upper left drawing position D 1 are equivalent to the column coordinates of the end point E. The line coordinates of the drawing the lower right position D 2 is equivalent to plus the difference between line coordinates of the line coordinates and the end point E of the starting point S to the line coordinates of the starting point S, drawing the lower right position D 2 column coordinates Is equivalent to adding the difference between the column coordinates of the start point S and the column coordinates of the end point E to the column coordinates of the start point S.

【0030】従って始点S及び終点Eの位置情報から描
画左上位置D1 ,描画右下位置D2を求める手順は、そ
のフローチャートを図11に示す如く、終点Eのライン座
標Ey を描画左上位置D1 のライン座標D1yにセット
し、終点Eのカラム座標Ex を描画左上位置D1 のカラ
ム座標D1xにセットする(ステップS41)。そして始点
Sのライン座標Sy と終点Eのライン座標Ey との差分
を始点Sのライン座標Sy に加えたものを描画右下位置
2 のライン座標D2yにセットし、始点Sのカラム座標
x と終点Eのカラム座標Ex との差分を始点Sのカラ
ム座標Sx に加えたものを描画右下位置D2 のカラム座
標D2xにセットする(ステップS42)。
The procedure from the position information of the start point S and end point E determine the drawing the upper left position D 1, rendering lower right position D 2 is therefore, as shown the flow chart in FIG. 11, the drawing upper left position line coordinates E y of the end point E set the line coordinates D 1y of D 1, and sets the column coordinates E x of the end point E to the column coordinate D 1x drawing the upper left position D 1 (step S41). Then set what the difference between the line coordinates S y and the line coordinates E y of the end point E of the starting point S is added to the line coordinate S y of the start point S in the drawing the lower right position D 2 line coordinates D 2y, the starting point S column coordinates S x and sets those applied to the column coordinate S x of the starting point S the difference between the column coordinates E x a column coordinate D 2x drawing the lower right position D 2 of the end point E (step S42).

【0031】図12は、終点Eが第1象限に存在する第4
パターンの場合を示し、菱形を描画している状態を示
す。この第4パターンでは、始点Sを通るx軸を中心に
上下対称である図形が描画され、図形の左端カラム中央
の点を固定点とするものである。このとき描画左上位置
1 のライン座標は終点Eのライン座標と同等であり、
描画左上位置D1 のカラム座標は始点Sのカラム座標と
同等である。また描画右下位置D2 のライン座標は、始
点Sのライン座標と終点Eのライン座標との差分を始点
Sのライン座標に加えたものと同等であり、描画右下位
置D2 のカラム座標は、終点Eのカラム座標と同等であ
る。
FIG. 12 shows a fourth example in which the end point E exists in the first quadrant.
This shows the case of a pattern, in which a diamond is drawn. In the fourth pattern, a figure which is vertically symmetrical about the x-axis passing through the starting point S is drawn, and a point at the center of the left end column of the figure is set as a fixed point. Line coordinates of the drawing the upper left position D 1 at this time is equivalent to the line coordinate of the end point E,
Column coordinates of the drawing the upper left position D 1 is equivalent to the column coordinate of the start point S. The line coordinates of the drawing the lower right position D 2 is equivalent to plus the difference between line coordinates of the line coordinates and the end point E of the starting point S to the line coordinates of the starting point S, drawing the lower right position D 2 column coordinates Is equivalent to the column coordinates of the end point E.

【0032】従って始点S及び終点Eの位置情報から描
画左上位置D1 ,描画右下位置D2を求める手順は、そ
のフローチャートを図13に示す如く、終点Eのライン座
標Ey を描画左上位置D1 のライン座標D1yにセット
し、始点Sのカラム座標Sx を描画左上位置D1 のカラ
ム座標D1xにセットする(ステップS51)。そして始点
Sのライン座標Sy と終点Eのライン座標Ey との差分
を始点Sのライン座標Sy に加えたものを描画右下位置
2 のライン座標D2yにセットし、終点Eのカラム座標
x を描画右下位置D2 のカラム座標D2xにセットする
(ステップS52)。
[0032] Thus the drawing from the position information of the start point S and end point E upper left position D 1, the procedure for obtaining the drawing lower right position D 2, as shown the flow chart in FIG. 13, the drawing upper left position line coordinates E y of the end point E set the line coordinates D 1y of D 1, and sets the column coordinate S x of the starting point S to the column coordinate D 1x drawing the upper left position D 1 (step S51). Then set what the difference between the line coordinates S y and the line coordinates E y of the end point E of the starting point S is added to the line coordinate S y of the start point S in the drawing the lower right position D 2 line coordinates D 2y, endpoint E the column coordinates E x is set to the column coordinate D 2x drawing the lower right position D 2 (step S52).

【0033】以上の如き構成の本発明装置にて描画する
具体例について説明する。菱形の上側に位置する頂点B
(図14(a))を固定したい場合は、終点Eを始点Sの左下
に設定することにより、終点Eは始点Sを原点とした座
標系において第3象限に位置するため図形パターン判定
部20は図8に示す第2パターンと判定する。このとき菱
形の大きさ,形状をかえるために終点Eを移動させて
も、その移動が前述の第3象限内であればこの菱形の上
側の頂点が始点Sとして固定されているため、点Aとの
位置合わせは容易である。図14(a) に示す如く、このよ
うな頂点Bとその上方に描画されている線分の端部であ
る点Aと接続する場合は、最初に始点Sを点Aの位置に
設定し、終点Eを、所要の大きさ,形状の菱形が得られ
る、始点Sの左下の任意の位置に変更し図形を描画す
る。このようにすれば従来より簡単なキー操作で、短時
間に作業を完了することができる。
A specific example of drawing with the apparatus of the present invention having the above configuration will be described. Vertex B located above the diamond
If it is desired to fix (FIG. 14 (a)), the end point E is set to the lower left of the start point S, so that the end point E is located in the third quadrant in the coordinate system with the start point S as the origin. Is determined to be the second pattern shown in FIG. At this time, even if the end point E is moved to change the size and shape of the rhombus, if the movement is within the above-described third quadrant, the upper vertex of the rhombus is fixed as the starting point S. Is easy to align. As shown in FIG. 14 (a), when such a vertex B is connected to a point A which is an end of a line segment drawn above the vertex B, the starting point S is first set to the position of the point A, The end point E is changed to an arbitrary position at the lower left of the start point S where a rhombus of a required size and shape is obtained, and a figure is drawn. In this way, the operation can be completed in a short time with a simpler key operation than in the related art.

【0034】また図14(b) に示す如く、菱形の左側に位
置する頂点Bをその左方に描画されている線分の端部で
ある点Aと接続する場合は、終点Eを始点Sの右上に設
定することにより、終点Eは始点Sを原点とした座標系
において第1象限に位置するため図形パターン判定部20
は図12に示す第4パターンと判定する。そして終点Eを
所要の位置へ移動させて描画を行えば、図形接続が完了
する。
As shown in FIG. 14 (b), when the vertex B located on the left side of the diamond is connected to the point A which is the end of the line segment drawn on the left side, the end point E is connected to the start point S Since the end point E is located in the first quadrant in the coordinate system with the start point S as the origin, the figure pattern determination unit 20
Is determined to be the fourth pattern shown in FIG. When drawing is performed by moving the end point E to a required position, graphic connection is completed.

【0035】このように図形のどの位置を固定したいか
によって、始点Sと終点Eとの位置関係を設定すれば図
形パターン判定部20により所要の図形パターンにて描画
が行える。また終点Eの位置変更及び図形種の変更も一
連の描画作業中において実施できる。これにより図形の
接続等の作業が従来より容易に、しかも短時間に行うこ
とが可能となる。なお本実施例においては菱形の図形を
描画する場合について述べたが、2点の位置情報によっ
て規定されるその他の図形、例えば2等辺三角形等を描
画する場合にも適用が可能なことはいうまでもない。
As described above, if the positional relationship between the start point S and the end point E is set depending on which position of the figure is desired to be fixed, the figure pattern determination unit 20 can perform drawing with a required figure pattern. Further, the position change of the end point E and the change of the graphic type can also be performed during a series of drawing operations. As a result, operations such as connection of figures can be performed more easily and in a shorter time than before. In this embodiment, the case where a rhombic figure is drawn has been described. However, it is needless to say that the present invention can be applied to a case where another figure defined by position information of two points, for example, an isosceles triangle or the like is drawn. Nor.

【0036】[0036]

【発明の効果】以上のように本発明に係る図形描画装置
は、2点の位置関係によって、図形に関与する所要の点
を固定して図形を描画することができるので、例えば他
の図形との接続,位置合わせ等の作業が容易に行える。
また図形の大きさ,形状等を変更する場合でも、最初の
位置関係を保持していれば、所要の点は固定されている
ので、描画の作業を最初から繰り返す必要がない。さら
に図形パターンを判定した後に、2点の位置関係又は図
形種を変更する手段を備えるので、従来のようにこれら
変更のために描画の作業を最初から繰り返す必要がな
い。これらにより作業の簡素化及び時間短縮が実現する
等、本発明は優れた効果を奏する。
As described above, the figure drawing apparatus according to the present invention can draw a figure by fixing required points related to the figure by the positional relationship between two points. Work such as connection and alignment of the camera can be easily performed.
Even when the size, shape, and the like of the figure are changed, if the initial positional relationship is maintained, the required points are fixed, and it is not necessary to repeat the drawing operation from the beginning. Further, since a means for changing the positional relationship of two points or the type of graphic after determining the graphic pattern is provided, it is not necessary to repeat the drawing work from the beginning for these changes as in the conventional case. The present invention achieves excellent effects, such as simplification of work and reduction of time.

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

【図1】本発明に係る図形描画装置の制御機能を示す機
能ブロック図である。
FIG. 1 is a functional block diagram showing a control function of a graphic drawing apparatus according to the present invention.

【図2】本実施例における図形パターンを説明する図で
ある。
FIG. 2 is a diagram illustrating a graphic pattern according to the present embodiment.

【図3】本発明装置における図形データの構成要素を示
す説明図である。
FIG. 3 is an explanatory diagram showing components of graphic data in the apparatus of the present invention.

【図4】本発明装置における処理手順を示すフローチャ
ートである。
FIG. 4 is a flowchart showing a processing procedure in the apparatus of the present invention.

【図5】本実施例における図形パターンを示す説明図で
ある。
FIG. 5 is an explanatory diagram showing a graphic pattern in the present embodiment.

【図6】本実施例における第1パターンを示す説明図で
ある。
FIG. 6 is an explanatory diagram showing a first pattern in the present embodiment.

【図7】第1パターンにおいて図形位置情報を求める処
理手順を示すフローチャートである。
FIG. 7 is a flowchart illustrating a processing procedure for obtaining graphic position information in a first pattern.

【図8】本実施例における第2パターンを示す説明図で
ある。
FIG. 8 is an explanatory diagram showing a second pattern in the present embodiment.

【図9】第2パターンにおいて図形位置情報を求める処
理手順を示すフローチャートである。
FIG. 9 is a flowchart illustrating a processing procedure for obtaining graphic position information in a second pattern.

【図10】本実施例における第3パターンを示す説明図
である。
FIG. 10 is an explanatory diagram showing a third pattern in the present embodiment.

【図11】第3パターンにおいて図形位置情報を求める
処理手順を示すフローチャートである。
FIG. 11 is a flowchart illustrating a processing procedure for obtaining graphic position information in a third pattern.

【図12】本実施例における第4パターンを示す説明図
である。
FIG. 12 is an explanatory diagram showing a fourth pattern in the present embodiment.

【図13】第4パターンにおいて図形位置情報を求める
処理手順を示すフローチャートである。
FIG. 13 is a flowchart illustrating a processing procedure for obtaining graphic position information in a fourth pattern.

【図14】本発明装置における描画の実施状態を示す説
明図である。
FIG. 14 is an explanatory diagram showing a drawing execution state in the apparatus of the present invention.

【図15】図形描画装置の要部構成を示すブロック図で
ある。
FIG. 15 is a block diagram illustrating a main configuration of the graphic drawing apparatus.

【図16】図形描画装置のキーボードを示す平面図であ
る。
FIG. 16 is a plan view showing a keyboard of the graphic drawing apparatus.

【図17】従来の図形描画装置の制御機能を示す機能ブ
ロック図である。
FIG. 17 is a functional block diagram showing a control function of a conventional graphic drawing apparatus.

【図18】従来装置における描画の実施状態を示す説明
図である。
FIG. 18 is an explanatory diagram showing a drawing execution state in a conventional apparatus.

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

11 カーソル制御部 12 文字制御部 13 ソフトキー入力制御部 14 図形データ入出力部 15 制御変数入出力部 16 図形描画制御部 17 カーソル表示制御部 18 ソフトキー表示制御部 19 全体制御部 20 図形パターン判定部 11 Cursor control unit 12 Character control unit 13 Soft key input control unit 14 Graphic data input / output unit 15 Control variable input / output unit 16 Graphic drawing control unit 17 Cursor display control unit 18 Soft key display control unit 19 Overall control unit 20 Graphic pattern judgment Department

───────────────────────────────────────────────────── フロントページの続き (72)発明者 矢野 正人 大阪府守口市京阪本通2丁目18番地 三 洋電機株式会社内 (72)発明者 恩田 義則 大阪府守口市京阪本通2丁目18番地 三 洋電機株式会社内 (56)参考文献 特開 平5−143705(JP,A) 特開 平6−348398(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 G06T 11/60 - 17/50 G06F 3/00 G06F 3/14 - 3/153 G09G 5/00 - 5/40 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Masato Yano 2-18-18 Keihanhondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd. (72) Inventor Yoshinori Onda 2--18-18 Keihanhondori, Moriguchi-shi, Osaka (56) References JP-A-5-143705 (JP, A) JP-A-6-348398 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06T 1 / 00 G06T 11/60-17/50 G06F 3/00 G06F 3/14-3/153 G09G 5/00-5/40

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】図形の描画を指示する2点の位置情報及び
図形の種類を示す図形種情報により規定される図形を描
画する図形描画装置において、前記2点の位置関係によって描画領域と前記2点間を伸
縮した際に固定される図形に関与する固定点 の位置が異
なる複数の図形パターンが設定してあり、指示された
記2点の位置関係に基づいて該当する図形パターンを判
定する判定手段と、 該手段により判定された図形パターンに基づいて図形の
描画位置を演算する手段と、 該手段により演算された描画位置、及び指定された図形
種に基づいて描画を行う手段とを備えることを特徴とす
る図形描画装置。
1. A graphic drawing apparatus which draws a graphic defined by position information of two points for instructing drawing of a graphic and graphic type information indicating a type of the graphic, wherein a drawing area and the 2 Extend between points
Position of the fixed points involved in figure fixed upon condensation is Yes set different graphic patterns, determining the appropriate figure pattern based on the positional relationship of the front <br/> SL two points indicated Determining means for calculating the drawing position of the figure based on the figure pattern determined by the means; and means for performing drawing based on the drawing position calculated by the means and the designated figure type. A graphic drawing device comprising:
【請求項2】前記図形パターンを判定した後、前記2点
の位置関係、及び/又は図形種を変更する手段と、該手
段により変更を実施した後、再度図形パターンの判定を
行う手段とを備えることを特徴とする請求項1記載の図
形描画装置。
2. A means for changing the positional relationship between the two points and / or the type of graphic after determining the graphic pattern, and a means for determining the graphic pattern again after performing the change by the means. The graphic drawing apparatus according to claim 1, further comprising:
JP27893993A 1993-09-13 1993-09-13 Graphic drawing device Expired - Lifetime JP3177359B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27893993A JP3177359B2 (en) 1993-09-13 1993-09-13 Graphic drawing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27893993A JP3177359B2 (en) 1993-09-13 1993-09-13 Graphic drawing device

Publications (2)

Publication Number Publication Date
JPH0785300A JPH0785300A (en) 1995-03-31
JP3177359B2 true JP3177359B2 (en) 2001-06-18

Family

ID=17604177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27893993A Expired - Lifetime JP3177359B2 (en) 1993-09-13 1993-09-13 Graphic drawing device

Country Status (1)

Country Link
JP (1) JP3177359B2 (en)

Also Published As

Publication number Publication date
JPH0785300A (en) 1995-03-31

Similar Documents

Publication Publication Date Title
JP4111897B2 (en) Window control method
JP3800524B2 (en) Display control method, program using the same, and information processing apparatus
US4951233A (en) Document producing apparatus having in-document layout display
GB2284524A (en) Graphic editing apparatus and method
JP2916347B2 (en) Character string display method and apparatus and graphic information management system
JP2908002B2 (en) Drawing apparatus having auxiliary line display function, and drawing method using the drawing apparatus
JP3177359B2 (en) Graphic drawing device
JPH06176122A (en) Graphic editing device
JPH06295322A (en) Line segment display device and method
JP3221513B2 (en) Graphic display method and apparatus
JP2854174B2 (en) Enlargement drawing method in numerical controller
JP3386209B2 (en) Device for rearranging objects displayed on a display screen
JPH08161368A (en) User interface screen construction system
JP3781923B2 (en) Line drawing apparatus, line drawing method, and computer-readable recording medium recording line drawing program
JPH09198225A (en) Display device and display method
JP3303402B2 (en) Graphic display device and graphic display method
JPH0580742A (en) Character data processing system
JP2575636B2 (en) Graphic display device
JPH0973468A (en) Crt screen designing support method
JP2571178B2 (en) 3D graphics processor
JPH05101156A (en) Graphic generating device
JPH04370882A (en) Grid setting method
JPH07234868A (en) Document creation device
JPH0944692A (en) Graphic processing device
JPH06110442A (en) Character / graphics processing apparatus and method for processing deformation of character or graphic

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090406

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100406

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110406

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120406

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130406

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140406

Year of fee payment: 13