[go: up one dir, main page]

JPH0981718A - Method and device for plotting - Google Patents

Method and device for plotting

Info

Publication number
JPH0981718A
JPH0981718A JP7255764A JP25576495A JPH0981718A JP H0981718 A JPH0981718 A JP H0981718A JP 7255764 A JP7255764 A JP 7255764A JP 25576495 A JP25576495 A JP 25576495A JP H0981718 A JPH0981718 A JP H0981718A
Authority
JP
Japan
Prior art keywords
elements
graphic
balance point
point
change
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
JP7255764A
Other languages
Japanese (ja)
Other versions
JP3192066B2 (en
Inventor
Naoki Hayashi
直樹 林
Kazuo Shibuta
一夫 澁田
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
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 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)

Abstract

PROBLEM TO BE SOLVED: To provide the method and device for plotting which enables a user to balance composition and coloring with each other when electronically plotting through interactive operation. SOLUTION: A weight value calculating means calculates the weight values of respective elements in a drawing and a weight value storage means stores the calculation results while making them correspond to the elements in the drawing. After the weight values of all the elements are obtained, a balance point calculating means calculates the geometric balance point of the weight value of all the elements from the arrangement of the elements in the drawing and the stored weight values. After the balance point is calculated, a layout automatic altering means detects the deviation from a target point of a geometric balance point given by the user through a target setting means and automatically alters the layout of the elements in the drawing so that the geometric balance point meets the target point. After the balance point is calculated, the layout of elements other than the elements that the user has altered is automatically altered so that when the user alters the layout through a user altering means, the geometric balance point returns to the position of the calculation result right before the alteration.

Description

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

【0001】[0001]

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

【0002】[0002]

【従来の技術】近年、ワードプロセッサなどでグラフィ
カルユーザインタフェースを利用して、エンドユーザが
電子的に作図をすることが一般的になった。また、カラ
ースキャナやカラープリンタを含むコンピュータシステ
ムの普及により、グラフィックデザイナだけではなく、
一般ユーザでもカラーの図が作成できる環境ができつつ
ある。カラーの図は白黒に較べて訴求力が高いので、顧
客への提案書やプレゼンテーションのために、美しく分
かりやすい図を容易に作成したいというユーザのニーズ
は高い。ワードプロセッサやグラフィックソフトウエア
など、対話的操作による電子的な作図に関する従来の技
術では、ユーザが直線や多角形や楕円形といった図の要
素を生成し、これを2次元平面上に配置するという操作
を繰り返すことで図が作られる。図の要素を生成する
際、ユーザは、要素の形状と色を決定する。要素を配置
する際は、生成した個々の要素の形状と色を勘案して、
それらの位置を決める。美しく分かりやすい図を作るた
めには、構図と配色のバランスが取れていることが重要
である。しかしながら、従来の技術では、構図と配色の
バランスを取ることへの一般ユーザの負担は大きい。
2. Description of the Related Art In recent years, it has become common for end users to draw electronically using a graphical user interface in a word processor or the like. Also, due to the spread of computer systems including color scanners and color printers, not only graphic designers but also
An environment is being created in which even general users can create color drawings. Since color drawings are more appealing than black and white, there is a great need for users to easily create beautiful and easy-to-understand drawings for proposals and presentations to customers. In the conventional technique for electronic drawing by interactive operation such as a word processor and graphic software, a user generates a drawing element such as a straight line, a polygon or an ellipse and arranges it on a two-dimensional plane. A diagram is created by repeating. When generating the elements of the figure, the user determines the shape and color of the elements. When arranging the elements, consider the shape and color of each generated element,
Determine their position. In order to create beautiful and easy-to-understand drawings, it is important that the composition and color scheme are well balanced. However, in the conventional technique, the burden on the general user for balancing 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 and color tone with the previously created element are inappropriate, the shape of the element including the previously created element The user has to re-set the colors and layout appropriately. If you change the shape, color, or arrangement of one element, the overall composition and color scheme will change. The user must decide the shape, color and arrangement of all the elements in consideration of this. For general users who are not graphic designers, it is difficult to have a finished image before operation, so it is necessary to determine the shape, color, and arrangement of the elements by actually changing and checking by trial and error. If you are creating a diagram while summarizing your thoughts,
This is a heavy burden because the elements in the figure are added and deleted and rearranged frequently. For example, in making a proposal or an OHP sheet for presentation, it is necessary to work out what to appeal. When the system based on the conventional technique is used for this purpose, it takes a lot of man-hours to balance the composition and the color arrangement.

【0004】[0004]

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

【0005】[0005]

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

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

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

【0008】その方法を実施するための本発明の作図装
置(請求項4)は、図形要素と、図形要素の面積と、図
形要素の密度と、図形要素の配置される位置とを記憶す
る図形要素データ保持部と、前記図形要素データ保持部
に保持されている図形要素の面積と図形要素の密度に基
づいて図形要素ごとの重み値を求める重み値計算手段
と、前記重み値計算手段により得られた複数の図形要素
に対する重み値と図形要素の配置された位置から複数の
図形要素の幾何的な第1の釣り合い点を求める第1の釣
り合い点計算手段と、前記複数の図形要素の中の少なく
とも1つの図形要素の面積、配置および密度の少なくと
もいずれか1つの変更を入力するユーザ変更手段と、前
記複数の図形要素に対して、前記変更を行った後の第2
の釣り合い点を求める第2の釣り合い点計算手段と、前
記第1の釣り合い点と第2の釣り合い点との間の差分を
求める差分計算手段と、求められた差分を打ち消すよう
に、前記複数の図形要素の少なくとも1つの図形要素の
面積、密度および配置される位置のいずれか少なくとも
1つを変更して、前記複数の図形要素の釣り合い点を前
記第1の釣り合い点に一致させる図形要素変更手段とを
有することを特徴とする。
A drawing apparatus of the present invention (claim 4) for carrying out the method 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. The element data holding section, a weight value calculating means for obtaining a weight value for each figure element based on the area of the figure elements and the density of the figure elements held in the figure element data holding section, and the weight value calculating means First balance point calculation means for obtaining a geometric first balance 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 among the plurality of graphic elements, A user changing unit for inputting at least one change of at least one of the area, arrangement, and density of the graphic element, and the second after changing the plurality of graphic elements.
Second balance point calculation means for obtaining the balance point of the above, and difference calculation means for obtaining a difference between the first balance point and the second balance point, and a plurality of the plurality of means for canceling the obtained difference. At least one of the area, density, and position of at least one graphic element of the graphic elements is changed to match the balance points of the plurality of graphic elements with the first balance points. And having.

【0009】[0009]

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

【0010】また本発明(請求項4)では、重み値計算
手段が図の各要素の重み値を計算し、すべての要素の重
み値が得られた後、釣り合い点計算手段が、図の要素の
配置と得られた重み値から、要素全体の重み値の第1の
釣り合い点を計算する。釣り合い点の計算終了後、ユー
ザ変更手段によってユーザがレイアウト変更を行った場
合、第2の釣り合い点計算手段により、そのレイアウト
変更による新たな釣り合い点即ち第2の釣り合い点を計
算する。差分計算手段は第1の釣り合い点と第2の釣り
合い点との間の差分を求める。図形要素変更手段は、第
2の釣り合い点が前記第1の釣り合い点の位置に戻るよ
うに、前記差分を打ち消す程度にユーザが変更した要素
以外の要素の面積、密度および配置のいずれか少なくと
も1つを自動的に変更する。このように、本発明によれ
ば、ユーザがある要素の配置/形状/配色を変えた時
に、その時点までの構図と配色のバランスを崩さないよ
うに、システムが図の要素の配置/形状/配色を自動的
に変更するので、構図と配色のバランスを取ることに対
するユーザの負担を大幅に軽減することができる。
According to the present invention (claim 4), the weight value calculating means calculates the weight values of the respective elements in the figure, and after the weight values of all the elements are obtained, the balance point calculating means causes the element of the figure to be changed. A first balance point of the weight values of all the elements is calculated from the arrangement of the above and the obtained weight values. When the user changes the layout by the user changing means after the calculation of the balance point, the second balance point calculating means calculates a new balance point due to the layout change, that is, a second balance point. The difference calculating means calculates a difference between the first balance point and the second balance point. At least one of the area, density, and arrangement of elements other than the element changed by the user to the extent that the difference is canceled so that the second balance point returns to the position of the first balance point, the graphic element changing means. Change one automatically. As described above, according to the present invention, when the user changes the arrangement / shape / color arrangement of a certain element, the system arranges the arrangement / shape / shape of the elements of the drawing so that the composition and the color arrangement up to that point are not lost. Since the color arrangement is automatically changed, the burden on the user for balancing the composition and the color arrangement 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により実
行して実現される。以下、各機能部の役割を説明する。
説明をわかりやすくするために、箇条書スタイルで特徴
を列挙する。
EXAMPLE FIG. 1 shows the configuration of an example. As shown in the drawing, the drawing apparatus of this embodiment is configured such that the element data holding unit 10
1, element data changing unit 102, element template holding unit 103,
An element generation instruction unit 104, an element layout instruction unit 105,
An element deletion instruction unit 106, a weight calculation unit 107, an element-weight correspondence table holding unit 108, a balance point coordinate value calculation unit 109,
Balance point coordinate value holding unit 110, target coordinate instruction unit 11
1, a change method instruction unit 112, a shift calculation unit 113, a layout change amount calculation unit 114, a screen display unit 115, a diagram 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, the element data holding unit 101, the element model holding unit 103, the element-weight correspondence table holding unit 108, and the equilibrium point coordinate value holding unit 110 are stored in a RAM, a disk, or the like. Further, each of the other processing units is realized by reading a program stored in a storage unit such as a ROM and executing the program by the CPU. The role of each functional unit will be described below.
List features in bullet style for clarity.

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

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

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

【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 the element generation instructing unit 104 described later. When this command is received, a new table is first created in the element data holding unit 101, and then a value is assigned to each attribute value of that table. Since the attributes "color", "shape", and "text" are passed as arguments of the command, their values are substituted in the table as attribute values. For the attribute "position", (144, 144) is used as an attribute value as a default. The attribute "display order" is the attribute value of the table held in this functional part, and the largest value at that time is checked as the attribute value.
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 instructing section 105 described later. First, the element whose layout is to be changed is specified.
This is the element having the largest value of the attribute “display order” among the elements in the figure including the coordinate values of the movement source passed as the argument of the command. 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
If a pt program is passed, substitute it in 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 instruction section. Also in this case, the element is specified similarly to the position change command, but the changed attributes are the attribute “color” and the attribute “shape”, respectively.

【0017】図の要素の削除、すなわちある要素データ
保持部101に保持される表の削除は、後述する要素削
除指示部106から送られる命令によって行われる。そ
の命令の引数として渡される座標値を内包する図の要素
のうち、属性「表示順序」の値が最も大きいものを選択
し、その表を削除する。
Deletion of elements in the figure, that is, deletion of a table held in a certain element data holding unit 101 is performed by an instruction sent from an element deletion instructing unit 106 described later. Among the elements in the figure including the coordinate value passed as the argument of the command, 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 template holding unit 103 The element template holding unit 103 has values relating to the attributes "color" and "shape" of an element, which is a template of the element of each figure. Regarding the color, it has a table consisting of a set in which the values of L * a * b * and the words (red, blue, etc.) representing the color are associated with each other.
As for the “shape”, there is a table composed of a set in which the PostScript program and the words (square, ellipse, etc.) indicated by the shape are associated with each other. Here, the words indicated by the colors and shapes are added to make it intuitively easy to understand 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 section 104 The element generation instructing section 104 receives an instruction from the user regarding the generation of a new element, generates an element of a new figure by using the element template holding section 103, and It has a function of storing the data in the element data holding unit 101 via the data changing unit 102. It also has the function of accepting text input. The user's instruction is performed by selecting the words indicating the color and the shape from the table held by the element template holding unit 103 for the attributes “color” and “shape” of the element. At this time, by further inputting text, the text can be the one represented by the element of the newly created figure, that is, the text displayed inside the element. After the selection is made, the element generation instructing unit 104 sends an instruction to the element data changing unit 102 to create a new table. The following is passed to the element data changing unit 102 as an argument of this instruction. ◎ L * a * b * value associated with the word representing the color selected by the user. (It becomes the value of the attribute "color".) A PostScript program associated with a word representing the shape selected by the user. (It becomes the value of the attribute "shape") ◎ The font / number of lines / line spacing is set so that the entered text is inside the area occupied by the PostScript program that represents the shape as much as possible on the display. PostScript program for drawing rendered text.
(It becomes the value of the attribute "text")

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

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

【0022】形状変更の場合、まず変更対象を選択する
ことが行われる。選択方法は、前記の移動元の選択と同
様である。次に、要素雛型保持部103が保持する表の
うちから、形状を表わす言葉の選択が行われる。これら
の選択が行われた後、要素レイアウト指示部105は、
要素データ変更部102に形状変更の命令を送る。この
命令の引き数は次のものである。 ◎選択した画面上の点の座標値。(変更対象を示す) ◎ユーザが選択した形状を表わす言葉と対応づけられた
PostScriptプログラム。(属性「形状」の値
になる)
In the case of changing the shape, first, the change target is selected. The selection method is the same as the above-mentioned selection of the movement source. Next, the word representing the shape is selected from the table held by the element template holding unit 103. After making these selections, the element layout instructing unit 105
A shape change command is sent to the element data change unit 102. The arguments for this command are: ◎ Coordinate value of the selected point on the screen. (Indicates change target) ◎ PostScript program associated with a word representing the 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-mentioned selection of the movement source. Next, when the text is input, the input text can be set as the value of the attribute “text” of the drawing element to be changed. The arguments of the text input command are as follows. ◎ Coordinate value of the selected point on the screen. (Indicates the change target) ◎ The entered text is as much as the above PostS.
PostScript for drawing the input text in which the font / number of lines / line spacing is set so that the script program is inside the area occupied by the display.
program. (It becomes the value of the attribute "text")

【0024】(6) 要素削除指示部106 要素削除指示部106は、要素削除に関するユーザの指
示を受け、任意の座標に配置された図の要素を削除する
機能を持つ。ユーザの指示は、画面上の点を選択するこ
とで行われる。この点を内包する図の要素のうち、最も
手前に表示されているものが削除の対象となる。ユーザ
の指示後、選択された画面上の点の座標値を引数とし
て、削除命令を要素データ変更部102へ送る。
(6) Element deletion instructing section 106 The element deletion instructing section 106 has a function of receiving an instruction from the user regarding element deletion and deleting the elements of the drawing arranged at arbitrary coordinates. The user's instruction is given by selecting a point on the screen. Among the elements of the figure that include this point, the element displayed in the foreground is the deletion target. After the user's instruction, the deletion command is sent to the element data changing unit 102 with 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 brightness value Here, the unit of the element area value is a square point, and the color brightness value is the L * value of L * a * b *. Saturation may be used instead of the color lightness value. The weight calculation unit 107 calculates the element area value from the value of the attribute “shape” for each element held in the element data holding unit 101, and calculates the element density value from the value of the attribute “color”. calculate. Then, the result obtained by integrating the element area value and the element density value together with the ID of the element data holding unit 101 indicating the element is
The weight correspondence table holding unit 108 is informed.

【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 the elements in the figure are associated with the weight values of the elements.
In this embodiment, this function holds information in one table. The table has two columns, the first column is the element of the figure and the second column is the weight value. Therefore, each row shows the correspondence between the elements in the figure and the weight value. The value in the first column is the ID of the table held in the element data holding unit 101. The value of the second column is the result of calculating the weight value of the element shown in the first column of the row by the weight calculating unit 107.

【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 equilibrium point is performed by calculating the vector. The position vector of the graphic element i (the vector from the coordinate origin to the position coordinate of the element) is v i , the weight value of the element is m i , and 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 This balance point coordinate value calculation unit 109 uses the information held in the element data holding unit 101 and the element-weight correspondence table holding unit 108. The above calculation is performed, and the result is transmitted to the balance point coordinate value holding unit 110.

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

【0029】(11) 目標座標指示部111 目標座標指示部111は、ユーザが画面上の点を選び、
その点を釣り合い点の目標点とすることができる機能を
持つ。また、画面上で選択された点の座標値を算定し、
その座標値を目標値として釣り合い点座標値保持部11
0へ伝える。なお、ユーザの指定なしに、デフォルトで
の目標座標を決定するようにしてもよい。
(11) Target Coordinate Designating Unit 111 The target coordinate designating unit 111 allows the user to select a point on the screen,
It has the function of making that point the target point of the equilibrium point. Also, calculate the coordinate value of the selected point on the screen,
Balance point coordinate value holding unit 11 using the coordinate values as target values
Tell 0. 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 of the system. Also, regarding the automatic layout change,
The user has a function of instructing whether to change the layout so that the equilibrium point coincides with the target point or to change the layout so as to maintain the current equilibrium point.
In addition, the system has a function that allows the user to specify what may be changed in the layout of the elements in the drawing, that is, which color / shape / arrangement of the elements may be changed. It also holds the instructed result.

【0031】(13) ずれ計算部113 ずれ計算部113は、現状の釣り合い点と目標点から、
そのずれを打ち消すモーメントを計算する機能を持つ。
前記モーメントは、要素の重さすべてを加算した重さ値
Mに、位置ベクトルvdifを掛けた値になる。ここで位
置ベクトルvdifは、釣り合い点の位置ベクトルをv
balance、目標値の位置ベクトルをvgoalとして、次の
式を計算することで得られる。 vdif=vgoal−vbalance
(13) Deviation Calculating Section 113 The deviation calculating section 113 calculates, from the current balance point and the target point,
It has a function to calculate the moment to cancel the deviation.
The moment becomes 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 v
It is obtained by calculating the following formula with balance and 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 calculation unit 114 The layout change amount calculation unit 114 includes a change method instruction unit 11
From the user's instruction by 2 and the calculation result of the shift calculation unit 113, the distribution of the moment for canceling the shift is determined, the change amount of the attribute value of the element is determined from this determination, and the change is transmitted to the element data change unit 102. With function. The operation procedure of the functional 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, do the following. First, the balance point coordinate value holding unit 1
The value of the target point held by 10 is set as the equilibrium point held by the functional unit 110 (that is, the equilibrium point immediately before the layout change such as the change of the graphic element by the user or the deletion of the graphic element). Next, the balance point coordinate calculation unit 109 is caused to calculate the current balance point. And
The calculation result is held in the balance point coordinate value holding unit 110.

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

【0035】[Step 3]変更方法指示部112に
記憶された、図の要素のレイアウトで変更してよいもの
に応じて、次のcase AからFのうちの一つを選
び、その処理を行う。
[Step 3] Select one of the following cases A to F according to the layout of the elements in the figure which may be changed, stored in the change method designating section 112, and perform the processing. .

【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. When 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 formula (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) Color Case First, one of the elements shown in the figure is selected. Next, the weight value m plus to be added to the graphic element is calculated. m plus is the following expression when the position vector of the element is v e , the magnitudes of v e and v dif are | v e |, | v dif |, and the angle formed by v e and v dif is θ. Is calculated (see FIG. 4). m plus = (M × | v dif |) / (| ve e | cos θ) The weight value of the element of the selected figure is m e , and the area of this element is a e
Then, the L * value L new of the new color of this element is calculated by the following formula. L new = a e / (m e + m plus ) After the above calculation is completed, the following values are substituted into the stored M and v dif . M = m plus v dif = ((| ve e | cos θ) / | v dif |) v dif −v
e (see FIG. 4) This v dif indicates the deviation from the balance point that remains after the color arrangement of the above elements is changed. So | v dif
In order to make | close to 0, the same process as above is performed for the other elements, and the color is repeated. That is,
The calculation up to this point is appropriately selected and repeated 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 case B, one of the elements in the figure is selected and the weight value m plus to be added to it 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, the new area a new of this element is calculated by the following formula. a new = (m e + m plus ) L e After completion of this calculation, M and v dif are changed as in case B. Then, the calculation up to this point is appropriately selected and repeated 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 given by Calculate with. 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 shown 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 ,
The new position vector v new of the element and the new area a
Calculate new with 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 shown in the figure is selected. When 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 , a new position vector v new of the element is given.
And L * value L new of the new color and a new area a new are calculated by the following formula. 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 changing unit 102 is used to change the position, color or shape of the element so as to have the position vector, the L * value or the area value, which is the result calculated 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 by a screen rewriting command, converts it into an RGB raster image, and displays the converted image. With the function to display. Further, it has a function of drawing the equilibrium point on the screen corresponding to the coordinate value held in the equilibrium point coordinate value holding unit 110. Furthermore, the screen display unit 11
Reference numeral 5 has a function of displaying a cursor interlocking with a pointing device on the screen and enabling an operation of directly selecting a coordinate point or a diagram element at the time of the above-mentioned various instructions / selections. When drawing the elements in the figure, the elements with the smallest value of the attribute "display order" are sequentially overwritten. In addition, the coordinate value (0,
Draw so that the position 0) is in the lower left corner of the screen. When an element has a value in the attribute "text", it is first drawn according to the attributes "color" and "shape", and then the text is drawn by overwriting 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 element data held in the element data holding unit 101 according to a user's instruction, and 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 in the figure, the elements with the smallest value of the attribute "display order" are sequentially overwritten. Further, it is drawn so that the position of the coordinate value (0, 0) is in the lower left corner of the printable area of the paper / OHP sheet. If an element has a value in the attribute "text",
First, the drawing is performed according to the attributes “color” and “shape”, and then the 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 section 117 The processing control section 117 has a function of controlling the flow of the entire processing. It also has the function of receiving user instructions for starting and ending the entire system. Further, the processing control unit 117 sequentially allocates the instruction input acceptance time to each functional unit that can issue a user instruction. When there is an input from the user in the functional unit to which time has been allocated, the allocation to other functional units is suspended until the processing according to the request is completed. FIG. 5 shows the flow of processing in the embodiment. The flow of this processing is integrated and executed by the processing control unit 117.
The flow of this processing will be described below. [Step S1] The process control unit 117 monitors whether or not the end control is instructed by the user, and when the end control is instructed, the process is ended. When the end control is not instructed, the process proceeds to step S2. [Step S2] The element generation instructing unit 104 checks whether or not the user has instructed to generate the elements in the drawing. [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 template holding unit 103, and the element data changing unit 102 is generated.
The data is stored in the element data holding unit 101 via. [Step S4] The element deletion instructing unit 106 checks whether or not the user has instructed deletion by designating an element in the drawing. [Step S5] When the deletion is instructed, the element data corresponding to the designated element is deleted. That is, the element deletion instructing unit 106 sends a deletion instruction of 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 elements in the drawing. [Step S7] The user's instruction is to change the arrangement,
When there is a color change, shape change, text input, etc., and an instruction to change any of these attribute values is given, the element layout instructing unit 105 instructs the element data changing unit 102 to change the designated attribute value. Send, element data change unit 1
02 receives the instruction to change those attributes and changes the attribute value of the corresponding element data in the element data holding unit 101. [Step S8] The change method instructing unit 112 checks whether the operation of automatic layout change is instructed to be turned on, off, or changed. [Step S9] Then, when an ON / OFF or change method of the layout automatic change operation is instructed, the ON / OFF or change method of the operation according to the instruction is set. [Step S10] The target coordinate designating unit 111 checks whether the user has designated a point on the screen. [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 equilibrium point coordinate value holding unit 110 as a target value. [Step S12] The diagram printing unit 116 checks whether the user has instructed to print the diagram. If no instruction has been given, the process returns to step S1. [Step S13] When a print instruction is given,
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 automatic layout changing operation is set to ON, the deviation calculating 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's instruction from the change method instruction unit 112,
From the calculation result of the deviation calculating unit 113, the distribution of the moment that cancels the deviation is determined, and from this determination, the change amount of the attribute value of the element is determined. [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 OFF is set in the determination in step S14, the layout is not changed, and a screen reflecting the addition, deletion, or change of the element is drawn. When it is determined in step S14 that the setting is ON, the screen is redrawn in accordance with the layout change result obtained in steps S15 to S17.

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

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

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

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

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

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

【0052】また、本実施例では、レイアウトの自動変
更が配置と色など複数のレイアウト属性を変えてよい場
合、変更の配分は固定である。この配分を可変にしても
構わない。特に、ユーザの指示に応じて配分を変えるよ
うにすれば、よりユーザの意向にそったレイアウト変更
をシステムが行うことになる。
Further, in the present 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 line 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 elements in the figure so that the system makes the point the center of balance. Change the color scheme automatically. According to the present invention,
When the user changes the arrangement / shape / coloring of a certain element, do not lose the balance of composition and coloration up to that point.
The system automatically changes the placement / shape / color scheme of the elements in the figure. Therefore, the present invention has an effect of significantly reducing the burden on the user for balancing the composition and the color arrangement as compared with the related art.

【図面の簡単な説明】[Brief description of 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 balance point.

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

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

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

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

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

【図8】(a)は図7(b)のレイアウトに新規要素d
を配置したことを示す図、(b)は配色の変更により、
(c)は面積の変更により、それぞれ釣り合い点「+」
を維持する例を示す図
FIG. 8A shows a new element d in the layout of FIG. 7B.
The figure showing the arrangement of the
(C) is a balance point "+" due to the change in 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 section, 102 ... Element data changing section, 103 ... Element template holding section, 104 ... Element generation instruction section, 105 ... Element layout instruction section, 106 ... Element deletion instruction section, 107 ... Weight calculation section, 108 ... Element weight correspondence table holding unit, 109 ... Balance point coordinate value calculation unit, 110 ... Balance point coordinate value holding unit, 111 ... Target coordinate instruction unit, 11
2 ... Change method instruction unit, 113 ... Deviation calculation unit, 114 ... Layout change amount calculation unit, 115 ... Screen display unit, 116 ...
Diagram printing unit 117 ... Process control unit.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 図形要素の面積とその図形要素の密度に
基づいて図形要素ごとの重み値を求めるステップと、 複数の図形要素に対する、前記重み値を求めるステップ
により得られた重み値と図形要素の配置された位置から
複数の図形要素の幾何的な第1の釣り合い点を求めるス
テップと、 目標となる第2の釣り合い点を決定するステップと、 前記第1の釣り合い点と前記第2の釣り合い点の差分を
求めるステップと、 求められた差分を打ち消すように、前記複数の図形要素
の少なくとも1つの図形要素の面積、密度および配置さ
れる位置のいずれか少なくとも1つを変更して、前記複
数の図形要素の釣り合い点を前記第2の釣り合い点に一
致させるステップとを含むことを特徴とする作図方法。
1. A step of obtaining a weight value for each figure element based on an area of the figure element and a density of the figure element; and a weight value and a figure element obtained by the step of obtaining the weight value for a plurality of figure elements. Determining a geometric first balance point of a plurality of graphic elements from the arranged positions, determining a target second balance point, and the first balance point and the second balance point. Determining the difference between the points, and changing at least one of the area, the density, and the position of the 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 step of obtaining a weight value for each figure element based on an interview of the figure element and a density of the figure element, and a weight value and a figure element obtained by the step of obtaining the weight value for a plurality of figure elements. Determining the geometric first balance point of the elements of the plurality of figures from the arranged positions of at least one of the area, arrangement and density of at least one figure element among the plurality of figure elements. A step of inputting a change; a step of obtaining a second balance point after the change is made for the plurality of graphic elements; a difference between the first balance point and a second balance point; And at least one of the area, the density and the position where at least one graphic element of the plurality of graphic elements is arranged so as to cancel the calculated 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 a graphic element data holding unit that holds 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, and the weight values for the plurality of graphic elements obtained by the weight value calculating means and the positions where the graphic elements are arranged. Balance point calculation means for obtaining geometrical first balance points of a plurality of graphic elements from the above, target determination 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 calculation 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 a graphic element data holding unit that holds 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, and the weight values for the plurality of graphic elements obtained by the weight value calculating means and the positions where the graphic elements are arranged. A first equilibrium point calculation means for obtaining a geometric first equilibrium point of the plurality of graphic elements from at least one of the area, arrangement and density of at least one graphic element among the plurality of graphic elements. A user changing means for inputting a change; and a second balance point calculating means for obtaining a second balance point after the user changing means makes a change to the plurality of graphic elements, Difference calculating means for calculating a difference between the first balance point and the second balance point, and area, density and arrangement of at least one graphic element of the plurality of graphic elements so as to cancel the calculated difference. A drawing element changing means for changing at least one of the positions to adjust the balance point of the plurality of graphic elements to the first balance point.
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 true JPH0981718A (en) 1997-03-28
JP3192066B2 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017084387A (en) * 2012-03-06 2017-05-18 アップル インコーポレイテッド Application for viewing images
US10282055B2 (en) 2012-03-06 2019-05-07 Apple Inc. Ordered processing of edits for a media editing application
US10552016B2 (en) 2012-03-06 2020-02-04 Apple Inc. User interface tools for cropping and straightening image
US10936173B2 (en) 2012-03-06 2021-03-02 Apple Inc. Unified slider control for modifying multiple image properties

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017084387A (en) * 2012-03-06 2017-05-18 アップル インコーポレイテッド Application for viewing images
US10282055B2 (en) 2012-03-06 2019-05-07 Apple Inc. Ordered processing of edits for a media editing application
US10545631B2 (en) 2012-03-06 2020-01-28 Apple Inc. Fanning user interface controls for a media editing application
US10552016B2 (en) 2012-03-06 2020-02-04 Apple Inc. User interface tools for cropping and straightening image
US10936173B2 (en) 2012-03-06 2021-03-02 Apple Inc. Unified slider control for modifying multiple image properties
US10942634B2 (en) 2012-03-06 2021-03-09 Apple Inc. User interface tools for cropping and straightening image
US11119635B2 (en) 2012-03-06 2021-09-14 Apple Inc. Fanning user interface controls for a media editing application
US11481097B2 (en) 2012-03-06 2022-10-25 Apple Inc. User interface tools for cropping and straightening image

Also Published As

Publication number Publication date
JP3192066B2 (en) 2001-07-23

Similar Documents

Publication Publication Date Title
US5798766A (en) Drawing system
JP3969801B2 (en) Information processing apparatus and method, and program storage medium
JPH06290237A (en) Product drawing generating device
US5883636A (en) Drawing system
JP2828271B2 (en) Shape generation method in CAD system
JPWO2005124690A1 (en) Color arrangement support system, color arrangement support program and storage medium, and color arrangement support method
JP3192066B2 (en) Drawing method and drawing device
JPH10222499A (en) Computer-readable recording medium for recording a table-creation device and a table-creation production program
JP3093605B2 (en) Image editing device
JP3589253B2 (en) Plotting device
JPH1011599A (en) Chart graphic processor
JP3601175B2 (en) Plotting device
JP3617145B2 (en) Plotter
JPH0620021A (en) Method and device for graphic processing
JPH1055431A (en) Image processing device
JPH0762842B2 (en) Document management device
JPH10207702A (en) Device for preparing software program
JP3136852B2 (en) Touch panel screen creation method and device
JP2813815B2 (en) Layouter for flyers and catalogs
JPH03105682A (en) Printing design system
JPH08202334A (en) Document creation device
JP3275628B2 (en) Layout correction device
JP2771047B2 (en) Document processing method and apparatus
JPS6349883A (en) Graphic processing device
JPH11119879A (en) Information processor, and definition method

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