JPH03186973A - Graphic processor - Google Patents

Graphic processor

Info

Publication number
JPH03186973A
JPH03186973A JP32675389A JP32675389A JPH03186973A JP H03186973 A JPH03186973 A JP H03186973A JP 32675389 A JP32675389 A JP 32675389A JP 32675389 A JP32675389 A JP 32675389A JP H03186973 A JPH03186973 A JP H03186973A
Authority
JP
Japan
Prior art keywords
graphic
information
section
moving
user
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
JP32675389A
Other languages
Japanese (ja)
Inventor
Tetsuo Nakakawaji
哲男 中川路
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP32675389A priority Critical patent/JPH03186973A/en
Publication of JPH03186973A publication Critical patent/JPH03186973A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To precisely decide a relative position relation with the other graphic and to display it by designating a moved position by means of the relative position with the other graphic at the time of moving a graphic. CONSTITUTION:Graphic information is processed from an instruction from a user and inputted position information, the moving destination of the graphic is designated in a graphic information processing part 8 as the relative position with the other graphic and a graphic moving means (position information calculation part 14) moving the graphic to the designated moving designation is connected to a storage part 1. When the moving destination of the graphic is designated as the relative position with the other graphic, the graphic moving means 14 obtains absolute position information of the moving destination by calculation from the moving instruction by the designation of the relative position and position information of the graphic being the source of relative position information, and moves the graphic to be moved to the designated position. Thus, a character string 10 before movement is eliminated and a character string 13 after movement is displayed.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は図形処理@置に関するものであり、特に、利
用者との間で会話形式によって表示画面上に表示された
図形を所望の位置に移動する構成の図形処理装置に関す
るものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to graphic processing @ placement, and in particular, to moving a graphic displayed on a display screen to a desired position through conversation with a user. The present invention relates to a graphic processing device having a moving configuration.

[従来の技術] 従来のこの種の装置とし、例えばAppleCompu
ter社製パーソナルコンピュー社製パーソナルコンピ
ユー9形ACINT08ア「MACDR,AWII (
CLAR18社)」に記述されているような装置がある
[Prior Art] A conventional device of this kind, for example, Apple Computer
Personal computer manufactured by Ter Corporation Personal computer 9 type ACINT08A "MACDR, AWII (
There is a device such as that described in "CLAR18".

第3図は、前記装置に代表される従来の図形処理装置の
構成を示すブロック図であり、1は図形情報を記憶する
記憶部、2は記憶部1内の図形情報からラスタ情報(ド
ツト情報とも呼ばれる)に変換するためのベクタ・ラス
タ変換部、3はベクタ・ラスタ変換部2において変換さ
れたドツト情報を表示のために記憶するフレームメモリ
部、4はフレームメモリ部3内のドラ1〜情報を周期的
に読み出して視覚情報に変換するためのビデオ信号発生
部、5はCRTのようなラスタスキャン方式による表示
部、6は表示部5上に表示された図形を利用者力く特定
指示するための位置情報入力部、7は図形処理を行うた
めの利用者からの命令を解析する利用者命令解析部、8
は利用者からの命令と入力された位置情報から図形情報
に対して処理を行い、記憶部1に蓄積する図形情報処理
部である。
FIG. 3 is a block diagram showing the configuration of a conventional graphic processing device typified by the device described above, in which numeral 1 denotes a storage section for storing graphic information, and numeral 2 stores raster information (dot information) from the graphic information in the storage section 1. 3 is a frame memory section that stores the dot information converted in the vector/raster converter 2 for display, and 4 is a frame memory section 1 to 4 in the frame memory section 3. A video signal generator for periodically reading out information and converting it into visual information; 5 is a display unit using a raster scan method such as a CRT; 6 is a unit for specifying a figure displayed on the display unit 5 by the user; 7 is a user command analysis unit that analyzes commands from the user to perform graphic processing; 8;
1 is a graphic information processing unit that processes graphic information based on commands from the user and input position information, and stores the processed graphic information in the storage unit 1.

以上のような構成の従来の図形処理装置において、フレ
ームメモリ部3の記憶客間は、通常、表示部5の有効表
示画素数と対応つけられている。
In the conventional graphic processing apparatus configured as described above, the storage area of the frame memory section 3 is usually associated with the number of effective display pixels of the display section 5.

また、表示部5に刻する表示動作は、ベクタ・ラスタ変
換部2の変換処理とは独立に行なわれ、フレームメモリ
部3に記憶されたドツト情報はビデオ信号発生部4から
の表示制御信号にしたがって、例えば30〜40回/秒
程度の割合いで順次読出され、視覚情報として、逐次、
表示部5に対して送出される。一方、ベクタ・ラスタ変
換部2は、記憶部1内の図形情報を読出し、その図形情
報に対応するフレームメモリ部3内の画素を順次に輝点
とするような処理を行っている。
Furthermore, the display operation of marking on the display section 5 is performed independently of the conversion processing of the vector/raster conversion section 2, and the dot information stored in the frame memory section 3 is applied to the display control signal from the video signal generation section 4. Therefore, it is read out sequentially at a rate of, for example, 30 to 40 times/second, and is sequentially read out as visual information.
It is sent to the display section 5. On the other hand, the vector/raster conversion section 2 reads the graphic information in the storage section 1 and performs a process of sequentially converting pixels in the frame memory section 3 corresponding to the graphic information into bright spots.

利用者命令解析部7は、図形描画、図形移動、図形消去
などの図形処理を行うための利用者からの命令を解析し
、図形情報処理部8に送出する。
The user command analysis section 7 analyzes commands from the user for performing graphic processing such as graphic drawing, graphic movement, and graphic deletion, and sends them to the graphic information processing section 8 .

位置情報入力部6は、図形処理の対象となる図形と、図
形処理に必要となる座標値などの位置情報を入力する部
分であり、位置情報が入力されたならば該情報を図形情
報処理部8に送出する。図形情報処理部8では、利用者
命令解析部7からの命令と、位醒情報入ツノ部6からの
位置情報を統合して、記憶部1に新たな図形情報として
蓄積したり、記憶部1内の図形情報を更新するなどの処
理を行う。
The positional information input unit 6 is a part for inputting a figure to be subjected to graphical processing and positional information such as coordinate values required for the graphical processing. Once the positional information is input, the information is transferred to the graphical information processing unit. Send on 8th. The graphic information processing unit 8 integrates the command from the user command analysis unit 7 and the position information from the positional information input horn unit 6, and stores it in the storage unit 1 as new graphic information. Processes such as updating the graphic information in the file are performed.

ここで、図形編集を行う場合、特に図形を移動する場合
について説明する。
Here, the case of editing a figure, especially the case of moving a figure, will be explained.

第4図は、表示画面の例示図であり、ここでは、円形9
と文字列10が表示されている。これらの図形情報は、
いずれも記憶部1内に蓄積されており、その図形情報を
ベクタ・ラスタ変換部2がラスタ情報に変換してフレー
ムメモリ部3に蓄積し、更にビデオ信号発生部4によっ
て読み出されて表示部5に表示され、図示のような表示
画面として利用者に提供されている。
FIG. 4 is an exemplary diagram of a display screen, in which a circular 9
and character string 10 are displayed. These graphical information are
Both are stored in the storage section 1, and the vector/raster conversion section 2 converts the graphic information into raster information and stores it in the frame memory section 3, which is then read out by the video signal generation section 4 and displayed on the display section. 5, and is provided to the user as a display screen as shown in the figure.

ここで、文字列10を移動させる場合には、利用者は図
形処理命令−覧11の中から図形移動命令を選択し、次
に移動の対象となる文字列10をマウスなどの入力装置
で選択し、更に移動先の位置を入力装置で指示する。移
動先の位置情報の入力は、入力装置によって表示される
矢印などの位置指示印12を表示画面上の該当位置に移
動し、マウスにおけるボタン押下げなどの位置決定操作
によって行う。選択された図形情報と位置決定操作によ
って位置情報入力部6に入力された位置情報は、図形情
報処理部8に送出される。すると、図形情報処理部8で
は、位置情報入力部6からの選択図形情報によって記′
tM部1内の該当図形情報を検索し、利用者命令解析部
7からの命令が図形移動であるので、現在の図形位置情
報を消去し、位置情報入力部6からの位置情報に変更す
る。この場合、命令が図形移動であるので、図形情報の
位置以外の情報は変更しない。ベクタ・ラスタ変換部2
は変更された記憶部1内の図形情報に従って、その図形
情報をラスタ情報に変換してフレムメモリ部3に蓄積す
る。蓄積されたラスタ情報は、ビデオ信号発生部4によ
って読み出されて表示部5に表示される。これにより、
第4図に示す表示画面においては、移動前の文字列10
は消去され、移動後の文字列13として表示される。
Here, in order to move the character string 10, the user selects a figure movement command from the figure processing command list 11, and then selects the character string 10 to be moved using an input device such as a mouse. Then, the user instructs the destination position using the input device. The location information of the destination is input by moving the position indication mark 12, such as an arrow, displayed by the input device to the corresponding position on the display screen, and performing a position determination operation such as pressing a button on a mouse. The selected graphic information and the position information input into the position information input unit 6 by the position determination operation are sent to the graphic information processing unit 8. Then, the graphic information processing unit 8 records the selected graphic information from the position information input unit 6.
The corresponding graphic information in the tM section 1 is searched, and since the command from the user command analysis section 7 is to move the graphic, the current graphic position information is deleted and changed to the position information from the position information input section 6. In this case, since the command is to move a figure, information other than the position of the figure information is not changed. Vector/raster converter 2
In accordance with the changed graphic information in the storage unit 1, the graphic information is converted into raster information and stored in the frame memory unit 3. The accumulated raster information is read out by the video signal generation section 4 and displayed on the display section 5. This results in
In the display screen shown in FIG. 4, the character string 10 before movement is
is deleted and displayed as the moved character string 13.

[発明が解決しようとする課題1 従来の図形処理装置では、図形を移動するに際して移動
先の図形位置を表示画面を見ながら位置情報人力部6か
ら絶対位置で指定するため、ある図形を他の図形の例え
ば真中に表示させる場合などの処理を行う際に、それら
の図形間の相対的な位置関係に誤差が生じるという問題
があった。
[Problem to be Solved by the Invention 1] In conventional graphic processing devices, when moving a figure, the position of the destination figure is designated by the absolute position from the position information human input unit 6 while looking at the display screen, so that one figure cannot be moved from another figure. There is a problem in that when performing processing such as displaying figures in the middle, for example, errors occur in the relative positional relationship between the figures.

この発明は、上記のような問題点を解決するためになさ
れたあので、図形の移動先を他の図形との相対位置とし
て指定し、他の図形どの相対位置を正確にすることが可
能となる図形処理装置を得ることを目的とづる。
This invention was made to solve the above-mentioned problems, and it is possible to specify the destination of a figure as a relative position with respect to other figures, thereby making it possible to accurately determine the relative position of other figures. The purpose is to obtain a graphic processing device that is

[課題を解決するための手段」 この発明の図形処理装置は、図形の移動先を他の図形と
の相対位置として指定し、指定された移動先に移動する
図形移動手段(位置情報計算部14)を設けたものであ
る。
[Means for Solving the Problems] The graphic processing device of the present invention includes a graphic moving means (position information calculation unit 14 ).

[作用〕 この発明においては、図形の移動先を他の図形どの相対
位置として指定すると、図形移動手段は相対位置指定に
よる移動命令と、相対的な位置情報の元となる図形の位
置情報とから計算によって移動先の絶対位置情報を求め
、指定された位置に移動対象の図形を移動する。
[Operation] In this invention, when the movement destination of a figure is specified as a relative position of another figure, the figure moving means receives a movement command based on the relative position specification and the position information of the figure which is the source of the relative position information. The absolute position information of the destination is determined by calculation, and the figure to be moved is moved to the specified position.

[実施例] 以下、この発明の一実施例を図について説明する。第1
図において、1は図形情報を記憶する記憶部、2は記憶
部1内の図形情報をラスタ情報(ドッl〜情報とも呼ば
れる〉に変換するためのベクタ・ラスタ変換部、3はベ
クタ・ラスタ変換部2において変換されたドツト情報を
表示のために記憶するフレームメモリ部、4はフレーム
メモリ部3内のドラ1〜情報を周期的に読み出して視覚
情報に変換するためのビデオ信号発生部、5はCRTの
ようなラスタスキャン方式の表示部、6は表示部5上の
図形を利用者が特定指示するための位置情報入力部、7
は図形処理を行うための利用者からの命令を解析する利
用者命令解析部、8は利用者からの命令と入力された位
置情報とから図形情報に対して処理を行い、記憶部1に
蓄積する図形情報処理部、14は相対位置指定による移
動命令と相対的な位置情報の元となる図形の位置情報か
ら移動先の絶対位置情報を計算する位置情報計算部であ
る。
[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. 1st
In the figure, 1 is a storage unit that stores graphic information, 2 is a vector/raster conversion unit that converts the graphic information in the storage unit 1 into raster information (also called dot information), and 3 is a vector/raster conversion unit. A frame memory section 4 stores the dot information converted in the section 2 for display; 4 a video signal generating section for periodically reading out the dot information in the frame memory section 3 and converting it into visual information; 5; 6 is a raster scan type display unit such as a CRT, 6 is a position information input unit for the user to specify a figure on the display unit 5, and 7
8 is a user command analysis unit that analyzes instructions from the user to perform graphic processing; 8 is a user command analysis unit that processes graphic information from the commands from the user and the input position information, and stores it in the storage unit 1; The graphic information processing unit 14 is a position information calculation unit that calculates absolute position information of a movement destination from a movement command based on relative position specification and position information of a figure that is the source of the relative position information.

第2図この実施例の表示画面お例を示す図であり、9は
相対位置指定による移動の元となる図形、10は移動の
対象となる図形、12は入力装置によって表示される矢
印などの位置指示印、13は移vJ後の図形、15は相
対位置指定による図形移動を含む利用者の選択−4る図
形処理命令−覧である。
FIG. 2 is a diagram showing an example of the display screen of this embodiment, where 9 is a figure to be moved by specifying a relative position, 10 is a figure to be moved, and 12 is an arrow etc. displayed by an input device. 13 is a position indication mark, 13 is a figure after being moved, and 15 is a list of user selections - 4 figure processing commands, including figure movement by relative position specification.

次に動作について説明する。Next, the operation will be explained.

まず、第2図に表示されている9、10などの図形情報
が記憶部1内に蓄積されており、その図形情報がベクタ
・ラスタ変換部2でラスタ情報に変換されでフレームメ
モリ部3に蓄積され、更にビデオ信号発生部4によって
読み出されて表示部5に表示され、第2図に示すような
表示画面として利用者に提供される。
First, graphic information such as 9 and 10 displayed in FIG. The data is stored, further read out by the video signal generating section 4 and displayed on the display section 5, and provided to the user as a display screen as shown in FIG.

ここで、文字列10の移動先を相対位置で指定して移動
させる場合には、利用者は図形移動命令覧15の中から
相対位置指定による図形移動命令、例えば「真中」など
を選択し、次に移動の対象となる文字列10をマウスな
どの入力装置で選択し、更に相対位置指定による移動の
元となる図形9を入力vi置で選択する。図形処理命令
−覧15の中から相対位置指定による図形移動命令が選
択されたことは、利用者命令解析部7から図形情報処理
部8に通知される。また、選択された二つの図形情報は
、位置情報入力部6から図形情報処理部8に通知される
Here, if the user wants to move the character string 10 by specifying a relative position, the user selects a figure movement command by specifying a relative position from the figure movement command list 15, such as "middle", Next, the character string 10 to be moved is selected using an input device such as a mouse, and the figure 9 to be moved by specifying the relative position is selected using the input vi position. The user command analysis unit 7 notifies the graphic information processing unit 8 that a graphic movement command based on relative position specification has been selected from the graphic processing command list 15. Further, the selected two pieces of graphic information are notified from the position information input unit 6 to the graphic information processing unit 8.

図形情報処理部8では、利用者命令解析部7からの命令
が相対位置指定による図形移動であるので、位置情報入
力部6からの選択図形情報を二つ受信し、記憶部1内の
該当する二つの図形情報を検索する。まず、図形移動で
あるので、10の図形に相当する図形情報の現在の図形
位置情報を消去する。次に、移動先の絶対的な位置情報
を求めるために、相対位置の元となる図形9の位置情報
と、利用者命令解析部8から得られた図形移動命令を、
位置情報計算部14に送出する。位置情報計算部14で
は、相対位置の元となる図形9の位置情報に、図形移動
命令の種類、ここでは「真中」に応じた演算処理を行っ
て、移動後の絶対位置情報を図形情報処理部8に返信す
る。図形情報処理部8では、返信されてきた絶対位置情
報を元に、記憶部1内の該当図形情報の位置情報を変更
する。
In the graphic information processing unit 8, since the instruction from the user command analysis unit 7 is to move a graphic by specifying a relative position, the graphic information processing unit 8 receives two pieces of selected graphic information from the position information input unit 6, and selects the corresponding figure information in the storage unit 1. Search for two pieces of graphic information. First, since it is a figure movement, the current figure position information of the figure information corresponding to 10 figures is deleted. Next, in order to obtain the absolute positional information of the movement destination, the positional information of the figure 9, which is the source of the relative position, and the figure movement command obtained from the user command analysis section 8 are used.
It is sent to the position information calculation unit 14. The position information calculation unit 14 performs arithmetic processing on the position information of the figure 9, which is the source of the relative position, in accordance with the type of figure movement command, in this case "middle", and uses the absolute position information after the movement to perform figure information processing. Reply to part 8. The graphic information processing unit 8 changes the position information of the corresponding graphic information in the storage unit 1 based on the returned absolute position information.

0 ベクタ・ラスタ変換部2は変更された記憶部1内の図形
情報に従って、その図形情報をラスク情報に変換してフ
レームメモリ部に菩積する。ビデオ発生部4はフレーム
メモリ部3内のラスク情報を読み出し、表示部5に表示
する。
0 The vector/raster conversion unit 2 converts the graphic information into rask information according to the changed graphic information in the storage unit 1 and stores it in the frame memory unit. The video generating section 4 reads out the rask information in the frame memory section 3 and displays it on the display section 5.

このような処理によって第2図に示す表示画面お例にお
いては、移動前の文字列10は消去され、移動後の文字
列13として表示される。
Through such processing, in the display screen example shown in FIG. 2, the character string 10 before movement is erased and is displayed as the character string 13 after movement.

[発明の効果] 以上のようにこの発明によれば、図形を移動する際に、
他の図形との相対位置によって移0後の位置を指定する
ように構成したため、他の図形との相対的な位置関係を
正確に決定し、表示することが可能となり、複数の図形
を関連づけて表示する場合などに極めて有用になるとい
う効果がある。
[Effects of the Invention] As described above, according to the present invention, when moving a figure,
Since the configuration specifies the position after movement 0 based on the relative position with other shapes, it is possible to accurately determine and display the relative positional relationship with other shapes, and it is possible to associate multiple shapes. This has the effect of being extremely useful for display purposes.

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

第1図はこの発明による図形処理装置の一実施例を示す
ブロック図、第2図は第1図の一実施例における表示画
面の一例を示す図、第3図は従来の図形処理装置のブロ
ック図、第4図4は従来の1 図形処理装置における表示画面の例を示す図である。 1・・・記憶部、2・・・ベクタ・ラスタ変換部3・・
・フレームメモリ部、4・・・ビデオ信号発生部、5・
・・表示部、6・・・位置情報入力部、7・・・利用者
命令解析部、8・・・図形情報処理部、14・・・位置
情報J1−算部。
FIG. 1 is a block diagram showing an embodiment of a graphics processing device according to the present invention, FIG. 2 is a diagram showing an example of a display screen in the embodiment of FIG. 1, and FIG. 3 is a block diagram of a conventional graphics processing device. FIG. 4 is a diagram showing an example of a display screen in a conventional graphic processing device. 1...Storage unit, 2...Vector/raster conversion unit 3...
-Frame memory section, 4...Video signal generation section, 5.
... Display unit, 6... Position information input unit, 7... User command analysis unit, 8... Graphic information processing unit, 14... Position information J1-calculation unit.

Claims (1)

【特許請求の範囲】 文字を含む図形情報をベクタ情報として記憶する記憶部
と、この記憶部内の図形情報を抽出してドット情報に変
換するベクタ・ラスタ変換部と、前記ドット情報を記憶
するフレーム・メモリ部と、前記フレーム・メモリ部内
のドット情報に対応した図形のビデオ信号を発生するビ
デオ信号発生部と、このビデオ信号発生部から発生され
たビデオ信号により視覚情報を表示する表示部と、この
表示部に表示された図形を利用者が特定指示するための
位置情報入力部と、図形処理を行うための利用者からの
命令を解析する命令解析部と、利用者から入力された位
置情報に対応する図形情報に対して利用者から入力され
た命令に関する処理を行い前記記憶部に蓄積する図形情
報処理部とを含む図形処理装置において、 前記表示部に表示された図形の移動先を他の図形との相
対位置として指定し、指定された位置に移動する図形移
動手段を設けたことを特徴とする図形処理装置。
[Scope of Claims] A storage unit that stores graphic information including characters as vector information, a vector/raster conversion unit that extracts the graphic information in this storage unit and converts it into dot information, and a frame that stores the dot information. - a memory section, a video signal generation section that generates a graphic video signal corresponding to the dot information in the frame memory section, and a display section that displays visual information using the video signal generated from the video signal generation section; A positional information input section for the user to specify the figure displayed on this display section, a command analysis section for analyzing the command from the user to perform figure processing, and the positional information input by the user. a graphic information processing unit that performs processing related to a command input by a user on graphic information corresponding to the graphic information and stores it in the storage unit, 1. A graphic processing device comprising a graphic moving means for specifying a position relative to a graphic and moving the graphic to the designated position.
JP32675389A 1989-12-16 1989-12-16 Graphic processor Pending JPH03186973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32675389A JPH03186973A (en) 1989-12-16 1989-12-16 Graphic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32675389A JPH03186973A (en) 1989-12-16 1989-12-16 Graphic processor

Publications (1)

Publication Number Publication Date
JPH03186973A true JPH03186973A (en) 1991-08-14

Family

ID=18191302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32675389A Pending JPH03186973A (en) 1989-12-16 1989-12-16 Graphic processor

Country Status (1)

Country Link
JP (1) JPH03186973A (en)

Similar Documents

Publication Publication Date Title
JP3857328B2 (en) Display editing system
JPH0355848B2 (en)
JPH07220109A (en) Information processing device/method
JPH03186973A (en) Graphic processor
JPH08255221A (en) Character graphic input editing device
JPS6257057A (en) Electronic turnover device
JP3381805B2 (en) Cursor control device
JPH08235344A (en) Scenario editor
JPS60254376A (en) Graphic detector
JPH0736437A (en) Picture data processor
JP2817935B2 (en) Graphic processing unit
JP2798688B2 (en) Character processing apparatus and method
JPS62256174A (en) Document processor
JP4670289B2 (en) Display control device
JP2937374B2 (en) Interactive graphics processor
JPH02186838A (en) Information processor
JPH01159690A (en) Picture editing apparatus
JP2909076B2 (en) Image processing method and apparatus
JPH0275077A (en) Pattern processing method
JPS6145363A (en) Drawing producer
CN112703093A (en) Control device
JPS60250482A (en) Picture rotation indicating system
JPH086545A (en) Information processing device and method
JPH04235686A (en) Picture processor
JPH0217574A (en) Interactive graphic processing system