JPS6375976A - Inter-graphic position adjusting system - Google Patents

Inter-graphic position adjusting system

Info

Publication number
JPS6375976A
JPS6375976A JP21930586A JP21930586A JPS6375976A JP S6375976 A JPS6375976 A JP S6375976A JP 21930586 A JP21930586 A JP 21930586A JP 21930586 A JP21930586 A JP 21930586A JP S6375976 A JPS6375976 A JP S6375976A
Authority
JP
Japan
Prior art keywords
graphic
area
figures
points
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.)
Pending
Application number
JP21930586A
Other languages
Japanese (ja)
Inventor
Tetsuo Iwamoto
岩本 哲夫
Michihiro Mese
目瀬 道弘
Kazuko Suzuki
和子 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP21930586A priority Critical patent/JPS6375976A/en
Publication of JPS6375976A publication Critical patent/JPS6375976A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To prepare a graphic or document in a short time, by providing a function which can enlarge and contract an area, in which a selected graphic group is placed, without changing the size of the graphics. CONSTITUTION:The minimum circumscribed rectangular area 79 of a graphic is calculated from the minimum and maximum values of the X- and Y-coordinates of central points 76-78 and control points 81-88 to be used for enlarging and contracting the rectangular area 79 are defined on the circumscribed rectangle and marked with small squares. The user of this system designates one control point 86, for example, and indicates the moving destination of the point 86 to a location 91 by using a pointing input deice 5. In such a case, the control points 82 and 86 and 84 and 88 can be moved in the x-axis and y-axis directions only, respectively. The other control points can be moved in both x- and y-axis directions. A CPU 2 makes necessary calculation so that the control point 91 can be brought to the circumscribed rectangle of the enlarged area 90 and the control point on the other side can be fixed and moves the central points 82-85 of each graphic to points 101-102 in a linear way at the ratio at which the area 79 is enlarged to the area 90. The coordinate data of a graphic data table are changed in accordance with the moving quantities of the central point of each graphic and the graphics are moved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は図形作成装置などの情報処理装置において、企
画書、プaツク図、説明書等の図形を含む文書を作成す
る場合における図形間の位tft関係を調整する処理方
式に関するものである。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention is an information processing device such as a graphic creation device, and the present invention provides information processing between graphics when creating a document including graphics such as a proposal, a bookmark, or an instruction manual. This relates to a processing method for adjusting the TFT relationship.

〔従来の技術〕[Conventional technology]

図形を含む文書1例えば1組織図、ブロック図などでは
、全体として用紙あるいはきめられた領域内にバランス
よく図形(文字列も含む)を配置しなげればならない。
In a document 1 containing figures, such as an organization chart or a block diagram, the figures (including character strings) must be arranged in a well-balanced manner within the paper as a whole or within a defined area.

しかし1図形をこれらの領域内に配置する時に、全体の
バランスをある程度者えつつ配置するが、実際には、と
なり合った図形間のバランスを考えて配置していくため
、配置が終つた時、領域をはみ出したり、領域の一方向
にかたよったりする場合がしばしば生じる。また、バラ
ンスよく領域に配置された場合でも1図形の追加・削除
により、バランスがくずされることがしばしば生じる。
However, when a figure is placed within these areas, the overall balance is maintained to a certain extent, but in reality, the balance between neighboring figures is considered and placed, so when the placement is completed, , it often happens that the image protrudes from the area or is skewed in one direction of the area. Further, even if the areas are arranged in a well-balanced manner, the balance is often disrupted due to the addition or deletion of one figure.

図形の位置関係をv!4整する方法として、アップル社
のLi5a Draw (またはMac Draw )
に見られるように、複数の選択された図形の外接矩形に
対して、外接矩形の左端が一番左端にある位t!t&c
、各図形の外接矩形の左端が一致するように各図形な横
方向に移動する「水平方向左端」機能に代表される整列
の方法が有名である。これには、これ以外に、「水平方
向右端」、「水平方向中央」、「垂直方向上端」、「垂
直方向下端」、「垂直方向中央」の整列機能がある。と
ころが、これらの整列機能では1図形間の端をそろえる
だけで、このような図形間の間隔を調整することはでき
ない。このため、実際には、一つ一つ図形を選択し、移
動するという手間のかかる操作を繰り返して1図形間の
位置関係を調整せざるを得なかった。
The positional relationship of the figures is v! As a way to adjust the settings, use Apple's Li5a Draw (or Mac Draw)
As shown in , for the circumscribed rectangles of multiple selected shapes, the left end of the circumscribed rectangle is at the leftmost end t! t&c
A well-known alignment method is the ``horizontal left edge'' function, in which each figure is moved horizontally so that the left edges of the circumscribed rectangles of each figure coincide. In addition to this, there are alignment functions of "horizontal right edge", "horizontal center", "vertical top edge", "vertical bottom edge", and "vertical center". However, these alignment functions only align the edges of one figure, but cannot adjust the spacing between such figures. For this reason, in practice, it is necessary to repeatedly select and move each figure, which is a time-consuming operation, to adjust the positional relationship between the figures.

〔発明が解決しようとする問題点」 上記従来技術は1図形間の位置関係を拡大・縮小するよ
うな機能についての配慮がなされておらず、これらの調
整を行なおうとすれば個別図形の移動を何度も繰り返さ
ねばならず、非常に手間のかかるものとなっていた。
[Problems to be Solved by the Invention] The above-mentioned prior art does not take into consideration the function of enlarging or reducing the positional relationship between one figure, and if you try to make these adjustments, you will have to move individual figures. This process had to be repeated many times, making it extremely time-consuming.

本発明の目的は1図形間の位置関係を線形に拡大・縮小
するような機能を提供することにある。
An object of the present invention is to provide a function for linearly enlarging or reducing the positional relationship between one figure.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は1選択された図形群が置かれている領域を図
形の大きさを変えずに拡大・縮小する機能をもうけるこ
とにより、達成される。
The above object is achieved by providing a function to enlarge or reduce the area in which one selected group of figures is placed without changing the size of the figures.

〔作用〕[Effect]

図形の一点がその図形が置かれている領域に、あたかも
ビンでとめられているようにすれば、領域が拡大・縮小
することにより、その上の図形が移動して1図形間の位
置関係を一度の操作(領域の拡大・縮小)で調整するこ
とができる。
If one point of a figure is pinned to the area in which that figure is placed, as if it were a bin, as the area expands or contracts, the figures above it will move and the positional relationship between the figures will be changed. It can be adjusted with a single operation (enlarging/reducing the area).

〔実施例〕〔Example〕

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

第2図は1本発明を実施するために用いる図形作成装置
を示すブロック図である。第2図において、1は動作プ
ログラムや図形データ(文字列も含む)等を格納するメ
モリ、2は中央処理装置(以下、 CPUと称す)、5
は作成された図形やそれらの位置関係を調整するために
表示するためのディスプレイ、4はキーボード入力装置
、5はボインティング入力装置、である。
FIG. 2 is a block diagram showing a graphic creation device used to carry out the present invention. In Fig. 2, 1 is a memory for storing operating programs and graphic data (including character strings), etc., 2 is a central processing unit (hereinafter referred to as CPU), and 5 is
4 is a display for displaying created figures and their positional relationships for adjustment; 4 is a keyboard input device; and 5 is a pointing input device.

第1図は、第2図の図形作成装置を用いて、使用者が5
図形間の位置関係を調整している様子を示す斜視図であ
る。同図において、6は使用者。
Figure 1 shows how the user uses the figure creation device shown in Figure 2 to
FIG. 3 is a perspective view showing how the positional relationship between figures is being adjusted. In the figure, 6 is the user.

7〜9は位置関係を調整する対象図形、10はボインテ
ィング入力装置5が示す位置を表示するカーソルである
7 to 9 are target figures whose positional relationships are to be adjusted, and 10 is a cursor that displays the position indicated by the pointing input device 5.

さて、使用者6が選択された図形間の位置関係を調整す
る方法について説明する。具体的な例として、第1図に
示す図形7〜9を対象図形とする場合について述べる。
Now, a method for adjusting the positional relationship between the figures selected by the user 6 will be explained. As a specific example, a case will be described in which figures 7 to 9 shown in FIG. 1 are used as target figures.

この処理動作を説明する前に、この処理動作のために使
用する本発明のテーブルの構造について、まず説明する
Before explaining this processing operation, the structure of the table of the present invention used for this processing operation will be explained first.

第3図は定義された図形のデータを保存する図形データ
テーブル30を示す模式図である。この例では1図形デ
ータ31は矩形図形7を1図形データ32は楕円図形8
を1図形データ35は矩形図形9を定義するパラメータ
から構成される。なお、この図形チータテ−プルは第2
図に示すメモリ1内に存在するものである。
FIG. 3 is a schematic diagram showing a graphic data table 30 that stores defined graphic data. In this example, 1 figure data 31 is a rectangular figure 7, and 1 figure data 32 is an ellipse figure 8.
1 graphic data 35 is composed of parameters defining a rectangular graphic 9. In addition, this figure cheetah table is the second
This exists in the memory 1 shown in the figure.

第5図に示すように1図形データ51は1図形の有効/
無効かを表わすフラグ40、この図形データの長さを表
わすレコード長411図形のタイプ42(この場合には
矩形)、図形の柄コード45、図形の形と位置を定義す
る座標データ44〜47(この場合。
As shown in FIG. 5, one figure data 51 is one figure's valid/
A flag 40 indicating whether the figure is invalid, a record length 411 indicating the length of this figure data, a figure type 42 (rectangular in this case), a figure pattern code 45, and coordinate data 44 to 47 (defining the shape and position of the figure). in this case.

矩形の対角点を定義する始点・終点の座標)から構成さ
れる。図形データ52 、33も同様に構成される。図
形データ32で、楕円の形と位置を定義する座標データ
52〜55は、楕円の外接矩形の対角点を定義する始点
・終点の座標データから構成される。
It consists of the coordinates of the starting and ending points that define the diagonal points of the rectangle. The graphic data 52 and 33 are similarly configured. In the graphic data 32, coordinate data 52 to 55 that define the shape and position of the ellipse are composed of coordinate data of start and end points that define the diagonal points of the circumscribed rectangle of the ellipse.

では、本実施例における処理動作について、第4図を用
いて説明する。第4図は、本発明の一実施例における処
理動作を示すフローチャートである。第2図に示すCP
U 2は、メモリ1内に格納されている動作プログラム
に従って、第4図に示す処理平頭に沿って処理動作を行
なう。以下では。
Now, the processing operation in this embodiment will be explained using FIG. 4. FIG. 4 is a flowchart showing processing operations in one embodiment of the present invention. CP shown in Figure 2
U2 performs processing operations along the processing plane shown in FIG. 4 in accordance with the operating program stored in the memory 1. Below.

本発明の中心的な内容をなす図形間の位置調整の方法の
みKついて説明する。そのため、すでに図形データは1
図形データテーブル30に書きこまれているものとする
(図形データの入力方法については、アップル社のIr
1sa −L)rawのマニュアルを参照)。
Only the method of position adjustment between figures, which is the central content of the present invention, will be explained. Therefore, the shape data is already 1
It is assumed that the data has been written in the figure data table 30 (For details on how to input figure data, refer to Apple's Ir.
1sa-L) see the raw manual).

ブロック60で本処理は開始される。まず、使用者6は
、ボインティング入力装置5を用いて、第5図に示すボ
タンを押した点70とボタンを離した点71を対角点と
する矩形72内に入った図形75〜75を1位置関係を
調整する対象図形として指定する(ブロック61)。C
PU 2は、指定された図形73〜75のそれぞれの外
接矩形の中心点76〜78を5図形データテーブル30
の座標データから計算する(ブロック62)。例えば図
形データ51であれば、始点のX座標44と終点のX座
標46の平均が中心点76のX座標となり、始点のX座
標45と終点のX座標47の平均が中心点76のX座標
となるよ5に計算する。
The process begins at block 60. First, the user 6 uses the pointing input device 5 to draw figures 75 to 75 that are inside a rectangle 72 whose diagonal points are the point 70 at which the button is pressed and the point 71 at which the button is released as shown in FIG. is designated as a target figure whose positional relationship is to be adjusted (block 61). C
The PU 2 stores the center points 76 to 78 of the circumscribed rectangles of the specified figures 73 to 75 in the 5 figure data table 30.
(block 62). For example, in the case of graphic data 51, the average of the X coordinate 44 of the starting point and the X coordinate 46 of the ending point is the X coordinate of the center point 76, and the average of the X coordinate 45 of the starting point and the Calculate to 5.

図形の中心がすべて含まれる最小の外接矩形領域79を
、中心点76〜78のX座標、X座標の最小値、最大値
から計算し、その外接矩形領域79を拡大・縮小するた
めの制御点81〜88を外接矩形上に定義し、小さな4
角のマークで表示する(ブロック65)。
A control point for calculating the minimum circumscribed rectangular area 79 that includes all the centers of the figure from the X coordinates, minimum values, and maximum values of the X coordinates of the center points 76 to 78, and enlarging/reducing the circumscribed rectangular area 79. 81 to 88 are defined on the circumscribed rectangle, and the small 4
It is indicated by a corner mark (block 65).

使用者6は、ボインティング入力装置5を用いて、領域
79を拡大・縮小するための制御点1例えば86を指定
し、その移動先の位置を第6図の91の位置に指定する
。この巻合、制御点82 、86はy軸方向のみ、制御
点84.88はX軸方向のみ、それ以外は:t@。y軸
方向に動く(ブロック64 ) 、 CPU 2は。
The user 6 uses the pointing input device 5 to specify a control point 1, for example 86, for enlarging/reducing the area 79, and specifies the destination position as the position 91 in FIG. In this winding, control points 82 and 86 are only in the y-axis direction, control points 84 and 88 are only in the x-axis direction, and other than that: t@. The CPU 2 moves in the y-axis direction (block 64).

領域79の拡大された領域90を制御点91がその外接
矩形上になるように5反対側の制御点82は固定するよ
うにして計算する。領域79が領域90に拡大された比
率でもって、各図形の中心点82〜85を101〜10
2に線形に移動する。各図形の中心点の移動量を図形デ
ータテーブルの座標データを変更し、図形を移動させる
。例えば、楕円図形74の座標データ52〜55は1点
77から点IQ1への移動量と同じだけ移動させる(ブ
ロック65)、、座標データを変更された図形105〜
105を再表示する(ブロック105)。次は1図形間
の位置調整を再度行なうためにブロック61へ移るか、
終了するためにブロック68へ与るかを使用者6に判断
させる(ブロック67)。ブロック68で1本処理を終
了する。
An expanded area 90 of the area 79 is calculated by fixing the control point 82 on the opposite side of 5 so that the control point 91 is on the circumscribed rectangle. With the ratio of area 79 expanded to area 90, center points 82 to 85 of each figure are 101 to 10
Move linearly to 2. Change the amount of movement of the center point of each figure in the coordinate data of the figure data table and move the figure. For example, the coordinate data 52 to 55 of the elliptical figure 74 are moved by the same distance as the movement from point 77 to point IQ1 (block 65), and the figures 105 to 55 whose coordinate data has been changed are
105 is redisplayed (block 105). Next, proceed to block 61 to adjust the position between one figure again, or
The user 6 is asked to decide whether to proceed to block 68 to terminate (block 67). At block 68, one line processing ends.

以上では、説明をわかりやすくするため1図形として矩
形と楕円の3図形の図形間の位#調整方法を説明したが
1図形として、これ以外に、マーカ、多角形、自由曲線
やそれらの組合せ図形でもよく1文字列1画像でも同様
に扱うことができる。また、対象とする図形数は、メモ
リ1の許す限り、いくらでもよい。
In the above, in order to make the explanation easier to understand, we have explained how to adjust the position between three figures, a rectangle and an ellipse, as one figure. However, one character string and one image can be handled in the same way. Further, the number of target figures may be any number as long as the memory 1 allows.

拡大・縮小する領域として、対象図形の外接矩形の中心
点を含む最小矩形としたが、対象図形の外接矩形の右上
端等の任意の決められた場所でもよい。
Although the area to be enlarged or reduced is the minimum rectangle including the center point of the circumscribed rectangle of the target figure, it may be any predetermined location such as the upper right corner of the circumscribed rectangle of the target figure.

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

本発明によれば、図形の形、大きさを変えることなく、
1回の操作で図形間の位置関係を線形に拡大・縮小する
ことができるので、一つ一つ図形を移動させて、図形間
の位置関係を調整していた手間のかかる作業がなくなる
ため、短時間で図面や文書が作成できるという効果があ
る。
According to the present invention, without changing the shape and size of the figure,
The positional relationship between figures can be linearly expanded or reduced in a single operation, eliminating the time-consuming work of moving each figure one by one and adjusting the positional relationship between them. The effect is that drawings and documents can be created in a short time.

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

第1図は使用者が図形間の位置関係を調整している様子
を示す@袂図、第2図は本発明を実施するために用いる
図形作成装置を示すブロック図。 第6図は本発明において用いられる図形データテーブル
を示す模式図、第4図は本発明の一実施例における処理
動作を示すフローチャート、第5図は図形間の位置関係
を調整するための対象図形と領域を表示した画面表示例
、第6図は図形間の位置関係を調整した画面表示例であ
る。 1・・メモリ、2・・・中央処理装置、5・・・ディス
プレイ、4・・・キーボード、5・・・ボインティング
入力装置、6・・・利用者、30・・・図形データテー
ブル、73〜75・・・対象図形、79・・・対象図形
の中心点から構成される領域、90・・・拡大された領
域、103〜105・・・位置関係が調整された図形。 代理人弁理士 小 川 勝 男・ 晃l閲 第2同 邦4閃 にb 男、f目 εl 捲に目
FIG. 1 is a diagram showing how a user is adjusting the positional relationship between graphics, and FIG. 2 is a block diagram showing a graphics creation device used to carry out the present invention. Fig. 6 is a schematic diagram showing a figure data table used in the present invention, Fig. 4 is a flowchart showing processing operations in an embodiment of the present invention, and Fig. 5 is a target figure for adjusting the positional relationship between figures. FIG. 6 is an example of a screen display in which the positional relationship between figures is adjusted. DESCRIPTION OF SYMBOLS 1...Memory, 2...Central processing unit, 5...Display, 4...Keyboard, 5...Pointing input device, 6...User, 30...Graphic data table, 73 ~75...Target figure, 79...A region formed from the center point of the target figure, 90...Enlarged area, 103-105...A figure whose positional relationship has been adjusted. Representative Patent Attorney Katsuo Ogawa, Akira 2nd Dokoku 4th Edition, B Male, F Eye εl Turning Eyes

Claims (1)

【特許請求の範囲】 1、中央処理装置(以下、CPUと称す)と、少なくと
も該CPUの動作プログラムや図形データを格納するメ
モリと、該図形データのうち、選択された図形データに
基づき、図形を映像として表示するディスプレイと、入
力装置とを具備した情報処理装置において、 上記入力装置からの指示により、選択された図形群に対
して、それらの図形群の置かれている領域を線形に拡大
・縮小することにより、図形間の位置関係を調整するこ
とを特徴とする図形間の位置調整方式。
[Scope of Claims] 1. A central processing unit (hereinafter referred to as a CPU), a memory that stores at least an operation program of the CPU and graphic data, and a graphic data processing system based on selected graphic data among the graphic data. In an information processing device that is equipped with a display that displays images as an image and an input device, the area in which the selected group of figures is located is linearly enlarged according to instructions from the input device. - A position adjustment method between figures that is characterized by adjusting the positional relationship between figures by reducing the size of the figures.
JP21930586A 1986-09-19 1986-09-19 Inter-graphic position adjusting system Pending JPS6375976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21930586A JPS6375976A (en) 1986-09-19 1986-09-19 Inter-graphic position adjusting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21930586A JPS6375976A (en) 1986-09-19 1986-09-19 Inter-graphic position adjusting system

Publications (1)

Publication Number Publication Date
JPS6375976A true JPS6375976A (en) 1988-04-06

Family

ID=16733408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21930586A Pending JPS6375976A (en) 1986-09-19 1986-09-19 Inter-graphic position adjusting system

Country Status (1)

Country Link
JP (1) JPS6375976A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6397233B1 (en) 1995-11-22 2002-05-28 Fujitsu Limited Document processing apparatus and computer program product therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6397233B1 (en) 1995-11-22 2002-05-28 Fujitsu Limited Document processing apparatus and computer program product therefor

Similar Documents

Publication Publication Date Title
JPH0363756A (en) Document editor
JPS6375976A (en) Inter-graphic position adjusting system
JPH06176122A (en) Graphic editing device
JP3150316B2 (en) Document editing device
JP4405750B2 (en) Image editing device
JP2004013514A (en) Data display device and data display method
JPS63155260A (en) Editing method for table by computer
JPS59225480A (en) Document editing device
JPH0548876A (en) Picture processor with grid function
JP2751211B2 (en) Document creation device
JP2936546B2 (en) Character centering device and processing device equipped with this device
JP2998198B2 (en) Outline font creation device
JPS63110487A (en) Table generator
JPH0439712B2 (en)
JPH0447359A (en) Method and device for generating text area in documentation device
JP2605690B2 (en) Image creation device
JPS63285673A (en) Designating method for magnification/reduction of picture
JPS6385978A (en) Graphic editing device
JPH01130186A (en) Character processor
JPS6320681A (en) Tabulating and processing system
JP2001046768A (en) Embroidery data preparation device
JP2002175537A (en) Method and device for image generation
JPH07160760A (en) Layout design device
JPS63217414A (en) Graphic display control system
JPS62271075A (en) Image processor