JPH03174666A - Device and method for drawing graphic - Google Patents

Device and method for drawing graphic

Info

Publication number
JPH03174666A
JPH03174666A JP15973190A JP15973190A JPH03174666A JP H03174666 A JPH03174666 A JP H03174666A JP 15973190 A JP15973190 A JP 15973190A JP 15973190 A JP15973190 A JP 15973190A JP H03174666 A JPH03174666 A JP H03174666A
Authority
JP
Japan
Prior art keywords
partial
order
section
figures
display
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
JP15973190A
Other languages
Japanese (ja)
Other versions
JP2791189B2 (en
Inventor
Ritsuko Hosoya
細谷 律子
Akira Nakajima
晃 中島
Toshiharu Kawasaki
川崎 敏治
Yasumasa 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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2159731A priority Critical patent/JP2791189B2/en
Publication of JPH03174666A publication Critical patent/JPH03174666A/en
Application granted granted Critical
Publication of JP2791189B2 publication Critical patent/JP2791189B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To draw a graphic in the sequence suited to the drawing subject by storing and selecting a partial graphic having a drawing sequence deciding rule and deciding a drawing sequence based on the drawing sequence rules of plural called partial graphics. CONSTITUTION:The partial graphics forming a graphic are stored in a storage means together with each drawing sequence rule. Then these stored graphics are retrieved and read out and then called out to a temporary storage area based on the instruction of a user. A drawing sequence deciding means is selected by the user, and a drawing sequence is decided from the drawing sequence rule of the partial graphic that is called out to the temporary storage area. Thus a graphic is drawn on a display device 202 in the decided sequence. As a result, the graphic can be drawn in the sequence suited to a drawing subject.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数の部分図形より構成される図形や文字、画
像などを、順次ディスプレイ」二に描画し得る描画装置
及び方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a drawing device and method that can sequentially draw figures, characters, images, etc. composed of a plurality of partial figures on a display.

〔従来の技術〕[Conventional technology]

従来の装置として、特開昭62−49477号公報に記
載のように、例えば顔を対象物体とした図形を作成する
にあたって、顔の一部を構成する目2ロ、鼻といった部
分図形をそれぞれ数種類ずつ用意し、これらの部分図形
を適当に組合せて様々の形の顔の画像を作成し得る、描
画装置がある。
As described in Japanese Unexamined Patent Publication No. 62-49477, a conventional device, for example, when creating a figure with a face as a target object, generates several types of partial figures such as eyes, nose, etc. that constitute part of the face. There is a drawing device that can create images of various shapes of faces by appropriately combining these partial figures.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、複数の部分図形や文字2画像などを組
合せて重ね描く場合に、その描画順序については特に配
慮されていない。即ち部分図形の選択順に描画される。
The above-mentioned conventional technology does not give particular consideration to the drawing order when a plurality of partial figures, two images of characters, etc. are combined and drawn in an overlapping manner. That is, the partial figures are drawn in the order in which they are selected.

この場合、例えば「人の顔」を描画しようとする場合、
まず「顔形Jを選択し、次に「髪形」を選択すると、こ
の選択順に「顔形」「髪形」の部分図形が描画され、 
「顔形」の一部に「髪形」の一部が重なり、 「顔形」
の一部に不必要な線が描画されてしまう不都合があった
In this case, for example, if you are trying to draw a "human face",
First, select "Face shape J" and then select "Hair style", then the partial figures of "Face shape" and "Hair style" will be drawn in the selected order.
A part of the "hair style" overlaps a part of the "face shape", and the "face shape"
There was an inconvenience that unnecessary lines were drawn in some parts of the image.

本発明の目的は、ある描画対象図形を描くためにその図
形を構成するための部分図形が数多く用意されているよ
うな場合に、その描画指定順序に拘らず、その描画対象
物に適した順序どおりに描画することが可能な図形描画
装置及び方法を提供することにある。
An object of the present invention is to create an order that is suitable for the object to be drawn, regardless of the specified drawing order, when a large number of partial figures are prepared for composing a certain figure to be drawn. An object of the present invention is to provide a graphic drawing device and method that can draw images according to the specifications.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、ある図形を描くための、描画順序判断ルー
ルを持つ部分図形を、記憶しである記憶手段と、使用者
の指示に従い上記記憶手段から部分図形を、選択し呼び
出す手段と、呼び出した複数個の部分図形の描画順序ル
ールから、描画順序を決定する手段を設けることにより
達成できる。
The above object is to provide a storage means for storing partial figures having drawing order determination rules for drawing a certain figure, a means for selecting and recalling partial figures from the storage means according to instructions from a user, and This can be achieved by providing means for determining the drawing order from the drawing order rules for a plurality of partial figures.

〔作用〕[Effect]

ある図形を構成する部分図形は、各々描画順序ルールと
共に、記憶手段に記憶されている。これらの部分図形を
、検索し、読み出す手段は、ユーザーの指示に従い、−
時記憶領域に呼び出す。描画順序を決定する手段は、使
用者に選択され、−時記憶領域に呼び出されている部分
図形の描画順序ルールから、描画順序を決定し、決定し
た順序で、表示装置に描画させる。
Partial figures constituting a certain figure are each stored in a storage means together with a drawing order rule. The means for searching and reading out these partial figures follows the user's instructions.
recall to the time storage area. The drawing order determining means determines the drawing order from the drawing order rule of the partial figures selected by the user and called up in the -time storage area, and causes the display device to draw in the determined order.

〔実施例〕〔Example〕

以下本発明の一実施例を図面を参照して説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図(a)は本発明の基本的構成を示すブロック図で
ある。本装置は装置全体を制御するコントローラ200
と、キーボードやマウス、専用スイッチなどからなり、
図形の作成や選択をするための入力装置201と、図形
や画像を表示する表示装置202と、1つのまとまった
図形を構成するための小単位の図形や画像である部分図
形のデータを保存するための部分図形記憶メモリ203
と、部分図形記憶メモリ203に保存された部分図形か
ら、所望の図形を描くために必要な部分図形を選択する
部分図形選択部204と、選択した部分図形を一時的に
格納する描画部分図形記憶メモリ205と、描画部分図
形記憶メモリ205に格納されている部分図形を、表示
装置202に所望の図形をなすように、描画順序を比較
決定しつつ描画する描画制御部206と、部分図形記憶
メモリ203の中の内容を書き換える部分図形変更部2
07からなる。またメモリ205は、メモリ203と共
用しても別々に独立して設けてもよい。
FIG. 2(a) is a block diagram showing the basic configuration of the present invention. This device has a controller 200 that controls the entire device.
It consists of a keyboard, mouse, special switches, etc.
An input device 201 for creating and selecting figures, a display device 202 for displaying figures and images, and data for partial figures, which are small units of figures and images forming one unified figure, are stored. Partial figure storage memory 203 for
, a partial figure selection unit 204 that selects a partial figure necessary for drawing a desired figure from the partial figures stored in the partial figure storage memory 203, and a drawn partial figure memory that temporarily stores the selected partial figure. a drawing control unit 206 that draws the partial figures stored in the memory 205, the drawing partial figure storage memory 205 while comparing and determining the drawing order so as to form a desired figure on the display device 202; and a partial figure storage memory. Partial figure changing unit 2 that rewrites the contents in 203
Consists of 07. Further, the memory 205 may be shared with the memory 203 or may be provided separately and independently.

第を図は、部分図形記憶メモリ203に格納されている
部分図形のデータ構造例である。部分図形データは、個
々の部分図形を識別するための識別コードなどを入れる
部分図形名欄101と、ある図形を描く場合の各部分図
形ごとの描画順序判断基準を入れる描画順序欄↓02、
それら部分図形を表示装置202上に描くときの位置を
入れる描画位置欄↓03と、各部分図形の大きさや形状
が入る描画データ欄104を含むものとする。
5 is an example of the data structure of a partial figure stored in the partial figure storage memory 203. The partial figure data includes a partial figure name column 101 in which an identification code for identifying each partial figure is entered, a drawing order column ↓02 in which drawing order judgment criteria for each partial figure is entered when drawing a certain figure,
It includes a drawing position column ↓03 in which the position when drawing these partial figures on the display device 202 is entered, and a drawing data column 104 in which the size and shape of each partial figure is entered.

また、一つの部分図形を、異なった複数の図のの一部と
して使用したいことがある。その時に、作成する図形に
よって、前記部分図形の描画順序も異なることが多い。
Also, there are cases where you want to use one partial figure as part of multiple different figures. At that time, the drawing order of the partial figures often differs depending on the figure to be created.

つまり、1つの部分図形に複数種類の描画順序を持たせ
たい場合がある。その時は、第1図に示すように、部分
図形データ内に、複数個の描画順序欄102 a、  
102 b、  ]02c、・・・を設け、作成する図
形によって、使い分けることができる。
That is, there are cases where it is desired to have multiple types of drawing orders for one partial figure. At that time, as shown in FIG. 1, the partial figure data includes a plurality of drawing order columns 102a,
102b, ]02c, . . . are provided and can be used depending on the figure to be created.

さらに、第1図の例では、部分図形データ内に、描画順
序の判断基準となるデータを含んでいるが、描画順序を
別のメモリ部に部分図形名を付けて記憶し、描画データ
の部分図形名と対応して読みだすようにしてもよい。
Furthermore, in the example of FIG. 1, the partial figure data includes data that serves as a criterion for drawing order, but the drawing order is stored in a separate memory section with the partial figure name attached, and the It may be read out in correspondence with the figure name.

第2図(b)は、第2図(a)の描画制御部206の一
例を示すブロック図である。描画制御部206は、描画
部分図形記憶メモリ205に格納されている部分図形A
、  B、 C・・・が、前に説明したように複数の描
画順序を持つ場合に、どの図形にどの描画順序を使用す
るかを記憶しておき、ユーザの指示に従って目的の図形
にあった描画順序情報を読みだすよう指示する描画図形
指定部2゜1 8と、該部分図形の描画順序を比較し、描画部分図形記
憶メモリのデータ書き込みや表示装置への描画の指示を
行なう描画順序判定部209と、表示装置202をリセ
ットし白紙(表示画面消去)に戻す画面消去部211と
、描画順序判定部2゜9の指示する判定順序に従い、表
示装置202に部分図形を順次描画する描画部210か
らなる。
FIG. 2(b) is a block diagram showing an example of the drawing control unit 206 in FIG. 2(a). The drawing control unit 206 draws the partial figure A stored in the drawing partial figure storage memory 205.
, B, C... have multiple drawing orders as explained earlier, it is possible to remember which drawing order should be used for which figure, and then follow the user's instructions to find the drawing order that matches the desired figure. A drawing figure specifying unit 2゜18 that instructs to read the drawing order information and a drawing order determination unit that compares the drawing order of the partial figures and instructs writing of data to the drawing partial figure storage memory and drawing to the display device. 209, a screen erasing section 211 that resets the display device 202 and returns it to a blank page (display screen erased), and a drawing section that sequentially draws partial figures on the display device 202 according to the judgment order instructed by the drawing order judgment section 2.9. It consists of 210.

第3図は、コントローラ200内のROMに入った、1
つの図形を作成するための制御プログラムのフローチャ
ートである。コントローラ200内のマイクロプロセッ
サユニット(MPU)は、この手順に従い、各部を操作
する。
FIG. 3 shows the 1
3 is a flowchart of a control program for creating two figures. The microprocessor unit (MPU) in the controller 200 operates each part according to this procedure.

以下、この手順と各部の動作を、部分図形記憶メモリ2
03に第4図(b)のような部分図形データが格納され
ており、その部分図形を使用して、第4図(a)に示す
ような人の顔の図形を描く場合を例に挙げて説明する。
This procedure and the operation of each part will be explained below.
Let us take as an example the case where partial figure data as shown in Figure 4(b) is stored in 03, and the partial figure is used to draw the shape of a human face as shown in Figure 4(a). I will explain.

第4図(b)のデータは、人の顔の図形を描く時に必要
な、 「目」、「鼻」、 「口」、「顔形」、 「髪(
後)」、「前髪」、などの部分図形であり、それぞれ1
種類すつの描画順序判断基準データを持っている。該描
画順序判断基準は、単純に、描画順序欄102に入って
いる数値が小さいほど描画順序が早いという判断ができ
るようにしである。描画位置は、表示装置202の左上
すみを基準とした座標値であるとする。
The data in Figure 4 (b) is necessary when drawing the figure of a human face: "eyes", "nose", "mouth", "face shape", "hair" (
These are partial figures such as "back)" and "bangs", each of which has 1
It has one type of drawing order judgment standard data. The drawing order determination criterion is simply such that it can be determined that the smaller the numerical value entered in the drawing order column 102, the earlier the drawing order. It is assumed that the drawing position is a coordinate value based on the upper left corner of the display device 202.

先ず、起動したプログラムは図形情報表示ステップ30
1において、描画図形指定部208に登録されている図
形名を表示装置202に表示する。
First, the program started is the graphic information display step 30.
1, the graphic name registered in the drawing graphic designating section 208 is displayed on the display device 202.

描画図形指定部208には、部分図形記憶メモリ203
内の第1図のような形式のデータ群を使用して、どのよ
うな図形を作成できるかという情報と、該各々の図形に
おいて、どの描画順序を使用するかという情報が登録さ
れている。上記の例で、描画図形指定部208には、 
「人の顔」という情報が、1つだけ入っていることにす
ると、ステップ301では表示装置202に「人の顔」
という表示が出力される。もし、上記データが複数種類
の図形、例えば「人の横顔」、「人の正面向きの顔」、
などの図形を作成できるようになっており、各々の部品
図形が、 「横顔」と「正面向きの顔」で異なる2種類
の描画順序を持っていたら、部品図形データの描画順序
欄が2つになり、描画図形指定部208の図形糸情報は
、そのどちらの欄の描画順序を使うのかを示すデータと
なる。これによって、ユーザはその表示を見て、次の描
画図形選択ステップ302で、描画する図形の種類を選
択することができる。次に描画する図形に応じた第1図
の描画データ欄104の部分図形情報を、ステップ30
3で表示装置202に表示する。上記「人の顔」の例で
は、第4図(b)に示すような、 「目」、 「鼻」、
1口」、 「眉」、 「顔形」、「髪(後)」、 「前
髪」などがメニューとして表示される。部分図形選択ス
テップ304においてユーザが、描画する部分図形を選
択すると、部分図形記憶メモリ203から、その選択さ
れた部分図形データが、描画部分図形記憶メモリ205
に読み込まれる。ステップ306では、描画順序判断部
209が、ステップ305で読み込まれた描画データと
同じ描画順序情報を持つ部分図形データが、すでに描画
部分図形記憶メモリ205に存在していないかどうかを
調べ、ない場合はそのまま格納し、あった場合は、古い
方を消去し、新しく選択した部分図形データを格納して
、部分図形を入れ替えたというメツセージを出力する。
The drawn figure designating section 208 includes a partial figure storage memory 203.
Information on what kind of figures can be created using a data group in the format shown in FIG. 1, and information on which drawing order to use for each figure are registered. In the above example, the drawn figure designation section 208 has the following information:
Assuming that only one piece of information "human face" is included, in step 301, "human face" is displayed on the display device 202.
The following message is output. If the above data contains multiple types of figures, such as "person's profile", "person's front-facing face", etc.
If each part shape has two different drawing orders for "side face" and "front facing face", then there will be two drawing order fields in the part shape data. The figure string information in the drawing figure designating section 208 becomes data indicating which column of the drawing order is used. This allows the user to view the display and select the type of figure to be drawn in the next drawing figure selection step 302. The partial figure information in the drawing data field 104 of FIG. 1 corresponding to the figure to be drawn next is stored in step 30.
3 to display on the display device 202. In the above example of "human face", "eyes", "nose",
Menu items such as ``1 mouth'', ``eyebrows'', ``face shape'', ``hair (back)'', and ``bangs'' are displayed. When the user selects a partial figure to be drawn in the partial figure selection step 304, the selected partial figure data is stored in the drawn partial figure storage memory 205 from the partial figure storage memory 203.
is loaded into. In step 306, the drawing order determining unit 209 checks whether partial figure data having the same drawing order information as the drawing data read in step 305 already exists in the drawing partial figure storage memory 205. is stored as is, and if there is one, it deletes the older one, stores the newly selected partial figure data, and outputs a message that the partial figures have been replaced.

ステップ308では、描画制御部206の画面消去部2
11が、表示装置202をリセットし、白紙状態にする
。つぎに、ステップ309では、描画順序判断部209
が、描画部分図形記憶メモリ205に格納されている選
択した部分図形データの、描く図形に対応する描画順序
欄102のルールを読み、各部分図形の描画順序を比較
算出して、描画順序の早いものから順次、描画f!l1
1210に送る。
In step 308, the screen erasing unit 2 of the drawing control unit 206
11 resets the display device 202 to a blank state. Next, in step 309, the drawing order determining unit 209
reads the rules in the drawing order column 102 corresponding to the figure to be drawn in the selected partial figure data stored in the drawing partial figure storage memory 205, compares and calculates the drawing order of each partial figure, and selects the drawing order that is faster. Drawing f! l1
Send to 1210.

上記の例では、描画順序欄102の数値が小さい順に描
くことになる。ステップ310では、描画部210が受
は取った部分図形データを読み、表示装置202上に順
次描画していく。所望の図形が描画されるまで、ステッ
プ303からステップ310までを繰返し、部分図形を
選択しては描かせることになる。
In the above example, drawing is performed in order of decreasing numerical value in the drawing order column 102. In step 310, the drawing unit 210 reads the received partial graphic data and sequentially draws the data on the display device 202. Steps 303 to 310 are repeated to select and draw partial figures until the desired figure is drawn.

前記、 「人の顔」を描く例で、以上の過程を行うと、
ステップ303で表示された部分図形から、第4図(b
)の「目2」のデータを選ぶと、ステップ310までの
処理で、第5図(a)のような描画が行われる。さらに
ステップ303に戻り、第4図(b)の「顔形1」を選
択し、再び処理を繰り返して、3度目に第4図(b)の
「髪1」を選択すると、その時、表示装置202に描画
される図形は、第5図(b)のようになる。つまり、こ
の時、ステップ305で、描画部分図形記憶メモリ20
5内には、第4図(b)の、 「目2」、「顔形1」、
 「髪工」の3つの部分図形データが、読み込まれてお
り、この3データの描画順序欄を読むと、 「髪1ノの
描画順序が一番早く、続いて「顔形1」、 「目2」の
順序となっているので、ステップ309で描画順序判定
部209が、「髪↓」、 「顔形1」、 「目2」の順
に描くように描画部210にデータを送り、第5図(b
)のように表示されることになる。以上に示すように、
本装置では、どのような順序で部分図形を選んでも、所
望の描画順序で図形を描くことができる。つまり、 「
目」や「鼻」を描いた上に顔形を重ね描いて、のっぺら
ぼうになり、描画順序を訂正するはめになるということ
が無くなる。また、第5図(b)が表示された後、ステ
ップ303に戻り第4図(b)の中の「目1」を選択す
ると、ステップ306で、既に描画部分図形記憶メモリ
205に入っていた、 「目2」が「目IJと入れ替わ
る。
In the above example of drawing a "human face", if you follow the above process,
From the partial figure displayed in step 303,
) is selected, drawing as shown in FIG. 5(a) is performed in the processing up to step 310. Further, the process returns to step 303 and the "face shape 1" in FIG. 4(b) is selected, and the process is repeated again. When "hair 1" in FIG. 4(b) is selected for the third time, the display device The figure drawn in 202 is as shown in FIG. 5(b). That is, at this time, in step 305, the drawing partial figure storage memory 20
5 includes "eyes 2", "face shape 1", and "face shape 1" in Figure 4(b).
Three partial figure data of "hairman" have been loaded, and when reading the drawing order column of these three data, it is found that "hair 1" is drawn first, followed by "face shape 1" and "eyes". 2", so in step 309 the drawing order determining unit 209 sends data to the drawing unit 210 to draw "hair ↓", "face shape 1", and "eyes 2" in this order, and Figure (b
) will be displayed. As shown above,
With this device, the figures can be drawn in the desired drawing order no matter what order the partial figures are selected. In other words, "
This eliminates the need to overlay the face shape on top of the eyes and nose, resulting in a blank image and having to correct the drawing order. Further, after FIG. 5(b) is displayed, when the process returns to step 303 and selects "eye 1" in FIG. , "Eye 2" replaces "Eye IJ."

そしてステップ3↓Oでは、第5図(c)のように描画
される。そしてステップ310では、第5図(C)のよ
うに描画される。続けて、第4図(b)の、 「鼻1」
、「眉1」、 「前髪上」、10工」を選択することに
より、第4図(a)の図形が完成する。
Then, in step 3↓O, the image is drawn as shown in FIG. 5(c). Then, in step 310, drawing is performed as shown in FIG. 5(C). Next, “Nose 1” in Figure 4(b)
, ``eyebrow 1'', ``upper bangs'', and 10 steps'', the figure in FIG. 4(a) is completed.

上記例では、一つの図形を描く場合について説明したが
、描画部分図形メモリ205を、画面側、図形側に区切
ることにより複数個の図形を次々描くことも可能である
In the above example, a case has been described in which one figure is drawn, but it is also possible to draw a plurality of figures one after another by dividing the drawn partial figure memory 205 into a screen side and a figure side.

以上では部分図形メモリ203内から、部分図形を選択
して、図形を描く場合を説明したが、つぎにユーザが自
分で部分図形を作成したり描画順序を変更したりする場
合について第6図〜第7図を参照して説明する。
In the above, the case where a partial figure is selected from the partial figure memory 203 and a figure is drawn has been explained. This will be explained with reference to FIG.

第6図は、第2図(a)の、部分図形変更部207の詳
細を示すブロック図である。部分図形変更部207は、
ユーザが任意の図形を作成するための図形作成部601
と、図形を編集するための図形編集部602と、描画順
序を変更するための順位変更部603と、部分図形を作
成または編集するためのワークメモリ604と、ワーク
メモリ上で作成または編集した部分図形データを、部分
図形記憶メモリ203に転送し書き込む登録部605と
、ワークメモリ内の部分図形データから表示装置202
上に表示する部分図形データを作成する表示画面作成部
606と、表示画面作成部606の作成したデータに従
って、表示装置202上に図形などを描画する描画部6
07からなる。
FIG. 6 is a block diagram showing details of the partial figure changing unit 207 in FIG. 2(a). The partial figure changing unit 207
Graphic creation unit 601 for users to create arbitrary shapes
, a figure editing unit 602 for editing figures, a ranking changing unit 603 for changing the drawing order, a work memory 604 for creating or editing partial figures, and a part created or edited on the work memory. A registration unit 605 that transfers and writes graphic data to the partial graphic storage memory 203; and a display device 202 that transfers and writes graphic data to the partial graphic storage memory 203;
A display screen creation unit 606 that creates partial figure data to be displayed on the top, and a drawing unit 6 that draws figures and the like on the display device 202 according to the data created by the display screen creation unit 606.
Consists of 07.

第7図は、部分図形記憶メモリ203の中のデータを変
更または新しく作成する場合の制御プログラムのフロー
チャートである。以下、ユーザが第8図(a)のような
顔、ずなわち第5図(a)の顔に新しい「前髪」を作成
して句け、さらに「イヤリング」を作成し、該作成した
前髪とイヤリングの部分図形データを登録する場合を例
にとり部分図形変更部207の動作を説明する。
FIG. 7 is a flowchart of a control program when data in the partial figure storage memory 203 is changed or newly created. Hereinafter, the user creates new "bangs" for the face shown in FIG. 8(a), that is, the face shown in FIG. The operation of the partial figure changing unit 207 will be explained by taking as an example the case where partial figure data of earrings are registered.

まず、前記第4図(a)の図形が表示装置202上に、
既に描画されているものとする。新しい部分図形データ
、すなわち第1図のデータを作成するときは、先ず部分
図形の描画データ(第1図104)を作成し、それに部
分図形名、描画順序、描画位置などの情報を付けて部分
図形記憶メモリ203に、登録する。ステップ701〜
ステツプ704では部分図形の描画データの作成を行う
First, the figure of FIG. 4(a) is displayed on the display device 202,
Assume that it has already been drawn. When creating new partial figure data, that is, the data in Figure 1, first create the drawing data of the partial figure (104 in Figure 1), add information such as the partial figure name, drawing order, drawing position, etc. It is registered in the figure storage memory 203. Step 701~
In step 704, drawing data for the partial figure is created.

ステップ701は、入力装置201からの指示で図形作
成部601が任意の図形データをワークメモリ604上
に作成する。これはドツトデータでも、文字や図形デー
タでもよい。すなわち図形作成部601は、スキャナを
使用して絵や写真を電子化するものでも、文字や図形を
作成するキャラクタジェネレータでもよい。また、既に
作成され9 ている部分図形データの描画データを描画部分図形記憶
メモリ205からワークメモリ上に読みだしてもよい。
In step 701, the graphic creation unit 601 creates arbitrary graphic data on the work memory 604 in response to instructions from the input device 201. This may be dot data, text or graphic data. That is, the graphic creation unit 601 may be one that digitizes pictures and photographs using a scanner, or a character generator that creates characters and graphics. Furthermore, the drawing data of the partial figure data that has already been created may be read out from the drawn partial figure storage memory 205 onto the work memory.

ステップ702では、ステップ70工でワークメモリ上
に作られた図形描画データを描画部607を使って表示
装置202に表示させる。そしてユーザは、ステップ7
03と704で、表示された図形を見ながら、色や形を
替えたり修正したりして、所望の描画データを作成する
。第4図(a)から第8図(a)を作成する例では、先
ずステップ701で、スプラインなどを使用して前髪の
形を描き、ステップ702〜ステツプ704で、所望の
形になるように修正する。または、第4図(a)の前髪
を変形して第8図(a)の前髪の形になるように修正し
てもよい。このとき、すでに描画されていた第4図(a
)の図形の上に新しい部分図形を描画できるので、新し
い部分図形の大きさや位置を確認しながら作成できる。
In step 702, the graphic drawing data created on the work memory in step 70 is displayed on the display device 202 using the drawing unit 607. The user then performs step 7
At steps 03 and 704, desired drawing data is created by changing or modifying colors and shapes while looking at the displayed figures. In the example of creating FIG. 8(a) from FIG. 4(a), first, in step 701, the shape of the bangs is drawn using a spline, etc., and in steps 702 to 704, the desired shape is drawn. Fix it. Alternatively, the bangs shown in FIG. 4(a) may be modified to have the shape of the bangs shown in FIG. 8(a). At this time, Figure 4 (a), which had already been drawn,
) You can draw a new partial shape on top of the shape, so you can create a new partial shape while checking its size and position.

前髪ができたら、さらにステップ701に戻って同様に
イヤリングを作成する。
Once the bangs are created, the process returns to step 701 to create earrings in the same manner.

新しく部分図形の描画データを作成したら、次、2) にステップ705〜709で、描画順序や位置の情報を
付ける。ステップ705では、描画順序の表示を促す。
After creating new drawing data for a partial figure, information on the drawing order and position is added to step 2) in steps 705 to 709. In step 705, the display of the drawing order is prompted.

ステップ706では、表示画面作成部606が、ワーク
メモリ604と描画部分図形記憶メモリ205内の、部
分図形の描画データを縮小し、描画順序情報と共に並べ
て表示するための画面情報を作成し、描画部607がそ
れを表示する。前記、 「前髪」と「イヤリング」を新
しく作成した例では、第9図のような画面が表示される
。ユーザはこの画面を見ながら、ステップ707で、描
画順序情報を変更または設定する。第9図の例では、変
更した「前髪」に、変更前の描画順序情報と同じく「8
」を設定しである。またこの時、描画順序情報を空欄と
しておくと、その部分図形は、選択された順に描かれる
不特定順位の部分図形となる。ステップ709では、新
しく作られた部分図形の、位置情報を読み込む。本装置
では、単純にその部分図形が描かれている表示装置20
2上の座標を、描画位置(第1図103)としているの
で、部分図形の描画データを描くときに、予め所望の位
置に描いておけばそのまま登録される。部分図形の描画
データ、描画順序データ、描画位置データが決まったら
ステップ711で、作成したデータの部分図形名称を入
力装置201からの指示で付けて、部分図形記憶メモリ
203に保存する。
In step 706, the display screen creation unit 606 reduces the drawing data of the partial figures in the work memory 604 and the drawing partial figure storage memory 205, creates screen information for displaying them side by side with the drawing order information, and 607 displays it. In the above example where "bangs" and "earrings" are newly created, a screen like the one shown in FIG. 9 is displayed. While viewing this screen, the user changes or sets the drawing order information in step 707. In the example shown in Figure 9, the changed “bangs” has “8” in it, which is the same as the drawing order information before the change.
” is set. At this time, if the drawing order information is left blank, the partial figures become partial figures of unspecified order that are drawn in the order in which they are selected. In step 709, position information of the newly created partial figure is read. In this device, the display device 20 simply depicts the partial figure.
Since the coordinates on 2 are used as the drawing position (103 in FIG. 1), when drawing the drawing data of a partial figure, if it is drawn at a desired position in advance, it will be registered as is. Once the drawing data, drawing order data, and drawing position data of the partial figure are determined, in step 711, the created data is given a partial figure name by an instruction from the input device 201, and is stored in the partial figure storage memory 203.

上記のようにして部分図形の描画順序を変更したり、新
しく部分図形を作成したりすることができる。
As described above, the drawing order of partial figures can be changed or new partial figures can be created.

以上の実施例では、第1図に示すように、部分図形デー
タ内に、該部分図形の描画順序情報を含んでいたが、描
画順序情報を、各部分図形に対応する描画順序情報テー
ブルとして描画制御部206内に用意し、部分図形を選
択する度に描画順序情報テーブルを参照し、所望の順序
で描画させることも上記と同様の装置で可能である。
In the above embodiment, as shown in FIG. 1, the drawing order information of the partial figure is included in the partial figure data, but the drawing order information is drawn as a drawing order information table corresponding to each partial figure. It is also possible to use a device similar to the above, which is provided in the control unit 206, and which refers to a drawing order information table every time a partial figure is selected to draw it in a desired order.

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

本発明によれば、部分図形を選択するたびに、描画順序
を指示したり、また、描画順序を考えながら、部分を選
択するなどの手間を要することなく、描画像に適した順
序で描画することができその操作性の向上が図れる。
According to the present invention, each time a partial figure is selected, it is possible to draw the figure in an order suitable for the image to be drawn, without having to instruct the drawing order or selecting parts while considering the drawing order. It is possible to improve the operability.

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

第1図は本発明のデータ構成の一実施例を示す図、第2
図(a)は本発明の一実施例を示す描画のブロック図、
第2図(b)は第1図(a)の描画制御部の一構成例を
示すブロック図、第3図は本発明のコントロールプログ
ラムのフローチャート第4図(a)、  (b)と第5
図(a)〜(C)は、その動作を説明するための説明図
、第6図は第2図の部分図形操作部の一例を示すブロッ
ク図、第7図は第6図の装置をコントロールするプログ
ラムのフローチャート、第8図(a)、  (b)およ
び第9図はその動作を説明するための図である。 200・・・コントローラ、   201・・・入力装
置。 202・・・表示装置。 203・・・部分図形記憶メモリ。 204・・・部分図形選択部。 205・・・描画部分図形記憶メモリ。 206・・・描画制御部。 207・・部分図形操作部。 208・・・描画図形指定部。 209・・・描画順序判定部。 211・・・画面消去部。 602・・・図形変形部。 604・・・ワークメモリ。 606・・・表示画面作成部。 210・・・描画部。 601・・・図形作成部。 603・・・順序変更部。 605・・・登録部。 607・・・描画部。
FIG. 1 is a diagram showing an example of the data structure of the present invention, and FIG.
Figure (a) is a drawing block diagram showing one embodiment of the present invention,
FIG. 2(b) is a block diagram showing an example of the configuration of the drawing control section of FIG. 1(a), and FIG. 3 is a flowchart of the control program of the present invention.
Figures (a) to (C) are explanatory diagrams for explaining the operation, Figure 6 is a block diagram showing an example of the partial figure operation unit in Figure 2, and Figure 7 is a control for the device in Figure 6. The flowcharts of the program shown in FIGS. 8(a) and 9(b) and FIG. 9 are diagrams for explaining its operation. 200...Controller, 201...Input device. 202...Display device. 203...Partial figure storage memory. 204... Partial figure selection section. 205...Drawing partial figure storage memory. 206... Drawing control unit. 207...Partial figure operation section. 208... Drawing figure specification section. 209...Drawing order determination unit. 211...Screen erasing section. 602...Figure deformation section. 604...Work memory. 606...Display screen creation section. 210...Drawing section. 601...Graphic creation section. 603...Order change section. 605...Registration department. 607...Drawing section.

Claims (1)

【特許請求の範囲】 1、複数の部分図形及びその描画順位を含む情報を記憶
するメモリ手段と、該メモリ手段に記憶された描画の対
象となる部分図形を選択する選択手段と、該選択手段に
よって選択された複数の部分図形の描画順位を判定し、
該判定順位に従って上記選択部分図形をディスプレイ上
に順次描画する手段と、からなる図形描画装置。 2、上記メモリ手段は上記部分図形を記憶するメモリ部
と、上記描画順位を記憶するメモリ部と、上記選択部分
図形を一時的にストアーするストアー部と、を含み、上
記描画手段は上記選択部分図形の描画順位を判定する判
定部と、該判定順位に従って上記ディスプレイ上に描画
表示する描画部と、これら各部を制御するコントローラ
部からなる請求項1記載の図形描画装置。 3、上記メモリ手段は上記部分図形を記憶するメモリ部
と、上記描画順位を記憶するメモリ部と、上記選択部分
図形を一時的にストアーするストアー部とを含み、上記
描画順位情報は複数の描画可能な図形メニューに対応す
る複数の描画順位情報からなる; 上記描画手段は上記図形メニューを指定選択する描画図
形指定部と、上記選択部分図形の描画順位を判定する判
定部と、該判定順位に従って上記選択部分図形を上記デ
ィスプレイ上に描画表示する描画部を含む描画制御部と
、これら各部を制御するコントローラ部からなる請求項
1記載の図形描画装置。 4、上記描画手段は上記ストアー部に同一の描画順位情
報が有るか無いかを判断し、有りの時上記ストアー部の
ストアーデータを書き替える書替え部と、上記選択部分
図形を描画する前にディスプレイの表示をクリアする画
面消去部と、上記選択部分図形の描画順位を判定する判
定部と、該判定順位に従って上記選択部分図形を上記デ
ィスプレイ上に描画表示する描画部からなる請求項1記
載の図形描画装置。 5、上記描画手段は上記ストアー部に同一の描画順位情
報が有るか無いかを判断し、有りの時上記ストアー部の
ストアーデータを書き替えると共に上記選択部分図形の
描画順位を判定する判定部と、上記選択部分図形を描画
する前にディスプレイの表示をクリアする画面消去部と
、該判定順位に従って上記選択部分図形を上記ディスプ
レイ上に描画表示する描画部からなる請求項1記載の図
形描画装置。 6、上記メモリ手段の描画順位を決定する手段と、上記
描画順序を変更する手段を含む請求項1記載の図形描画
装置。 7、上記メモリ手段の描画順位情報を持った第1の部分
図形に、別の描画順位を持つ第2の部分図形を追加する
と共に該第1、第2の部分図形の新しい描画順位を決定
する手段を設けた請求項1記載の図形描画装置。 8、上記描画制御部は上記描画順位が決められた部分図
形はその描画順位に従い、それ以外は上記選択手段によ
る選択順に従って描画する請求項3記載の図形描画装置
。 9、上記描画順位決定手段は上記描画順位を上記ディス
プレイの特定部分に供給し、その描画順位が判るように
表示するための画面を作成する手段を含んでいる請求項
8記載の図形描画装置。 10、部分図形の描画データを記憶するメモリ手段と、
該メモリ手段から描画データの部分図形を選択的に抽出
する選択手段と、該選択手段にて選択された部分図形を
一時的にストアする描画部分図形記憶メモリ手段と、上
記描画データの各部分図形に対応する描画順位情報テー
ブルを有し、上記部分図形の選択時該テーブルを参照し
て選択部分図形の描画順位を決め、この描画順位で選択
部分図形を表示装置に描画表示する描画制御手段と、か
らなる図形描画装置。 11、複数の部分図形及びその描画順位情報を入力する
手段と、該入力手段によって入力された部分図形及び描
画順位情報を記憶するメモリ手段と、該メモリ手段に記
憶された情報を選択的に抽出する選択手段と、該選択手
段によって選択された情報を一時的にストアする部分図
形記憶メモリ手段と、該部分図形記憶メモリ手段にスト
アされた情報から選択部分図形の描画順位を判定し、こ
の判定基準に基づく順序で部分図形を表示手段に描画す
る描画制御手段と、上記部分図形情報を変更する部分図
形変更手段と、からなる図形描画装置。 12、上記部分図形変更手段は、上記部分図形の描画デ
ータを作成するための図形作成部と、上記描画データを
編集するための図形編集部と、上記描画順位を変更する
ための順位変更部と、上記描画データを記憶する図形操
作用ワークメモリ部と、該ワークメモリ部内の描画デー
タを上記部分図形記憶メモリに転送し登録する登録部と
、上記ワークメモリ部内のデータから描画順を示すデー
タを作成する表示画面作成部と、該描画順に従って上記
選択部分図形を上記表示手段に描画する描画部からなる
請求項11記載の図形描画装置。 13、以下のステップからなる図形描画作成方法:複数
の図形のメニューをストアーし、表示する; ストアーされた図形メニューの一つを選択する; 選択メニューに対応し、描画順情報を有する複数の部分
図形を表示する; 複数の部分図形情報から所望の部分図形を選択する; 選択部分図形をストアーする; ストアー選択部分図形の描画順を判定する;描画判定順
に従って描画する; 14、請求項13の図形描画作成方法において、更に以
下のステップを含む: 選択部分図形の中に同一の描画順情報があるか否か判定
し、有りの時そのメッセージを表示すると共に上記スト
アー情報を入れ替える;上記選択部分図形を描画する前
に表示情報をクリアする; 15、請求項13の図形描画作成方法において、更に以
下のステップを含む: 描画順位情報を表示する; 描画順位を変更する;
[Scope of Claims] 1. Memory means for storing information including a plurality of partial figures and their drawing order, selection means for selecting a partial figure to be drawn stored in the memory means, and the selection means Determine the drawing order of multiple partial figures selected by
A figure drawing device comprising means for sequentially drawing the selected partial figures on a display according to the determination order. 2. The memory means includes a memory section that stores the partial figures, a memory section that stores the drawing order, and a storage section that temporarily stores the selected partial figures, and the drawing means stores the selected partial figures. 2. The graphic drawing device according to claim 1, comprising: a determination section that determines the drawing order of the graphics; a drawing section that draws and displays the graphics on the display according to the determination order; and a controller section that controls each of these sections. 3. The memory means includes a memory section for storing the partial figures, a memory section for storing the drawing order, and a storage section for temporarily storing the selected partial figures, and the drawing order information is stored in a plurality of drawings. Consists of a plurality of pieces of drawing order information corresponding to possible figure menus; 2. The graphic drawing device according to claim 1, further comprising a drawing control section including a drawing section that draws and displays the selected partial figure on the display, and a controller section that controls each of these sections. 4. The drawing means determines whether or not the same drawing order information exists in the store section, and if yes, rewrites the store data in the store section, and a display unit before drawing the selected partial figure. 2. The figure according to claim 1, comprising: a screen erasing section for clearing the display of the selected partial figure; a determining section for determining the drawing order of the selected partial figure; and a drawing section for drawing and displaying the selected partial figure on the display according to the judged order. drawing device. 5. The drawing means determines whether or not the same drawing order information exists in the store section, and if yes, rewrites the store data in the store section and determines the drawing order of the selected partial figure; 2. The figure drawing device according to claim 1, further comprising: a screen erasing section that clears the display on the display before drawing the selected partial figure; and a drawing section that draws and displays the selected partial figure on the display according to the determination order. 6. The graphic drawing apparatus according to claim 1, further comprising means for determining the drawing order of said memory means and means for changing said drawing order. 7. Adding a second partial figure having a different drawing order to the first partial figure having the drawing order information in the memory means, and determining a new drawing order for the first and second partial figures. 2. A graphic drawing device according to claim 1, further comprising means. 8. The figure drawing device according to claim 3, wherein the drawing control section draws the partial figures whose drawing order has been determined according to the drawing order, and draws other parts according to the selection order by the selection means. 9. The graphic drawing apparatus according to claim 8, wherein said drawing order determining means includes means for supplying said drawing order to a specific portion of said display and creating a screen for displaying the drawing order so that the drawing order can be seen. 10. Memory means for storing drawing data of a partial figure;
a selection means for selectively extracting a partial figure of the drawing data from the memory means; a drawing partial figure storage memory means for temporarily storing the partial figure selected by the selection means; and each partial figure of the drawing data. a drawing control means having a drawing order information table corresponding to the above, and determining the drawing order of the selected partial figure by referring to the table when the partial figure is selected, and drawing and displaying the selected partial figure on the display device in accordance with the drawing order; A figure drawing device consisting of . 11. A means for inputting a plurality of partial figures and their drawing order information, a memory means for storing the partial figures and drawing order information input by the input means, and selectively extracting the information stored in the memory means. a partial figure storage memory means for temporarily storing information selected by the selection means; a drawing order of the selected partial figure is determined from the information stored in the partial figure storage memory means; A graphic drawing device comprising: a drawing control means for drawing partial figures on a display means in an order based on a reference; and a partial figure changing means for changing the partial figure information. 12. The partial figure changing means includes a figure creation section for creating drawing data of the partial figure, a figure editing section for editing the drawing data, and a ranking changing section for changing the drawing order. , a work memory section for figure operation that stores the drawing data, a registration section that transfers and registers the drawing data in the work memory section to the partial figure storage memory, and a data indicating the drawing order from the data in the work memory section. 12. The figure drawing apparatus according to claim 11, comprising: a display screen creating section for creating a display screen; and a drawing section for drawing said selected partial figures on said display means in accordance with said drawing order. 13. A figure drawing creation method consisting of the following steps: Store and display menus of multiple figures; Select one of the stored figure menus; Create multiple parts corresponding to the selection menu and having drawing order information Displaying the figure; Selecting a desired partial figure from a plurality of pieces of partial figure information; Storing the selected partial figure; Determining the drawing order of the store-selected partial figure; Drawing according to the drawing judgment order; 14. Claim 13. The figure drawing creation method further includes the following steps: Determine whether or not the same drawing order information exists in the selected part figures, and if so, display the message and replace the above store information; Clearing the display information before drawing the figure; 15. The figure drawing creation method according to claim 13, further comprising the following steps: Displaying drawing order information; Changing the drawing order;
JP2159731A 1989-09-18 1990-06-20 Graphic drawing apparatus and method Expired - Lifetime JP2791189B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2159731A JP2791189B2 (en) 1989-09-18 1990-06-20 Graphic drawing apparatus and method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP1-239951 1989-09-18
JP23995189 1989-09-18
JP2159731A JP2791189B2 (en) 1989-09-18 1990-06-20 Graphic drawing apparatus and method

Publications (2)

Publication Number Publication Date
JPH03174666A true JPH03174666A (en) 1991-07-29
JP2791189B2 JP2791189B2 (en) 1998-08-27

Family

ID=26486440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2159731A Expired - Lifetime JP2791189B2 (en) 1989-09-18 1990-06-20 Graphic drawing apparatus and method

Country Status (1)

Country Link
JP (1) JP2791189B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6563512B1 (en) 1996-06-25 2003-05-13 Fujitsu Limited Object editing method, object editing system and computer memory product

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63255775A (en) * 1987-04-14 1988-10-24 Seiko Epson Corp Sketch map generator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63255775A (en) * 1987-04-14 1988-10-24 Seiko Epson Corp Sketch map generator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6563512B1 (en) 1996-06-25 2003-05-13 Fujitsu Limited Object editing method, object editing system and computer memory product

Also Published As

Publication number Publication date
JP2791189B2 (en) 1998-08-27

Similar Documents

Publication Publication Date Title
US9325869B2 (en) Image processing apparatus, image processing method, and image processing program
EP0620529B1 (en) Electronic montage creation device
US5289568A (en) Apparatus and method for drawing figures
JPH1011597A (en) Picture preparing device
JPH03174666A (en) Device and method for drawing graphic
JP3118379B2 (en) Layout processing device
JP2930006B2 (en) Caricature making device
JP2979717B2 (en) Caricature making device
JP2718782B2 (en) Figure creation device
JP3015066B2 (en) Document processing device
JP2937374B2 (en) Interactive graphics processor
JP2618865B2 (en) Information processing device
JP3076428B2 (en) 3D shape modeling method
JPH10162093A (en) Commodity information allocation device
JPH1055431A (en) Image processor
JPH0877337A (en) Image output device
JPH0935083A (en) Animation editing device
JPH02151972A (en) Document retrieving system
JP3570773B2 (en) Graphic processing unit
JPS6358579A (en) Picture editing device
JPH05101044A (en) Document processor
JPH0916746A (en) Image filing device
JPS6358581A (en) Picture editing device
JPH08235376A (en) Graphic editing device
JPS62115579A (en) Graphic display device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080612

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080612

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090612

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100612

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100612

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110612

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110612

Year of fee payment: 13