JPH0785132A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH0785132A
JPH0785132A JP5228617A JP22861793A JPH0785132A JP H0785132 A JPH0785132 A JP H0785132A JP 5228617 A JP5228617 A JP 5228617A JP 22861793 A JP22861793 A JP 22861793A JP H0785132 A JPH0785132 A JP H0785132A
Authority
JP
Japan
Prior art keywords
pattern
displayed
calculated
straight line
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5228617A
Other languages
Japanese (ja)
Inventor
Yoshihisa Kayanaka
良久 茅中
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP5228617A priority Critical patent/JPH0785132A/en
Publication of JPH0785132A publication Critical patent/JPH0785132A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a graphic processing unit in which plural calculation results are displayed with convenience of use. CONSTITUTION:When a line segment part or a curved part being a component of a pattern displayed on a CRT is selected by the operator (S20: Yes), a CPU calculates the length of the selected part (S30), and generates data for a pattern image to be displayed on a calculation result display area so that which part is calculated is recognized (S40), the pattern image is displayed on the calculation result area based on the generated data (S50) and the result of calculation is displayed next to the pattern image (S60).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、衣服等のパターンの図
形処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern processing apparatus for patterns such as clothes.

【0002】[0002]

【従来の技術】従来、図形処理装置において編集中のパ
ターンの直線部分やカーブ部分の長さを計算する場合、
直前に指定された直線部分やカーブ部分の計算結果だけ
が画面上の決まった位置に表示されていた。
2. Description of the Related Art Conventionally, when calculating the length of a straight line portion or a curved portion of a pattern being edited in a graphic processing apparatus,
Only the calculation result of the straight line part or the curve part specified immediately before was displayed at a fixed position on the screen.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、複数の
部位の長さを次々に計算する場合、最後に計算し、表示
された値以外は、その都度消えてしまうので、作業者は
どこの部位の長さを測ったか及びその計算結果の値を覚
えておかなければならず、非常に不便であった。
However, when the lengths of a plurality of parts are calculated one after another, the values other than the values calculated and displayed last are deleted each time. It was very inconvenient because I had to remember the length and the calculated value.

【0004】本発明は、上述した問題点を解決するため
になされたものであり、複数の計算結果を表示可能であ
り、使い勝手の良い図形処理装置を提供することを目的
としている。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a graphic processing device which can display a plurality of calculation results and is easy to use.

【0005】[0005]

【課題を解決するための手段】この目的を達成するため
に本発明の図形処理装置は、パターンの形状等を表示す
る表示手段と、前記表示手段に前記パターンを表示する
ように制御するパターン表示制御手段と、前記表示手段
に表示された前記パターンに関して、そのパターンを構
成する直線部分、カーブ部分及び角部等の少なくとも一
つを指定する指定手段と、前記指定手段によって指定さ
れた直線部分、カーブ部分等の長さや、角部の角度を計
算する計算手段と、前記計算手段によって得られた計算
結果を、計算した直線部分、カーブ部分及び角部等を表
すパターンイメージと共に前記表示手段に表示する計算
結果表示手段とを備えている。
To achieve this object, a graphic processing apparatus of the present invention comprises a display means for displaying the shape of a pattern, and a pattern display for controlling the display means to display the pattern. Control means, with respect to the pattern displayed on the display means, designation means for designating at least one of a straight line portion, a curved portion, a corner portion and the like constituting the pattern, and a straight line portion designated by the designating means, Display means for calculating the length of the curved portion and the angle of the corner and the calculation result obtained by the calculating means together with the pattern image representing the calculated straight line portion, curved portion and corner portion on the display means. And a calculation result display means for performing the calculation.

【0006】[0006]

【作用】上記の構成を有する本発明の図形処理装置にお
いては、パターン表示制御手段により表示手段に表示さ
れたパターンの直線部分、カーブ部分及び角部等の少な
くとも一つを、指定手段により指定すると、計算手段
が、指定手段によって指定された直線部分、カーブ部分
の長さや、角部の角度等を計算し、計算結果表示手段
が、計算した直線部分、カーブ部分及び角部等を表すイ
メージパターンと共に計算結果を表示手段に表示する。
In the graphic processing apparatus of the present invention having the above-mentioned configuration, when at least one of the straight line portion, the curved portion and the corner portion of the pattern displayed on the display means by the pattern display control means is designated by the designating means. The calculation means calculates the length of the straight line portion, the curved portion, the angle of the corner portion, etc. designated by the designating means, and the calculation result display means displays the calculated straight line portion, the curved portion, the corner portion, etc. At the same time, the calculation result is displayed on the display means.

【0007】[0007]

【実施例】以下、本発明のパターン入力装置を具体化し
た一実施例を図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the pattern input device of the present invention will be described below with reference to the drawings.

【0008】本実施例のパターン入力装置のハードウェ
ア構成を、図2に示すブロック図に基づいて説明する。
図2に示すように、本装置は、その全体を統括制御する
CPU1に、CPU1が実行するプログラムを記憶して
いるROM2、パターンデータ等を記憶するRAM3、
ハードディスク4、文字や記号及び制御命令等を入力す
るキーボード5、マウス6、図形やメッセージ等を表示
するCRT7及びパターンを入力するデジタイザ8をそ
れぞれ接続することにより構成されている。また、デジ
タイザ8には座標を指定するカーソル9が接続されてい
る。
The hardware configuration of the pattern input device of this embodiment will be described with reference to the block diagram shown in FIG.
As shown in FIG. 2, in the present apparatus, a CPU 1 that controls the entire device, a ROM 2 that stores a program executed by the CPU 1, a RAM 3 that stores pattern data and the like,
The hard disk 4, a keyboard 5 for inputting characters and symbols, control commands and the like, a mouse 6, a CRT 7 for displaying figures and messages, and a digitizer 8 for inputting patterns are respectively connected. Further, a cursor 9 for designating coordinates is connected to the digitizer 8.

【0009】このCRT7が本発明の表示手段を構成
し、マウス6が指定手段を構成し、そして、CPU1が
パターン表示制御手段、計算手段及び計算結果表示手段
を構成している。
The CRT 7 constitutes the display means of the present invention, the mouse 6 constitutes the designation means, and the CPU 1 constitutes the pattern display control means, the calculation means and the calculation result display means.

【0010】次に、本実施例の図形処理装置の動作を図
3に示すフローチャートに基づいて説明する。
Next, the operation of the graphic processing apparatus of this embodiment will be described with reference to the flowchart shown in FIG.

【0011】まず、CPU1が、デジタイザ8より入力
したパターンデータに基づいて、作業者が選択したパタ
ーンAを図4に示すようにCRT7上に表示する(ステ
ップ10、以下S10と略称する)。この状態におい
て、CPU1は、作業者によりパターンAに対して、長
さを計算しようとする直線部分やカーブ部分(一点を中
心とした円弧、円等を含む)が選択されたか否かを判断
する(S20)。
First, the CPU 1 displays the pattern A selected by the operator on the CRT 7 as shown in FIG. 4 based on the pattern data input from the digitizer 8 (step 10, hereinafter abbreviated as S10). In this state, the CPU 1 determines whether or not the operator has selected, for the pattern A, a straight line portion or a curved portion (including an arc, a circle, etc. around a point) whose length is to be calculated. (S20).

【0012】ここで、作業者が、マウス6を操作して、
CRT7上に表示されているマウスカーソル6bをパタ
ーンAの長さを計算しようとする直線部分Bに移動さ
せ、マウス6上に設けられている左ボタン6a(図示せ
ず)を押下すると、CPU1によって、直線部分Bが選
択されたことが判断される(S20:Yes)。
Here, the operator operates the mouse 6 to
When the mouse cursor 6b displayed on the CRT 7 is moved to the straight line portion B where the length of the pattern A is to be calculated and the left button 6a (not shown) provided on the mouse 6 is pressed, , It is determined that the straight line portion B has been selected (S20: Yes).

【0013】次に、CPU1が、選択された直線部分B
の長さを、パターンAのパターンデータに基づいて計算
する(S30)。この処理工程は、前記計算手段として
機能する。
Next, the CPU 1 causes the selected straight line portion B
Is calculated based on the pattern data of pattern A (S30). This processing step functions as the calculation means.

【0014】さらに、CPU1は、小さなイメージ(本
実施例では縦横各64ドット)用のメモリを確保してお
り、S10においてCRT7上に表示したパターンAを
イメージに描画できる大きさに縮小したデータを作成し
て、メモリ記憶させ(S40)、その作成データに基づ
き、図6に示すように、CRT7の計算結果表示エリア
にパターンイメージaを表示する(S50)。この時、
計算した部分を強調するために、図5に示すように、計
算した部分以外は薄く描画し、計算した部分は太い線で
表示する。また、S50で得られた直線部分Bの長さの
計算結果を、図6に示すように、計算結果表示エリアの
パターンAの縮小図の隣に表示する(S60)。前記S
50及びS60の処理工程は、前記計算結果表示手段と
して機能する。
Further, the CPU 1 secures a memory for a small image (64 dots in each of the vertical and horizontal directions in the present embodiment), and in S10, the pattern A displayed on the CRT 7 is reduced to a size which can be drawn in the image. It is created and stored in the memory (S40), and based on the created data, as shown in FIG. 6, the pattern image a is displayed in the calculation result display area of the CRT 7 (S50). At this time,
In order to emphasize the calculated portion, as shown in FIG. 5, the portions other than the calculated portion are thinly drawn, and the calculated portion is displayed with a thick line. Further, the calculation result of the length of the straight line portion B obtained in S50 is displayed next to the reduced view of the pattern A in the calculation result display area as shown in FIG. 6 (S60). The S
The processing steps of 50 and S60 function as the calculation result display means.

【0015】尚、この計算結果表示エリアにはスクロー
ルバーがついており、そのスクロールバーを、作業者が
マウスで操作することにより、過去の計算結果を遡って
見ることができるようになっている。
The calculation result display area is provided with a scroll bar, and the operator can operate the scroll bar with a mouse to view the past calculation results retrospectively.

【0016】このように、本実施例の図形処理装置にお
いては、作業者により選択された直線部分あるいはカー
ブ部分の長さを計算し、その結果を表示する際、その計
算結果と共に、どこの部分を計算したかを示すパターン
イメージを表示させているので、作業者は、パターンの
どの部分を計算したかが一目でわかる。
As described above, in the graphic processing apparatus according to the present embodiment, when calculating the length of the straight line portion or the curved line portion selected by the operator and displaying the result, which portion is displayed together with the calculated result. By displaying the pattern image indicating which has been calculated, the operator can see at a glance which part of the pattern has been calculated.

【0017】また、計算結果は、計算結果表示エリアに
次々に表示されていくので、作業者は過去の計算結果を
メモ等する必要がなく、使い勝手が良い。特に、2つの
パターン間で縫い合わせる部分の長さをそれぞれ計算し
てチェックを行う場合に有効である。
Further, since the calculation results are displayed one after another in the calculation result display area, the operator does not need to make a memo of past calculation results, which is convenient. In particular, it is effective when the length of the stitched portion between the two patterns is calculated and checked.

【0018】以上本発明の実施例について説明したが、
本発明はこうした実施例に限定されるものでなく、本発
明の趣旨を逸脱しない範囲において種々な態様で実施可
能である。
The embodiment of the present invention has been described above.
The present invention is not limited to these examples and can be implemented in various modes without departing from the spirit of the present invention.

【0019】例えば、本実施例においては、パターンの
直線部分、カーブ部分の長さを計算し、計算結果と共に
パターンイメージを表示するように制御しているが、パ
ターンの角部についても指定でき、計算された角度と共
に、どの角部を計算したかを示す印等を付加して、パタ
ーンイメージを表示するようにしても良い。
For example, in the present embodiment, the lengths of the straight line portion and the curved portion of the pattern are calculated and the pattern image is displayed together with the calculation result. However, the corner portion of the pattern can be specified. A pattern image may be displayed by adding a mark or the like indicating which corner has been calculated together with the calculated angle.

【0020】さらに、パターンのグレーディング処理に
おいても適応可能にし、それぞれのサイズに展開された
パターンに対して、同一部分の直線部分やカーブ部分の
長さを計算した時、一つのパターンイメージと共に、各
サイズの計算結果が表示されるように制御しても良い。
Further, the pattern grading process can be adapted, and when the lengths of the straight line portion and the curved portion of the same portion are calculated for the patterns developed in respective sizes, one pattern image and You may control so that the calculation result of size may be displayed.

【0021】[0021]

【発明の効果】以上説明したことから明かなように、本
発明の図形処理装置は、指定手段によって指定された直
線部分、カーブ部分の長さ、角部の角度等を計算手段が
計算し、その計算結果と共に、どの部分を計算したかを
示すパターンイメージを表示手段に表示しているので、
作業者は、どこの部分を計算したかが一目でわかり、使
い勝手が良い。
As is apparent from the above description, in the figure processing device of the present invention, the calculation means calculates the length of the straight line portion, the curved portion, the angle of the corner portion, etc. designated by the designating means, Along with the calculation result, a pattern image showing which part has been calculated is displayed on the display means.
The operator can see at a glance which part has been calculated and is easy to use.

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

【図1】本発明のクレーム対応図である。FIG. 1 is a diagram corresponding to a claim of the present invention.

【図2】本実施例の図形処理装置の電気的構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing an electrical configuration of the graphic processing apparatus of this embodiment.

【図3】本実施例の図形処理装置の動作を示すフローチ
ャートである。
FIG. 3 is a flowchart showing the operation of the graphic processing device of this embodiment.

【図4】本実施例の図形処理装置のパターン表示例の図
である。
FIG. 4 is a diagram showing a pattern display example of the graphic processing apparatus according to the present embodiment.

【図5】パターンイメージの説明図である。FIG. 5 is an explanatory diagram of a pattern image.

【図6】本実施例の図形処理装置の計算結果の表示例の
図である。
FIG. 6 is a diagram showing a display example of calculation results of the graphic processing apparatus according to the present embodiment.

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

1 CPU 6 マウス 7 CRT A パターン a パターンイメージ 1 CPU 6 mouse 7 CRT A pattern a pattern image

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 パターンの形状等を表示する表示手段
と、 前記表示手段に前記パターンを表示するように制御する
パターン表示制御手段と、 前記表示手段に表示された前記パターンに関して、その
パターンを構成する直線部分、カーブ部分及び角部等の
少なくとも一つを指定する指定手段と、 前記指定手段によって指定された直線部分、カーブ部分
等の長さや、角部の角度を計算する計算手段と、 前記計算手段によって得られた計算結果を、計算した直
線部分、カーブ部分及び角部等を表すパターンイメージ
と共に前記表示手段に表示する計算結果表示手段と、 を備えたことを特徴とする図形処理装置。
1. A display unit for displaying the shape of a pattern, a pattern display control unit for controlling the display unit to display the pattern, and a pattern for the pattern displayed on the display unit. Specifying means for specifying at least one of a straight line portion, a curved portion and a corner portion, and a calculating means for calculating the length of the straight line portion, the curved portion etc. specified by the specifying means, and the angle of the corner portion, A graphic processing device comprising: a calculation result display means for displaying the calculation result obtained by the calculation means on the display means together with a calculated pattern image representing a straight line portion, a curved portion, a corner portion and the like.
JP5228617A 1993-09-14 1993-09-14 Graphic processor Pending JPH0785132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5228617A JPH0785132A (en) 1993-09-14 1993-09-14 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5228617A JPH0785132A (en) 1993-09-14 1993-09-14 Graphic processor

Publications (1)

Publication Number Publication Date
JPH0785132A true JPH0785132A (en) 1995-03-31

Family

ID=16879158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5228617A Pending JPH0785132A (en) 1993-09-14 1993-09-14 Graphic processor

Country Status (1)

Country Link
JP (1) JPH0785132A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7306533B2 (en) 2004-09-08 2007-12-11 Pentax Corporation Light source apparatus for electronic endoscope and electronic endoscope
US7336894B2 (en) 2004-03-31 2008-02-26 Pentax Corporation Electronic endoscope system, lighting device for electronic endoscope system, and light controller for electronic endoscope system
US7419450B2 (en) 2004-10-25 2008-09-02 Hoya Corporation Light source apparatus for electronic endoscope and electronic endoscope having the light source apparatus
US7651255B2 (en) 2005-06-16 2010-01-26 Hoya Corporation Light source apparatus for electronic endoscope and electronic endoscope having the light source apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7336894B2 (en) 2004-03-31 2008-02-26 Pentax Corporation Electronic endoscope system, lighting device for electronic endoscope system, and light controller for electronic endoscope system
US7306533B2 (en) 2004-09-08 2007-12-11 Pentax Corporation Light source apparatus for electronic endoscope and electronic endoscope
US7419450B2 (en) 2004-10-25 2008-09-02 Hoya Corporation Light source apparatus for electronic endoscope and electronic endoscope having the light source apparatus
US7651255B2 (en) 2005-06-16 2010-01-26 Hoya Corporation Light source apparatus for electronic endoscope and electronic endoscope having the light source apparatus

Similar Documents

Publication Publication Date Title
JP3015264B2 (en) Information processing apparatus and method
JPH0785132A (en) Graphic processor
JP2792564B2 (en) Figure editing device
JP3582866B2 (en) Image display device
JPH09244858A (en) Control method for window system and information processor
JPH07150407A (en) Graphic data processor
JP2542527B2 (en) Graphic drawing method in graphic processing apparatus
JP2721348B2 (en) Image processing device
JP3115068B2 (en) Screen display control device
JPH07129149A (en) Character plotting device
JPH04163592A (en) Method of window display
JP3169237B2 (en) How to display parallel lines
JP2001046768A (en) Embroidery data preparation device
JP2636014B2 (en) Figure connection control method
JP2536948B2 (en) Three-point specified circular arc detection method and device
JP2753015B2 (en) Attribute input method
JP3000749B2 (en) Character editing device
JPH07331519A (en) Apparatus for figure processing
JP3187137B2 (en) Image processing method and apparatus
JPH05197788A (en) Document preparing device
JPH06124106A (en) Method for setting screen output from digitizer
JPH08287265A (en) Segment display method
JPS613280A (en) Cad device
JPH04175980A (en) Graphic processor
JPH05341938A (en) Grid display device