JPS6330983A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPS6330983A
JPS6330983A JP17385686A JP17385686A JPS6330983A JP S6330983 A JPS6330983 A JP S6330983A JP 17385686 A JP17385686 A JP 17385686A JP 17385686 A JP17385686 A JP 17385686A JP S6330983 A JPS6330983 A JP S6330983A
Authority
JP
Japan
Prior art keywords
line
intersection
feature point
point
points
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP17385686A
Other languages
Japanese (ja)
Other versions
JPH0785266B2 (en
Inventor
Masaaki Nagashima
正明 長島
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP17385686A priority Critical patent/JPH0785266B2/en
Publication of JPS6330983A publication Critical patent/JPS6330983A/en
Publication of JPH0785266B2 publication Critical patent/JPH0785266B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To clear an intersection position and to form an easy-to-see image by detecting the intersection position, adjusting one side length of a line element to constitute the detected line and setting a line part to constitute the detected line to the intersection position. CONSTITUTION:The starting point and terminal point positions, which are two feature points, are designated by a mouse 1 and the coordinate position is inputted through a position detecting part 4. Next, when the section between two points is linked, it is discriminated whether or not other generating feature point (intersection) exists, and when the feature point (intersection) newly occurs, it is discriminated whether or not the line part of the own straight line comes to the first feature point position. At this time, it is discriminated whether or not the line segment of other straight line exists at the characteristic point. When it is discriminated that the blank part of other straight line comes to the feature point, a step S7 adjusts the length of the line part to constitute other straight line and the blank part and the line part comes to the feature point. Thus, when the line is drawn by a broken line, the line part to constitute the broken line is positioned to the intersection position with other line without fail and the intersection position is cleared.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は図形処理装置、特に線で図形を描画する図形処
理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a graphic processing device, and particularly to a graphic processing device that draws graphics using lines.

[従来の技術] 最近のワードプロセッサ等には図形処理機能が付随した
ものが多くなってきた。例えばこの図形処理機能のうち
で、作表機能について説明してみた場合、実線は基より
破線を利用して表を作成したり、或いは単に線分でもっ
て枠を作成することが可能である。
[Prior Art] In recent years, many word processors and the like are equipped with graphic processing functions. For example, when explaining the tabulation function among these graphic processing functions, it is possible to create a table using broken lines rather than solid lines, or to create a frame using simply line segments.

また、図形処理のための装置にいたっては、その線の種
類は、実線は基より破線、−点鎖線、二点鎖線等の種々
の線種でもって図形処理を施すことが可能である。
Further, in the case of a device for graphic processing, it is possible to perform graphic processing using various line types such as not only solid lines but also broken lines, -dot chain lines, double-dot chain lines, and the like.

[発明が解決しようとする問題点] さて、これらの線部の中で、例えば破線を用いて表を作
成、或いは単に長方形を描こうとした場合を想定してみ
る。このとき、第6図に示すように、その長方形の一辺
の長さが可変(設定する位置によって変化する)である
のに対して、破線を構成する長さが短い実線部(以後、
単に線部という)と空白部の長さは固定されているため
、組合せによってはその長方形の角(端部60)にその
空白部がきてしまうことがあり、見ずらいものになって
いた。
[Problems to be Solved by the Invention] Now, let us assume that among these line parts, for example, a table is created using broken lines, or a rectangle is simply drawn. At this time, as shown in Fig. 6, while the length of one side of the rectangle is variable (changes depending on the set position), the short solid line part (hereinafter referred to as
Since the lengths of the line portion (simply referred to as a line portion) and the blank portion are fixed, depending on the combination, the blank portion may end up at the corner (end portion 60) of the rectangle, making it difficult to see.

また、作図において、例えば破線同志が交わった場合、
前述した理由により交点が第5図(a)に示す様になり
、交点位置が明確にならず、曖昧なものとなっていた。
Also, in drawing, for example, if broken lines intersect,
Due to the above-mentioned reason, the intersection point is as shown in FIG. 5(a), and the location of the intersection point is not clear and is ambiguous.

尚、図中50が人力した2点間を結んだ破線であり、5
1が従前に入力された破線である。
In addition, 50 in the figure is a broken line connecting two points manually drawn, and 5
1 is the previously input broken line.

本発明はかかる従来技術に鑑みなされたものであり、線
の交点、屈曲点或いは分岐点等の特徴点に線部がくる様
にして、その特徴点の位置が確実に認識できる様にした
図形処理装置を提供することにある。
The present invention has been made in view of such prior art, and provides a figure in which the line portion is located at a feature point such as an intersection, a bending point, or a branching point of lines, so that the position of the feature point can be reliably recognized. The purpose of this invention is to provide a processing device.

[問題点を解決するための手段コ この問題を解決するために本発明は以下に示す様な構成
からなる。
[Means for solving the problem] In order to solve this problem, the present invention has the following configuration.

すなわち、少なくとも空白部と線部との線要素からなる
線を描くとき、他の線との交点位置を検出する第1の検
出手段と、前記交点を形成する複数の線の中で前記交点
位置に前記空白部が位置する線を検出する第2の検出手
段と、該第2の検出手段により検出された線を構成する
前記線要素の少なくとも一方の長さを調整する調整手段
とを備える。
That is, when drawing a line consisting of line elements of at least a blank part and a line part, the first detection means detects the intersection position with another line, and the first detection means detects the intersection position among the plurality of lines forming the intersection point. and an adjusting means for adjusting the length of at least one of the line elements constituting the line detected by the second detecting means.

[作用] かかる本発明の構成において、第1の検出手段により交
点位置を検出し、第2の検出手段により検出された線を
構成する線要素の少なくとも一方の長さを調整手段によ
り調整し、第2の検出手段により検出された線を構成す
る線部が交点位置にくる様にする。
[Operation] In the configuration of the present invention, the intersection position is detected by the first detection means, and the length of at least one of the line elements constituting the line detected by the second detection means is adjusted by the adjustment means, The line portions constituting the line detected by the second detection means are arranged to be at the intersection position.

[実施例コ 以下、添付図面に従って本発明に係る実施例を詳細に説
明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本実施例の図形処理装置のブロック構成図であ
る。
FIG. 1 is a block diagram of the graphic processing apparatus of this embodiment.

図中、1は図形処理装置本体であり、2は座標位置を人
力するための、例えばマウスである。3は図形処理装置
本体1を制御するCPUであり、内部のROM3a内に
格納されたプログラムに従って動作する。また、3bは
CPU3のワークエリアとして使用するRAMである。
In the figure, 1 is the main body of the graphic processing device, and 2 is, for example, a mouse for inputting coordinate positions manually. 3 is a CPU that controls the graphics processing apparatus main body 1, and operates according to a program stored in an internal ROM 3a. Further, 3b is a RAM used as a work area for the CPU 3.

尚、ROM3aには第2図に示すフローチャートの処理
手順に従ったプログラムが格納されている。4はマウス
2から送信されてくる信号でもって、その位置を検出す
る位置検出部である。5はマウス2より指定された2点
間を破線で結ぼうとしたときに他の線と交差するか否か
を判別し、始点から最初の交点までの距離、及び交点が
複数あるときには交点間の距離を算出し、これらの距離
から交点(以下線の両端点及び交点を単に特徴点という
)位置に破線を構成する線要素(空白部と線部)のうち
、空白部がくるか否かを判別する特徴点状態判定部であ
る。6は特徴点判定部5からの指示により破線を構成す
る線要素の長さを調整する破線パターン調整部である。
Note that the ROM 3a stores a program that follows the processing procedure of the flowchart shown in FIG. Reference numeral 4 denotes a position detection unit that detects the position of the mouse 2 using a signal transmitted from the mouse 2. 5 determines whether or not a dashed line intersects with another line when connecting two points specified by mouse 2, and determines the distance from the starting point to the first intersection, and the distance between the intersections if there are multiple intersections. From these distances, determine whether a blank part of the line elements (blank part and line part) that makes up the broken line will be located at the intersection (hereinafter both end points of the line and the intersection are simply referred to as feature points). This is a feature point state determination unit that determines. Reference numeral 6 denotes a broken line pattern adjustment unit that adjusts the lengths of line elements constituting a broken line based on instructions from the feature point determination unit 5.

7は調整された線要素に従つて破線パターンを発生する
破線パターン発生部であり、ここで発生した破線パター
ンは表示部8に表示される。9は従前に人力された線の
端点(2点)の座標位置を記憶するデータ記憶メモリで
ある。
7 is a broken line pattern generating section that generates a broken line pattern according to the adjusted line elements, and the broken line pattern generated here is displayed on the display section 8. Reference numeral 9 denotes a data storage memory for storing the coordinate positions of the end points (two points) of the line previously manually drawn.

以上の様な構成からなる本実施例の図形処理装置におけ
る処理概要を説明する。
An overview of the processing in the graphic processing apparatus of this embodiment having the above configuration will be explained.

第4図(a)〜(C)は破線同志が交差するときの特徴
点位置(42,44,46)が明確にならない場合を示
している。図中、40.41.43.45はそれぞれマ
ウス2でもって人力された2点間を結んだ破線である。
FIGS. 4(a) to 4(C) show the case where the feature point positions (42, 44, 46) are not clear when the broken lines intersect. In the figure, 40, 41, 43, and 45 are broken lines connecting two points manually drawn with mouse 2, respectively.

この図からもわかる様に特徴点位置が明確にならない場
合が3通りあるのがわかる。これらの特徴点位置を明確
にする場合、例えば第4図(a)の場合には、破線40
の線部が特徴点42の位置にくる様にすればよいことが
わかる。また第4図(b)の場合には破線43の線部を
、第4図(C)の場合には破線40.45の線部をそれ
ぞれの特徴点位置44.46の位置にくる様にすること
で解決できることがわかる。従って第4図(C)の場合
には2本の破線を調整することになるわけである。
As can be seen from this figure, there are three cases in which the feature point positions are not clear. When clarifying the positions of these feature points, for example in the case of FIG. 4(a), the broken line 40
It can be seen that it is sufficient to arrange the line portion to be at the position of the feature point 42. Also, in the case of Fig. 4(b), the line part of the broken line 43 and in the case of Fig. 4(C), the line part of the broken line 40.45 are placed at the respective feature point positions 44.46. You can see that it can be solved by doing this. Therefore, in the case of FIG. 4(C), the two broken lines have to be adjusted.

以下、調整例として第5図(a)、(b)を参照にして
説明する。尚第5図(a)は第4図(a)に対応してい
るものである。
An example of adjustment will be described below with reference to FIGS. 5(a) and 5(b). Note that FIG. 5(a) corresponds to FIG. 4(a).

また、本実施例においては、破線を構成する線要素の線
部、空白部の基本長をそれぞれ10mm。
Further, in this embodiment, the basic lengths of the line portion and the blank portion of the line elements constituting the broken line are each 10 mm.

6II1mとするがこれに限定されるものではない。6II1m, but is not limited to this.

さて、通常、2点を指定したときには、その2点間を基
本長の線部と空白部とを交互に描いていくことにより破
線を表現することになる。しかし、この場合、始点は問
題がないが、特徴点においては、線部が必ずしも位置す
るとは限らず、それらの特徴点(交点及び端点)の位置
が曖昧になる(第5図(a))。従って、この場合には
各特徴点間にある破線の線要素の内どちらか一方の長さ
を調整することにより、特徴点に線部がくる様にできる
ことになる。尚、本実施例においては線要素の線部と空
白部の両方を、その基本長の比に従って調整することに
した。この様にすると調整された破線全体のイメージと
、基本長の線要素からなる破線のイメージとの見た目の
変化が小さくなり、違和感がなくなるというメリットが
あるからである。
Now, normally, when two points are specified, a broken line is expressed by alternately drawing a line portion of the basic length and a blank portion between the two points. However, in this case, although there is no problem with the starting point, line parts are not necessarily located at the feature points, and the positions of those feature points (intersections and end points) become ambiguous (Figure 5 (a)) . Therefore, in this case, by adjusting the length of one of the broken line elements between the feature points, the line portion can be positioned at the feature point. In this embodiment, both the line part and the blank part of the line element are adjusted according to the ratio of their basic lengths. This is because the difference in appearance between the image of the entire adjusted broken line and the image of the broken line made up of line elements of the basic length is small, and there is an advantage that the image does not feel strange.

また、特徴点位置に空白部がくるか否かの判別方法であ
るが、それは始点と特徴点との間(或いは特徴点と次の
特徴点との間)の仮想距離文が次の不等式を満足すると
きに、特徴点に空白部がくることになる。
In addition, there is a method for determining whether a blank space appears at the position of a feature point, and it is determined that the virtual distance statement between the starting point and the feature point (or between the feature point and the next feature point) satisfies the following inequality. When satisfied, a blank space will appear at the feature point.

n  (bow)+b<A<(n+1)  (bow)
     −(1)但し、b・線部の基本長(10mm
) W:空白部の基本長(6mm) n+1.2.・・・の整数である。
n (bow)+b<A<(n+1) (bow)
-(1) However, the basic length of b/line part (10mm
) W: Basic length of blank part (6mm) n+1.2. ... is an integer.

第5図(a)に適応させてみると、旦=44であるから
、n=2のときに不等式(1)を満足することになり、
特徴点に空白部がきてしまうことがわかる。
When applied to Figure 5(a), since dan = 44, inequality (1) is satisfied when n = 2,
It can be seen that blank areas appear at the feature points.

従って、このとき、破線50の線部と空白部の長さを次
式(2)、(3)に従って調整する。
Therefore, at this time, the lengths of the broken line 50 and the blank space are adjusted according to the following equations (2) and (3).

尚、調整後の線部と空白部の長さをそれぞれb’ 、w
’  とする。
The lengths of the line part and blank part after adjustment are b' and w, respectively.
'.

尚、上式は b’ −b :w’ −w=b :wnb
’  +  (n−1)w’  =’1に従って導かれ
た式である。
In addition, the above formula is b' - b : w' - w = b : wnb
' + (n-1)w' = '1.

上記、式(2)、(3)に従って算出すると、b’  
=10.48mm、w’  =6.28+nmとなり、
この調整された線要素でもって破線を描くと、第5図(
b)の破線54に示す様に調整され、特徴点位置が明確
になる。
When calculated according to equations (2) and (3) above, b'
= 10.48mm, w' = 6.28+nm,
When a broken line is drawn using this adjusted line element, Figure 5 (
The adjustment is made as shown by the broken line 54 in b), and the position of the feature point becomes clear.

以上の処理により、始点52及び特徴点53間の破線が
調整が終了したら、今度は特徴点53を始点として次の
特徴点(交点か終点)との調整処理に入ることになる。
After the adjustment of the broken line between the starting point 52 and the feature point 53 is completed through the above process, the adjustment process starts with the feature point 53 as the starting point and the next feature point (intersection or end point).

以上の説明は第4図(a)についての説明であったが、
第4図(b)、(C)についても全く同様である。
The above explanation was about FIG. 4(a), but
The same holds true for FIGS. 4(b) and 4(C).

以上の様な処理概要で破線を構成する線要素の長さを調
整することにより、その特徴点が常に明確になるわけで
あるが、その処理手順を第2図のフローチャートに従っ
て説明する。
By adjusting the length of the line elements constituting the broken line in the above-mentioned processing outline, the characteristic points of the broken line are always made clear.The processing procedure will be explained according to the flowchart of FIG. 2.

先ず、ステップS1で2つの特徴点である始点及び終点
位置をマウス1により指定し、位置検出部4を介して、
その座標位置を人力する。次にステップS2では、その
2点間を結んだときに発生する他の特徴点(交点)があ
るか否かを判別する。このとき、他の線分と交わらない
と判別した場合にはステップS8に移り、人力された始
点と終点間の調整をする。なぜなら、終点においても破
線の空白部がくるかもしれないからである。また、ステ
ップS2の判別で新たに特徴点(交点)が発生したとき
にはステップS3に移り、以下に説明する処理をする。
First, in step S1, the starting point and ending point positions, which are two feature points, are specified using the mouse 1, and via the position detecting section 4,
The coordinates are determined manually. Next, in step S2, it is determined whether there is another feature point (intersection) that occurs when the two points are connected. At this time, if it is determined that the line segment does not intersect with another line segment, the process moves to step S8, and the manually entered starting point and ending point are adjusted. This is because there may be a dashed blank space even at the end point. Further, when a new feature point (intersection) is generated in the determination in step S2, the process moves to step S3, and the process described below is performed.

尚、ここでいう特徴点(交点)位置の算出方法であるが
、それは入力された2つの端点(支点と終点)を結ぶ仮
想直線の方程式とデータ格納メモリ9内に格納された2
点の座標を結ぶ直線の方程式との解を求めることにより
なされるものである。
The method of calculating the feature point (intersection) position here is based on the equation of a virtual straight line connecting the two input end points (fulcrum and end point) and the two input points stored in the data storage memory 9.
This is done by finding a solution to the equation of a straight line connecting the coordinates of the points.

ステップS3では、ステップS1で人力された2点間を
破線で結ぶ(以下、この線を特に自直線という)ときに
、最初の特徴点位置に自直線の線部がくるか否かを判別
する。この判別の基で線部がくることがわかったならス
テップS4に穆るが、その特徴点に線部がこない(すな
わち、空白部がくる)と判別した場合(第4図(a)。
In step S3, when connecting the two points manually entered in step S1 with a broken line (hereinafter, this line is particularly referred to as a self-straight line), it is determined whether the line portion of the self-straight line comes to the first feature point position. . If it is determined that a line portion is present based on this determination, the process proceeds to step S4, but if it is determined that a line portion is not present at the feature point (that is, a blank portion is present) (FIG. 4(a)).

(C)のケース)には、ステップS6で始点からその特
徴点までの自直線を構成する線部と空白部の長さを調整
し、ステップS4に移る。ステップS4では、今度はそ
の特徴点に、他の直線(以下、この線を他直線という)
の線分があるか否かを判別する。この判断で、他直線の
線部が特徴点にあると判断したときにはステップS5に
移るS6と同様に他直線を構成する線部と空白部との長
さの調整をして、特徴点に線部がくる様にする。
In case (C)), in step S6, the lengths of the line part and the blank part constituting the self-straight line from the starting point to the feature point are adjusted, and the process moves to step S4. In step S4, another straight line (hereinafter referred to as "other straight line") is attached to the feature point.
Determine whether there is a line segment. In this judgment, if it is determined that the line part of the other straight line is located at the feature point, the process moves to step S5.Similar to S6, the lengths of the line part and blank part constituting the other straight line are adjusted, and the line part of the other straight line is located at the feature point. Let's make sure that the department comes.

これでステップS1で人力された始点から最初の特徴点
における交差位置を明確することができたことになる。
This means that the intersection position at the first feature point from the starting point manually entered in step S1 can be clarified.

さて、ステップS5では全ての特徴点に対して処理され
たか否かを判別する。この判別で、まだ、特徴点がある
と判断した場合には、先にその位置を明確にした特徴点
を今度は始点としてみて、次の特徴点との間で同様の処
理をすることになる。
Now, in step S5, it is determined whether all feature points have been processed. If this judgment determines that there are still feature points, the feature point whose position was clarified earlier will be considered as the starting point, and the same process will be performed with the next feature point. .

また、以上の説明では2点間を破線でもって結んだとき
、他の線との交点位置を明確にする場合を説明したが、
例えば第6図に示す長方形を描くときには、それぞれの
線分(4本)の屈曲点を特徴点として処理すれば角に確
実に線部が位置することになる。また、その他の例えば
分岐点等も全く同様である。
Also, in the above explanation, when two points are connected with a broken line, the intersection position with another line is made clear.
For example, when drawing a rectangle shown in FIG. 6, if the bending points of each line segment (four lines) are treated as feature points, the line portion will be reliably located at the corner. Further, the same applies to other points such as branch points.

以上、説明した様に本実施例によれば、破線でもって線
を描くときに、他の線との交点位置に破線を構成する線
部が確実に位置することになり、交点位置が明確になる
As explained above, according to this embodiment, when a line is drawn using a broken line, the line part that makes up the broken line is reliably located at the intersection with another line, and the intersection is clearly located. Become.

また、本実施例においては交点位置の両端に線部そのも
のの長さがくることになり、結局その交点は2倍の長さ
の線部から構成されることになるが、特徴点位置の両端
の線部の長さを1/2とすることにより、第3図に示す
様に特徴点位置(33〜35)を線部の長さにすること
もできる。
In addition, in this example, the length of the line part itself will be at both ends of the intersection position, and the intersection will eventually be composed of a line part with twice the length, but the length of the line part itself will be at both ends of the feature point position. By setting the length of the line part to 1/2, the feature point positions (33 to 35) can be made equal to the length of the line part as shown in FIG.

尚、本実施例において、線要素の長さを調整するときに
、その線部と空白部をそれぞれ基本長より長くしたが、
短く調整することによっても同様の効果が達成されるこ
とは明らかであり、また線要素の一方の長さのみ調整す
る様にしても構わない。
In addition, in this example, when adjusting the length of a line element, the line part and the blank part were each made longer than the basic length.
It is clear that the same effect can be achieved by adjusting the length of the line element to be shorter, and the length of only one of the line elements may be adjusted.

また、本実施例では破線を構成する個々の線部と空白部
の長さを調整したが、例えば1木の線部(或いは空白部
)に対してのみ長さを調整することによっても同様の効
果が達成できるし、2本或いはそれ以上の本数の線部(
或いは空白部)の長さのみを調整することによっても達
成できる。
Furthermore, in this embodiment, the lengths of the individual line parts and blank parts constituting the broken line are adjusted, but the same result can also be achieved by adjusting the length of only one line part (or blank part), for example. The effect can be achieved by using two or more lines (
Alternatively, this can also be achieved by adjusting only the length of the blank space.

更に本実施例では破線をその対象にして述べたが、例え
ば点線、−点鎖線、二点鎖線等に対しても応用できるこ
とは勿論のことである。
Furthermore, although this embodiment has been described with reference to a broken line, it is of course applicable to, for example, a dotted line, a dashed-dot line, a dashed-two dotted line, etc.

また、本実施例においては表示装置に表示する場合を説
明したが、例えば永久可視像(印刷装置及びx−yプロ
ッタ等)を形成するときに適応しても構わない。
Further, in this embodiment, the case where the display is displayed on a display device has been described, but the present invention may also be applied to, for example, forming a permanent visible image (a printing device, an x-y plotter, etc.).

更には、2点間を結ぶ線として、円弧を挙げた場合、線
の長さを求めて処理してもよいが、角度でもって処理す
ることにより達成しても構わない。
Furthermore, if a circular arc is used as the line connecting two points, the length of the line may be calculated and processed, but it may also be achieved by processing using an angle.

[発明の効果] 以上、説明した様に本発明によれば、線部と空白部の線
要素でもって構成される線を描くとき、他の線との交点
位置に線部が位置し、その交点位置が明確になり、見や
すい画像を形成することができる。
[Effects of the Invention] As explained above, according to the present invention, when a line composed of line elements of a line part and a blank part is drawn, the line part is located at the intersection with another line, and the line part is located at the intersection with another line. The position of the intersection becomes clear, and an image that is easy to see can be formed.

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

第1図は本実施例の画像処理装置にブロック構成因、 第2図は本実施例の処理手順を説明するためのフローチ
ャート、 第3図は本実施例の図形処理装置で破線を複数描いたと
きの出力を示す図、 第4図(a)〜(C)は破線と同志が交差するときに、
その交点位置が明確にならないことを示す図、 第5図(a ’)は従来技術を説明するための図、第5
図(b)は本実施例の効果を示す図、第6図は従来技術
を示す図である。 図中、1・・・図形処理装置本体、2・・・マウス、3
・・−CPU、3 a−FtOM、3 b−・RAM、
4−・・位置検出部、5・・・端点状態判定部、6・・
・破線パターン調整部、7・・・破線パターン発生部、
8・・・表示部、9・・・データ格納メモリである。 第2図 (b)     □ 丁 第4図 m−−ノ
Fig. 1 shows the block structure of the image processing device of this embodiment, Fig. 2 is a flowchart for explaining the processing procedure of this embodiment, and Fig. 3 shows a plurality of broken lines drawn in the graphic processing device of this embodiment. Figures 4 (a) to (C) show the output when the broken line intersects with the dotted line,
A diagram showing that the intersection position is not clear; Figure 5 (a') is a diagram for explaining the prior art;
FIG. 6B is a diagram showing the effect of this embodiment, and FIG. 6 is a diagram showing the conventional technique. In the figure, 1... Graphic processing device body, 2... Mouse, 3
...-CPU, 3 a-FtOM, 3 b-・RAM,
4--Position detection unit, 5-End point state determination unit, 6-...
- Broken line pattern adjustment section, 7... Broken line pattern generation section,
8...Display unit, 9...Data storage memory. Figure 2 (b) □ Figure 4 m--no

Claims (3)

【特許請求の範囲】[Claims] (1)少なくとも空白部と線部との線要素からなる線を
描くとき、他の線との交点位置を検出する第1の検出手
段と、前記交点を形成する複数の線の中で前記交点位置
に前記空白部が位置する線を検出する第2の検出手段と
、該第2の検出手段により検出された線を構成する前記
線要素の少なくとも一方の長さを調整する調整手段とを
備え、前記交点位置に前記線部がくる様にしたことを特
徴とする図形処理装置。
(1) When drawing a line consisting of line elements of at least a blank part and a line part, a first detection means for detecting the position of an intersection with another line; and a first detection means for detecting the position of an intersection with another line; A second detection means for detecting a line in which the blank portion is located at a position, and an adjustment means for adjusting the length of at least one of the line elements constituting the line detected by the second detection means. , A graphic processing device characterized in that the line portion is located at the intersection position.
(2)調整手段は空白部と線部との長さの比に従ついて
調整することを特徴とする特許請求の範囲第1項記載の
図形処理装置。
(2) The graphic processing apparatus according to claim 1, wherein the adjusting means adjusts according to the ratio of the lengths of the blank portions and the line portions.
(3)第2の検出手段は交点位置と該交点位置の隣りの
交点位置或いは端点位置との距離に従つて判別すること
を特徴とする特許請求の範囲第1項記載の図形処理装置
(3) The graphic processing apparatus according to claim 1, wherein the second detection means makes the determination according to the distance between the intersection position and an adjacent intersection position or end point position.
JP17385686A 1986-07-25 1986-07-25 Graphic processing device Expired - Lifetime JPH0785266B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17385686A JPH0785266B2 (en) 1986-07-25 1986-07-25 Graphic processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17385686A JPH0785266B2 (en) 1986-07-25 1986-07-25 Graphic processing device

Publications (2)

Publication Number Publication Date
JPS6330983A true JPS6330983A (en) 1988-02-09
JPH0785266B2 JPH0785266B2 (en) 1995-09-13

Family

ID=15968414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17385686A Expired - Lifetime JPH0785266B2 (en) 1986-07-25 1986-07-25 Graphic processing device

Country Status (1)

Country Link
JP (1) JPH0785266B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111989714B (en) * 2018-04-06 2024-06-11 三菱电机株式会社 Dotted line correction device and dotted line correction method

Also Published As

Publication number Publication date
JPH0785266B2 (en) 1995-09-13

Similar Documents

Publication Publication Date Title
JPS6330983A (en) Graphic processor
JPS6330984A (en) Graphic processor
JPS6330982A (en) Graphic processor
JPS6330977A (en) Graphic processor
JPH02232775A (en) Graphic processor
JPS61256483A (en) Painting out circuit of sector graphic
JPH0821085B2 (en) Clipping circuit
JP3089842B2 (en) Outline font processor
JP3139431B2 (en) Connection determination device, method and recording medium
JPS60222975A (en) Picture drawing device
JP3681240B2 (en) Three-dimensional shape display method and three-dimensional CAD system using the method
JPH0341568A (en) Grid correcting system
JPS60191369A (en) Graphic output device
JPH0792694B2 (en) NC data creation method by CAD / CAM device
JPH06215079A (en) Graphic processor
JPH05290178A (en) Handwritten curve display system
JPS6394372A (en) Graphic input device
JPS636685A (en) Vector drawing system
JPH0635911A (en) Phonetic kana display system
JPH06124106A (en) Method for setting screen output from digitizer
JPH02234195A (en) Data converter
JPH0520313A (en) Ruled line drawing mechanism
JPH096811A (en) Area arithmetic unit
JPH05120360A (en) Method for preparing dimension line in drawing device
JPH0269241A (en) Typesetting correction device and rule entry

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term