JPH04322377A - Information processor - Google Patents

Information processor

Info

Publication number
JPH04322377A
JPH04322377A JP9199991A JP9199991A JPH04322377A JP H04322377 A JPH04322377 A JP H04322377A JP 9199991 A JP9199991 A JP 9199991A JP 9199991 A JP9199991 A JP 9199991A JP H04322377 A JPH04322377 A JP H04322377A
Authority
JP
Japan
Prior art keywords
graphic
ram
menu
storage part
graphics
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
JP9199991A
Other languages
Japanese (ja)
Inventor
Hatsuo Miyahara
宮原 初男
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP9199991A priority Critical patent/JPH04322377A/en
Publication of JPH04322377A publication Critical patent/JPH04322377A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the operability of plotting work by retrieving graphics included in a designated area and storing respective recognition numbers and giving visual features to respective selected graphics. CONSTITUTION:A CPU 1 reads out an initial menu from an operation menu storage part 3-7 in a RAM 3 and writes it in a RAM 10 for display and displays it on a CRT 11. A worker sees this menu and uses a keyboard 5 or a mouse 6 to select the graphic processing. Then, a graphic information storage part 3-3 in a RAM 3 where coordinates of graphics and graphic recognition numbers as peculiar numbers given in the drawing order of graphics are stored, a minimum enclosure rectangle coordinate storage part 3-4 where coordinates of a minimum enclosure rectangle are stored, a graphic select area storage part 3-5, and a selected graphic recognition number storage part 3-6 in the RAM 3 are initialized. Next, a graphic menu is displayed on the CRT 11, and pop-up menu information is written in a pop-up menu storage part 3-2 in the RAM 3.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、画像データとして記憶
されている図形データに対して、自由な編集を行い、出
力装置に出力することができるデスクトップパブリッシ
ング(以下、DTPという)等の情報処理装置に関する
ものである。
[Industrial Application Field] The present invention is applicable to information processing such as desktop publishing (hereinafter referred to as DTP) in which graphic data stored as image data can be freely edited and output to an output device. It is related to the device.

【0002】0002

【従来の技術】近年、画像データとして記憶されている
図形データに対して、自由な編集を行うことができるD
TP等の情報処理装置は、豊富な編集機能とともに、そ
の操作性の向上が求められている。
[Prior Art] In recent years, it has become possible to freely edit graphic data stored as image data.
Information processing devices such as TPs are required to have rich editing functions and to improve their operability.

【0003】従来の情報処理装置において、表示画面上
に複数の図形が表示されている状態から、任意の図形を
編集する場合、図12に示すように、マウス等の入力手
段を用いて、画面上の所望の範囲をドラッキングするこ
とによって、ドラッキングされた矩形内を対象として編
集を行うことができる。その際、操作者に対しては、ド
ラッキングされた矩形を実線等で表示画面上に残すこと
によって、編集対象が示されるようになっていた。
In a conventional information processing device, when editing a desired figure from a state in which a plurality of figures are displayed on the display screen, as shown in FIG. By dragging the desired range above, editing can be performed within the dragged rectangle. At this time, the object to be edited is shown to the operator by leaving the dragged rectangle as a solid line or the like on the display screen.

【0004】0004

【発明が解決しようとする課題】しかしながら、従来の
情報処理装置においては、操作者は、図12のように、
操作者は選択枠に一部囲まれている図形がある場合、選
択されているか選択されていないかをすぐには確認でき
ないという問題点を有していた。本発明の課題は、従来
のかかる問題を解消した情報処理装置を提供することに
ある。
[Problems to be Solved by the Invention] However, in the conventional information processing apparatus, the operator has to
When there is a figure partially surrounded by a selection frame, the operator has a problem in that he cannot immediately confirm whether it is selected or not. An object of the present invention is to provide an information processing device that solves the conventional problems.

【0005】[0005]

【課題を解決するための手段】本発明は、上記課題を解
決するために、選択された複数の図形が容易にわかるよ
うに出力装置に視覚的特徴を表示出力する手段を有する
ものである。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention has means for displaying visual characteristics on an output device so that a plurality of selected figures can be easily recognized.

【0006】[0006]

【作用】本発明は、上記した手段によって、編集する図
形を複数選択する際に、選択された図形の選択状態を出
力装置上に、各々の図形に対してその視覚的特徴を出力
表示できることによって、選択されているか否か容易に
判断できる。
[Operation] The present invention is capable of outputting and displaying the selection state of the selected shapes on the output device and the visual characteristics of each shape when selecting a plurality of shapes to be edited by the above-described means. , you can easily determine whether it is selected or not.

【0007】[0007]

【実施例】以下、本発明の実施例について説明する。[Examples] Examples of the present invention will be described below.

【0008】図1は本発明の一実施例に於ける情報処理
装置のブロック図であって、1は本装置の制御を司どり
、又、必要な演算等を行う中央演算処理装置(以下、C
PUという)、2はCPU1が本装置を制御するために
必要なプログラム等を記憶する読みだし専用メモリ(以
下、ROMという)、3はアプリケーションプログラム
、様々なデータ等を記憶するランダムアクセスメモリ(
以下、RAMという)、4は外部装置とのデータの入出
力のための入出力インターフェース、5はキーボード、
6はマウス、7はハードディスク、8はフロッピーディ
スクである。9はRAM3内のテキストファイル記憶領
域3−9にコード情報として記憶されるデータを書式情
報に従ったビットマップのデータとして記憶するイメー
ジ用RAM、10はイメージ用RAM9に記憶されたビ
ットマップのデータを可視表示するための表示用RAM
、11は表示用RAM内のデータを表示するCRT表示
装置(以下、CRTという)、12はCPU1の制御の
下に描画・文字の拡大及び縮小等の画像制御を行うイメ
ージコントローラである。
FIG. 1 is a block diagram of an information processing device according to an embodiment of the present invention, and numeral 1 indicates a central processing unit (hereinafter referred to as “central processing unit”) which controls the device and performs necessary calculations. C
2 is a read-only memory (hereinafter referred to as ROM) that stores programs necessary for the CPU 1 to control this device, and 3 is a random access memory (hereinafter referred to as ROM) that stores application programs and various data.
(hereinafter referred to as RAM), 4 is an input/output interface for inputting and outputting data with external devices, 5 is a keyboard,
6 is a mouse, 7 is a hard disk, and 8 is a floppy disk. 9 is an image RAM that stores data stored as code information in the text file storage area 3-9 in the RAM 3 as bitmap data according to format information; 10 is bitmap data stored in the image RAM 9; Display RAM for visually displaying
, 11 is a CRT display device (hereinafter referred to as CRT) that displays data in the display RAM, and 12 is an image controller that performs image control such as drawing, enlargement and reduction of characters, etc. under the control of the CPU 1.

【0009】以上のように構成された本実施例の情報処
理装置について、以下、その動作を図2から図5のフロ
ーチャートを用いて説明する。
The operation of the information processing apparatus of this embodiment configured as described above will be explained below using the flowcharts shown in FIGS. 2 to 5.

【0010】図2において、先ず、操作者が装置の電源
をONすると、ステップ21において、RAM22内の
データ領域3−1の初期化が行われる。次に、ステップ
22において、CPU1はRAM3内の操作メニュー記
憶部3−7から初期メニューを読みだし、表示用RAM
10に書き込み、初期メニューがCRT11に可視表示
される。操作者がこの初期メニューを見て、キーボード
5又はマウス6を用いて図形処理を選択すると、処理は
ステップ25へと移行し、図3のステップ30において
、描画された図形の座標や図形が描画された順番に付け
られる固有の番号である図形の認識番号を記憶するRA
M3内の図形情報記憶部3−3と、最小囲み矩形の座標
を記憶する最小囲み矩形座標記憶部3−4と、図形の選
択領域記憶部3−5、及び選択図形の認識番号記憶部3
−6の初期化が行われる。初期化が終了すると、ステッ
プ31において、図形メニューがCRT11に表示され
ステップ32の入力待ちとなる。この時、RAM3内の
ポップアップメニュー記憶部3−2に図形の形等を選択
するためのポップアップメニュー情報が書き込まれる。
In FIG. 2, first, when the operator turns on the power of the apparatus, in step 21, the data area 3-1 in the RAM 22 is initialized. Next, in step 22, the CPU 1 reads the initial menu from the operation menu storage section 3-7 in the RAM 3, and stores it in the display RAM.
10, and the initial menu is visually displayed on the CRT 11. When the operator looks at this initial menu and selects figure processing using the keyboard 5 or mouse 6, the process moves to step 25, and in step 30 of FIG. 3, the coordinates of the drawn figure and the figure are RA that memorizes the recognition number of the figure, which is a unique number assigned in the order in which it is
A graphic information storage unit 3-3 in M3, a minimum enclosing rectangle coordinates storage unit 3-4 that stores the coordinates of the minimum enclosing rectangle, a graphic selection area storage unit 3-5, and a selected graphic identification number storage unit 3.
−6 initialization is performed. When the initialization is completed, a graphic menu is displayed on the CRT 11 in step 31, and the process waits for input in step 32. At this time, pop-up menu information for selecting the shape of the figure, etc. is written into the pop-up menu storage section 3-2 in the RAM 3.

【0011】以下、図形の描画ルーチンの動作について
説明する。図3において、ステップ34の図形の描画を
行う時、処理は図4に示す図形の描画ルーチンへ移行す
る。図4では、先ず、ステップ41において、操作者が
マウス6の右ボタンをクリックすることにより、CPU
1はポップアップメニュー記憶部3−2からポップアッ
プメニュー情報を呼び出し表示用RAM10へ書き込み
、CRT11に図10に示すようなポップアップメニュ
ーを表示させる。ステップ42において、操作者がマウ
ス6を使って表示されたポップアップメニュー上の図形
を選択することにより、CPU1はイメージコントロー
ラ12に描画する図形の設定を行う。ステップ43にお
いて操作者がマウス6の右ボタンをクリックすることに
より、CPU1は表示用RAM10を初期化してCRT
11に表示されていたポップアップメニューの消去を行
う。ステップ44において、操作者がマウス6の左ボタ
ンを使ってドラッキングすることにより、CPU1はイ
メージコントローラ12に描画を命令し、イメージコン
トローラ12はステップ42における設定に基づいて図
形を表示用RAM10に書き込み、CRT11に表示す
る。また、CPU1は図形が描画された順番に付けられ
る固有の番号である図形の認識番号を図5で示されるよ
うにRAM3内の図形情報記憶部3−3へ1ワードデー
タとして書き込み、描画された図形の座標を図形情報記
憶部3−3へ図形の認識番号のデータの次から、図形の
左上のX座標、図形の左上のY座標、図形の右下のX座
標、図形の右下のY座標の順番で各々を1ワードデータ
として書き込む。図6で示されるように図形情報記憶部
3−3内の認識番号から右下のY座標までの5ワードの
データが、描画された1つの図形に対する図形情報であ
る。更に、描画された図形を囲む最小の矩形の座標を計
算し、図7で示される矩形座標記憶部3−4へ図形の最
小囲み矩形の左上のX座標、図形の最小囲み矩形の左上
のY座標、図形の最小囲み矩形の右下のX座標、図形の
最小囲み矩形の右下のY座標の順番で1ワードデータと
して書き込む。矩形座標記憶部3−4内の左上のX座標
から右下のY座標までの4ワードのデータが、描画され
た1つの図形に対する図形の最小囲み矩形座標の情報で
ある。
The operation of the figure drawing routine will be explained below. In FIG. 3, when drawing a figure in step 34, the process shifts to a figure drawing routine shown in FIG. In FIG. 4, first, in step 41, the operator clicks the right button of the mouse 6 to
1 reads pop-up menu information from the pop-up menu storage section 3-2 and writes it into the display RAM 10, causing the CRT 11 to display a pop-up menu as shown in FIG. In step 42, when the operator uses the mouse 6 to select a figure on the displayed pop-up menu, the CPU 1 sets the figure to be drawn on the image controller 12. In step 43, when the operator clicks the right button of the mouse 6, the CPU 1 initializes the display RAM 10 and displays the CRT.
Delete the pop-up menu displayed in step 11. In step 44, when the operator drags the mouse 6 using the left button, the CPU 1 instructs the image controller 12 to draw, and the image controller 12 writes the figure to the display RAM 10 based on the settings in step 42. Display on CRT11. In addition, the CPU 1 writes the figure recognition number, which is a unique number assigned to the order in which the figure is drawn, as one-word data to the figure information storage section 3-3 in the RAM 3, as shown in FIG. The coordinates of the figure are sent to the figure information storage unit 3-3. After the data of the figure's identification number, the X coordinate of the upper left of the figure, the Y coordinate of the upper left of the figure, the X coordinate of the lower right of the figure, the Y coordinate of the lower right of the figure. Each is written as one word data in the order of the coordinates. As shown in FIG. 6, five words of data from the identification number to the lower right Y coordinate in the graphic information storage section 3-3 are graphic information for one drawn graphic. Furthermore, the coordinates of the smallest rectangle surrounding the drawn figure are calculated and stored in the rectangle coordinate storage unit 3-4 shown in FIG. 7. The coordinates, the X coordinate of the lower right corner of the minimum enclosing rectangle of the figure, and the Y coordinate of the lower right corner of the smallest enclosing rectangle of the figure are written as one word data in this order. Four words of data from the upper left X coordinate to the lower right Y coordinate in the rectangle coordinate storage section 3-4 are information on the coordinates of the minimum enclosing rectangle of one drawn graphic.

【0012】次に、図形の選択ルーチンの動作について
説明する。図2においてステップ35の図形の選択ルー
チンを選ぶと、処理は図5に示す図形の選択ルーチンへ
移行する。複数図形の選択は、操作者がマウス6の左ボ
タンを使って選択したい複数の図形を囲むようにドラッ
キングすることにより行う。図5において、ステップ5
1においてマウス6の左ボタンが押された点の座標を入
出力インターフェース4を通して獲得し、これを選択枠
の左上の点とし、マウス6の左ボタンが離された点の座
標を入出力インターフェース4を通して獲得し、これを
選択枠の右下の点とする選択枠の座標を、選択領域記憶
部3−5に書き込む。選択領域記憶部3−5への書き込
み方は、図8で示されるように、選択枠の左上のX座標
、選択枠の左上のY座標、選択枠の右下のX座標、選択
枠の右下のY座標の順番で各々を1ワードデータとして
書き込む。選択領域記憶部3−5内の選択領域の左上の
X座標から選択枠の右下のY座標までの4ワードのデー
タが、選択領域情報である。更に、ステップ52では選
択領域内にある全ての図形の認識番号を図形情報記憶部
3−3から読みだし、図9で示される選択図形の認識番
号記憶部3−6に1ワードデータとして書き込む。ステ
ップ53では、選択図形の認識番号記憶部3−6から認
識番号を読み出し、読み出した図形の認識番号と一致す
る認識番号を図形情報記憶部3−3から捜し出し、更に
この一致した認識番号に対応する最小囲み矩形の座標を
矩形座標記憶部3−4から取り出す。ステップ54では
取り出した最小囲み矩形を表示用RAM3へ書き込み、
CRT11に表示させる(図12)。ステップ70では
RAM3内の選択図形の認識番号記憶部3−6に格納さ
れた認識番号がまだ残っているかどうかを判定し、残っ
ていればステップ68へ戻り、残っていなければ図形の
選択ルーチンを終了してステップ47へ戻る。
Next, the operation of the graphic selection routine will be explained. When the figure selection routine of step 35 in FIG. 2 is selected, the process shifts to the figure selection routine shown in FIG. Selection of a plurality of figures is performed by the operator using the left button of the mouse 6 to drag the mouse 6 so as to surround the plurality of figures to be selected. In FIG. 5, step 5
1, obtain the coordinates of the point where the left button of the mouse 6 was pressed through the input/output interface 4, set this as the upper left point of the selection frame, and obtain the coordinates of the point where the left button of the mouse 6 was released through the input/output interface 4. The coordinates of the selection frame, which are acquired through and set as the lower right point of the selection frame, are written into the selection area storage section 3-5. As shown in FIG. 8, writing to the selection area storage unit 3-5 is as follows: X coordinate of the upper left of the selection frame, Y coordinate of the upper left of the selection frame, Each is written as one word data in the order of the Y coordinate below. Four words of data from the upper left X coordinate of the selection area to the lower right Y coordinate of the selection frame in the selection area storage unit 3-5 are selection area information. Further, in step 52, the identification numbers of all the figures within the selected area are read out from the figure information storage section 3-3 and written as one word data into the identification number storage section 3-6 of the selected figure shown in FIG. In step 53, the recognition number of the selected figure is read out from the recognition number storage section 3-6, a recognition number that matches the recognition number of the read figure is searched from the figure information storage section 3-3, and further a corresponding one is assigned to this matched recognition number. The coordinates of the minimum enclosing rectangle are retrieved from the rectangle coordinate storage section 3-4. In step 54, the retrieved minimum enclosing rectangle is written to the display RAM 3,
It is displayed on the CRT 11 (FIG. 12). In step 70, it is determined whether the recognition number stored in the recognition number storage section 3-6 of the selected figure in the RAM 3 still remains. If there is, the process returns to step 68; if not, the figure selection routine is executed. Upon completion, the process returns to step 47.

【0013】[0013]

【発明の効果】本発明は、選択された複数の図形が容易
にわかるように、視覚的特徴を出力装置に表示出力する
手段を有するため、操作者は編集する図形を複数選択す
る際に、選択された図形と未選択の図形の選択状態を容
易に判断できるので、図形の移動や拡大縮小等の編集処
理を希望した図形にのみ加えることが可能となり操作性
が向上し、間違って他の図形を編集することがなくなる
という優れた情報処理装置を提供できた。
Effects of the Invention The present invention has a means for displaying and outputting visual characteristics on an output device so that a plurality of selected figures can be easily recognized, so that when an operator selects a plurality of figures to be edited, Since the selection status of selected and unselected shapes can be easily determined, editing operations such as moving or scaling the shape can be applied only to the desired shape, improving operability and preventing accidental damage to other shapes. We were able to provide an excellent information processing device that eliminates the need to edit figures.

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

【図1】本発明の一実施例の情報処理装置のブロック図
FIG. 1 is a block diagram of an information processing device according to an embodiment of the present invention.

【図2】同装置の動作を表わすフローチャート[Figure 2] Flowchart showing the operation of the device

【図3】
同装置の動作を表わすフローチャート
[Figure 3]
Flowchart showing the operation of the device

【図4】同装置の
動作を表わすフローチャート
[Figure 4] Flowchart showing the operation of the device

【図5】同装置の動作を表
わすフローチャート
[Figure 5] Flowchart showing the operation of the device

【図6】図形情報を記憶しているメ
モリを表わす説明図
[Fig. 6] Explanatory diagram showing a memory that stores graphic information

【図7】最小囲み矩形座標情報を記
憶しているメモリを表わす説明図
[Fig. 7] Explanatory diagram showing a memory that stores minimum enclosing rectangle coordinate information

【図8】複数図形の選択枠情報を記憶しているメモリを
表わす説明図
FIG. 8 is an explanatory diagram showing a memory that stores selection frame information for multiple shapes.

【図9】選択図形の認識番号情報を記憶しているメモリ
を表わす説明図
[Fig. 9] An explanatory diagram showing a memory that stores identification number information of selected shapes.

【図10】ポップアップメニューを表わす説明図[Figure 10] Explanatory diagram showing a pop-up menu

【図1
1】従来の図形の選択枠を示す説明図
[Figure 1
1] Explanatory diagram showing the conventional shape selection frame

【図12】本発明
の図形の選択枠を示す説明図
FIG. 12 is an explanatory diagram showing a graphic selection frame of the present invention.

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

1  CPU 2  ROM 3  RAM 4  入出力インターフェース 5  キーボード 6  マウス 7  ハードディスク 8  フロッピーディスク 9  イメージ用RAM 10  表示用RAM 11  CRT 12  イメージコントローラ 3−1  データ領域 3−2  ポップアップメニュー 3−3  図形情報記憶部 3−4  矩形座標記憶部 3−5  選択領域記憶部 3−6  認識番号記憶部 1 CPU 2 ROM 3 RAM 4 Input/output interface 5 Keyboard 6 Mouse 7 Hard disk 8. Floppy disk 9 RAM for image 10 Display RAM 11 CRT 12 Image controller 3-1 Data area 3-2 Pop-up menu 3-3 Graphic information storage section 3-4 Rectangular coordinate storage section 3-5 Selected area storage section 3-6 Identification number storage section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の図形データの各々を画像データとし
て可視表示する表示手段と、前記画像データの一部の領
域を指定する指定手段と、前記指定手段によって指定さ
れた領域内の図形として選択された図形データに視覚的
に特徴を付与する手段とを備えたことを特徴とする情報
処理装置。
1. Display means for visually displaying each of a plurality of graphic data as image data; designation means for designating a part of the image data; and selection as a graphic within the region designated by the designation means. 1. An information processing device comprising: means for visually adding characteristics to graphical data.
JP9199991A 1991-04-23 1991-04-23 Information processor Pending JPH04322377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9199991A JPH04322377A (en) 1991-04-23 1991-04-23 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9199991A JPH04322377A (en) 1991-04-23 1991-04-23 Information processor

Publications (1)

Publication Number Publication Date
JPH04322377A true JPH04322377A (en) 1992-11-12

Family

ID=14042118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9199991A Pending JPH04322377A (en) 1991-04-23 1991-04-23 Information processor

Country Status (1)

Country Link
JP (1) JPH04322377A (en)

Similar Documents

Publication Publication Date Title
JP2642021B2 (en) Display systems
EP0192927A2 (en) Method of editing graphic objects in an interactive draw graphic system using implicit editing actions
EP0194442B1 (en) Method for manipulation of graphic sub-objects in an interactive draw graphic system
JPH0355848B2 (en)
US4703321A (en) Method for editing a graphic object in an interactive draw graphic system
JP3186241B2 (en) Figure editing device
JPS60207968A (en) Graphic alteration apparatus
JPH10105153A (en) Information processor and its enlargement display method, and storage medium
JPH0452871A (en) Character/graphic processor
JPH06175775A (en) Information processor
JPH04322377A (en) Information processor
JPS63118820A (en) Menu display device
JP2751212B2 (en) Document creation device
JP2663967B2 (en) Information storage control method
JPH01303572A (en) Menu producing device
JP3260390B2 (en) Document editing device
JPH08147491A (en) Document editing device
JPH04169926A (en) Graphic processor
JPH05101044A (en) Document processor
JPH05324423A (en) Graphic processor
JPS6385978A (en) Graphic editing device
JPH05101158A (en) Graphic processor
JPH0667869A (en) Menu display method and its device
JPH01255887A (en) Character and graphic editing device
JPH09190331A (en) Graphic editing device and graphic editing method by cursor