JP3192066B2 - Drawing method and drawing device - Google Patents

Drawing method and drawing device

Info

Publication number
JP3192066B2
JP3192066B2 JP25576495A JP25576495A JP3192066B2 JP 3192066 B2 JP3192066 B2 JP 3192066B2 JP 25576495 A JP25576495 A JP 25576495A JP 25576495 A JP25576495 A JP 25576495A JP 3192066 B2 JP3192066 B2 JP 3192066B2
Authority
JP
Japan
Prior art keywords
graphic
graphic element
elements
point
balance point
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 - Fee Related
Application number
JP25576495A
Other languages
Japanese (ja)
Other versions
JPH0981718A (en
Inventor
直樹 林
一夫 澁田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP25576495A priority Critical patent/JP3192066B2/en
Publication of JPH0981718A publication Critical patent/JPH0981718A/en
Application granted granted Critical
Publication of JP3192066B2 publication Critical patent/JP3192066B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、図形を扱うことのでき
るワードプロセッサなど、対話的操作により電子的に作
図を行うための作図装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drawing apparatus, such as a word processor capable of handling figures, for drawing electronically by interactive operation.

【0002】[0002]

【従来の技術】近年、ワードプロセッサなどでグラフィ
カルユーザインタフェースを利用して、エンドユーザが
電子的に作図をすることが一般的になった。また、カラ
ースキャナやカラープリンタを含むコンピュータシステ
ムの普及により、グラフィックデザイナだけではなく、
一般ユーザでもカラーの図が作成できる環境ができつつ
ある。カラーの図は白黒に較べて訴求力が高いので、顧
客への提案書やプレゼンテーションのために、美しく分
かりやすい図を容易に作成したいというユーザのニーズ
は高い。ワードプロセッサやグラフィックソフトウエア
など、対話的操作による電子的な作図に関する従来の技
術では、ユーザが直線や多角形や楕円形といった図の要
素を生成し、これを2次元平面上に配置するという操作
を繰り返すことで図が作られる。図の要素を生成する
際、ユーザは、要素の形状と色を決定する。要素を配置
する際は、生成した個々の要素の形状と色を勘案して、
それらの位置を決める。美しく分かりやすい図を作るた
めには、構図と配色のバランスが取れていることが重要
である。しかしながら、従来の技術では、構図と配色の
バランスを取ることへの一般ユーザの負担は大きい。
2. Description of the Related Art In recent years, it has become common for an end user to make a drawing electronically using a graphical user interface with a word processor or the like. In addition, with the spread of computer systems including color scanners and color printers, not only graphic designers,
An environment in which even general users can create color diagrams is being created. Since color diagrams are more appealing than black and white, there is a high need for users who want to easily create beautiful and easy-to-understand diagrams for proposals and presentations to customers. 2. Description of the Related Art In a conventional technology relating to electronic drawing by interactive operations, such as a word processor and graphic software, a user generates an element of a figure such as a straight line, a polygon, or an ellipse and arranges it on a two-dimensional plane. A figure is made by repeating. When generating a diagram element, the user determines the shape and color of the element. When placing elements, consider the shape and color of each generated element,
Determine their position. In order to create beautiful and easy-to-understand diagrams, it is important to balance the composition and color scheme. However, in the related art, the burden on the general user to balance the composition and the color arrangement is large.

【0003】従来の技術では、ユーザが新たな要素を生
成し配置した時に、それまでに生成した要素と位置関係
や色合いなどが不適切な場合、それまでに生成した要素
を含めた要素の形状や色や配置をユーザが適切に設定し
直さねばならない。ある一つの要素の形状や色や配置を
変更すると、全体の構図や配色は変わってしまう。ユー
ザは、このことを勘案して、すべての要素の形状と色と
配置を決めなければならない。グラフィックデザイナで
はない一般ユーザの場合、操作前に出来上がりのイメー
ジを持つことは難しいので、試行錯誤的に実際に変更し
て確かめながら、要素の形状と色と配置を決めていくこ
とになる。考えをまとめながら図を作成している場合、
図の要素の追加削除や再配置は頻繁に起こるので、この
負担は非常に大きくなる。例えば、提案書やプレゼンテ
ーション用OHPシートの作成では、何を訴えるかを練
り上げる必要が有る。従来の技術に基づくシステムをこ
の用途で用いると、構図と配色のバランスを取ることに
多大な工数がかかることになる。
In the prior art, when a user creates and arranges a new element, if the positional relationship or the color of the previously created element is inappropriate, the shape of the element including the previously created element is reduced. The user must set the colors and arrangement appropriately. Changing the shape, color, or arrangement of a certain element will change the overall composition and color scheme. The user has to decide the shape, color and arrangement of all the elements in consideration of this. Since it is difficult for a general user who is not a graphic designer to have a completed image before performing an operation, the shape, color, and arrangement of the elements are determined while actually changing and confirming by trial and error. If you're drawing your thoughts together,
Since the addition and deletion and rearrangement of the elements of the diagram occur frequently, this burden becomes very large. For example, when creating a proposal or an OHP sheet for presentation, it is necessary to elaborate what to appeal. When a system based on the conventional technology is used for this purpose, it takes a lot of man-hours to balance the composition and the color scheme.

【0004】[0004]

【発明が解決しようとする課題】本発明は、上述した事
情に鑑みてなされたもので、ユーザが対話的操作により
電子的に作図する際に、ユーザが容易に構図と配色のバ
ランスをとることのできる作図方法および装置を提供す
ることを目的とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned circumstances, and enables a user to easily balance composition and color arrangement when a user performs electronic drawing by interactive operation. It is an object of the present invention to provide a drawing method and apparatus capable of performing the following.

【0005】[0005]

【課題を解決するための手段】本発明の作図方法(請求
項1)は、図形要素の面積とその図形要素の密度に基づ
いて図形要素ごとの重み値を求めるステップと、複数の
図形要素に対する、前記重み値を求めるステップにより
得られた重み値と図形要素の配置された位置から複数の
図形要素の幾何的な第1の釣り合い点を求めるステップ
と、目標となる第2の釣り合い点を決定するステップ
と、前記第1の釣り合い点と前記第2の釣り合い点の差
分を求めるステップと、1つを選択するステップと、求
められた差分を打ち消すように、前記複数の図形要素の
少なくとも1つ図形要素の面積、密度および配置される
位置のいずれか少なくとも1つを変更して、前記複数の
図形要素の釣り合い点を前記第2の釣り合い点に一致さ
せるステップとを含むことを特徴とする。なお、図形要
素の密度は、図形要素の人間に及ぼす視覚効果の程度を
表す量でり、例えば、明度、色相、彩度等の関数や、テ
クスチャパターンの粗密の程度などを密度として用いる
ことができる。
According to a first aspect of the present invention, there is provided a drawing method comprising: obtaining a weight value for each graphic element based on an area of the graphic element and a density of the graphic element; Obtaining a geometric first balance point of a plurality of graphic elements from the weight value obtained by the weight value obtaining step and a position where the graphic element is arranged; and determining a target second balance point Performing a step of calculating a difference between the first balance point and the second balance point; selecting one; and at least one of the plurality of graphic elements so as to cancel the determined difference. Changing at least one of the area, the density, and the position of the graphic element to match the balance point of the plurality of graphic elements with the second balance point. It is characterized in. The density of the graphic element is a quantity representing the degree of the visual effect of the graphic element on a human. For example, a function such as lightness, hue, and saturation, or the density of a texture pattern may be used as the density. it can.

【0006】その方法を実施するための本発明の作図装
置(請求項3)は、図形要素と、図形要素の面積と、図
形要素の密度と、図形要素の配置される位置とを記憶す
る図形要素データ保持部と、前記図形要素データ保持部
に保持されている図形要素の面積と図形要素の色に基づ
いて図形要素ごとの重み値を求める重み値計算手段と、
前記重み値計算手段により得られた複数の図形要素に対
する重み値と図形要素の配置された位置から複数の図形
要素の幾何的な第1の釣り合い点を求める釣り合い点計
算手段と、目標となる第2の釣り合い点を決定する目標
決定手段と、前記第1の釣り合い点と、前記第2の釣り
合い点の差分を求める差分計算手段と、1つを選択する
図形要素選択手段と、前記差分計算手段により求められ
た差分を打ち消すように、前記複数の図形要素の少なく
とも1つの図形要素の面積、密度および位置のいずれか
少なくとも1つを変更して、前記複 数の図形要素の釣
り合い点を前記第2の釣り合い点に一致させる図形要素
変更手段とを有することを特徴とする。
According to a third aspect of the present invention, there is provided a drawing apparatus for carrying out the method, wherein a graphic element, an area of the graphic element, a density of the graphic element, and a position where the graphic element is arranged are stored. An element data holding unit, and weight value calculation means for calculating a weight value for each graphic element based on the area of the graphic element and the color of the graphic element held in the graphic element data holding unit;
A balance point calculating means for obtaining a geometric first balance point of the plurality of graphic elements from the weight values for the plurality of graphic elements obtained by the weight value calculating means and the positions at which the graphic elements are arranged; Target determining means for determining a second balancing point; difference calculating means for calculating a difference between the first balancing point and the second balancing point; graphic element selecting means for selecting one; and the difference calculating means By changing at least one of the area, density, and position of at least one of the plurality of graphic elements so as to cancel the difference determined by And a graphic element changing means for matching the two equilibrium points.

【0007】また、本発明の作図方法(請求項2)は、
図形要素の面接とその図形要素の密度に基づいて図形要
素ごとの重み値を求めるステップと、複数の図形要素に
対する、前記重み値を求めるステップにより得られた重
み値と図形要素の配置された位置から複数の図の要素の
幾何的な第1の釣り合い点を求めるステップと、前記複
数の図形要素の中の少なくとも1つの図形要素の面積、
配置および密度の少なくともいずれか1つの変更を入力
するステップと、前記複数の図形要素に対して、前記変
更を行った後の第2の釣り合い点を求めるステップと、
前記第1の釣り合い点と第2の釣り合い点との間の差分
を求めるステップと、を選択するステップと、求められ
た差分を打ち消すように、前記複数の図形要素の少なく
とも1つの図形要素の面積、密度および配置される位置
のいずれか少なくとも1つを変更して、前記複数の図形
要秦の釣り合い点を前記第1の釣り合い点に一致させる
ステップとを含むことを特徴とする。
The drawing method of the present invention (claim 2)
A step of obtaining a weight value for each of the graphic elements based on the interview of the graphic elements and the density of the graphic elements; and a weight value obtained by the step of obtaining the weight values for a plurality of graphic elements and a position where the graphic element is arranged. Determining a geometric first equilibrium point of the plurality of figure elements from the plurality of figure elements; and determining an area of at least one of the plurality of figure elements;
Inputting at least one change of arrangement and density, and obtaining a second equilibrium point after the change is performed on the plurality of graphic elements;
Determining a difference between the first and second balance points; and selecting an area of at least one graphic element of the plurality of graphic elements so as to cancel the determined difference. Changing at least one of the density and the arrangement position to match the balance points of the plurality of figures with the first balance points.

【0008】その方法を実施するための本発明の作図装
置(請求項4)は、図形要素と、図形要素の面積と、図
形要素の密度と、図形要素の配置される位置とを記憶す
る図形要素データ保持部と、前記図形要素データ保持部
に保持されている図形要素の面積と図形要素の密度に基
づいて図形要素ごとの重み値を求める重み値計算手段
と、前記重み値計算手段により得られた複数の図形要素
に対する重み値と図形要素の配置された位置から複数の
図形要素の幾何的な第1の釣り合い点を求める第1の釣
り合い点計算手段と、前記複数の図形要素の中の少なく
とも1つの図形要素の面積、配置および密度の少なくと
もいずれか1つの変更を入力するユーザ変更手段と、前
記複数の図形要素に対して、前記変更を行った後の第2
の釣り合い点を求める第2の釣り合い点計算手段と、前
記第1の釣り合い点と第2の釣り合い点との間の差分を
求める差分計算手段と、求められた差分を打ち消すよう
に、前記複数の図形要素の少なくとも1つの図形要素の
面積、密度および配置される位置のいずれか少なくとも
1つを変更して、前記複数の図形要素の釣り合い点を前
記第1の釣り合い点に一致させる図形要素変更手段とを
有することを特徴とする。
According to a fourth aspect of the present invention, there is provided a drawing apparatus for carrying out the method, wherein a graphic element, an area of the graphic element, a density of the graphic element, and a position where the graphic element is arranged are stored. An element data holding unit; weight value calculating means for obtaining a weight value for each graphic element based on the area of the graphic element and the density of the graphic elements held in the graphic element data holding unit; First equilibrium point calculating means for calculating a geometric first equilibrium point of the plurality of graphic elements from the weight values for the plurality of graphic elements and the positions where the graphic elements are arranged; and User changing means for inputting at least one change of the area, arrangement and density of at least one graphic element, and a second after the change has been performed on the plurality of graphic elements
Second balance point calculation means for calculating a balance point of the first and second points, difference calculation means for calculating a difference between the first balance point and the second balance point, and the plurality of Graphic element changing means for changing at least one of the area, density, and arrangement position of at least one graphic element of the graphic elements to make the balance points of the plurality of graphic elements coincide with the first balance points And characterized in that:

【0009】[0009]

【作用】本発明(請求項3)は、重み値計算手段が図の
各要素の重み値を計算し、すべての要素の重み値が得ら
れた後、第1の釣り合い点計算手段が、図の要素の配置
と計算された重み値から、要素全体の重み値の幾何的釣
り合い点(第1の釣り合い点)を計算する。第1の釣り
合い点の計算終了後、差分計算手段が、目標決定手段に
よってユーザ指定あるいはデフォルトとして与えられた
幾何的釣り合い点の目標点(第2の釣り合い点)との差
分を検出し、その差分を打ち消し目標点に第1の幾何的
釣り合い点が一致するように、図の要素のレイアウトを
自動的に変更する。このように、画面上の目標点を指定
することで、システムがその目標点をバランスの中心と
するように図の要素の配置/形状/配色を自動的に変更
するので、構図と配色のバランスを取ることに対するユ
ーザの負担を大幅に軽減することができる。
According to the present invention (claim 3), the weight value calculating means calculates the weight value of each element in the figure, and after the weight values of all the elements are obtained, the first balancing point calculating means calculates The geometrical balance point (first balance point) of the weight value of the entire element is calculated from the arrangement of the elements and the calculated weight value. After the calculation of the first balance point, the difference calculation means detects a difference between the geometric balance point specified by the user or given as a default by the target determination means and the target point (second balance point), and the difference is calculated. Are automatically changed so that the first geometrical balance point matches the target point. In this way, by specifying the target point on the screen, the system automatically changes the arrangement / shape / coloration of the elements of the diagram so that the target point is the center of the balance. It is possible to greatly reduce the user's burden of taking the data.

【0010】また本発明(請求項4)では、重み値計算
手段が図の各要素の重み値を計算し、すべての要素の重
み値が得られた後、釣り合い点計算手段が、図の要素の
配置と得られた重み値から、要素全体の重み値の第1の
釣り合い点を計算する。釣り合い点の計算終了後、ユー
ザ変更手段によってユーザがレイアウト変更を行った場
合、第2の釣り合い点計算手段により、そのレイアウト
変更による新たな釣り合い点即ち第2の釣り合い点を計
算する。差分計算手段は第1の釣り合い点と第2の釣り
合い点との間の差分を求める。図形要素変更手段は、第
2の釣り合い点が前記第1の釣り合い点の位置に戻るよ
うに、前記差分を打ち消す程度にユーザが変更した要素
以外の要素の面積、密度および配置のいずれか少なくと
も1つを自動的に変更する。このように、本発明によれ
ば、ユーザがある要素の配置/形状/配色を変えた時
に、その時点までの構図と配色のバランスを崩さないよ
うに、システムが図の要素の配置/形状/配色を自動的
に変更するので、構図と配色のバランスを取ることに対
するユーザの負担を大幅に軽減することができる。
In the present invention (claim 4), the weight value calculating means calculates the weight value of each element in the figure, and after obtaining the weight values of all the elements, the balance point calculating means calculates the weight value of the element in the figure. Is calculated and the first balance point of the weight value of the entire element is calculated from the arrangement of the weights and the obtained weight value. When the user changes the layout by the user change unit after the calculation of the balance point, the second balance point calculation unit calculates a new balance point, that is, a second balance point due to the layout change. The difference calculation means calculates a difference between the first balance point and the second balance point. The graphic element changing means may include at least one of the area, density, and arrangement of elements other than the element changed by the user to such an extent that the difference is canceled, such that the second balance point returns to the position of the first balance point. Change one automatically. As described above, according to the present invention, when the user changes the arrangement / shape / coloration of an element, the system does not break the balance between the composition and the color arrangement up to that point. Since the color scheme is automatically changed, the burden on the user for balancing the composition and the color scheme can be greatly reduced.

【0011】[0011]

【実施例】実施例の構成を図1に示す。図に示すよう
に、この実施例の作図装置は、要素データ保持部10
1、要素データ変更部102、要素雛形保持部103、
要素生成指示部104、要素レイアウト指示部105、
要素削除指示部106、重さ計算部107、要素−重さ
対応表保持部108、釣り合い点座標値計算部109、
釣り合い点座標値保持部110、目標座標指示部11
1、変更方法指示部112、ずれ計算部113、レイア
ウト変更量計算部114、画面表示部115、図印刷部
116、処理制御部117からなっている。この作図装
置は、コンピュータとプログラムとによって、その各機
能部を実現することができる。要素レイアウト指示部1
05、図中の要素データ保持部101、要素雛形保持部
103、要素−重さ対応表保持部108、釣り合い点座
標値保持部110は、RAMやディスクなどに記憶され
ている。また、その他の各処理部はROM等の記憶部に
記憶されているプログラムを読み出してCPUにより実
行して実現される。以下、各機能部の役割を説明する。
説明をわかりやすくするために、箇条書スタイルで特徴
を列挙する。
FIG. 1 shows the configuration of the embodiment. As shown in the figure, the plotting apparatus of this embodiment has an element data holding unit 10
1, element data changing unit 102, element model holding unit 103,
An element generation instruction unit 104, an element layout instruction unit 105,
An element deletion instructing unit 106, a weight calculating unit 107, an element-weight correspondence table holding unit 108, a balance point coordinate value calculating unit 109,
Balance point coordinate value holding unit 110, target coordinate indicating unit 11
1, a change method instructing unit 112, a shift calculating unit 113, a layout change amount calculating unit 114, a screen display unit 115, a figure printing unit 116, and a processing control unit 117. This drawing device can realize each functional unit by a computer and a program. Element layout instruction section 1
05, an element data holding unit 101, an element model holding unit 103, an element-weight correspondence table holding unit 108, and a balance point coordinate value holding unit 110 are stored in a RAM, a disk, or the like. The other processing units are realized by reading a program stored in a storage unit such as a ROM and executing the program by the CPU. Hereinafter, the role of each functional unit will be described.
Features are listed in a bulleted style for clarity.

【0012】(1) 要素データ保持部 図の要素ごとに、その形状、色、配置に関する情報を保
持する機能を持つ。この実施例では、図の要素に関する
属性データを表形式で保持する。表は、属性と属性値の
組を対応づけたものである。要素毎に、一つの表が作ら
れる。各表には、これを一意に識別するためのIDが割
当てられる。
(1) Element data holding unit This has a function of holding information on the shape, color, and arrangement of each element in the figure. In this embodiment, attribute data related to the elements of the figure are held in a table format. The table associates sets of attributes and attribute values. One table is created for each element. Each table is assigned an ID for uniquely identifying the table.

【0013】以下、各属性について説明する。属性に
は、「位置」「色」「形状」「テキスト」「表示順序」
がある。属性「位置」は、その要素の2次元平面上の位
置を示す。この要素の幾何的中心点(重心の位置に相
当)がその位置に一致するように、要素は平面上に配置
される。属性値として、2元の非負整数値からなる座標
値をとる。数値の単位は、印刷で用いられているポイン
トである。座標値(0,0)は、画面または印刷可能領
域の左下隅点を示す。座標値の第1元が右方向、第2元
が上方向の位置を示す。属性「色」は、その要素の色を
示す。属性値として、国際照明学会が定めたスケールで
あるL*a*b*でその要素の色を表現した値をとる。
属性「形状」は、その要素の形状を示す。属性値とし
て、ページ記述言語のPostScript(米国Ad
obe Systems Incorporatedの登
録商標)でその要素の形状を記述した値をとる。属性
「テキスト」は、その要素が何を表わすかを示すテキス
トであり、その要素の内側に描画されるものを示す。属
性値として、ページ記述言語のPostScriptで
その要素のテキストを記述した値をとる。属性「表示順
序」は、その要素が何番目に表示されるかを示す。この
実施例では、描画は上書きで行われるので、要素が重な
った場合は表示順序が後のものが手前に見える。属性値
として、一意の正数値をとる。
Hereinafter, each attribute will be described. Attributes include "position", "color", "shape", "text", and "display order".
There is. The attribute “position” indicates the position of the element on the two-dimensional plane. The element is arranged on a plane such that its geometric center point (corresponding to the position of the center of gravity) coincides with that position. As an attribute value, a coordinate value consisting of a binary non-negative integer value is taken. The unit of the numerical value is a point used in printing. The coordinate value (0,0) indicates the lower left corner point of the screen or the printable area. The first element of the coordinate values indicates the position in the right direction, and the second element indicates the position in the upward direction. The attribute “color” indicates the color of the element. As the attribute value, a value expressing the color of the element in L * a * b *, which is a scale determined by the International Institute of Lighting, is used.
The attribute “shape” indicates the shape of the element. As the attribute value, PostScript of the page description language (Ad
ob System Systems Incorporated). The attribute “text” is text indicating what the element represents, and indicates what is drawn inside the element. As the attribute value, a value in which the text of the element is described in PostScript of the page description language is taken. The attribute “display order” indicates in what order the element is displayed. In this embodiment, since the drawing is performed by overwriting, when the elements are overlapped, the later one in the display order is seen in the foreground. Take a unique positive value as the attribute value.

【0014】(2) 要素データ変更部102 要素データ変更部102は、他の機能部からの命令に応
じて、要素データ保持部101が保持する情報を変更す
る機能を持つ。また、変更する命令を受けた場合、その
変更処理を行った後、画面書き換え命令を画面表示部へ
送る機能を持つ。
(2) Element data changing section 102 The element data changing section 102 has a function of changing information held by the element data holding section 101 in response to an instruction from another function section. Further, when a command to change is received, a function to send a screen rewrite command to the screen display unit after performing the change process is provided.

【0015】図の要素の生成、すなわち新たな表の生成
は、後述する要素生成指示部104から送られる命令に
よって行われる。この命令を受けると、まず新たな一つ
の表を要素データ保持部101中に作り、次にその表の
各属性値に値を代入する。属性「色」と「形状」と「テ
キスト」は、その命令の引数として渡されるので、その
値を属性値として表に代入する。属性「位置」は、デフ
ォルトとして、(144,144)を属性値として用い
る。属性「表示順序」は、この機能部に保持された表の
その属性値としてその時点で最も大きな値を調べ、その
値に1を加えた正数値を新しい要素の属性「表示順序」
の属性値とする。
The generation of the elements in the figure, that is, the generation of a new table, is performed by a command sent from an element generation instructing unit 104 described later. Upon receiving this instruction, first, a new table is created in the element data holding unit 101, and then a value is assigned to each attribute value of the table. The attributes “color”, “shape”, and “text” are passed as arguments of the instruction, and the values are substituted into the table as attribute values. The attribute “position” uses (144, 144) as an attribute value as a default. The attribute "display order" examines the largest value at that time as the attribute value of the table held in this functional unit, and adds a positive value obtained by adding 1 to the attribute "display order" of the new element.
Attribute value.

【0016】図の要素の配置は、後述する要素レイアウ
ト指示部105から送られる位置変更の命令によって行
われる。まず、配置の変更対象となる要素を特定する。
これは、その命令の引数として渡される移動元の座標値
を内包する図の要素のうち、属性「表示順序」の値が最
も大きいものである。要素が特定できれば、その要素の
属性「位置」の値を、引き数として渡された移動先の座
標値で置き換える。また、引数としてPostScri
ptプログラムが渡された場合は、これを属性「テキス
ト」の値としてその表に代入する。後述するように、要
素レイアウト指示部からは、色変更命令、形状変更命令
も送られる。この場合においても、位置変更命令と同様
に要素を特定するが、変更される属性はそれぞれ属性
「色」および属性「形状」である。
The arrangement of the elements in the figure is performed by a position change command sent from an element layout instruction unit 105 described later. First, the element whose arrangement is to be changed is specified.
This is the element having the largest value of the attribute “display order” among the elements of the diagram including the coordinate values of the movement source passed as the argument of the instruction. If the element can be specified, the value of the attribute “position” of the element is replaced with the coordinate value of the movement destination passed as an argument. Also, PostScri as an argument
When the pt program is passed, it is substituted into the table as the value of the attribute “text”. As will be described later, a color change command and a shape change command are also sent from the element layout command unit. In this case as well, the element is specified in the same manner as the position change instruction, but the attributes to be changed are the attribute “color” and the attribute “shape”, respectively.

【0017】図の要素の削除、すなわちある要素データ
保持部101に保持される表の削除は、後述する要素削
除指示部106から送られる命令によって行われる。そ
の命令の引数として渡される座標値を内包する図の要素
のうち、属性「表示順序」の値が最も大きいものを選択
し、その表を削除する。
The deletion of the elements in the figure, that is, the deletion of the table held in a certain element data holding unit 101 is performed by a command sent from an element deletion instruction unit 106 described later. Among the elements of the diagram containing the coordinate values passed as the argument of the instruction, the element having the largest value of the attribute “display order” is selected, and the table is deleted.

【0018】(4) 要素雛型保持部103 要素雛型保持部103は、個々の図の要素の雛型とな
る、要素の属性「色」と「形状」に関する値を持つ。色
については、L*a*b*の値と、その色を表わす言葉
(赤や青など)とを対応づけた組からなる表を持つ。
「形状」については、PostScriptプログラム
と、その形状が示す言葉(四角や楕円など)とを対応づ
けた組からなる表を持つ。ここで、色や形状が示す言葉
はユーザに提示する際に直感的に分かり易くするために
付けられたものである。
(4) Element Model Holding Unit 103 The element model holding unit 103 has values relating to the attribute “color” and “shape” of the element, which are the model of the element of each figure. The color has a table including a set in which values of L * a * b * are associated with words (such as red and blue) representing the color.
The “shape” has a table including a set in which a PostScript program is associated with a word (a square, an ellipse, or the like) indicated by the shape. Here, the words indicated by the colors and shapes are added to make them intuitively understandable when presented to the user.

【0019】(5) 要素生成指示部104 要素生成指示部104は、新しい要素の生成に関するユ
ーザの指示を受け、要素雛型保持部103を用いて新た
な図の要素を生成し、これを要素データ変更部102を
介して要素データ保持部101に記憶させる機能を持
つ。また、テキスト入力を受け付ける機能を持つ。ユー
ザの指示は、要素の属性「色」と「形状」に関して、要
素雛型保持部103が保持する表のうちから、色と形状
を示す言葉をそれぞれ選択することで行われる。このと
き、さらにテキストを入力すると、そのテキストを新た
に作った図の要素が表わすもの、すなわちその要素の内
側に表示されるテキストにすることができる。その選択
が行われた後、要素生成指示部104は、要素データ変
更部102に新たな表を作成する命令を送る。この命令
の引数として、次のものが要素データ変更部102に渡
される。 ◎ ユーザが選択した色を表わす言葉と対応づけられた
L*a*b*の値。(属性「色」の値になる) ◎ ユーザが選択した形状を表わす言葉と対応づけられ
たPostScriptプログラム。(属性「形状」の
値になる)◎ 入力されたテキストが、できるだけ形状
を表すPostScriptプロ グラムが表示上占める領域の内側にはいるように、フォ
ント/行数/行間隔が設定された、入力されたテキスト
を描画するためのPostScriptプログラム。
(属性「テキスト」の値になる)
(5) Element generation instructing unit 104 The element generation instructing unit 104 receives a user's instruction regarding the generation of a new element, generates an element of a new diagram using the element template holding unit 103, and It has a function of storing data in the element data holding unit 101 via the data changing unit 102. It also has a function to accept text input. The user's instruction is performed by selecting words indicating colors and shapes from the table held by the element template holding unit 103 with respect to the attributes “color” and “shape” of the element. At this time, by further inputting the text, the text can be changed to the one represented by the newly created diagram element, that is, the text displayed inside the element. After the selection is made, the element generation instructing unit 104 sends an instruction to create a new table to the element data changing unit 102. The following are passed to the element data changing unit 102 as arguments of this instruction. A value of L * a * b * associated with a word representing a color selected by the user. (It becomes the value of the attribute “color”) A PostScript program associated with a word representing a shape selected by the user. (The value of the attribute "shape") ◎ The font / number of lines / line spacing is set so that the input text is inside the area occupied by the PostScript program representing the shape as much as possible. PostScript program for drawing rendered text.
(It becomes the value of the attribute "text")

【0020】(5) 要素レイアウト指示部105 要素レイアウト指示部105は、要素のレイアウトの変
更に関するユーザの指示を受け、図の要素のレイアウト
を変更する機能を持つ。また、テキスト入力を受け付け
る機能を持つ。ユーザの指示は、配置変更または色変更
または形状変更またはテキスト入力である。配置変更の
場合、まず移動元の図形要素を選択することが行われ
る。ユーザが画面上の点を選択することで、この点を内
包する図の要素のうち、最も手前に表示されているもの
が移動の対象となる。次に移動先となる画面上の点が選
択される。これらの選択が行われた後、要素データ変更
部102に配置変更の命令を送る。この命令の引き数と
して、次のものが要素データ変更部102に渡される。 ◎はじめに選択した画面上の点の座標値。(移動元を示
す) ◎あとで選択した画面上の点の座標値。(移動先を示
す)
(5) Element Layout Instructing Unit 105 The element layout instructing unit 105 has a function of receiving a user's instruction regarding a change in the layout of an element and changing the layout of an element in the figure. It also has a function to accept text input. The user's instruction is to change the arrangement, change the color, change the shape, or input text. In the case of an arrangement change, first, a source graphic element is selected. When the user selects a point on the screen, the element displayed in the foreground among the elements of the diagram that includes this point is the movement target. Next, a point on the screen to be moved is selected. After these selections are made, a command to change the arrangement is sent to the element data changing unit 102. The following are passed to the element data changing unit 102 as arguments of this instruction. ◎ The coordinate value of the point on the screen selected first. (Indicates the movement source) ◎ The coordinate value of the point on the screen selected later. (Indicates the destination)

【0021】色変更の場合、まず変更対象を選択するこ
とが行われる。選択方法は、前記の移動元の選択と同様
である。次に、要素雛型保持部103が保持する表のう
ちから、色を表わす言葉の選択が行われる。これらの選
択が行われた後、要素レイアウト指示部105は、要素
データ変更部102に色変更の命令を送る。この命令の
引き数は次のものである。 ◎選択した画面上の点の座標値。(変更対象を示す) ◎ユーザが選択した色を表わす言葉と対応づけられたL
*a*b*の値。(属性「色」の値になる)
In the case of a color change, first, an object to be changed is selected. The selection method is the same as the above selection of the movement source. Next, a word representing a color is selected from the table held by the element template holding unit 103. After these selections are made, the element layout instruction unit 105 sends a color change command to the element data change unit 102. The arguments for this instruction are: ◎ The coordinate value of the selected point on the screen. (Indicating the change target) ◎ L associated with the word representing the color selected by the user
* A * b * values. (It becomes the value of attribute "color")

【0022】形状変更の場合、まず変更対象を選択する
ことが行われる。選択方法は、前記の移動元の選択と同
様である。次に、要素雛型保持部103が保持する表の
うちから、形状を表わす言葉の選択が行われる。これら
の選択が行われた後、要素レイアウト指示部105は、
要素データ変更部102に形状変更の命令を送る。この
命令の引き数は次のものである。 ◎選択した画面上の点の座標値。(変更対象を示す) ◎ユーザが選択した形状を表わす言葉と対応づけられた
PostScriptプログラム。(属性「形状」の値
になる)
In the case of changing the shape, first, a change target is selected. The selection method is the same as the above selection of the movement source. Next, a word representing a shape is selected from the table held by the element template holding unit 103. After these selections are made, the element layout instruction unit 105
A shape change command is sent to the element data change unit 102. The arguments for this instruction are: ◎ The coordinate value of the selected point on the screen. (Indicates a change target) A PostScript program associated with a word representing a shape selected by the user. (It becomes the value of the attribute "shape")

【0023】テキスト入力の場合、まず変更対象を選択
することが行われる。選択方法は、前記の移動元の選択
と同様である。次に、テキストを入力すると、変更対象
となる図の要素の属性「テキスト」の値として、入力し
たテキストを設定することができる。テキスト入力の命
令の引数は次のものである。 ◎選択した画面上の点の座標値。(変更対象を示す) ◎入力されたテキストが、できるだけ前記のPostS
criptプログラムが表示上占める領域の内側にはい
るように、フォント/行数/行間隔が設定された、入力
されたテキストを描画するためのPostScript
プログラム。(属性「テキスト」の値になる)
In the case of text input, first, a change target is selected. The selection method is the same as the above selection of the movement source. Next, when text is input, the input text can be set as the value of the attribute “text” of the element of the figure to be changed. The arguments of the text input instruction are as follows. ◎ The coordinate value of the selected point on the screen. (Indicates the object to be changed)
PostScript for drawing input text with font / number of lines / line spacing set so that the script program is inside the area occupied by display.
program. (It becomes the value of the attribute "text")

【0024】(6) 要素削除指示部106 要素削除指示部106は、要素削除に関するユーザの指
示を受け、任意の座標に配置された図の要素を削除する
機能を持つ。ユーザの指示は、画面上の点を選択するこ
とで行われる。この点を内包する図の要素のうち、最も
手前に表示されているものが削除の対象となる。ユーザ
の指示後、選択された画面上の点の座標値を引数とし
て、削除命令を要素データ変更部102へ送る。
(6) Element deletion instructing unit 106 The element deleting instructing unit 106 has a function of receiving a user's instruction regarding element deletion and deleting an element of a diagram arranged at an arbitrary coordinate. The user's instruction is performed by selecting a point on the screen. Of the elements in the diagram that includes this point, the element displayed in the foreground is to be deleted. After the user's instruction, a delete command is sent to the element data change unit 102 using the coordinate value of the selected point on the screen as an argument.

【0025】(7) 重さ計算部107 重さ計算部107は、図の要素の重さ値を計算する機能
を持つ。この実施例では、ある要素の重さ値は次の式で
与えられる。 ◎ 重さ値=要素面積値×要素密度値 要素密度値=1÷色明度値 ここで、要素面積値の単位は平方ポイント、色明度値は
L*a*b*のL*値である。なお、色明度値の代わり
に彩度を用いてもよい。この重さ計算部107は、要素
データ保持部101に保持された各要素に対して、その
属性「形状」の値から要素面積値を計算し、その属性
「色」の値から要素密度値を計算する。そして、前記要
素面積値と前記要素密度値を積算した結果を、その要素
を示す要素データ保持部101のIDとともに、要素−
重さ対応表保持部108に伝える。
(7) Weight Calculation Unit 107 The weight calculation unit 107 has a function of calculating the weight values of the elements in the figure. In this embodiment, the weight value of an element is given by: Weight value = element area value × element density value Element density value = 1 ÷ color lightness value Here, the unit of the element area value is a square point, and the color lightness value is the L * value of L * a * b *. Note that saturation may be used instead of the color brightness value. The weight calculator 107 calculates an element area value from the value of the attribute “shape” for each element stored in the element data storage unit 101, and calculates an element density value from the value of the attribute “color”. calculate. Then, the result of integrating the element area value and the element density value is stored in the element data together with the ID of the element data holding unit 101 indicating the element.
The information is transmitted to the weight correspondence table holding unit 108.

【0026】(8) 要素−重さ対応表保持部108 要素−重さ対応表保持部108は、図の要素と、その要
素の重さ値とを対応づけた情報を保持する機能を持つ。
この実施例では、この機能部は一つの表で情報を保持す
る。表は2列であり、第1列が図の要素、第2列が重さ
値である。従って、各行が図の要素と重さ値の対応を示
す。第1列の値は、要素データ保持部101に保持され
た表のIDである。第2列の値は、その行の第1列が示
す図の要素の重さ値を、前記重さ計算部107で計算し
た結果が入る。
(8) Element-Weight Correspondence Table Holding Unit 108 The element-weight correspondence table holding unit 108 has a function of holding information in which elements in the figure are associated with the weight values of the elements.
In this embodiment, this functional unit holds information in one table. The table has two columns, the first column being the elements of the figure and the second column being the weight values. Therefore, each row shows the correspondence between the elements in the figure and the weight values. The value in the first column is a table ID held in the element data holding unit 101. As the value of the second column, the result of calculating the weight value of the element shown in the first column of the row by the weight calculator 107 is entered.

【0027】(9) 釣り合い点座標値計算部109 釣り合い点座標値計算部109は、釣り合い点の画面上
の位置を計算する機能を持つ。釣り合い点の座標値の計
算は、ベクトルの計算をすることで行われる。図形要素
iの位置ベクトル(座標原点からその要素の位置座標へ
のベクトル)をviとし、その要素の重さ値をmiとし
て、釣り合い点の位置ベクトルvbalanceは次のように
与えられる(図2参照)。 vbalance=(1/M)×Σmii M=Σmi この釣り合い点座標値計算部109は、要素データ保持
部101と要素−重さ対応表保持部108に保持された
情報を用いて、上記の計算を行い、結果を釣り合い点座
標値保持部110へ伝える。
(9) Balance Point Coordinate Value Calculation Unit 109 The balance point coordinate value calculation unit 109 has a function of calculating the position of the balance point on the screen. The calculation of the coordinate value of the balance point is performed by calculating a vector. Assuming that the position vector of the graphic element i (the vector from the coordinate origin to the position coordinates of the element) is v i, and the weight value of the element is m i , the position vector v balance of the balance point is given as follows ( (See FIG. 2). v balance = (1 / M) × Σm i v i M = Σm i The balance point coordinate value calculating unit 109, the element data holding unit 101 and the elements - using the information held in the weight correspondence table holding unit 108 , And transmits the result to the balance point coordinate value holding unit 110.

【0028】(10) 釣り合い点座標値保持部110 釣り合い点座標値保持部110は、釣り合い点座標値計
算部109が計算した結果を保持する機能を持つ。ま
た、釣り合い点の目標点の座標を保持する機能を持つ。
(10) Balance Point Coordinate Value Storage Unit 110 The balance point coordinate value storage unit 110 has a function of storing the result calculated by the balance point coordinate value calculation unit 109. It also has a function of holding the coordinates of the target point of the balance point.

【0029】(11) 目標座標指示部111 目標座標指示部111は、ユーザが画面上の点を選び、
その点を釣り合い点の目標点とすることができる機能を
持つ。また、画面上で選択された点の座標値を算定し、
その座標値を目標値として釣り合い点座標値保持部11
0へ伝える。なお、ユーザの指定なしに、デフォルトで
の目標座標を決定するようにしてもよい。
(11) Target coordinate indicating section 111 The target coordinate indicating section 111 allows the user to select a point on the screen,
It has a function that can set that point as the target point of the balance point. Also, calculate the coordinate value of the point selected on the screen,
The coordinate value holding unit 11 uses the coordinate value as a target value.
Tell 0. Note that the default target coordinates may be determined without the user's designation.

【0030】(12) 変更方法指示部112 変更方法指示部112は、システムによる自動的レイア
ウト変更機能の動作のOn/Offをユーザが指示でき
る機能を持つ。また、自動的レイアウト変更に関して、
釣り合い点を目標点に一致するようにレイアウト変更す
るか、あるいは現状の釣り合い点を維持するようにレイ
アウト変更するかを、ユーザが指示できる機能を持つ。
また、システムが図の要素のレイアウトの何を変更して
良いか、すなわち、要素の色/形状/配置のどれを変更
して良いかをユーザが指定できる機能を持つ。また、指
示された結果を保持する。
(12) Change Method Instructing Unit 112 The change method instructing unit 112 has a function that allows the user to instruct On / Off of the operation of the automatic layout changing function by the system. Also, regarding automatic layout change,
It has a function that allows the user to instruct whether to change the layout so that the balance point matches the target point or to change the layout so as to maintain the current balance point.
The system also has a function that allows the user to specify which of the layouts of the elements of the diagram may be changed, that is, which of the color / shape / arrangement of the elements may be changed. Also, the designated result is held.

【0031】(13) ずれ計算部113 ずれ計算部113は、現状の釣り合い点と目標点から、
そのずれを打ち消すモーメントを計算する機能を持つ。
前記モーメントは、要素の重さすべてを加算した重さ値
Mに、位置ベクトルvdifを掛けた値になる。ここで位
置ベクトルvdifは、釣り合い点の位置ベクトルをv
balance、目標値の位置ベクトルをvgoalとして、次の
式を計算することで得られる。 vdif=vgoal−vbalance
(13) Shift Calculation Unit 113 The shift calculation unit 113 calculates the current balance point and the target point from the current balance point and the target point.
It has a function to calculate the moment to cancel the deviation.
The moment is a value obtained by multiplying the weight value M obtained by adding all the weights of the elements by the position vector v dif . Here, the position vector v dif is the position vector of the balance point as v
balance is obtained by calculating the following equation using the position vector of the target value as v goal . v dif = v goal -v balance

【0032】(14) レイアウト変更量計算部114 レイアウト変更量計算部114は、変更方法指示部11
2によるユーザの指示と、ずれ計算部113の計算結果
から、ずれを打ち消すモーメントの配分を決定し、この
決定から要素の属性値の変更量を決定し、要素データ変
更部102にこの変更を伝える機能を持つ。この機能部
114の動作手順を以下に説明する。
(14) Layout Change Amount Calculator 114 The layout change amount calculator 114 changes the layout method instructor 11.
2, the distribution of the moment for canceling the deviation is determined from the user's instruction and the calculation result of the deviation calculating unit 113, the amount of change of the attribute value of the element is determined from this determination, and this change is transmitted to the element data changing unit 102. Has functions. The operation procedure of the function unit 114 will be described below.

【0033】[Step 1] 変更方法指示部112
で記憶されている変更方法が釣り合い点の維持の場合
は、次のことを行う。まず、釣り合い点座標値保持部1
10が保持する目標点の値を、その機能部110が保持
する釣り合い点(すなわち、ユーザによる図形要素の変
更、あるいは図形要素の削除等のレイアウト変更が起こ
る直前の釣り合い点)にする。次に、釣り合い点座標計
算部109に現在の釣り合い点を計算させる。そして、
その計算結果を釣り合い点座標値保持部110に保持さ
せる。
[Step 1] Change method instructing section 112
If the change method stored in is to maintain the balance point, the following is performed. First, the balance point coordinate value holding unit 1
The value of the target point held by 10 is set to the balance point held by the functional unit 110 (that is, the balance point just before the layout change such as the change of the graphic element or the deletion of the graphic element by the user). Next, the balance point coordinate calculation unit 109 is caused to calculate the current balance point. And
The calculation result is stored in the balance point coordinate value storage unit 110.

【0034】[Step 2] ずれ計算部113にモ
ーメントを計算させ、その結果である重さ値Mと位置ベ
クトルvdifをレイアウト変更量計算部114が記憶す
る。
[Step 2] The displacement calculating unit 113 calculates a moment, and the resulting weight value M and position vector v dif are stored in the layout change amount calculating unit 114.

【0035】[Step 3]変更方法指示部112に
記憶された、図の要素のレイアウトで変更してよいもの
に応じて、次のcase AからFのうちの一つを選
び、その処理を行う。
[Step 3] One of the following cases A to F is selected in accordance with the layout of the elements in the drawing stored in the change method instructing section 112 and the processing is performed. .

【0036】case A) 配置の場合 まず、図の要素のうちから一つを選ぶ。その要素の重さ
値をme、位置ベクトルをveとしたとき、その要素の新
しい位置ベクトルvnewを次の式で計算する(図3参
照)。 vnew=ve+(M/me)vdif
Case A) Arrangement First, one of the elements shown in the figure is selected. Assuming that the weight value of the element is m e and the position vector is v e , a new position vector v new of the element is calculated by the following equation (see FIG. 3). v new = v e + (M / m e) v dif

【0037】case B) 色の場合 まず、図の要素のうちから一つを選ぶ。次に、図形要素
に加算する重さ値mplusを計算する。mplusは、その要
素の位置ベクトルをve、veとvdifの大きさをそれぞ
れ|ve|, |vdif|、veとvdifのなす角をθとし
たとき、次の式で計算される(図4参照)。 mplus=(M×|vdif|)/(|ve| cosθ) 選ばれた図の要素の重さ値をme、この要素の面積をae
とすると、この要素の新たな色のL*値Lnewは次の式
で計算される。Lnew=ae/(me+mplus)上記の計
算の終了後に、記憶しているMとvdifに次の値を代入
する。 M=mplusdif=((|ve|cosθ)/|vdif|)vdif−v
e (図4参照) このvdifは、上記の要素の配色を変更した後に残る釣
り合い点からのずれを示すものである。そこで|vdif
|を0に近づけるように、更に、他の要素について上記
と同様の処理を行い色を変更すること繰り返す。即ち、
ここまでの計算を、|vdif|が0になるまで、図形要
素を適宜選んで繰り返す。
Case B) For Color First, one of the elements in the figure is selected. Next, a weight value m plus to be added to the graphic element is calculated. m plus is the position vector of the element v e, v e and v dif size respectively | v e |, | v dif |, v when the the angle e and v dif theta, the following formula (See FIG. 4). m plus = (M × | v dif |) / (| v e | cosθ) the weight values of the elements of the selected FIGS m e, the area of this element a e
Then, the L * value L new of the new color of this element is calculated by the following equation. L new = a e / (m e + m plus) after completion of the calculations, substituting the following values for M and v dif stored therein. M = m plus v dif = ( (| v e | cosθ) / | v dif |) v dif -v
e (see FIG. 4) This v dif indicates the deviation from the balance point remaining after changing the color scheme of the above elements. Then | v dif
Further, the same processing as described above is performed on the other elements to change the color so that | approaches 0. That is,
The calculation up to this point is repeated by appropriately selecting graphic elements until | v dif | becomes zero.

【0038】case C) 形状の場合 case Bと同様にして、図の要素のうちから一つを
選び、これに加算する重さ値mplusを計算する。選ばれ
た図の要素の重さ値をme、この要素の色のL*値をLe
とすると、この要素の新たな面積anewは次の式で計算
される。 anew=(me+mplus)Le この計算終了後、caseBと同様に、Mとvdifを変
更する。そして、ここまでの計算を、|vdif|が0に
なるまで、要素を適宜選んで繰り返す。
Case C) Shape In the same manner as in case B, one of the elements in the figure is selected, and a weight value m plus to be added thereto is calculated. The weight value of the selected figure element is m e , and the L * value of the color of this element is L e
Then, a new area a new of this element is calculated by the following equation. a new = (m e + m plus) L e After this calculation completion, as with Case B, changing the M and v dif. The calculation up to this point is repeated by appropriately selecting elements until | v dif | becomes zero.

【0039】case D) 配置と色の場合 まず、図の要素のうちから一つを選ぶ。その要素の重さ
値をme、色のL*値をLe、位置ベクトルをveとした
とき、その要素の新しい位置ベクトルvnewと新たな色
のL*値Lnewを次の式で計算する。 vnew=ve+(M/(2×me))vdifnew=Le/2
Case D) Arrangement and Color First, one of the elements in the figure is selected. When the weight value of the element is m e , the L * value of the color is L e , and the position vector is v e , the new position vector v new of the element and the L * value L new of the new color are expressed by the following equation. Is calculated. v new = v e + (M / (2 × m e)) v dif L new = L e / 2

【0040】case E) 配置と形状の場合 まず、図の要素のうちから一つを選ぶ。その要素の重さ
値をme、面積をae、位置ベクトルをveとしたとき、
その要素の新しい位置ベクトルvnewと新たな面積をa
newを次の式で計算する。 vnew=ve+(M/(2×me))vdifnew=2×ae
Case E) Arrangement and Shape First, one of the elements in the figure is selected. When the weight value of the element is m e , the area is a e , and the position vector is v e ,
Let the new position vector v new and the new area of the element be a
Calculate new by the following formula. v new = v e + (M / (2 × m e)) v dif a new = 2 × a e

【0041】case F) 配置と色と形状の場合 まず、図の要素のうちから一つを選ぶ。その要素の重さ
値をme、色のL*値をLe、面積をae、位置ベクトル
をveとしたとき、その要素の新しい位置ベクトルvnew
と新たな色のL*値Lnewと新たな面積をanewを次の式
で計算する。 vnew=ve+(M/(4×me))vdifnew=Le/2 anew=2×ae
Case F) Arrangement, Color and Shape First, one of the elements in the figure is selected. Assuming that the weight value of the element is m e , the L * value of the color is L e , the area is a e , and the position vector is v e , the new position vector v new of the element
And a new color L * value L new and a new area a new are calculated by the following equation. v new = v e + (M / (4 × m e)) v dif L new = L e / 2 a new = 2 × a e

【0042】[Step 4] Step 3で計算した
結果である、位置ベクトルまたはL*値または面積値を
持つように、要素データ変更部102を用いて、要素の
位置または色または形状を変更する。
[Step 4] The element data change unit 102 is used to change the position, color, or shape of the element so as to have the position vector, L * value, or area value, which is the result of the calculation in Step 3.

【0043】(15) 画面表示部115 画面表示部115は、画面書き換え命令により、要素デ
ータ保持部101に保持された要素のデータを解釈して
RGBラスタ画像に変換し、変換後の画像をディスプレ
イに表示する機能を持つ。また、釣り合い点座標値保持
部110に保持された座標値に対応して、画面上に釣り
合い点を描画する機能を持つ。さらに、画面表示部11
5は、ポインティングデバイスに連動するカーソルを画
面上に表示し、前述の各種指示/選択の際に座標点や図
の要素を直接選択する操作を可能にする機能を持つ。図
の要素を描画する際は、属性「表示順序」の値の小さい
ものから順次上書きで描画する。また、座標値(0,
0)の位置が画面の左下隅になるように描画する。ある
要素が属性「テキスト」に値を持つ場合は、まず属性
「色」と「形状」にしたがって描画し、そのあとで属性
「テキスト」の値に基づいてテキストを上書きで描画す
る。
(15) Screen Display Unit 115 The screen display unit 115 interprets the element data held in the element data holding unit 101 and converts it into an RGB raster image in accordance with a screen rewriting command, and displays the converted image on the display. It has a function to display. Further, it has a function of drawing a balance point on the screen in accordance with the coordinate value held in the balance point coordinate value holding unit 110. Further, the screen display unit 11
Reference numeral 5 has a function of displaying a cursor linked to a pointing device on the screen, and enabling an operation of directly selecting a coordinate point or an element of a figure at the time of the various instructions / selections. When drawing the elements of the figure, the elements are sequentially overwritten in ascending order of the value of the attribute “display order”. In addition, coordinate values (0,
Draw so that the position of 0) is the lower left corner of the screen. If an element has a value for the attribute "text", it is first drawn according to the attributes "color" and "shape", and then the text is overwritten based on the value of the attribute "text".

【0044】(16) 図印刷部116 図印刷部116は、ユーザの指示により、要素データ保
持部101に保持された要素のデータを解釈してCMY
Kラスタ画像に変換し、変換後の画像を紙/OHPシー
トに印刷する機能を持つ。図の要素を描画する際は、属
性「表示順序」の値の小さいものから順次上書きで描画
する。また、紙/OHPシートの印刷可能領域に対し
て、座標値(0,0)の位置が左下隅になるように描画
する。ある要素が属性「テキスト」に値を持つ場合は、
まず属性「色」と「形状」にしたがって描画し、そのあ
とで属性「テキスト」の値に基づいてテキストを上書き
で描画する。
(16) Diagram Printing Unit 116 The diagram printing unit 116 interprets the data of the element held in the element data holding unit 101 and instructs CMY
It has a function of converting to a K raster image and printing the converted image on a paper / OHP sheet. When drawing the elements of the figure, the elements are sequentially overwritten in ascending order of the value of the attribute “display order”. Further, drawing is performed such that the position of the coordinate value (0, 0) is located at the lower left corner with respect to the printable area of the paper / OHP sheet. If an element has a value for the attribute "text"
First, drawing is performed in accordance with the attributes “color” and “shape”, and then text is overwritten based on the value of the attribute “text”.

【0045】(17) 処理制御部117 処理制御部117は、処理全体の流れを統括する機能を
持つ。また、システム全体の起動と終了のユーザ指示を
受ける機能を持つ。また、処理制御部117は、ユーザ
指示を行うことのできる各機能部へ、指示入力受け付け
の時間を順次割り当てる。時間が割り当てられた機能部
でユーザからの入力があった場合、その要求による処理
が終了するまで他の機能部への割り当てを中断する。実
施例における処理の流れを図5に示す。この処理の流れ
は、処理制御部117によって統括され、実行される。
以下に、この処理の流れについて説明する。 [ステップS1] 処理制御部117で、終了制御がユ
ーザから指示されたか否かを監視し、終了制御が指示さ
れたときには、処理を終了する。終了制御が指示されて
いないときには、ステップS2に進む。 [ステップS2] 要素生成指示部104で、図の要素
の生成がユーザから指示されたか否かを調べる。 [ステップS3] 図の要素の生成がユーザから指示さ
れたときには、要素雛形保持部103のデータを用いて
新規要素データの生成を行い、要素データ変更部102
を介して要素データ保持部101に記憶させる。 [ステップS4] 要素削除指示部106で、図の要素
を指定しての削除がユーザから指示されたか否かを調べ
る。 [ステップS5] 上記の削除が指示されているときに
は、指定された要素に対応する要素データの削除を行
う。即ち、要素削除指示部106は、指定された要素の
削除命令を要素データ変更部102に送り、要素データ
変更部102は要素データ保持部101の該当する要素
を削除する。 [ステップS6] 要素レイアウト指示部105で、図
の要素のレイアウトに対する変更が、ユーザから指示さ
れたか否かを調べる。 [ステップS7] ユーザの指示としては、配置変更、
色変更、形状変更、テキスト入力等があり、これらのい
ずれかの属性値に関する変更の指示があると、要素レイ
アウト指示部105は、要素データ変更部102に、指
定された属性値の変更命令を送り、要素データ変更部1
02はそれらの属性の変更の命令を受けて、要素データ
保持部101の該当する要素データの属性値を変更す
る。 [ステップS8] 変更方法指示部112で、レイアウ
ト自動変更の動作のオン−−、オフまたは変更の方法が
指示されたかを調べる。 [ステップS9] そして、レイアウト自動変更の動作
のオン−−、オフまたは変更の方法が指示された場合に
は、指示に従った動作のオン、オフまたは変更方法の設
定を行う。 [ステップS10] 目標座標指示部111で、ユーザ
により画面上の点が指示されたかを調べる。 [ステップS11] 画面上の点が指示されたときは、
その指示に従って目標値の設定を行う。即ち、画面上で
選択された点の座標値を算定し、その座標値を目標値と
して釣り合い点座標値保持部110へ伝える。 [ステップS12] 図印刷部116で、図の印刷がユ
ーザから指示されたかを調べ、指示がなされていないと
きにはステップS1へ戻る。 [ステップS13] 印刷の指示がなされたときには、
図印刷部116は、図の印刷をしてステップS1へ戻
る。 [ステップS14] レイアウト自動変更の動作はオン
が設定されているか調べる。 [ステップS15] レイアウト自動変更の動作はオン
が設定されているときには、ずれ計算部113が、現状
の釣り合い点と目標点から、そのずれを打ち消すモーメ
ントを計算する。 [ステップS16] 次に、レイアウト変更量計算部1
14が、変更方法指示部112によるユーザの指示と、
ずれ計算部113の計算結果から、ずれを打ち消すモー
メントの配分を決定し、この決定から要素の属性値の変
更量を決定する。 [ステップS17] 要素データ変更部102は、要素
データ保持部101が保持する属性情報を各機能部から
の生成、削除、変更や計算結果のデータに基づいて変更
する。 [ステップS18] ステップS14の判定で、オフが
設定されているときには、レイアウトの変更は行わない
で、要素の追加、削除、変更を反映した画面を描画す
る。ステップS14の判定で、オンが設定されていると
きには、ステップS15〜S17によるレイアウト変更
結果を反映した画面の再描画を行う。
(17) Processing Control Unit 117 The processing control unit 117 has a function of controlling the overall flow of processing. Also, it has a function of receiving a user instruction to start and end the entire system. Further, the processing control unit 117 sequentially assigns a time for receiving an instruction input to each functional unit capable of giving a user instruction. When there is an input from a user in a function unit to which time has been assigned, the assignment to another function unit is suspended until the processing based on the request ends. FIG. 5 shows a processing flow in the embodiment. This processing flow is controlled and executed by the processing control unit 117.
Hereinafter, the flow of this processing will be described. [Step S1] The processing control unit 117 monitors whether or not termination control has been instructed by the user, and when the termination control has been instructed, terminates the processing. When the end control has not been instructed, the process proceeds to step S2. [Step S2] The element generation instructing unit 104 checks whether or not the user has instructed the generation of the elements in the figure. [Step S3] When the user instructs the generation of the elements in the figure, new element data is generated using the data in the element model holding unit 103, and the element data changing unit 102
Through the element data holding unit 101. [Step S4] The element deletion instructing unit 106 checks whether or not the user has instructed deletion by designating an element in the figure. [Step S5] When the deletion is instructed, the element data corresponding to the specified element is deleted. That is, the element deletion instructing unit 106 sends a command to delete the designated element to the element data changing unit 102, and the element data changing unit 102 deletes the corresponding element in the element data holding unit 101. [Step S6] The element layout instructing unit 105 checks whether or not the user has instructed to change the layout of the diagram elements. [Step S7] The user's instruction includes a change in arrangement,
There are color change, shape change, text input, etc., and if there is an instruction to change any of these attribute values, the element layout instructing unit 105 issues an instruction to change the designated attribute value to the element data changing unit 102. Send, element data change unit 1
Numeral 02 changes the attribute value of the corresponding element data in the element data holding unit 101 in response to the instruction to change those attributes. [Step S <b> 8] It is checked whether the change method instructing unit 112 has instructed on-off, off, or a change method of the automatic layout change operation. [Step S9] Then, when an on-off, off or change method of the automatic layout change operation is instructed, the on / off or change method of the operation is set according to the instruction. [Step S10] The target coordinate designating unit 111 checks whether a point on the screen has been designated by the user. [Step S11] When a point on the screen is designated,
The target value is set according to the instruction. That is, the coordinate value of the point selected on the screen is calculated, and the coordinate value is transmitted to the balance point coordinate value holding unit 110 as a target value. [Step S12] The figure printing unit 116 checks whether or not the user has instructed to print the figure. If no instruction has been given, the process returns to step S1. [Step S13] When a print instruction is issued,
The figure printing unit 116 prints the figure and returns to step S1. [Step S14] It is checked whether the automatic layout change operation is set to ON. [Step S15] When the operation of automatic layout change is set to ON, the deviation calculation unit 113 calculates a moment for canceling the deviation from the current balance point and the target point. [Step S16] Next, the layout change amount calculation unit 1
14 is a user instruction from the change method instruction unit 112;
The distribution of the moment for canceling the deviation is determined from the calculation result of the deviation calculation unit 113, and the change amount of the attribute value of the element is determined from this determination. [Step S17] The element data changing unit 102 changes the attribute information held by the element data holding unit 101 based on data of generation, deletion, change, and calculation result from each functional unit. [Step S18] If it is determined in step S14 that OFF is set, the layout is not changed, and a screen reflecting the addition, deletion, and change of the element is drawn. If it is determined in step S14 that ON is set, the screen is re-rendered reflecting the layout change result in steps S15 to S17.

【0046】この実施例では、例えば、次のようなこと
を行うことができる。図7(a)に示されるように図の
要素が配置され、図の“+”に釣り合い点があるとす
る。この時、ユーザが要素レイアウト指示部105によ
り、レイアウトの自動変更をOnにし、変更してよいも
のとして配置を指示し、図の“×”を釣り合い点の目標
として指示したものとする。そうすると、図7(b)の
ような図の配置を自動的に得ることができる。
In this embodiment, for example, the following can be performed. Assume that the elements of the figure are arranged as shown in FIG. 7A, and there is a balance point at “+” in the figure. At this time, it is assumed that the user has turned on automatic layout change by the element layout instructing unit 105, instructed the layout to be allowed to be changed, and instructed "x" in the figure as the target of the balance point. Then, the arrangement of the figure as shown in FIG. 7B can be obtained automatically.

【0047】次に、図7(b)の状態から、ユーザが釣
り合い点の維持を指示し、レイアウトを変更してよいも
のとして色を指示したとする。ここで、ユーザが要素D
を新規に生成し、図8(a)に示す位置に置いたとす
る。そうすると、図8(b)に示すように図の配色を要
素Aの色明度値を変更して釣り合い点を維持するレイア
ウトを自動的に得ることができる。
Next, it is assumed that, from the state of FIG. 7B, the user instructs to maintain the balance point, and instructs the color to change the layout. Here, if the user
Is newly generated and placed at the position shown in FIG. Then, as shown in FIG. 8B, it is possible to automatically obtain a layout in which the color arrangement of the figure is changed by changing the color brightness value of the element A to maintain the balance point.

【0048】また、図7(b)の状態から、ユーザが釣
り合い点の維持を指示し、レイアウトを変更してよいも
のとして面積を指示したとする。そして、図8(a)の
ように新規要素Dを配置したとする。そうすると、図8
(c)に示すように要素Aの面積を大きくして釣り合い
点を維持するレイアウトを自動的に得ることができる。
It is also assumed that the user instructs to maintain the balance point from the state shown in FIG. 7B, and instructs the area to change the layout. Then, it is assumed that the new element D is arranged as shown in FIG. Then, FIG.
As shown in (c), a layout in which the area of the element A is increased and the balance point is maintained can be automatically obtained.

【0049】本実施例によれば、要素の位置と色と面積
から、現在の構図と配色のバランスが画面上でどちらに
偏っているかを、ユーザが容易に知ることができる。ま
た、画面上の点を指定することで、システムがその点を
バランスの中心とするように図の要素の配置/形状/配
色を自動的に変更してくれる。また、ユーザがある要素
の配置/形状/配色を変えた時に、その時点までの構図
と配色のバランスを崩さないように、システムが図の要
素の配置/形状/配色を自動的に変更してくれる。した
がって、従来に比べて、構図と配色のバランスを取るこ
とに対するユーザの負担を大幅に軽減することができ
る。
According to the present embodiment, the user can easily know from the position, color, and area of the element which side of the balance of the current composition and color arrangement is biased on the screen. By designating a point on the screen, the system automatically changes the arrangement / shape / coloration of the diagram elements so that the point is the center of balance. Also, when the user changes the arrangement / shape / coloration of an element, the system automatically changes the arrangement / shape / coloration of the elements of the diagram so as not to break the balance between the composition and the coloration up to that point. Give me Therefore, the burden on the user for balancing the composition and the color arrangement can be greatly reduced as compared with the related art.

【0050】なお、本実施例では重さ計算の際に要素密
度を明度値だけの関数として扱ったが、色の他の特徴、
すなわち色相、彩度、テクスチャパターンを明度値に加
えて関数の引数とすることもできる。これにより、精密
な重み計算を行えると同時に、レイアウトの自動変更の
選択肢を増やすことが可能になる。
In this embodiment, the element density is treated as a function of only the lightness value in the weight calculation.
That is, hue, saturation, and texture pattern can be used as arguments of a function in addition to the lightness value. This enables accurate weight calculation and increases the number of options for automatic layout change.

【0051】また、本実施例では、レイアウトの自動変
更が要素配置を変えてよい場合、一つの要素しか配置を
変えていない。これを任意個の要素を変えるようにして
も構わない。またこのとき、ユーザから個数の指示を受
けるようにしてもよい。この場合、よりユーザの意向に
そったレイアウト変更をシステムが行うことになる。
Further, in this embodiment, when automatic layout change may change the element arrangement, only one element is changed. This may be changed by an arbitrary number of elements. Also, at this time, the number of instructions may be received from the user. In this case, the system changes the layout in accordance with the user's intention.

【0052】また、本実施例では、レイアウトの自動変
更が配置と色など複数のレイアウト属性を変えてよい場
合、変更の配分は固定である。この配分を可変にしても
構わない。特に、ユーザの指示に応じて配分を変えるよ
うにすれば、よりユーザの意向にそったレイアウト変更
をシステムが行うことになる。
In this embodiment, when automatic layout change may change a plurality of layout attributes such as arrangement and color, the change distribution is fixed. This distribution may be variable. In particular, if the distribution is changed according to the user's instruction, the system will change the layout more in accordance with the user's intention.

【0053】[0053]

【発明の効果】以上の説明から明らかなように、本発明
によれば、画面上の点を指定することで、システムがそ
の点をバランスの中心とするように図の要素の配置/形
状/配色を自動的に変更する。また、本発明によれば、
ユーザがある要素の配置/形状/配色を変えた時に、そ
の時点までの構図と配色のバランスを崩さないように、
システムが図の要素の配置/形状/配色を自動的に変更
する。したがって、本発明は、従来に比べて、構図と配
色のバランスを取ることに対するユーザの負担を大幅に
軽減するという効果がある。
As is apparent from the above description, according to the present invention, by designating a point on the screen, the system arranges / shapes / shapes the figure so that the point is the center of balance. Change color scheme automatically. According to the present invention,
When the user changes the arrangement / shape / coloration of an element, the balance between composition and coloration up to that point should be maintained.
The system automatically changes the arrangement / shape / coloration of the diagram elements. Therefore, the present invention has the effect of greatly reducing the burden on the user for balancing the composition and color arrangement as compared with the related art.

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

【図1】実施例の概略の構成を示す図FIG. 1 is a diagram showing a schematic configuration of an embodiment.

【図2】釣り合い点の座標の計算を説明するための図FIG. 2 is a diagram for explaining calculation of coordinates of a balancing point;

【図3】変更対象として要素の配置が指定されていると
きの、レイアウト変更の計算を説明するための図
FIG. 3 is a diagram for explaining a calculation of a layout change when an arrangement of elements is designated as a change target;

【図4】変更対象として要素の色が指定されているとき
の、レイアウト変更の計算を説明するための図
FIG. 4 is a view for explaining calculation of layout change when an element color is specified as a change target;

【図5】実施例の処理の流れを示す図(その1)FIG. 5 is a diagram showing a processing flow of the embodiment (part 1).

【図6】実施例の処理の流れを示す図(その2)FIG. 6 is a diagram showing a processing flow of the embodiment (part 2);

【図7】釣り合い点の目標「×」を与え、要素の配置を
変更して、釣り合い点「+」と目標点を一致させる例を
示す図で、(a)は変更前、(b)は変更後のそれぞれ
のレイアウト
FIGS. 7A and 7B are diagrams showing an example in which a balance point target “×” is given, the arrangement of elements is changed, and the balance point “+” matches the target point. FIG. Layout after each change

【図8】(a)は図7(b)のレイアウトに新規要素d
を配置したことを示す図、(b)は配色の変更により、
(c)は面積の変更により、それぞれ釣り合い点「+」
を維持する例を示す図
FIG. 8A shows a new element d in the layout of FIG. 7B.
The figure which shows that it has arrange | positioned, (b) has changed the color scheme,
(C) is the balance point "+" due to the change of the area.
Figure showing an example of maintaining

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

101…要素データ保持部、102…要素データ変更
部、103…要素雛形保持部、104…要素生成指示
部、105…要素レイアウト指示部、106…要素削除
指示部、107…重さ計算部、108…要素重さ対応表
保持部、109…釣り合い点座標値計算部、110…釣
り合い点座標値保持部、111…目標座標指示部、11
2…変更方法指示部、113…ずれ計算部、114…レ
イアウト変更量計算部、115…画面表示部、116…
図印刷部、117…処理制御部。
101: Element data holding unit, 102: Element data changing unit, 103: Element model holding unit, 104: Element generation instruction unit, 105: Element layout instruction unit, 106: Element deletion instruction unit, 107: Weight calculation unit, 108 ... Element weight correspondence table holding unit, 109: Balance point coordinate value calculation unit, 110: Balance point coordinate value holding unit, 111: Target coordinate designation unit, 11
2 ... change method instructing unit, 113 ... shift calculating unit, 114 ... layout change amount calculating unit, 115 ... screen display unit, 116 ...
Drawing printing unit, 117 ... Process control unit.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 11/60 - 11/80 G06F 17/50 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06T 11/60-11/80 G06F 17/50

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 図形要素の面積とその図形要素の密度に
基づいて図形要素ごとの重み値を求めるステップと、 複数の図形要素に対する、前記重み値を求めるステップ
により得られた重み値と図形要素の配置された位置から
複数の図形要素の幾何的な第1の釣り合い点を求めるス
テップと、 目標となる第2の釣り合い点を決定するステップと、 前記第1の釣り合い点と前記第2の釣り合い点の差分を
求めるステップと、 求められた差分を打ち消すように、前記複数の図形要素
の少なくとも1つの図形要素の面積、密度および配置さ
れる位置のいずれか少なくとも1つを変更して、前記複
数の図形要素の釣り合い点を前記第2の釣り合い点に一
致させるステップとを含むことを特徴とする作図方法。
A step of obtaining a weight value for each graphic element based on an area of the graphic element and a density of the graphic element; and a weight value and a graphic element obtained by the step of obtaining the weight value for a plurality of graphic elements. Determining a geometric first balance point of a plurality of graphic elements from the position where the first balance point is located; determining a target second balance point; and the first balance point and the second balance Calculating a point difference; and changing at least one of an area, a density, and an arrangement position of at least one graphic element of the plurality of graphic elements so as to cancel the calculated difference. Matching the balance point of the graphic element with the second balance point.
【請求項2】 図形要素の面接とその図形要素の密度に
基づいて図形要素ごとの重み値を求めるステップと、 複数の図形要素に対する、前記重み値を求めるステップ
により得られた重み値と図形要素の配置された位置から
複数の図の要素の幾何的な第1の釣り合い点を求めるス
テップと、 前記複数の図形要素の中の少なくとも1つの図形要素の
面積、配置および密度の少なくともいずれか1つの変更
を入力するステップと、 前記複数の図形要素に対して、前記変更を行った後の第
2の釣り合い点を求めるステップと、 前記第1の釣り合い点と第2の釣り合い点との間の差分
を求めるステップと、 求められた差分を打ち消すように、前記複数の図形要素
の少なくとも1つの図形要素の面積、密度および配置さ
れる位置のいずれが少なくとも1つを変更して、前記複
数の図形要秦の釣り合い点を前記第1の釣り合い点に一
致させるステップとを含むことを特徴とする作図方法。
2. A method for obtaining a weight value for each graphic element based on an interview of the graphic element and the density of the graphic element, and a step of obtaining the weight values for a plurality of graphic elements, Obtaining a geometric first equilibrium point of a plurality of figure elements from the arranged position of at least one of the area, arrangement, and density of at least one graphic element among the plurality of graphic elements Inputting a change; obtaining a second balance point after the change is made for the plurality of graphic elements; and a difference between the first balance point and a second balance point. Determining at least one of the area, density, and arrangement position of at least one graphic element of the plurality of graphic elements so as to cancel the determined difference. Change a drawing method characterized by comprising the step of matching the balance point of the plurality of graphic YoHata to the first balance point.
【請求項3】 図形要素と、図形要素の面積と、図形要
素の密度と、図形要素の配置される位置とを記憶する図
形要素データ保持部と、 前記図形要素データ保持部に保持されている図形要素の
面積と図形要素の密度に基づいて図形要素ごとの重み値
を求める重み値計算手段と、 前記重み値計算手段により得られた複数の図形要素に対
する重み値と図形要素の配置された位置から複数の図形
要素の幾何的な第1の釣り合い点を求める釣り合い点計
算手段と、 目標となる第2の釣り合い点を決定する目標決定手段
と、 前記第1の釣り合い点と、前記第2の釣り合い点の差分
を求める差分計算手段と、 前記差分計算手段により求められた差分を打ち消すよう
に、前記複数の図形要素の少なくとも1つの図形要素の
面積、密度および位置のいずれか少なくとも1つを変更
して、前記複 数の図形要素の釣り合い点を前記第2の
釣り合い点に一致させる図形要素変更手段とを有するこ
とを特徴とする作図装置。
3. A graphic element data holding unit that stores a graphic element, an area of the graphic element, a density of the graphic element, and a position where the graphic element is arranged, and is held in the graphic element data holding unit. Weight value calculating means for obtaining a weight value for each graphic element based on the area of the graphic element and the density of the graphic element; weight values for a plurality of graphic elements obtained by the weight value calculating means and positions where the graphic elements are arranged A balance point calculating means for obtaining a geometric first balance point of a plurality of graphic elements from the following: a target determining means for determining a target second balance point; the first balance point; and the second balance point Any one of an area, a density, and a position of at least one graphic element of the plurality of graphic elements so as to cancel the difference calculated by the difference calculating means; Change one even without, drawing apparatus characterized by having a graphic element changing device that matches the balance point of the graphic element of said multiple number of said second balancing point.
【請求項4】 図形要素と、図形要素の面積と、図形要
素の密度と、図形要素の配置される位置とを記憶する図
形要素データ保持部と、 前記図形要素データ保持部に保持されている図形要素の
面積と図形要素の密度に基づいて図形要素ごとの重み値
を求める重み値計算手段と、 前記重み値計算手段により得られた複数の図形要素に対
する重み値と図形要素の配置された位置から複数の図形
要素の幾何的な第1の釣り合い点を求める第1の釣り合
い点計算手段と、 前記複数の図形要素の中の少なくとも1つの図形要素の
面積、配置および密度の少なくともいずれか1つの変更
を入力するユーザ変更手段と、 前記複数の図形要素に対して、前記ユーザ変更手段によ
り変更を行った後の第2の釣り合い点を求める第2の釣
り合い点計算手段と、 前記第1の釣り合い点と第2の釣り合い点との間の差分
を求める差分計算手段と、 求められた差分を打ち消すように、前記複数の図形要素
の少なくとも1つの図形要素の面積、密度および配置さ
れる位置のいずれか少なくとも1つを変更して、前記複
数の図形要素の釣り合い点を前記第1の釣り合い点に一
致させる図形要素変更手段とを有することを特徴とする
作図装置。
4. A graphic element data holding unit that stores a graphic element, an area of the graphic element, a density of the graphic element, and a position where the graphic element is arranged, and is held in the graphic element data holding unit. Weight value calculating means for obtaining a weight value for each graphic element based on the area of the graphic element and the density of the graphic element; weight values for a plurality of graphic elements obtained by the weight value calculating means and positions where the graphic elements are arranged First equilibrium point calculation means for obtaining a geometric first equilibrium point of a plurality of graphic elements from the first and second elements; and at least one of the area, arrangement, and density of at least one graphic element among the plurality of graphic elements User changing means for inputting a change; second balancing point calculating means for obtaining a second balancing point after the user changing means has changed the plurality of graphic elements; Difference calculating means for calculating a difference between the first balance point and the second balance point; an area, a density, and an arrangement of at least one graphic element of the plurality of graphic elements so as to cancel the calculated difference. A graphic element changing means for changing at least one of the positions of the plurality of graphic elements to make the balance points of the plurality of graphic elements coincide with the first balance points.
JP25576495A 1995-09-08 1995-09-08 Drawing method and drawing device Expired - Fee Related JP3192066B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25576495A JP3192066B2 (en) 1995-09-08 1995-09-08 Drawing method and drawing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25576495A JP3192066B2 (en) 1995-09-08 1995-09-08 Drawing method and drawing device

Publications (2)

Publication Number Publication Date
JPH0981718A JPH0981718A (en) 1997-03-28
JP3192066B2 true JP3192066B2 (en) 2001-07-23

Family

ID=17283302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25576495A Expired - Fee Related JP3192066B2 (en) 1995-09-08 1995-09-08 Drawing method and drawing device

Country Status (1)

Country Link
JP (1) JP3192066B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101742698B1 (en) * 2016-01-18 2017-06-01 계명대학교 산학협력단 Rear-view mirror that can measure and display the bio-electrical signal, and bio-electrical signal measurement and display method using the same

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130239063A1 (en) * 2012-03-06 2013-09-12 Apple Inc. Selection of multiple images
US9041727B2 (en) 2012-03-06 2015-05-26 Apple Inc. User interface tools for selectively applying effects to image
US10282055B2 (en) 2012-03-06 2019-05-07 Apple Inc. Ordered processing of edits for a media editing application
US9131192B2 (en) 2012-03-06 2015-09-08 Apple Inc. Unified slider control for modifying multiple image properties

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101742698B1 (en) * 2016-01-18 2017-06-01 계명대학교 산학협력단 Rear-view mirror that can measure and display the bio-electrical signal, and bio-electrical signal measurement and display method using the same

Also Published As

Publication number Publication date
JPH0981718A (en) 1997-03-28

Similar Documents

Publication Publication Date Title
US5798766A (en) Drawing system
US5262760A (en) Modifying a graphics display image
JPH11136528A (en) Processor and method for information processing and program storage medium
US5289568A (en) Apparatus and method for drawing figures
JPH06290237A (en) Product drawing generating device
JP3192066B2 (en) Drawing method and drawing device
US5883636A (en) Drawing system
CN113678099A (en) Software analysis assistance system and computer program therefor
JPH1011599A (en) Chart graphic processor
JP3601175B2 (en) Plotting device
JP3589253B2 (en) Plotting device
JPH08315104A (en) Image editing device
JPH1055431A (en) Image processor
JP3617145B2 (en) Plotter
JP3275629B2 (en) Layout correction device
JP2813815B2 (en) Layouter for flyers and catalogs
JP2791189B2 (en) Graphic drawing apparatus and method
JP2680076B2 (en) Multi-window screen display method
JP3275628B2 (en) Layout correction device
JPH03105682A (en) Printing design system
JP2895885B2 (en) Layouter for flyers and catalogs
JPH08153095A (en) Picture managing and editing system
JP3235404B2 (en) Layout correction device
JPH07302322A (en) Picture display device
JPS6349883A (en) Graphic processor

Legal Events

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

Free format text: PAYMENT UNTIL: 20090525

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100525

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees