JPH054718B2 - - Google Patents

Info

Publication number
JPH054718B2
JPH054718B2 JP17301685A JP17301685A JPH054718B2 JP H054718 B2 JPH054718 B2 JP H054718B2 JP 17301685 A JP17301685 A JP 17301685A JP 17301685 A JP17301685 A JP 17301685A JP H054718 B2 JPH054718 B2 JP H054718B2
Authority
JP
Japan
Prior art keywords
point
command
coordinates
range
line
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
JP17301685A
Other languages
Japanese (ja)
Other versions
JPS6232575A (en
Inventor
Satoru Tomita
Fumio Matsuda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP17301685A priority Critical patent/JPS6232575A/en
Publication of JPS6232575A publication Critical patent/JPS6232575A/en
Publication of JPH054718B2 publication Critical patent/JPH054718B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、座標面上の所定範囲内に属する所望
図形を入力するようにした図形入力方式に係り、
特に、上記所望範囲を超える図形の入力をも可能
とした図形入力方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a figure input method in which a desired figure belonging to a predetermined range on a coordinate plane is input.
In particular, the present invention relates to a graphic input method that allows the input of graphics that exceed the above-mentioned desired range.

〔従来の技術〕[Conventional technology]

一般に、画像通信,画像表示を行う際、画像を
図形コマンドで表現することが行われている。こ
の場合、単位画面(またはユニツトスクリーン)
の概念を用いることがよく行われている。
Generally, when performing image communication and image display, images are expressed using graphical commands. In this case, the unit screen (or unit screen)
It is common practice to use the concept of

第14図乃至第17図はこの単位画面の概念を
説明するための図である。第14図は論理的な概
念である単位画面と、実際の画像装置における物
理的な表示画面との関係の一例を示す。図におい
て、一点鎖線で示される単位画面はX方向,Y方
向の両座標が0から1までの小数値によつて表現
される論理的な画面であり、物理的な表示画面
は、この単位画面内に対応づけられる。例えば、
縦204画素×横248画素の表示画面は、図中の斜線
部の様にX座標が0から0.11111(即ち248/256),
Y座標が0から0.110011(即ち204/256)までの2
進小数値により表現することができる。
FIGS. 14 to 17 are diagrams for explaining the concept of this unit screen. FIG. 14 shows an example of the relationship between a unit screen, which is a logical concept, and a physical display screen in an actual image device. In the figure, the unit screen indicated by the dashed line is a logical screen whose coordinates in both the X and Y directions are expressed by decimal values from 0 to 1, and the physical display screen is this unit screen. mapped within. for example,
The display screen of 204 pixels vertically x 248 pixels horizontally has an X coordinate of 0 to 0.11111 (i.e. 248/256), as shown in the shaded area in the figure.
2 with Y coordinate from 0 to 0.110011 (i.e. 204/256)
It can be expressed as a decimal value.

第15図は、上記の様な小数値で座標を表現す
る図形コマンドの符号形式の一例を示す。図にお
いて、a乃至dは符号の一部であり、それぞれ1
バイト(=8ビツト)の長さをもつ。第15図a
はオペコードと呼ばれる図形コマンドの先頭のバ
イトであり、図形コマンドの種別(線分や多角形
など)を表わす。第15図b乃至dは図形コマン
ドに必要な点(例えば線分の端点,多角形の頂点
など)のX座標とY座標を表わすバイトであり、
この3バイトで一点を表わし、必要な点数分だけ
この3バイトを繰返して使用する。3バイトのう
ちb側がMSBで、d側がLSBであり、bのビツ
トb5とビツトb2はそれぞれ座標値の符号である。
この形式の表わす座標値は第15図eの様に2進
数の小数値である。座標値は点の絶対的位置を示
す絶対座標であることもあり、また、コマンドの
種別によつて、点間の変位置を示す相対座標であ
ることもある。
FIG. 15 shows an example of the code format of a graphic command that expresses coordinates using decimal values as described above. In the figure, a to d are part of the code, each 1
It has a length of byte (=8 bits). Figure 15a
is the first byte of a graphic command called an opcode, and represents the type of graphic command (line segment, polygon, etc.). 15 b to d are bytes representing the X and Y coordinates of points (for example, end points of line segments, vertices of polygons, etc.) required for graphic commands,
These 3 bytes represent one point, and these 3 bytes are used repeatedly for the required number of points. Of the three bytes, the b side is the MSB, the d side is the LSB, and bits b5 and b2 of b are the signs of the coordinate values, respectively.
The coordinate values expressed in this format are binary decimal values as shown in FIG. 15e. The coordinate values may be absolute coordinates indicating the absolute position of a point, or may be relative coordinates indicating a displacement between points, depending on the type of command.

第16図は、第15図の様な符号形式によつて
絶対座標を記述したときに直接に表わし得る点の
座標の範囲を示す図である。この場合、符号ビツ
トがあるので、図の様に単位画面の4倍の面積の
位置座標を表わすことができるが、その範囲外の
位置を表わすことはできない。また第15図の様
な符号形式によつて相対座標を記述したときも、
基準となる現描画点位置を中心として第16図と
同様に単位画面の4倍の面積の範囲内の座標しか
直接には表わすことはできない。
FIG. 16 is a diagram showing the range of coordinates of points that can be directly represented when absolute coordinates are described using the code format shown in FIG. 15. In this case, since there is a code bit, it is possible to represent the position coordinates of an area four times the area of the unit screen as shown in the figure, but it is not possible to represent positions outside that range. Also, when relative coordinates are written in a code format as shown in Figure 15,
As in FIG. 16, only coordinates within an area four times the area of the unit screen can be directly expressed, centering on the current drawing point position which is the reference.

ところで、画像装置において上記の様に座標表
現能力に制限のある単位画面の概念を用いる理由
は、この表現形式が実際の装置の物理的な表示能
力即ち解像度に依存することなく画像内容を表現
することができる利点をもつからである。例えば
第14図の例は、物理的に縦204画素×横248画素
の表示能力をもつ表示装置であり、画面中央の点
140の座標を物理的に(102,124)と表わせ
ば、縦408画素×横496画素の表示能力をもつ表示
装置では座標(204,248)と換算しなければ、同
じ画面中央の点140を表現し得ないのに対し
て、単位画面の概念に基づく第15図の様な小数
値表現では、どちらも同じ値となる。即ち第15
図eの様に表現すると、画面中央の点の座標値は
(0.0110011,0.011111)となり、物理的な表示能
力に依存しない。これは画面上の他の点の座標に
ついても同様である。上記例からわかる様に単位
画面の概念に基づいた表現形式では、小数値表現
により個々の画像表示装置に依存することなく、
画像内容を記述することができるので、ビデオテ
ツクスなどの画像データベースでは同じ内容の画
像を一種類だけ記憶しておけば済むなどの大きな
長所がある。
By the way, the reason for using the concept of a unit screen, which has a limited coordinate representation ability as described above, in image devices is that this representation format expresses image content without depending on the physical display ability of the actual device, that is, the resolution. This is because it has the advantage of being able to For example, the example shown in Fig. 14 is a display device that physically has a display capacity of 204 pixels vertically x 248 pixels horizontally, and if the coordinates of the point 140 at the center of the screen are physically expressed as (102, 124), then 408 pixels vertically A display device with a display capacity of 496 pixels x 496 pixels horizontally cannot express the same point 140 at the center of the screen unless it is converted into coordinates (204, 248). In a decimal value expression such as , both have the same value. That is, the 15th
When expressed as shown in Figure e, the coordinate values of the point at the center of the screen are (0.0110011, 0.011111), which does not depend on physical display capabilities. This also applies to the coordinates of other points on the screen. As can be seen from the above example, in the expression format based on the concept of unit screens, decimal value expression allows
Since image content can be described, image databases such as Videotex have a great advantage in that they only need to store one type of image with the same content.

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

一方、単位画面の概念に基づく図形コマンドの
符号形式では、座標が必ず小数値で表現されなけ
ればならず、小数値表現では前述の様に直接に表
現できる座標位置の範囲(以下これを直接表現範
囲、単に範囲と略記する)が限られているため
に、画像内容を図形コマンドを用いて作成する
際、自由に座標位置を指定し得ないという問題が
生じる。
On the other hand, in the code format of graphical commands based on the concept of unit screen, coordinates must always be expressed as decimal values, and in decimal value expression, as mentioned above, the range of coordinate positions that can be directly expressed (hereinafter this will be referred to as direct expression). Because the range (simply abbreviated as "range") is limited, when creating image content using graphic commands, a problem arises in that coordinate positions cannot be freely specified.

第17図は上記問題点の例を示す図である。図
中、一点鎖線内は第16図の絶対座標による直接
表現範囲に相当する(単位画面の4倍の)範囲で
あり、これに対応する表示画面に表示すべき画像
内容を作成する際に、第15図の様な形式をもつ
図形コマンドを用いるとする場合を考える。但
し、表示画面よりも大きな範囲で図形の点の位置
を指示することができるものとする。(以下の説
明においても特に断わらない限りこの場合を仮定
する。)また、図形コマンドの種類としては、ビ
デオテツクスのNALPSとして知られる図形コマ
ンドのセツトを例にとる。NAPLPSについては
例えば参考文献1「NAPLPS/テリドン−新しい
図形文字通信の標準」に紹介されている。第17
図で表示画面の下部を塗りつぶす様な大きな円弧
のコマンドは171,172,173の3点の座
標値を順に指定すれば描画できるはずであるが、
171と173の両点は絶対座標での範囲外であ
るため、この様な大きな円弧はコマンドとして表
現できない。これに対処するため、点174,1
75,176,177で指定される多角形と、点
174,171,175で指定される円弧の2つ
の図形コマンドによつて表示画面内の所望の部分
を塗りつぶす必要がある。この様に図形を分割し
なければならないことは画像を作成する上で、作
成者に余分な注意を強いることになる。また画像
を記述するデータ量の増加も伴なう。更に画像を
作成するための通常の図形入力装置を考えると、
点174,175,176,177の様な範囲境
界上の座標値を、タブレツトなどの座標入力デバ
イスを用いて精確に指示するのは非常に手間がか
かる作業であり、作画効率が著しく低下するとい
う問題点があつた。
FIG. 17 is a diagram showing an example of the above problem. In the figure, the area within the dash-dotted line corresponds to the direct expression range using absolute coordinates in Figure 16 (4 times the unit screen), and when creating the image content to be displayed on the corresponding display screen, Consider a case where a graphic command having a format as shown in FIG. 15 is used. However, it is assumed that the position of the point of the figure can be indicated within a larger range than the display screen. (This case is also assumed in the following explanation unless otherwise specified.) As an example of the type of graphic command, a set of graphic commands known as NALPS of Videotex will be taken as an example. NAPLPS is introduced, for example, in Reference 1 "NAPLPS/Theridon - New standard for graphic character communication". 17th
In the figure, a large arc command that fills the bottom of the display screen should be able to be drawn by specifying the coordinate values of three points 171, 172, and 173 in order.
Since both points 171 and 173 are outside the range in terms of absolute coordinates, such a large arc cannot be expressed as a command. To deal with this, point 174,1
It is necessary to fill in a desired portion of the display screen using two graphics commands: a polygon specified by points 75, 176, and 177, and an arc specified by points 174, 171, and 175. Having to divide the figure in this way forces the creator to be extra careful when creating the image. It also involves an increase in the amount of data describing the image. Furthermore, considering a normal graphic input device for creating images,
Precisely specifying coordinate values on range boundaries such as points 174, 175, 176, and 177 using a coordinate input device such as a tablet is a very time-consuming task, and the drawing efficiency is significantly reduced. There was a problem.

本発明は、上述した問題点を解決するもので、
単位画面に基づく小数値による座標表現をとりな
がら、画像の直接表現範囲外の座標値をもつ図形
コマンドの入力が可能な図形入力装置を得ること
を目的とするものである。
The present invention solves the above-mentioned problems, and
It is an object of the present invention to provide a graphic input device capable of inputting graphic commands having coordinate values outside the direct expression range of an image while expressing coordinates using decimal values based on a unit screen.

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

本発明に係る図形入力方式は、単位画面の概念
に基づく小数値による直接表現範囲を超える絶対
座標や相対座標をもつ図形コマンドを検出して、
自動的に直接表現範囲内の座標のみから成る図形
コマンドに変換するものである。
The graphic input method according to the present invention detects graphic commands with absolute coordinates or relative coordinates that exceed the range of direct expression using decimal values based on the concept of a unit screen.
It is automatically converted into a graphical command consisting only of coordinates within the direct expression range.

〔作用〕[Effect]

本発明においては、自動的な座標値の変換によ
り、見掛け上、小数値による直接表現範囲を超え
る座標値をもつ図形コマンドも自由に入力するこ
とを可能とし、画像作成を容易にし、作画効率を
向上させることができる。
In the present invention, by automatically converting coordinate values, it is possible to freely input graphic commands with coordinate values that apparently exceed the range directly expressed by decimal values, making it easier to create images and improving drawing efficiency. can be improved.

〔発明の実施例〕[Embodiments of the invention]

第1図はこの発明の実施例の構成を示す全体構
成図である。図中、1は座標入力手段であり、図
形コマンドの種別及び図形の点の座標値を入力す
る。2は範囲外座標検出手段であり、入力された
座標値が小数値による直接表現範囲を超えるか否
かを検出する。そして、範囲外であれば座標分割
手段3により、小数値による直接表現範囲内の座
標値を複数用いて、範囲外の座標値を分割表現す
る。4は図形表示手段であり、分割表現された座
標値により作られ図形を表示して、目的の図形が
入力されたことを作成者が確認することを可能と
する。
FIG. 1 is an overall configuration diagram showing the configuration of an embodiment of the present invention. In the figure, reference numeral 1 denotes a coordinate input means for inputting the type of graphic command and the coordinate values of the points of the graphic. Reference numeral 2 denotes an out-of-range coordinate detection means, which detects whether the input coordinate value exceeds the direct expression range using decimal values. Then, if it is outside the range, the coordinate dividing means 3 divides and represents the coordinate value outside the range using a plurality of coordinate values within the direct expression range using decimal values. Reference numeral 4 denotes a graphic display means, which displays a graphic created by the coordinate values expressed in divisions and allows the creator to confirm that the desired graphic has been input.

第2図は本発明による図形入力方式のシステム
構成の一例を示すものであり、21はマイクロプ
ロセツサ等に相当する中央処理装置(CPU)、2
2はこのシステムを制御する制御プログラム及び
データを処理する為の処理プログラムを格納する
記憶装置である。1は図形コマンド及び図形の点
の座標値を入力するための座標入力手段で、この
実施例ではタブレツトを用いている。タブレツト
上には図形コマンドの種別を指定するメニユー領
域と座標入力のためのロケート領域があり、図形
コマンドの種別とそのコマンドに必要な点の座標
(点は複数であることもある)を続けて入力する。
4はグラフイツク表示装置であり、図形コマンド
が入力されると表示画面内に入る図形の部分を画
像内容として表示する。
FIG. 2 shows an example of the system configuration of the graphic input method according to the present invention, in which 21 is a central processing unit (CPU) corresponding to a microprocessor, etc.;
2 is a storage device that stores a control program for controlling this system and a processing program for processing data. Reference numeral 1 denotes a coordinate input means for inputting graphic commands and coordinate values of points of a graphic, and in this embodiment, a tablet is used. On the tablet, there is a menu area for specifying the type of graphical command and a locate area for inputting coordinates. input.
Reference numeral 4 denotes a graphic display device which, when a graphic command is input, displays the portion of the graphic that falls within the display screen as image content.

次に、上記実施例の動作を説明する。第3図乃
至第13図は、タブレツト1により入力された図
形コマンドとこれに付随する点の座標値に対する
処理を示すフローチヤート及び処理の例である。
Next, the operation of the above embodiment will be explained. 3 to 13 are flowcharts and examples of processing for graphical commands input through the tablet 1 and associated coordinate values of points.

第3図はPoint Set(Abs)及びPoint Set(Rel)
の両コマンドに対する処理を示すフローチヤート
であり、第4図はその処理内容の例を示す説明図
である。Point Setコマンドは描画基準点(現描
画点或は単に現点とも言う)を移動するコマンド
であり、実際に表示される点を描画するわけでは
ない。Point Set(Abs)コマンドで、絶対座標に
よる直接表現範囲内の点へ現点を移動させる場合
に、ステツプ31及びステツプ32を経て、ステツプ
33でそのままコマンドを実行すればよい。ところ
が第4図aの例の様に、原点40から現点を範囲
外の点41へ移動させたい場合、第15図のよう
な符号形式では、2進数の1.11という値は表現で
きないので、ステツプ33でPoint Set(Abs)コマ
ンドにより、一旦範囲境界の点42へ移動し、残
りを相対座標で表現する。すなわち、第4図aの
点41(1.11,0.11)は小数値により直接表現不
可能であるから、所定範囲(1.0,1.0)の外であ
ることを検出し、所定範囲内(小数値により直接
表現可能なすなわち小数点以下)の絶対座標によ
る点42と点42からの相対座標で点41を特定
している。この例ではステツプ35において、点4
1は点42から相対座標による直接表現範囲の内
にあるので、ステツプ36において、その相対座標
をPoint Set(Rel)コマンドに付けて実行すれ
ば、現点は点41へ移動する。ステツプ35で相対
座標による直接表現範囲外であれば、ステツプ37
でPoint Set(Rel)コマンドにより、その範囲境
界へ一旦移動し、その残りを相対座標で表現して
ステツプ35へ戻る。ステツプ35以下のステツプに
ついては、始めからPoint Set(Rel)コマンドが
与えられた場合と同じである。第4図bの例の様
に、現点43から相対座標で直接表現範囲外の点
44へ移動させる場合、ステツプ31及びステツプ
35を経て、ステツプ37で一旦範囲境界の点45へ
Point Set(Rel)で移動し、残りの相対座標をス
テツプ35を経て、ステツプ36においてPoint Set
(Rel)コマンドに付けて実行することにより、
点44へ達する。
Figure 3 shows Point Set (Abs) and Point Set (Rel)
FIG. 4 is a flowchart showing processing for both commands, and FIG. 4 is an explanatory diagram showing an example of the processing contents. The Point Set command is a command that moves the drawing reference point (also referred to as the current drawing point or simply the current point), and does not draw the point that will actually be displayed. When using the Point Set (Abs) command to move the current point to a point within the direct expression range using absolute coordinates, step 31 and step 32 are used.
33 and simply run the command. However, as in the example in Figure 4a, if you want to move the current point from the origin 40 to a point 41 outside the range, the code format as shown in Figure 15 cannot represent the binary value 1.11, so the step 33, use the Point Set (Abs) command to temporarily move to point 42 on the range boundary, and express the rest in relative coordinates. In other words, since point 41 (1.11, 0.11) in Figure 4 a cannot be expressed directly by a decimal value, it is detected that it is outside the predetermined range (1.0, 1.0), and it can be expressed directly by a decimal value. The point 41 is specified by a point 42 using absolute coordinates that can be expressed (that is, below the decimal point) and by relative coordinates from the point 42. In this example, in step 35, point 4
1 is within the direct representation range from point 42 using relative coordinates, so if the relative coordinates are added to the Point Set (Rel) command and executed in step 36, the current point is moved to point 41. If step 35 is outside the direct expression range using relative coordinates, step 37
Then, use the Point Set (Rel) command to temporarily move to the range boundary, express the rest in relative coordinates, and return to step 35. Steps from step 35 onwards are the same as when the Point Set (Rel) command was given from the beginning. As in the example in Fig. 4b, when moving from the current point 43 directly to a point 44 outside the expression range using relative coordinates, step 31 and step
35, go to step 37 and go to point 45 on the range boundary.
Move with Point Set (Rel), move the remaining relative coordinates through step 35, and then move with Point Set (Rel) in step 36.
(Rel) By attaching it to the command and executing it,
Point 44 is reached.

Point(Abs)及びPoint(Rel)の両コマンドの
場合もPoint Setと同様の処理が可能であるが、
Pointコマンドでは実際に表示される点を描画す
る必要があるため、第3図のステツプ33でPoint
(Abs)コマンドを実行し、またステツプ36で
Point(Rel)を実行することだけが異なる。即ち
第3図でステツプ31及び破線枠で囲つた部分38
は、Point SetとPointの両コマンドに共通であ
る。更に、部分38は後述のコマンドのうちSet
&Line(Abs),Set&Line(Rel),Set&Arc
(Outlined),Set&Arc(Filled),Set&Rec
(Outlined),Set&Rec(Filled),Set&Poly
(Outlined),Set&Poly(Filled)の各コマンドに
おいて、始点を絶対座標で表現する際に共通に使
用される処理である。第5図はLine(Abs)及び
Line(Rel)の両コマンドに対する処理を示すフ
ローチヤートであり、第6図はその処理内容の例
を示す説明図である。Lineコマンドは現点から
終点へ線を描くコマンドで、Line(Abs)は終点
を絶対座標で表わし、Line(Rel)は相対座標で
表わす。この区別はステツプ51でなされる。
Line(Abs)コマンドで、終点が直接表現範囲内
にある場合は、ステツプ52からステツプ53で、
そのまま描画が実行される。しかし、第6図aの
例の様に終点61が範囲外である場合は、ステツ
プ54で現点60と終点61の中点62を計算して
見出し、現点60から中点62までのLine(Abs)
コマンドと、中点62から終点61までのLine
(Rel)コマンドに2分割し、ステツプ55でそれ
ぞれをLineコマンドとして処理する。このステ
ツプはそれぞれステツプ51へ戻ることを意味す
る。第6図aの例では、この分割により、中点6
2が絶対座標で直接表現範囲内となるので、
Line(Abs)コマンドで現点60から分割による
終点62までの線を描画し、更に、Line(Rel)
コマンドにより、新しい現点62から終点61ま
での線を描画する。またLine(Rel)コマンドで
終点の相対座標が直接表現範囲内にある場合は、
ステツプ56を経てステツプ57でそのままその
Line(Rel)コマンドで描画を実行する。しかし、
第6図bの様にステツプ56で相対座標が範囲外で
ある場合は、ステツプ58でその相対座標を2分割
して、現点63と終点64の中点65を計算し、
2つのLine(Rel)コマンドとして、ステツプ59
でそれぞれのコマンドを処理する。このステツプ
も、それぞれのLineコマンドについて、ステツ
プ51へ戻り処理することを意味する。
The same processing as Point Set is possible for both the Point (Abs) and Point (Rel) commands, but
The Point command requires drawing the point that will actually be displayed, so in step 33 of Figure 3, draw the Point command.
(Abs) command and also in step 36
The only difference is that it executes Point (Rel). That is, step 31 and the area 38 surrounded by a broken line frame in FIG.
is common to both Point Set and Point commands. Furthermore, part 38 is a Set command among the commands described below.
&Line (Abs), Set&Line (Rel), Set&Arc
(Outlined), Set & Arc (Filled), Set & Rec
(Outlined), Set & Rec (Filled), Set & Poly
(Outlined) and Set & Poly (Filled) commands, this process is commonly used to express the starting point in absolute coordinates. Figure 5 shows Line (Abs) and
This is a flowchart showing processing for both Line (Rel) commands, and FIG. 6 is an explanatory diagram showing an example of the processing contents. The Line command is a command that draws a line from the current point to the end point. Line (Abs) represents the end point in absolute coordinates, and Line (Rel) represents the end point in relative coordinates. This distinction is made in step 51.
In the Line (Abs) command, if the end point is within the direct expression range, from step 52 to step 53,
Drawing continues as is. However, if the end point 61 is outside the range as in the example in FIG. (Abs)
Command and Line from midpoint 62 to end point 61
(Rel) command and processes each as a Line command in step 55. Each of these steps means a return to step 51. In the example of Figure 6a, this division results in the midpoint 6
2 is an absolute coordinate and is within the direct expression range, so
Draw a line from the current point 60 to the end point 62 of the division using the Line (Abs) command, and then use the Line (Rel) command.
The command draws a line from the new current point 62 to the end point 61. Also, if the relative coordinates of the end point are within the direct expression range with the Line (Rel) command,
After going through step 56, proceed to step 57.
Execute drawing using the Line (Rel) command. but,
If the relative coordinates are outside the range in step 56 as shown in FIG.
Step 59 as two Line (Rel) commands
Process each command with . This step also means that the process returns to step 51 for each Line command.

第7図はSet&Line(Abs)とSet&Line(Rel)
の両コマンドに対する処理を示すフローチヤート
である。Set&Lineコマンドは、始点の座標を絶
対座標で指定した後、Lineコマンドと同様に、
終点を絶対座標(Abs)または始点からの相対座
標(Rel)で指定するコマンドである。まず始点
に対する処理(ステツプ71)は第3図のステツプ
群38と同じであつて、Set&Line(Abs及びRel)
コマンドにおいて始点が絶対座標で直接表現範囲
内であれば、ステツプ72で、Set&Lineコマンド
をそのまま用いて始点を表現し、次に、終点につ
いては第5図の破線内500と同様の処理を行うス
テツプ群73で表現する。即ちSet&Line(Abs)コ
マンドで終点も絶対座標で直接表現範囲内であれ
ば、そのまま終点座標をコマンドに付加して描画
を実行するが、範囲外であれば、始点と終点との
中点を計算して、その中点をSet&Line(Abs)の
新しい終点とし、中点から終点までを別のLine
(Rel)コマンドとして処理することを繰返す。
また、Set&Line(Rel)コマンドで終点が相対座
標で直接表現範囲内である場合は、ステツプ群73
でそのまま終点座標をコマンドに付加して描画を
実行し、範囲外であれば終点の相対座標を2分割
して、その中点をSet&Line(Rel)の新しい終点
とし、中点から終点までを別のLine(Rel)コマ
ンドとして処理することを繰返す。即ち、ステツ
プ群73はLine(Abs)またはLine(Rel)と類似の
処理である。次に、Set&Line(Abs及びRel)コ
マンドにおいて、始点が絶対座標で直接表現範囲
内であれば、ステツプ群71及びステツプ74で始点
がPoint Set(Abs)コマンドと一つ或はそれ以上
のPoint Set(Rel)コマンドで表現される。した
がつて、終点座標は、元のコマンドがSet&Line
(Abs)であればLine(Abs)、またSet&Line
(Rel)であればLine(Rel)のコマンドとして、
ステツプ群75において第5図の破線内500と同じ
処理により、必要な分割を行いながら実行され
る。
Figure 7 shows Set & Line (Abs) and Set & Line (Rel)
2 is a flowchart showing processing for both commands. The Set & Line command specifies the coordinates of the starting point in absolute coordinates, and then, like the Line command,
This command specifies the end point using absolute coordinates (Abs) or relative coordinates (Rel) from the starting point. First, the processing for the starting point (step 71) is the same as step group 38 in FIG.
If the starting point is within the direct expression range in absolute coordinates in the command, step 72 expresses the starting point using the Set&Line command as is, and then performs the same processing as 500 within the broken line in Figure 5 for the ending point. Expressed in group 73. In other words, if the end point of the Set & Line (Abs) command is also in absolute coordinates and is within the direct expression range, the end point coordinates are added to the command and drawing is executed, but if it is outside the range, the midpoint between the start point and end point is calculated. Then, set the midpoint as the new end point of Set & Line (Abs), and create another Line from the midpoint to the end point.
(Rel) Repeats processing as a command.
Also, if the end point of the Set & Line (Rel) command is within the direct expression range using relative coordinates, step group 73
Add the end point coordinates to the command as is and execute drawing, and if it is outside the range, divide the relative coordinates of the end point into two, set the midpoint as the new end point of Set & Line (Rel), and separate from the midpoint to the end point. Repeat processing as a Line (Rel) command. That is, step group 73 is a process similar to Line (Abs) or Line (Rel). Next, in the Set & Line (Abs and Rel) command, if the starting point is within the direct expression range in absolute coordinates, step group 71 and step 74 indicate that the starting point is the Point Set (Abs) command and one or more Point Sets. (Rel) expressed as a command. Therefore, the end point coordinates are determined by the original command Set & Line
(Abs) then Line (Abs), also Set & Line
(Rel), as a Line (Rel) command,
In step group 75, the same process as 500 within the broken line in FIG. 5 is executed while performing necessary division.

なお上記Lineコマンドと、Set&Lineコマンド
の比較からわかる様にSet&が付いたコマンドは
Set&が付かないコマンドに、絶対座標による始
点の指定が付加されただけのものであり、この始
点に対してはいずれも第3図のステツプ群38によ
つて処理することができ、直接表現範囲内ならば
そのままのSet&が付いたコマンドとして後続の
処理を行い、範囲外ならばPoint Setコマンドを
用いて始点を表現した後でSet&の付かないコマ
ンドとして、後続の処理を行えばよい。このこと
から以下の説明では、残つたコマンドのうちSet
&の付かないコマンドのみについての処理を説明
する。
As you can see from the comparison between the Line command and the Set&Line command above, the commands with Set&
This is simply a command that does not include Set &, with the specification of a starting point using absolute coordinates added, and this starting point can be processed by step group 38 in Figure 3, directly expressing the range. If it is within the range, use the command with Set& as it is and perform the subsequent processing, and if it is outside the range, use the Point Set command to express the starting point and then use the command without Set& to perform the subsequent processing. Therefore, in the following explanation, of the remaining commands, Set
The processing for only commands without & will be explained.

また以下で説明するArc(円弧),Rec(四角
形),Poly(多角形)の3つのコマンドでは、そ
れぞれ輪郭線だけを描画するコマンド
(Outlined)と輪郭線で囲まれる閉領域を塗りつ
ぶすコマンド(Filled)の2種類があるが、塗り
つぶしコマンドの処理の方が輪郭線だけのコマン
ドの処理を包含する関係にあるので、塗りつぶし
コマンドの処理についてのみ説明する。
In addition, the three commands Arc (circular arc), Rec (rectangle), and Poly (polygon) explained below include the command to draw only the outline (Outlined) and the command to fill in the closed area surrounded by the outline (Filled). ), but since the processing of the fill-in command includes the processing of the command for only the outline, only the processing of the fill-in command will be explained.

第8図は、Arc(Filled)コマンドに対する処理
を示すフローチヤートであり、第9図はその処理
内容の例を示す説明図である。Arcコマンドは現
描画点を始点として、中間点と終点の座標を順次
に相対座標で指定して、3点を通る円弧と、弦に
よる閉領域を塗りつぶす。
FIG. 8 is a flowchart showing processing for the Arc (Filled) command, and FIG. 9 is an explanatory diagram showing an example of the processing contents. The Arc command specifies the coordinates of the intermediate point and end point sequentially using relative coordinates, starting from the current drawing point, and fills in a closed area by an arc passing through three points and a chord.

第9図の例では、90が始点、91が中間点、
92が終点であるとする。ステツプ81で中間点が
相対座標で直接表現範囲内にあれば、ステツプ83
に進んで、中間点の相対座標をArcオペコードに
付加する。しかし、第9図の例の様に、直接表現
範囲外であれば、ステツプ82で中間点までの円弧
を2分割して、分割点を新たな中間点としてステ
ツプ81へ戻り、中間点が直接表現範囲内になるま
でこの分割を繰返す。第9図では、まず分割点9
3を作るが、点93が範囲外であるので、再度分
割して点94を中間点としている。この分割点の
計算は、相対座標でX方向とY方向の変位量のう
ち大きい方を2分割するX軸または、Y軸に平行
な直線と、円弧との交点を求める。第9図の場合
は、Y軸に平行な直線で、X方向変位を2分割し
ている。ステツプ83で、点94を中間点として相
対座標で指定した後は、円弧の終点を求める。ス
テツプ84では、中間点94から元の終点92に至
る残りの円弧に含まれる点93,91,92の中
で、中間点から相対座標で直接表現範囲内にある
最遠点93を選択する。この選択された点がステ
ツプ85で元の終点と一致すれば、これで元の円弧
全体が3点で表現されることになるので、ステツ
プ86で終点までの相対座標をコマンドに付加して
Arcコマンドを完成し描画する。しかし、第9図
の様に、選択点が元の終点と一致しなければ、ス
テツプ87で中間点94から選択点93までの相対
座標をコマンドに付加して、分割された1個の
Arcコマンドを完成し描画する。次にステツプ88
で、残りの円弧の中で現描画点である分割円弧の
終点93から相対座標で直接表現範囲内にある最
遠の点を選択する。第9図では、点91,92の
中で点91が選択される。ステツプ89でこの選択
点が元の円弧の終点と一致しなければ、ステツプ
8Aで、この選択点91を中間点として、ステツ
プ83に戻り、終点を92に選んで、2つ目の分割
円弧のArcコマンドをステツプ86で完成し実行す
る。これに続いて分割によつて、塗りつぶしから
もれる多角形をステツプ8Dで描画して総ての処
理を終了する。多角形の塗りつぶしコマンドは、
後述するが、第9図では点90,93,92の頂
点をもつ三角形を塗りつぶすことが必要である。
ステツプ89で選択点91が元の円弧の終点と一致
した場合は、Arcコマンドを完成するには中間点
が必要であるから、ステツプ8Bで現描画点と終
点との間で中間点を計算して求め、この点を用い
てステツプ8Cで、Arcコマンドを完成し、描画を
実行してステツプ8Dに進み、残された多角形の
塗りつぶしを行う。
In the example of FIG. 9, 90 is the starting point, 91 is the intermediate point,
Assume that 92 is the end point. If the intermediate point is within the direct expression range in relative coordinates at step 81, step 83
Proceed to append the relative coordinates of the waypoint to the Arc opcode. However, as in the example in Figure 9, if it is outside the direct expression range, the arc up to the midpoint is divided into two in step 82, the dividing point is used as a new midpoint, and the process returns to step 81, so that the midpoint is directly This division is repeated until the expression range is within the range. In Figure 9, first, dividing point 9
3, but since point 93 is outside the range, it is divided again and point 94 is set as the intermediate point. This division point calculation is performed by finding the intersection of a straight line parallel to the X-axis or the Y-axis and a circular arc, which divides the larger displacement amount in the X direction and the Y direction into two in relative coordinates. In the case of FIG. 9, the displacement in the X direction is divided into two by a straight line parallel to the Y axis. In step 83, after specifying the point 94 as an intermediate point using relative coordinates, the end point of the arc is determined. In step 84, among the points 93, 91, and 92 included in the remaining arc from the intermediate point 94 to the original end point 92, the farthest point 93 that is within the direct representation range from the intermediate point in terms of relative coordinates is selected. If this selected point coincides with the original end point in step 85, the entire original arc is now represented by three points, so the relative coordinates to the end point are added to the command in step 86.
Complete the Arc command and draw. However, as shown in FIG. 9, if the selected point does not match the original end point, in step 87 the relative coordinates from the intermediate point 94 to the selected point 93 are added to the command to create one divided point.
Complete the Arc command and draw. Next step 88
Then, among the remaining arcs, the farthest point within the direct expression range in terms of relative coordinates from the end point 93 of the divided arc, which is the current drawing point, is selected. In FIG. 9, point 91 is selected from points 91 and 92. If this selected point does not coincide with the end point of the original arc in step 89, the step
At step 8A, the selected point 91 is set as the intermediate point, the process returns to step 83, the end point is selected at 92, and the Arc command for the second divided arc is completed and executed at step 86. Subsequently, by dividing, polygons that are not filled in are drawn in step 8D, and all processing is completed. The polygon fill command is
As will be described later, in FIG. 9, it is necessary to fill in the triangles having vertices at points 90, 93, and 92.
If the selection point 91 coincides with the end point of the original arc in step 89, an intermediate point is required to complete the Arc command, so the intermediate point is calculated between the current drawing point and the end point in step 8B. Using this point, complete the Arc command in step 8C, execute drawing, and proceed to step 8D to fill in the remaining polygon.

第10図はRec(Filled)コマンドに対する処理
を示すフローチヤートであり、第11図はその処
理内容の例を示す説明図である。Recコマンドは
長方形を、始点即ち現描画点110に対する終点
即ち対角点111の相対座標で指定するコマンド
である。ステツプ101で終点が相対座標で直接表
現範囲内にあれば、そのままステツプ102で描画
を実行する。しかし範囲外であれば、X軸とY軸
の変位量を個別に調べて、直接表現範囲内になる
様に分割する。ステツプ103でX軸相対座標が範
囲外である(即ち1.0より大きい)ならばステツ
プ104でその相対座標を2分割し、それでも範囲
外であれば更に分割を繰返す。第10図の例で
は、1回の分割で2つの分割点112,113が
求められる。更に、Y軸相対座標についても、ス
テツプ105及びステツプ106で必要な回数だけ分割
が行われる。第10図の例では、114と115
の2つの分割点が計算される。分割後はステツプ
117で、後述のPolyコマンドを用いて分割によつ
て生じた分割点を順に頂点として指定することに
より描画を行う。この際に、元のRecの頂点であ
つた点116,117も多角形の頂点に含める。
四角形の塗りつぶしだけを考えると、分割後の小
さい長方形をRec(Filled)によつて表現すること
も可能であるが、輪郭線のみの四角形では分割後
はRec(Outline)は使用できず、Poly(Outlined)
コマンドを使わざるを得ないことに注意を要す
る。
FIG. 10 is a flowchart showing processing for the Rec (Filled) command, and FIG. 11 is an explanatory diagram showing an example of the processing contents. The Rec command is a command for specifying a rectangle using the relative coordinates of the end point, ie, the diagonal point 111, relative to the starting point, ie, the current drawing point 110. If the end point is within the direct expression range in relative coordinates at step 101, drawing is executed at step 102. However, if it is outside the range, the amount of displacement on the X-axis and Y-axis is examined individually and divided so that it falls within the direct expression range. If in step 103 the X-axis relative coordinate is outside the range (that is, greater than 1.0), the relative coordinate is divided into two in step 104, and if it is still outside the range, the division is repeated. In the example of FIG. 10, two division points 112 and 113 are obtained by one division. Furthermore, the Y-axis relative coordinate is also divided as many times as necessary in steps 105 and 106. In the example of Figure 10, 114 and 115
Two dividing points are calculated. Steps after division
In step 117, drawing is performed by sequentially specifying division points generated by division as vertices using the Poly command described later. At this time, points 116 and 117, which were the vertices of the original Rec, are also included in the vertices of the polygon.
Considering only the filling of a rectangle, it is possible to express a small rectangle after division using Rec (Filled), but for a rectangle with only an outline, Rec (Outline) cannot be used after division, and Poly( Outlined)
Please note that you have no choice but to use commands.

第12図はPoly(Filled)コマンドに対する処
理を示すフローチヤート、第13図はその処理内
容の例を示す説明図である。Polyコマンドは、
現描画点から順に次の頂点への相対座標を与える
ことにより、多角形を描画するコマンドである。
最後の始点(即ち現描画点)へ戻る相対座標は省
略される。ステツプ121では、次の頂点への相対
座標が直接表現範囲内かどうかを判断する。もし
範囲内であり、ステツプ222で次点が始点と一致
しなければ、Polyコマンドはまだ完成しないの
で、ステツプ123で次点への相対座標をそのまま
コマンドに付加して、ステツプ121へ戻る。ステ
ツプ121で次点との相対座標が範囲外であれば、
その相対座標を2分割して、ステツプ122で現点
と次点との中点を新たな次点としてステツプ121
へ戻り、範囲内になるかどうかの判断を行う。ス
テツプ222で次点が始点と一致すればPolyコマン
ドが完成するので、ステツプ124でPolyコマンド
を実行し描画する。第13図の例は、始点130
と3つの頂点131,132,133から成る多
角形であり、始点130から次点131へは、直
接表現範囲内であるが、点131から次点132
へは範囲外である。このため、最初の分割で中点
134を計算し、更に、これも範囲外であるので
ステツプ121と122を繰返して、次の分割で中点1
35を得て、点135、点134の順に多角形の
頂点とする。点134から点132への相対座標
も範囲外であるので、中点136を計算により求
めて頂点として付加する。同様にして、点132
と点133の間の中点137も求められ、結局元
の四角形は、八角形として総て直接表現範囲内の
相対座標値で表現可能となる。
FIG. 12 is a flowchart showing processing for the Poly (Filled) command, and FIG. 13 is an explanatory diagram showing an example of the processing contents. The Poly command is
This command draws a polygon by giving the relative coordinates from the current drawing point to the next vertex.
Relative coordinates returning to the last starting point (ie, the current drawing point) are omitted. In step 121, it is determined whether the relative coordinates to the next vertex are within the direct expression range. If it is within the range and the next point does not match the starting point in step 222, the Poly command is not completed yet, so in step 123 the relative coordinates to the next point are added to the command as they are, and the process returns to step 121. If the relative coordinates with the next point are out of range in step 121,
The relative coordinates are divided into two, and in step 122, the midpoint between the current point and the next point is set as the new next point, and step 121 is performed.
Go back to , and judge whether it is within the range. If the next point matches the starting point in step 222, the Poly command is completed, so in step 124 the Poly command is executed and drawn. In the example of FIG. 13, the starting point 130
It is a polygon consisting of three vertices 131, 132, 133, and from the starting point 130 to the next point 131 is within the direct expression range, but from the point 131 to the next point 132
is out of range. Therefore, the midpoint 134 is calculated in the first division, and since this is also out of range, steps 121 and 122 are repeated, and the midpoint 134 is calculated in the next division.
35 is obtained, and the points 135 and 134 are set as the vertices of the polygon in that order. Since the relative coordinates from point 134 to point 132 are also outside the range, midpoint 136 is calculated and added as a vertex. Similarly, point 132
A midpoint 137 between and point 133 is also found, and in the end, the original quadrangle can be expressed as an octagon using relative coordinate values within the direct expression range.

以上説明したように、上記実施例では絶対座
標で直接表現範囲外となる座標値を検出して、こ
れを範囲内の絶対座標と1つまたはそれ以上の相
対座標に分割し、また、相対座標で直接表現範
囲外となる座標値を検出して、2つ以上の相対座
標に分割して、総て直接表現範囲内の座標値とな
る様な変換を行い、元の図形コマンド或はこれと
関連するコマンドを用いて、元の図形コマンドと
等価な図形を描画するコマンドを自動的に作成す
る処理を行つている。
As explained above, in the above embodiment, a coordinate value outside the direct expression range is detected using absolute coordinates, and this is divided into an absolute coordinate within the range and one or more relative coordinates, and the relative coordinate value is Detects coordinate values that are outside the direct expression range, divides them into two or more relative coordinates, converts them so that they are all within the direct expression range, and then uses the original graphics command or A process is performed to automatically create a command that draws a figure equivalent to the original figure command using related commands.

このための具体的処理内容は上記実施例で説明
した方法に限定されない。例えば座標の分割方法
では、第9図ではX軸とY軸のうち変位量の大き
い方の軸を2分割する様に、軸に平行な直線と円
弧との交点を計算して、分割点を求めると説明し
たが、円弧の中心点95を計算してこの中心から
円弧上の2点間を結ぶ線分に垂直な直線が円弧と
交わる点を計算して分割点とする様にしてもよ
い。また分割点は精確な2等分点とする必要はな
く少なくとも片方の軸には適当な丸目を行つた座
標値をとる様にして計算してもよい。また、座標
分割後の図形コマンドの使い方では、例えば第7
図において、Set&Line(Abs)コマンドで始点が
絶対座標で直接表現範囲内であれば、そのまま
Set&Line(Abs)コマンドで始点を表現し、ステ
ツプ群73で終点座標をLine(Abs)と同様に処理
すると説明したが、終点座標を絶対座標から相対
座標へ変換することにより、Set&Line(Rel)コ
マンドのみを使用して表現する様にすることもで
きる。また、第11図の例で説明した様に、Rec
(Filled)コマンドを分割した場合は、Poly
(Filled)コマンドでなく、分割後のRec(Filled)
コマンドによつて表現する様にしても差支えな
い。要は、元の図形コマンドでは直接表現範囲外
となる絶対座標または相対座標を小数値により直
接表現可能な範囲内の座標値となる様に分割処理
を行うことができれば、座標入力デバイスを用い
て小数値表現の座標表現能力に拘束されない任意
の図形コマンドを入力することが可能となるわけ
である。
The specific processing contents for this purpose are not limited to the method described in the above embodiment. For example, in the method of dividing coordinates, in Figure 9, the intersection of a straight line parallel to the axis and a circular arc is calculated to divide the axis with the larger amount of displacement between the X axis and the Y axis into two, and the dividing point is determined. Although it has been explained that the center point 95 of the arc is calculated, the point where a straight line perpendicular to the line segment connecting two points on the arc from this center intersects with the arc may be calculated and used as the dividing point. . Further, the dividing point does not need to be an exact bisecting point, and calculations may be made by taking coordinate values with appropriate rounding on at least one axis. In addition, in how to use the figure command after coordinate division, for example, the 7th
In the diagram, if the starting point is within the direct expression range in absolute coordinates using the Set&Line (Abs) command, it will remain as it is.
It was explained that the start point is expressed with the Set & Line (Abs) command, and the end point coordinates are processed in the same way as Line (Abs) in step group 73, but by converting the end point coordinates from absolute coordinates to relative coordinates, the Set & Line (Rel) command It is also possible to express it using only . Also, as explained in the example of Figure 11, Rec
(Filled) If you split the command, Poly
Rec(Filled) after splitting, not the (Filled) command
There is no problem in expressing it by a command. In short, if it is possible to divide absolute or relative coordinates that are outside the range of direct expression using the original graphical commands into coordinate values within the range that can be directly expressed using decimal values, then you can use the coordinate input device to This makes it possible to input arbitrary graphical commands that are not restricted by the coordinate representation ability of decimal value representation.

なお、上記実施例では座標入力手段1としてタ
ブレツトを用いるとしたが、トラツクボールやマ
ウス,ライトペン等他の座標入力手段を用いても
よいことは勿論である。また画像表示手段4はグ
ラフイツク表示装置を用いるとしたが、中央処理
装置21と記憶装置22内のプログラムによつて
図形描画機能もソフトウエア的に実現できる様に
すれば、表示手段4は単なる画像メモリと、それ
に接続されたTVモニター等の表示デバイスの様
に構成することも可能である。更に、上記実施例
の説明では、図形コマンドの種類はNAPLPSの
図形コマンドのセツトを仮定したが、他の図形コ
マンドのセツトであつても、座標値の分割によつ
て図形コマンドが全く図形コマンドとして表現し
得ないようにならない限り、この発明の方法が使
用可能である。また、上記実施例の説明では表示
画面が第16図の絶対座標による直接表現範囲と
一致する場合について説明したが、本発明による
図形入力方式は、表示画面が直接表現範囲と一致
しない場合でも適用可能であり、直接表現範囲外
の座標値を同様に分割して変換すればよいことは
言うまでもない。
In the above embodiment, a tablet is used as the coordinate input means 1, but it goes without saying that other coordinate input means such as a trackball, mouse, light pen, etc. may be used. Furthermore, although the image display means 4 uses a graphic display device, if the graphic drawing function can also be realized in software by the programs in the central processing unit 21 and the storage device 22, the display means 4 can be used as a simple image display device. It is also possible to configure it as a memory and a display device such as a TV monitor connected to it. Furthermore, in the explanation of the above embodiment, it is assumed that the type of graphic command is a set of NAPLPS graphic commands, but even if it is a set of other graphic commands, the graphic commands may not be treated as graphic commands at all due to the division of coordinate values. The method of this invention can be used as long as it does not become impossible to express. Furthermore, in the explanation of the above embodiment, the case where the display screen coincides with the direct expression range using absolute coordinates shown in FIG. It goes without saying that this is possible, and that coordinate values outside the direct expression range can be similarly divided and converted.

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

以上説明したように本発明によれば、小数値に
より直接表現可能な所定範囲外の絶対座標または
相対座標を、該所定範囲内の絶対座標や相対座標
に分割して特定するようにしたので、所定範囲と
いう制限に囚われることなく、所望図形を自由に
入力でき、作画の効率を向上させる効果がある。
As explained above, according to the present invention, absolute coordinates or relative coordinates outside a predetermined range that can be directly expressed by decimal values are specified by dividing them into absolute coordinates or relative coordinates within the predetermined range. A desired figure can be input freely without being restricted by a predetermined range, which has the effect of improving drawing efficiency.

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

第1図は本発明の実施例の構成を示す全体構成
図、第2図は本発明の実施例における図形入力方
式のシステム構成図、第3図乃至第13図は本発
明の実施例の動作を説明するためのフローチヤー
ト及び処理内容の例であり、第3図と第4図は
Point Setコマンド、第5図と第6図はLineコマ
ンド、第7図はSet&Lineコマンド、第8図と第
9図はArc(Filled)コマンド、第10図と第11
図はRec(Filled)コマンド、第12図と第13図
はPoly(Filled)コマンドに関する処理を示す説
明図、第14図乃至第17図は単位画面の概念を
説明するための図で、第14図は単位画面と表示
画面の関係の例、第15図は小数値による座標を
表わす図形コマンドの符号形式の例、第16図は
直接表現範囲の例、第17図は小数値表現におけ
る座標表現能力に制限があるために生じる問題の
例を示す。 図において、1……座標入力手段、4……図形
表示手段(表示手段)。なお、図中同一符号は同
一または相当部分を示す。
FIG. 1 is an overall configuration diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a system configuration diagram of a graphic input method in an embodiment of the present invention, and FIGS. 3 to 13 are operation diagrams of an embodiment of the present invention. This is an example of a flowchart and processing contents to explain the process, and Figures 3 and 4 are
Point Set command, Figures 5 and 6 are Line commands, Figure 7 is Set & Line command, Figures 8 and 9 are Arc (Filled) commands, Figures 10 and 11 are
The figure shows the Rec (Filled) command, Figures 12 and 13 are explanatory diagrams showing processing related to the Poly (Filled) command, and Figures 14 to 17 are diagrams to explain the concept of the unit screen. The figure shows an example of the relationship between the unit screen and the display screen, Figure 15 shows an example of the code format of a graphical command that represents coordinates using decimal values, Figure 16 shows an example of a direct expression range, and Figure 17 shows coordinate expression in decimal value representation. Provide examples of problems that arise due to limited ability. In the figure, 1...coordinate input means, 4... graphic display means (display means). Note that the same reference numerals in the figures indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】 1 座標面を有する表示手段と、上記座標面上の
座標を特定する座標入力手段とを備え、所望形状
の図形を入力するようにした図形入力方式におい
て、 上記座標面上における小数値により直接表現可
能な所定範囲の外の絶対座標又は相対座標を検出
し、当該座標を、該所定範囲内の絶対座標と相対
座標との組合せ又は相対座標と相対座標との組合
せで特定することにより、該所定範囲を超えて位
置する所望図形の入力を可能としたことを特徴と
する図形入力方式。
[Scope of Claims] 1. In a figure input method comprising a display means having a coordinate plane and a coordinate input means for specifying coordinates on the coordinate plane, and for inputting a figure of a desired shape, Detect absolute coordinates or relative coordinates outside a predetermined range that can be directly expressed by decimal values in , and specify the coordinates by a combination of absolute coordinates and relative coordinates or a combination of relative coordinates and relative coordinates within the predetermined range. A figure input method characterized in that, by doing so, it is possible to input a desired figure located beyond the predetermined range.
JP17301685A 1985-08-06 1985-08-06 Graphic input device Granted JPS6232575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17301685A JPS6232575A (en) 1985-08-06 1985-08-06 Graphic input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17301685A JPS6232575A (en) 1985-08-06 1985-08-06 Graphic input device

Publications (2)

Publication Number Publication Date
JPS6232575A JPS6232575A (en) 1987-02-12
JPH054718B2 true JPH054718B2 (en) 1993-01-20

Family

ID=15952635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17301685A Granted JPS6232575A (en) 1985-08-06 1985-08-06 Graphic input device

Country Status (1)

Country Link
JP (1) JPS6232575A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3952896B2 (en) 2002-07-30 2007-08-01 キヤノン株式会社 Coordinate input device, control method therefor, and program
JP6708117B2 (en) * 2016-12-26 2020-06-10 カシオ計算機株式会社 Graphic drawing device, graphic drawing method, server device, program, and method for transmitting program
JP6942964B2 (en) * 2017-01-17 2021-09-29 カシオ計算機株式会社 Drawing method, drawing device, and program

Also Published As

Publication number Publication date
JPS6232575A (en) 1987-02-12

Similar Documents

Publication Publication Date Title
JP3186241B2 (en) Figure editing device
JP3359634B2 (en) Graphics output system with in-bounds update
EP0644509A2 (en) Method and apparatus for filling polygons
JPH0336668A (en) Shape generating system for cad system
JPH054718B2 (en)
JPH08329004A (en) Method for improving terminal operability of application program use
CN114692240A (en) CAD drawing method and device, storage medium and computer equipment
JPH0350686A (en) Graphic processing system
JP2915413B2 (en) Character processing method and apparatus
JPH07113978B2 (en) Graphic data processing device
JPH0113114B2 (en)
JP3255685B2 (en) Image correction method
JP2520485B2 (en) Dragging and rubber band independent display system
JPH02201688A (en) Image data editing device
JP3510321B2 (en) Line breaker
JPS62115578A (en) Graphic display device
JPH06131408A (en) Input contents display device
JPH07220103A (en) Graphic processor
JPS63189975A (en) Graphic input device
JPH07325927A (en) Image data processor and system using same
JPH01246673A (en) Graphic processor
JPH01191928A (en) Data input device
JPH04128794A (en) Graphic editing device
JPH0335376A (en) Triangle dividing/drawing system for convex polygon
JPH0245227B2 (en)