JPH04338878A - Graphic pattern editing device - Google Patents

Graphic pattern editing device

Info

Publication number
JPH04338878A
JPH04338878A JP3111833A JP11183391A JPH04338878A JP H04338878 A JPH04338878 A JP H04338878A JP 3111833 A JP3111833 A JP 3111833A JP 11183391 A JP11183391 A JP 11183391A JP H04338878 A JPH04338878 A JP H04338878A
Authority
JP
Japan
Prior art keywords
pattern
graphic pattern
graphic
cursor
color
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.)
Withdrawn
Application number
JP3111833A
Other languages
Japanese (ja)
Inventor
Yasuo Miyazaki
靖夫 宮崎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3111833A priority Critical patent/JPH04338878A/en
Publication of JPH04338878A publication Critical patent/JPH04338878A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily edit a graphic pattern in the device which edits the registered graphic pattern in a HP (word processor) or a DTP(disk top publishing) device. CONSTITUTION:This graphic pattern editing device which edits the registered graphic pattern in the device, which is provided with a function to perform the graphic processing on the display picture, is provided with a graphic pattern generating part 23 which generates the registered graphic pattern, a cursor position discriminating part 24 which displays the cursor position of the graphic pattern on the picture, a cursor position display part 27 which displays the cursor position, a color discriminating part 25 which discriminates the classification of color designated to the editing point of the graphic pattern, and a color classification display part 28 which displays the classification of color designated to the editing point.

Description

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

【0001】0001

【産業上の利用分野】本発明は,WP(ワードプロセッ
サ)やDTP(デスクトップパブリッシング)装置にお
ける登録図形パターン編集装置に関する。DTP装置は
,文章や図面やグラフ等の図形を含む文書を編集するも
のであって,その付属印刷装置は,製本の版を作成する
ための印画紙をプリント出力する機能を備えたものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a registered graphic pattern editing device in a WP (word processor) or a DTP (desktop publishing) device. A DTP device is used to edit documents that include text, drawings, graphs, and other figures, and its attached printing device has the function of printing out photographic paper for creating bookbinding plates. .

【0002】そのため,その付属の印刷装置においては
,多種類の図形パターンが必要であるとともに,画素の
ドット数の多い高精度(美しい)図形パターンであるこ
とが要求される。そして,そのような印刷装置には多種
類の登録図形パターンがユーザに用意されているととも
に,ユーザが登録図形パターン(以後,図形パターンと
略称する)を変更するか,もしくは新たにパターンを編
集して登録することが可能になっている。
[0002] Therefore, the attached printing device is required to have a wide variety of graphic patterns, and is also required to have highly accurate (beautiful) graphic patterns with a large number of pixel dots. In such a printing device, a wide variety of registered graphic patterns are prepared for the user, and the user can either change the registered graphic pattern (hereinafter referred to as graphic pattern) or edit a new pattern. It is now possible to register.

【0003】本発明は,DTP端末装置等の印刷装置に
おける図形パターンを容易に編集できる図形パターン編
集装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a graphic pattern editing device that can easily edit graphic patterns in a printing device such as a DTP terminal device.

【0004】0004

【従来の技術】図8〜10により従来の技術を説明する
。図8は,図形パターンの例である。図(a) はDT
P装置等における印刷装置に登録されたに図形パターン
の応用例である。
2. Description of the Related Art Conventional technology will be explained with reference to FIGS. 8 to 10. FIG. 8 is an example of a graphic pattern. Figure (a) is DT
This is an application example of a graphic pattern registered in a printing device such as a P device.

【0005】DTP装置において,パターンコード=1
,パターンコード=2,パターンコード=4を指定する
とともに,座標データ等を与えることにより文書上で図
示のようなグラフを作成する。図(b) は,登録図形
パターンの例を示す。
[0005] In the DTP device, pattern code = 1
, pattern code = 2, pattern code = 4, and provide coordinate data etc. to create a graph as shown on the document. Figure (b) shows an example of a registered graphic pattern.

【0006】DTP装置もしくは付属の印刷装置には,
各種の図形パターンがパターンコードにより登録されて
いる。そして,図形パターンはユーザにより変更するこ
とが可能であり,新たにパターンを編集して登録するこ
とも可能である。例えば,パターンコード11の図形パ
ターン(長線)を変更する場合,図形パターン編集画面
上でパターンコード11を指定して,図形パターン(長
線)を呼出し,長線の実線部分とスペース部分の長さを
変更してパターンコード11で登録することが可能であ
る。
[0006] The DTP device or attached printing device has
Various graphic patterns are registered using pattern codes. The graphic pattern can be changed by the user, and it is also possible to edit and register a new pattern. For example, to change the figure pattern (long line) with pattern code 11, specify pattern code 11 on the figure pattern editing screen, call up the figure pattern (long line), and change the length of the solid line part and the space part of the long line. It is possible to register using pattern code 11.

【0007】図9は,従来の図形パターン編集方法を示
す。図(a) は,図形パターン編集画面である。図に
おいて、110は図形パターンの編集画面,111は編
集対象の図形パターン,112はカーソル,113はパ
ターンコード表示,114は図形パターンの始点を示す
座標値,115は図形パターンの終点であって,始点1
14からの画素数を表示する。116は図形パターンの
始点114と終点115の中間の点の始点からの画素数
の表示である。117は画面の左端から始点114まで
の画素数,118は図形パターンの始点から中間までの
画素数および,終点115から画面の右端までの画素数
である。
FIG. 9 shows a conventional graphic pattern editing method. Figure (a) shows the graphic pattern editing screen. In the figure, 110 is a figure pattern editing screen, 111 is a figure pattern to be edited, 112 is a cursor, 113 is a pattern code display, 114 is a coordinate value indicating the start point of the figure pattern, 115 is the end point of the figure pattern, Starting point 1
Displays the number of pixels starting from 14. Reference numeral 116 indicates the number of pixels from the starting point of a point between the starting point 114 and the ending point 115 of the graphic pattern. 117 is the number of pixels from the left edge of the screen to the starting point 114, 118 is the number of pixels from the starting point to the middle of the graphic pattern, and the number of pixels from the ending point 115 to the right edge of the screen.

【0008】従来の図形パターンの編集方法は次の通り
である。図形パターン編集モードにおいて,パターンコ
ードを選択すると,図形パターン(長線)が画面に出力
される。そこで,ユーザは,表示された図形パターンに
おけるパターン変更画素の位置にカーソルを合わせる。 そして,色を指定するキーを押し下げることにより図形
パターンが変更される。
A conventional graphic pattern editing method is as follows. When a pattern code is selected in the graphic pattern editing mode, a graphic pattern (long line) is output to the screen. The user then moves the cursor to the position of the pattern change pixel in the displayed graphic pattern. Then, the graphic pattern is changed by pressing down a key specifying a color.

【0009】このように,図形パターンの全体を画面の
一行に表示した場合,画素の単位が細かく,変更する画
素へカーソルを位置合わせすることが困難であるので,
図形パターンを拡大して表示するようにしたのが図(b
) である。図(b) は図形パターンを拡大した図形
パターン編集画面である。
[0009] In this way, when the entire graphic pattern is displayed in one line on the screen, the pixel units are small and it is difficult to position the cursor to the pixel to be changed.
Figure (b) shows an enlarged display of the graphic pattern.
). Figure (b) shows a graphic pattern editing screen in which the graphic pattern is enlarged.

【0010】図において,120は拡大編集画面,12
1は図形パタ−ン,122は拡大された図形パターンの
始点,123は拡大図形パターンにおける始点122か
らの画素数,124は拡大図形パターンの終点であって
,始点からの画素数を示す。125はカーソルである。
In the figure, 120 is an enlarged editing screen;
1 is the graphic pattern, 122 is the starting point of the enlarged graphic pattern, 123 is the number of pixels from the starting point 122 in the enlarged graphic pattern, and 124 is the end point of the enlarged graphic pattern, indicating the number of pixels from the starting point. 125 is a cursor.

【0011】拡大した図形パターン編集画面における図
形パターンの編集方法は,標準図形パターン(図(a)
 )における場合と同様である。図は,図示の位置にカ
ーソル125を合わせ,黒を指定するキーを押し下げた
状態を示す。
The method of editing a figure pattern on the enlarged figure pattern editing screen is to edit the figure pattern using the standard figure pattern (Figure (a)).
). The figure shows a state in which the cursor 125 is placed at the position shown and the key for specifying black is pressed down.

【0012】図10は,DTP端末装置において作成し
た文書の例である。図において,130は作成した文書
,131は作成したグラフ,132は作成した文章の部
分を表わす。DTP端末装置におては,文章と図形の混
在する文書を作成することができる。そして,その付属
の印刷装置では,作成した文書を製本する版を作成する
ための印画紙を印刷する。
FIG. 10 is an example of a document created on a DTP terminal device. In the figure, 130 represents the created document, 131 represents the created graph, and 132 represents the created text portion. DTP terminal devices can create documents containing a mixture of text and graphics. Then, the attached printing device prints photographic paper to create a plate for binding the created document.

【0013】[0013]

【発明が解決しようとする課題】従来の図形パターンの
編集方法は,図形パターン上で画素の位置を一つ一つ数
え,カーソル位置を決め,画素毎に一つずつ色指定を行
う必要があるので,作業が細かく容易でなかった。特に
,DTP端末装置のような高品位の図形パターンでは,
画素数も多く,図形パターンの編集は作業負担の多いも
のであった。
[Problem to be solved by the invention] In the conventional graphic pattern editing method, it is necessary to count the position of each pixel on the graphic pattern, determine the cursor position, and specify a color for each pixel one by one. Therefore, the work was detailed and not easy. In particular, for high-quality graphic patterns such as DTP terminal devices,
The number of pixels was large, and editing the graphic patterns was a heavy workload.

【0014】また,上記図(b) の拡大画面上におい
ては,画素の位置の確認は比較的容易であったが,図形
パターンが拡大されているため,実際に登録される標準
図形パターンがどのようなものであるかがつかみ難いも
のであった。
[0014] Furthermore, although it was relatively easy to confirm the pixel position on the enlarged screen shown in Figure (b) above, since the graphic pattern is enlarged, it is difficult to determine which standard graphic pattern is actually registered. It was difficult to grasp what it was like.

【0015】[0015]

【課題を解決するための手段】本発明は,図形パターン
編集装置において,カーソルを合わせた図形パターンの
画素の番号と指定した色の種類を画面上に表示し,図形
パターンの編集が容易になるようにした。
[Means for Solving the Problems] The present invention, in a figure pattern editing device, displays on the screen the number of the pixel of the figure pattern on which the cursor is placed and the type of specified color, thereby making it easier to edit the figure pattern. I did it like that.

【0016】図1は本発明の基本構成を示す。図(a)
 は編集画面を示し,図(b) は図形パターン編集装
置の構成を示す。図(a) において,1は編集画面,
10は編集中のパターンコード,10’は図形パターン
の始点の表示,11は図形パターンの終点を表す編集位
置の目盛りであって,始点10’からの画素数の表示で
あり,13は編集点を指し示すカーソル表示である。1
4は編集点の色の種類を示す表示である。15は編集点
のカーソル位置(カーソルを合わせた画素の始点からの
画素数)を示す表示である。
FIG. 1 shows the basic configuration of the present invention. Diagram (a)
shows the editing screen, and Figure (b) shows the configuration of the graphic pattern editing device. In figure (a), 1 is the editing screen,
10 is the pattern code being edited, 10' is the display of the starting point of the graphic pattern, 11 is the editing position scale representing the end point of the graphic pattern, which is the display of the number of pixels from the starting point 10', and 13 is the editing point. This is a cursor display pointing to. 1
4 is a display indicating the type of color of the edit point. 15 is a display showing the cursor position of the edit point (the number of pixels from the starting point of the pixel on which the cursor is placed).

【0017】本発明では,例えば,編集画面モードにお
いて,パターンコード11を指定してキー入力すると,
パターンコード11で登録された図形パターンが表示さ
れる。そして,図形パターンにカーソルを合わせて編集
点のカーソル位置の表示15がなされる。また,カーソ
ルを合わせた画素の位置が図における番号15(位置=
514)のように画面表示される。カーソルで指定され
た編集点の色の表示14がなされる。
[0017] In the present invention, for example, when pattern code 11 is specified and keyed in in the editing screen mode,
The graphic pattern registered with pattern code 11 is displayed. Then, when the cursor is placed on the graphic pattern, the cursor position of the edit point is displayed 15. Also, the position of the pixel on which the cursor is placed is number 15 (position =
514) is displayed on the screen. The color of the edit point designated by the cursor is displayed 14.

【0018】図(b) は,本発明の図形パターン編集
装置の基本構成を示す。図において,16は図形パター
ン格納部であって,図形パターンを格納するものである
。17は入力部であって,パターンコードを入力するも
のである。18は制御部であって,図形パターンの作成
部を含み装置全体の制御をするものである。19は表示
部であって,画面上に図形パターンを表示する図形パタ
ーン表示部26,カーソル位置を表示するカーソル位置
表示部27,色種別を表示する色種別表示部28よりな
るものである。
Figure (b) shows the basic configuration of the graphic pattern editing device of the present invention. In the figure, 16 is a graphic pattern storage unit that stores graphic patterns. Reference numeral 17 is an input section for inputting a pattern code. Reference numeral 18 denotes a control section, which includes a graphic pattern creation section and controls the entire apparatus. Reference numeral 19 denotes a display section, which includes a graphic pattern display section 26 for displaying graphic patterns on the screen, a cursor position display section 27 for displaying the cursor position, and a color type display section 28 for displaying the color type.

【0019】20はパターンコード入力部であって,パ
ターンコードをキー入力するものである。21はカーソ
ル位置指定部であって,キーボード等におけるカーソル
移動キー等でカーソル位置を入力するものである。22
は色指定部であって,キーボートにおける色入力を指定
したキーにより色指定入力をするものである。
Reference numeral 20 denotes a pattern code input section for inputting a pattern code using keys. Reference numeral 21 denotes a cursor position specifying section, which is used to input the cursor position using a cursor movement key on a keyboard or the like. 22
is a color designation section, which is used to input a color designation using a key designated for color input on the keyboard.

【0020】23は図形パターン作成部であって,カー
ソルで指定された画素に指定された色のデータを書き込
み,図形パターンを作成するものである。24はカーソ
ル位置判定部であって,画面上でカーソル位置を判定す
るものである。25は色判定部であって,カーソルを合
わせた画素に指定された色を判定するものである。
Reference numeral 23 denotes a graphic pattern creation section which writes data of a designated color to the pixel designated by the cursor to create a graphic pattern. Reference numeral 24 denotes a cursor position determination unit, which determines the cursor position on the screen. Reference numeral 25 denotes a color determination unit that determines the color designated by the pixel on which the cursor is placed.

【0021】26は図形パターン表示部であって,図形
パターン作成部23で作成されたパターンを画面上に表
示するものである。27はカーソル位置表示部であって
,カーソル位置(例えば,始点からカーソルを合わせた
画素までの画素数等)の表示をするものである。28は
色種別表示部であって,カーソルを合わせた画素に指定
された色の種別を表示するものである。
Reference numeral 26 denotes a graphic pattern display section for displaying the pattern created by the graphic pattern creating section 23 on the screen. A cursor position display section 27 displays the cursor position (for example, the number of pixels from the starting point to the pixel on which the cursor is placed). Reference numeral 28 denotes a color type display section, which displays the type of color specified for the pixel on which the cursor is placed.

【0022】[0022]

【作用】第1図 (b)の構成の動作を説明する。パタ
ーンコード入力部20より編集するパターンコードを入
力する。その結果,入力されたパターンコードに対応す
る図形パターンが図形パターン格納部16より取り出さ
れ,画面表示される。既に登録済のパターンがあれば登
録されているパターンが画面表示され,未登録のパター
ンコードであれば,例えば,白線のパターンが表示され
る。
[Operation] The operation of the configuration shown in FIG. 1(b) will be explained. A pattern code to be edited is input from the pattern code input section 20. As a result, a graphic pattern corresponding to the input pattern code is retrieved from the graphic pattern storage section 16 and displayed on the screen. If there is a pattern that has already been registered, the registered pattern will be displayed on the screen, and if the pattern code is unregistered, for example, a white line pattern will be displayed.

【0023】そして,カーソル位置指定部21より,表
示された図形パターンにおけるパターンを変更しようと
する画素にカーソルを合わせる。そして,カーソル位置
判定部24はカーソルの位置を読み取り,カーソル位置
表示部27はカーソル位置を画面表示する。色指定部2
2より,カーソルを合わせた画素の色指定入力をする。 色判定部25は指定された色の種別を読み取り,色種別
表示部28は指定された色の種別を画面表示する。
Then, the cursor position specifying unit 21 moves the cursor to a pixel in the displayed graphic pattern whose pattern is to be changed. Then, the cursor position determination section 24 reads the cursor position, and the cursor position display section 27 displays the cursor position on the screen. Color specification section 2
From step 2, input the color specification for the pixel that the cursor is placed on. The color determination unit 25 reads the specified color type, and the color type display unit 28 displays the specified color type on the screen.

【0024】図形パターン作成部23は,入力されたパ
ターンコードについて,カーソルを合わせた画素に対し
て入力された色指定に基づいて図形パターンのデータを
作成し,図形パターンの編集が終了したら,図形パター
ンのデータを図形パターン格納部16に格納する。
The figure pattern creation unit 23 creates figure pattern data for the input pattern code based on the input color specification for the pixel on which the cursor is placed, and when the figure pattern editing is completed, the figure pattern data is The pattern data is stored in the graphic pattern storage section 16.

【0025】本発明によれば,カーソル位置の画面表示
を参照しながら,カーソルを移動し,画素を合わせるこ
とができるので編集点を容易に選択できる。また,編集
点における画素の色も画面表示されるので,異なる色の
境界付近における正色指定も正確に行うことができるよ
うになる。
According to the present invention, the editing point can be easily selected because the cursor can be moved and pixels can be aligned while referring to the screen display of the cursor position. Furthermore, since the color of the pixel at the editing point is also displayed on the screen, it becomes possible to accurately specify the correct color near the boundary between different colors.

【0026】[0026]

【実施例】図2〜7により本発明の実施例を説明する。 図2は,本発明の実施例構成を示す。図はDTP装置に
付属した印刷装置を示す。
[Embodiment] An embodiment of the present invention will be explained with reference to FIGS. 2 to 7. FIG. 2 shows the configuration of an embodiment of the present invention. The figure shows a printing device attached to a DTP device.

【0027】図において,40は図形パターン編集部,
41はDASDであって,図形パターンを格納するもの
である。42は制御部であって,図形パターン作成部を
含み,図形パターンデータを作成するとともに,DTP
装置により作成された文書を印刷するための印刷制御,
DASD41の入出力制御等を行うものである。44は
表示制御部であって,制御部42の指示に従って,ディ
スプレイに文字や図形を表示する。45はディスプレイ
,46はキーボードであって,入力されたキーのコード
を制御部42に与えるものであり,パターンコード入力
,カーソル移動,色指定等の入力を行うものである。 47は図形パターン作成部,48はカーソル位置判定部
,49は色判定部である。
In the figure, 40 is a figure pattern editing section;
41 is a DASD that stores graphic patterns. 42 is a control unit, which includes a graphic pattern creation unit, creates graphic pattern data, and also performs DTP processing.
print control for printing documents created by the device;
It performs input/output control of the DASD 41, etc. 44 is a display control section, which displays characters and figures on the display according to instructions from the control section 42. Reference numeral 45 denotes a display, and 46 a keyboard, which provides inputted key codes to the control unit 42 and is used to input pattern codes, cursor movement, color designation, and the like. Reference numeral 47 is a graphic pattern creation section, 48 is a cursor position determination section, and 49 is a color determination section.

【0028】50はRIP(ラスタイメージプロセッサ
)であって,制御部42において作成された文書情報を
画像メモリに描画するものである。51は画像メモリで
あって,文書データを格納するもの,52はプリンタ制
御部,53はプリンタ装置であって,印画紙をプリント
するものである。
Reference numeral 50 is a RIP (raster image processor) that draws document information created in the control section 42 into an image memory. Reference numeral 51 is an image memory for storing document data, 52 is a printer control unit, and 53 is a printer device for printing on photographic paper.

【0029】54は,フロッピーデッキであって,DT
P装置で作成された文書情報を格納したフロッピーディ
スクのデータを取り出すもの,56はフロッピーディス
クであって,DTP装置で作成された文書情報を格納す
るものである。55はDTP装置であって,文章,グラ
フ,図形等の文書を作成するものである。文書における
文書情報は,具体的には各文字の描画位置,書体(明朝
体,ゴシック体等),文字サイズ(9ポイント,12ポ
イント等),文字コード(文字「あ」,「ア」,「A」
等の文字コード),図形描画開始位置,終了位置,図形
パターンコード等により構成される。
54 is a floppy deck, DT
56 is a floppy disk for retrieving data from a floppy disk storing document information created by the P device, and is used to store document information created by the DTP device. 55 is a DTP device that creates documents such as sentences, graphs, and figures. Specifically, the document information in a document includes the drawing position of each character, font (Mincho, Gothic, etc.), font size (9 point, 12 point, etc.), character code (characters "A", "A", "A"
etc.), figure drawing start position, end position, figure pattern code, etc.

【0030】図2の構成の動作は後述する。図3は,本
発明における図形パターン編集方法実施例を示す図であ
る。図(a) は, モード選択画面を示す。本印刷装
置は,電源を投入するとまず最初にこの画面を表示する
The operation of the configuration shown in FIG. 2 will be described later. FIG. 3 is a diagram showing an embodiment of the graphic pattern editing method according to the present invention. Figure (a) shows the mode selection screen. This printing device displays this screen first when the power is turned on.

【0031】「印刷」もしくは「図形パターン編集」を
カーソルにより指定し,実行キーの押し下げにより機能
を選択する。ここで「図形パターン編集」が選択される
と,図(b) を表示する図(b) は,パターンコー
ド入力画面である。編集する図形パターンコードを入力
する。入力されると,図(c)を表示する。
[0031] ``Print'' or ``Graphic Pattern Edit'' is designated with the cursor, and the function is selected by pressing the execution key. If ``Edit figure pattern'' is selected here, the screen shown in FIG. 3(b) is the pattern code input screen. Enter the figure pattern code to edit. When input, figure (c) is displayed.

【0032】図(c)図形パターン編集中におけるキー
の機能を示す図である。キーBは,編集点の色を黒にす
る。キーWは,編集点の色を白にする。キーEは,編集
結果を保存して,終了する。
Figure (c) is a diagram showing the functions of the keys during graphic pattern editing. Key B sets the edit point color to black. Key W sets the edit point color to white. Key E saves the editing result and exits.

【0033】キー→は,編集点を右に移動する(カーソ
ルが右に動き,位置の表示の値が増加する)。キー←は
,編集点を左に移動する(カーソルが左に動き,位置の
表示の値が減少する)。
The key → moves the editing point to the right (the cursor moves to the right and the value of the position display increases). The ← key moves the editing point to the left (the cursor moves to the left and the position display value decreases).

【0034】図(4) は,本発明の図形パターン編集
方法実施例(2)を示す。図において (1)〜(4)
 は,パターンコードを入力したあとの図形パターン編
集画面である。図(1) は,カーソル位置を図形パタ
ーンの始点から数えて601番目の画素に合わせ,色指
定入力を黒にした状態を示す。カーソル位置の表示は6
01,色表示は黒と表示される。
FIG. 4 shows an embodiment (2) of the graphic pattern editing method of the present invention. In the figure (1) to (4)
is the figure pattern editing screen after entering the pattern code. Figure (1) shows a state in which the cursor is positioned at the 601st pixel counting from the starting point of the graphic pattern, and the color designation input is set to black. The cursor position is displayed at 6
01, the color display is displayed as black.

【0035】図(2)は,カーソル位置を右に1つずら
して602とし,602番目の画素に色として白を指定
した状態を示す。カーソル位置の表示は602,色表示
は白となる。図(3) は,カーソル位置602で,黒
を色指定入力した状態を示す。
FIG. 2 shows a state in which the cursor position is shifted by one position to the right to 602, and white is designated as the color for the 602nd pixel. The cursor position is displayed as 602, and the color is displayed as white. Figure (3) shows a state in which black is input as a color designation at the cursor position 602.

【0036】図形パターン上の602番目の画素は黒が
表示され,色種別の表示も黒となる。  以上のように
,カーソルを→キー,←キーにより左右に移動して編集
点に合わせ,色指定して図形パターンを編集する。この
とき,カーソル位置の表示はカーソルを右に移動すると
値が増加し,左に移動すると値が減少する。その場合,
すでに,登録されているパターンを変更する場合には,
パターンを変更する編集点にカーソルを合わせBキーも
しくはWキーにより色指定を行い図形パターンを変更す
る。新たに,バターンを作成する場合には,全ての画素
について,1画素ずつカーソルを合わせ色指定を行い,
図形パターンを作成する。
The 602nd pixel on the graphic pattern is displayed in black, and the color type is also displayed in black. As described above, move the cursor left and right using the → key and ← key to match the editing point, specify the color, and edit the graphic pattern. At this time, when the cursor position is displayed, the value increases when the cursor is moved to the right, and the value decreases when the cursor is moved to the left. In that case,
If you want to change a pattern that has already been registered,
Move the cursor to the edit point where the pattern is to be changed and specify a color using the B or W key to change the graphic pattern. When creating a new pattern, move the cursor one pixel at a time for all pixels and specify the color.
Create a shape pattern.

【0037】図(4) は編集が終了した画面を示す。 画素の番号900から1000までを白に変更し,画素
番号1000にカーソルを合わせ,白を色指定した状態
を示す。編集が終了したら,Eキーを押し下げる。その
結果,終了処理がなされ,DASDに編集された図形パ
ターンが格納される。
FIG. (4) shows the screen after editing has been completed. A state in which pixel numbers 900 to 1000 are changed to white, the cursor is placed on pixel number 1000, and white is specified as the color is shown. When you have finished editing, press the E key. As a result, termination processing is performed and the edited graphic pattern is stored in the DASD.

【0038】図3の構成の動作を説明する(必要に応じ
て,図2を参照する)。ユーザが図3 (a)のモード
選択画面において,編集パターンを選択すると,制御部
42は表示制御部44に対して,図3 (b)のパター
ンコード入力画面の表示を指示する。そこで,パターン
コード入力画面が表示され,ユーザがパターンコードを
入力すると,制御部42は,DASD41より対応する
図形パターンのデータを読み込む。そして,図形パター
ンデータの内容に従って,表示制御部44は,図4(1
) の画面表示を行う。
The operation of the configuration shown in FIG. 3 will be explained (see FIG. 2 as necessary). When the user selects an editing pattern on the mode selection screen shown in FIG. 3(a), the control section 42 instructs the display control section 44 to display the pattern code input screen shown in FIG. 3(b). Then, a pattern code input screen is displayed, and when the user inputs a pattern code, the control section 42 reads data of the corresponding graphic pattern from the DASD 41. Then, according to the content of the graphic pattern data, the display control unit 44 controls the
) is displayed on the screen.

【0039】そして,カーソル位置判定部48は,キー
ボード46からのキー入力により,位置指定されたカー
ソルの位置を判定し,表示制御部44にカーソル位置の
値に表示をさせる。また,色判定部49は入力された色
の判定を行い,表示制御部44に対して,入力された色
の種類を表示させる。
The cursor position determination unit 48 determines the position of the designated cursor by key input from the keyboard 46, and causes the display control unit 44 to display the value of the cursor position. Further, the color determination unit 49 determines the input color and causes the display control unit 44 to display the type of the input color.

【0040】また,操作者がEキーを入力すると,制御
部42は,編集終了を判断し,編集結果をDASD41
に格納する。DASD41は,図形パターンの更新であ
れば,登録図形パターンを編集後のパターンに置き換え
,新たな作成であれば,新たなに作成した図形パターン
を登録する。
Furthermore, when the operator inputs the E key, the control unit 42 determines that editing has ended, and stores the editing results on the DASD 41.
Store in. If the graphic pattern is updated, the DASD 41 replaces the registered graphic pattern with the edited pattern; if it is a new pattern, the DASD 41 registers the newly created graphic pattern.

【0041】本発明における図形パターン編集装置を備
える印刷装置は,DTP装置により作成された文書を印
刷するものである図2の構成における印刷処理の動作を
説明する。図3 (a)のモード選択画面において,ユ
ーザが「印刷」を選択すると,制御部42はフロッピー
デッキ54に指示してフロッピー56よりDTP装置5
5において作成された文書情報を読み込む。
The printing apparatus equipped with the graphic pattern editing apparatus according to the present invention prints a document created by a DTP apparatus.The operation of printing processing in the configuration shown in FIG. 2 will be explained. When the user selects "Print" on the mode selection screen shown in FIG.
The document information created in step 5 is read.

【0042】制御部42は,参照している文書情報が文
章の場合には,文書情報の書体,文字サイズ,文字コー
ドに従って,対応する文字パターンデータをDASD4
1より読み出して,RIP50に渡す。RIP50は,
描画位置データの示す画像メモリ51の位置に文字パタ
ーンデータを描画する。
[0042] When the referenced document information is a text, the control unit 42 stores the corresponding character pattern data on the DASD 4 according to the font, character size, and character code of the document information.
1 and passes it to the RIP 50. RIP50 is
Character pattern data is drawn at the position in the image memory 51 indicated by the drawing position data.

【0043】また,制御部42は,参照している文章情
報が図形情報の場合には,対応する図形パターンデータ
をDASD41より読み出し,RIP50に渡す。次に
文書情報内の描画開始位置データと終了位置データをR
IP50に渡す。RIP50は,画像メモリ51に格納
された開始位置データと終了位置データの示す位置に基
づいて,図形表示アルゴリズムに従って図形パターンを
画像メモリ51に描画する。
Further, when the referenced text information is graphic information, the control unit 42 reads the corresponding graphic pattern data from the DASD 41 and passes it to the RIP 50. Next, R the drawing start position data and end position data in the document information.
Pass to IP50. The RIP 50 draws a graphic pattern in the image memory 51 according to a graphic display algorithm based on the positions indicated by the start position data and end position data stored in the image memory 51.

【0044】以上の文章情報の処理と図形情報の処理を
繰り返し,DTP装置により作成された文書を全て画像
メモリ51に描画すると,制御部42は,プリンタ制御
部52に対して,画像メモリ51のデータをプリンタ装
置53の印刷指示をする。プリンタ制御部52は,印刷
指示がなされると,プリンタ装置53を起動し,画像メ
モリ51のデータをプリンタ装置53に転送し,文書を
印画紙に印刷する。
After repeating the text information processing and graphic information processing described above and drawing all the documents created by the DTP device in the image memory 51, the control unit 42 instructs the printer control unit 52 to write the information in the image memory 51. Instructs the printer device 53 to print the data. When a print instruction is given, the printer control unit 52 starts up the printer device 53, transfers the data in the image memory 51 to the printer device 53, and prints the document on photographic paper.

【0045】図5〜6は,本発明のカーソル位置判定部
と色指定部のフロー実施例を示す。図5は,フロー全体
を示す。図示の番号に従って,フローを説明する。 S1  →キーが押し下げられたか判定する。→キーで
あればS2に進み,→キーでなければS3に進む。
FIGS. 5 and 6 show flow embodiments of the cursor position determining section and color specifying section of the present invention. Figure 5 shows the entire flow. The flow will be explained according to the numbers shown. S1 → Determine whether a key has been pressed down. If it is a → key, the process advances to S2; if it is not a → key, the process advances to S3.

【0046】S2  →キーが押し下げられた場合には
,カーソルを移動処理(右)を行う。(カーソル移動処
理の詳細フローは後述する(図7))。 S3  ←キーが押し下げられたかどうか判定する。←
キーが押し下げられた場合には,S4に進む。←キーが
押し下げられていない場合には,S5に進む。
[0046] S2 → When the key is pressed down, a cursor movement process (to the right) is performed. (The detailed flow of the cursor movement process will be described later (FIG. 7)). S3 Determine whether the ← key has been pressed down. ←
If the key is pressed down, the process advances to S4. If the ← key is not pressed down, the process advances to S5.

【0047】S4  ←キーが押し下げられていれば,
カーソルの移動処理(左)を行う。 S5  Wキーが押し下げられたかどうか判定する。押
し下げられていればS6に進む。押し下げられていなけ
れば,S7に進む。 S6  Wキーが押し下げられていれば,白表示処理を
行う(白表示処理の詳細は後述する(図7))。
[0047] S4 If the ← key is pressed down,
Performs cursor movement processing (left). S5 Determine whether the W key has been pressed down. If it is pressed down, proceed to S6. If it is not pressed down, the process advances to S7. S6 If the W key is pressed down, white display processing is performed (details of the white display processing will be described later (FIG. 7)).

【0048】S7  Bキーが押し下げられたかどうか
判定する。Bキーが押しさげられれば ,S8に進む。押し下げられていなければS9に進む。 S8  Bキーが押し下げられれば,黒表示処理を行う
。 S9  Eキーが押されたかどうか判定する。Eキーが
押されれば,S10に進む。押されなければ,S1に戻
り,S1以降の処理を繰り返す。
S7: It is determined whether the B key has been pressed down. If the B key is pressed down, the process advances to S8. If it is not pressed down, the process advances to S9. S8 If the B key is pressed down, black display processing is performed. S9 Determine whether the E key has been pressed. If the E key is pressed, the process advances to S10. If it is not pressed, the process returns to S1 and the processes from S1 onwards are repeated.

【0049】S10  Eキーが押されれば,図形パタ
ーン編集の終了処理を行う。図6は,カーソル移動処理
(右)のフローを示す。図示の番号に従って説明する。 S1,S2  →キーが押されれば,カーソルの位置を
算出するカーソルの位置カンウタを1インクリメントす
る。
S10: If the E key is pressed, processing for terminating graphic pattern editing is performed. FIG. 6 shows the flow of cursor movement processing (right). The explanation will be given according to the numbers shown. When the S1, S2 → key is pressed, a cursor position counter for calculating the cursor position is incremented by one.

【0050】S3  カーソルの位置を示す位置カウン
タの値を表示する。 S4  図形パターンデータ中のカーソルの位置カンウ
タの値に対応する色データを読み取る。 S5  データは1か判定する。1であれば,S7に進
む。1でなければ,S6に進む。
S3 Display the value of the position counter indicating the position of the cursor. S4 Read the color data corresponding to the value of the cursor position counter in the graphic pattern data. S5 Determine whether the data is 1. If it is 1, proceed to S7. If it is not 1, proceed to S6.

【0051】S6  図形パターン中のカーソルの位置
カウンタの値に対応する値が1でなければ,色=白を表
示する。 S7  図形パターン中のカーソルの位置カウンタの値
に対応する値が1であれば,色=黒を表示する。
S6: If the value corresponding to the value of the cursor position counter in the graphic pattern is not 1, the color=white is displayed. S7: If the value corresponding to the value of the cursor position counter in the graphic pattern is 1, the color=black is displayed.

【0052】S6もしくはS7の処理が終了すれば,次
の処理ステップ(←キーの押し下げの有無)に進む。カ
ーソル移動処理(左)は,以上のカーソル移動処理(右
)のフローに準じてなされ,←キーの押し下げがあった
場合,カーソルの位置を算出するカーソルの位置カンウ
タを1減少させる点で異なるのみである。
[0052] When the process of S6 or S7 is completed, the process proceeds to the next process step (determining whether or not the ← key is pressed down). The cursor movement process (left) is performed according to the flow of the cursor movement process (right) above, and the only difference is that when the ← key is pressed, the cursor position counter that calculates the cursor position is decremented by 1. It is.

【0053】図7は白表示処理と終了処理のフローを示
す。図 (a)は白表示処理のフローである。図示の番
号の従って説明する。 S1,S2  Wキーが押されれば,カーソルの位置カ
ンウタの値に対応する図形パターン中のデータを0にす
る。
FIG. 7 shows the flow of white display processing and termination processing. Figure (a) is a flowchart of white display processing. The numbers shown in the figures will be explained accordingly. S1, S2 When the W key is pressed, the data in the graphic pattern corresponding to the value of the cursor position counter is set to 0.

【0054】S3  ディスプレイ上のカーソルが指す
位置の画素を白にする。 S4  ディスプレイにおける色=白を表示する。 以降の処理を続ける。黒表示は上記の白表示処理に準じ
てなされ,Bキーが押されれば,カーソルの位置カンウ
タの値に対応する図形パターン中のデータを1にすると
ともに,ディスプレイ上のカーソルが指す位置の画素を
黒にする。そして,ディスプレイにおける色=黒を表示
する。
S3: Make the pixel at the position pointed by the cursor on the display white. S4 Display color=white on the display. Continue the subsequent processing. Black display is performed in accordance with the white display process described above, and when the B key is pressed, the data in the graphic pattern corresponding to the value of the cursor position counter is set to 1, and the pixel at the position pointed to by the cursor on the display is to black. Then, the color on the display is displayed as black.

【0055】図 (b)は終了処理のフローを示す。E
キーが押されれば,編集済の図形パターンデータをDA
SDに格納する。
Figure (b) shows the flow of the termination process. E
When the key is pressed, the edited figure pattern data is DA
Store in SD.

【0056】[0056]

【発明の効果】本発明によれば,図形パターンの編集に
おいて,図形パターンの全体が表示されるため編集中の
図形パターンが判りやすく,しかも,編集点の座標,色
が画面上に  数字,文字等で別途表示されるので,作
業がし易い。そのため,ドット数の多い美  しい図形
パターンを容易に作成できるようになる。
[Effects of the Invention] According to the present invention, when editing a graphic pattern, the entire graphic pattern is displayed, making it easy to understand the graphic pattern being edited.Moreover, the coordinates and colors of editing points are displayed on the screen. etc. are displayed separately, making it easier to work with. This makes it easy to create beautiful graphic patterns with a large number of dots.

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

【図1】本発明の基本構成を示す図である。FIG. 1 is a diagram showing the basic configuration of the present invention.

【図2】本発明の実施例を構成を示す図である。FIG. 2 is a diagram showing the configuration of an embodiment of the present invention.

【図3】本発明における図形パターン編集方法実施例(
1)を示す図である。
FIG. 3: Example of the graphic pattern editing method according to the present invention (
1).

【図4】本発明における図形パターン編集方法実施例(
2)を示す図である。
FIG. 4: Example of the graphic pattern editing method according to the present invention (
2).

【図5】図形パターン編集方法のフロー実施例である。FIG. 5 is a flow example of a graphic pattern editing method.

【図6】カーソル移動処理(右)のフローを示す図であ
る。
FIG. 6 is a diagram showing the flow of cursor movement processing (right).

【図7】白表示処理と終了処理のフローを示す図である
FIG. 7 is a diagram showing a flow of white display processing and termination processing.

【図8】図形パターンの例を示す図である。FIG. 8 is a diagram showing an example of a graphic pattern.

【図9】従来の図形パタ−ン編集方法を示す図である。FIG. 9 is a diagram showing a conventional graphic pattern editing method.

【図10】本発明を応用して作成された文書の例を示す
図である。
FIG. 10 is a diagram showing an example of a document created by applying the present invention.

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

1  :編集画面 10:編集中のパターンコード 10’:始点 11:編集位置の目盛り 12:編集パターン 13:編集点を指すカーソル 14:編集点の色の表示 15:編集点のカーソル位置の表示 17:入力部 18:制御部 19:表示部 20:パターンコード入力部 21:カーソル位置指定部 22:色指定部 23:図形パターン作成部 24:カーソル位置判定部 25:色判定部 26:図形パターン表示部 27:カーソル位置表示部 28:色種別表示部 1: Edit screen 10: Pattern code being edited 10': Starting point 11: Editing position scale 12: Edit pattern 13: Cursor pointing to edit point 14: Display of edit point color 15: Displaying the cursor position of the edit point 17: Input section 18: Control unit 19: Display section 20: Pattern code input section 21: Cursor position specification section 22: Color specification section 23: Figure pattern creation section 24: Cursor position determination section 25: Color determination section 26: Graphic pattern display area 27: Cursor position display section 28: Color type display section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  ディスプレイ画面上で図形処理をする
機能を備えた装置における登録図形パターンを編集する
図形パターン編集装置において,登録図形パターンを作
成する図形パターン作成部(23)と,図形パターンに
おけるカーソル位置を画面上に表示するカーソル位置判
定部(24)と,カーソル位置を表示するカーソル位置
表示部(27)と,図形パターンにおける編集点に対し
て指定された色の種別を判定する色判定部(25)と,
編集点に対して指定された色の種別を表示する色種別表
示部(28)とを備えたことを特徴とする図形パターン
編集装置。
Claim 1: A graphic pattern editing device for editing a registered graphic pattern in a device equipped with a function of graphic processing on a display screen, which includes a graphic pattern creation unit (23) for creating a registered graphic pattern, and a cursor in the graphic pattern. A cursor position determination unit (24) that displays the position on the screen, a cursor position display unit (27) that displays the cursor position, and a color determination unit that determines the type of color specified for the edit point in the figure pattern. (25) and
A graphic pattern editing device comprising: a color type display section (28) that displays a color type specified for an editing point.
【請求項2】  請求項1において,図形パターン編集
装置は,一つの文書に文書と図形を編集する機能を備え
たDTP端末装置に付属する印刷装置に備えられたもの
であることを特徴とする図形パターン編集装置。
[Claim 2] In claim 1, the graphic pattern editing device is provided in a printing device attached to a DTP terminal device that has a function of editing a document and a graphic in one document. Graphic pattern editing device.
JP3111833A 1991-05-16 1991-05-16 Graphic pattern editing device Withdrawn JPH04338878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3111833A JPH04338878A (en) 1991-05-16 1991-05-16 Graphic pattern editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3111833A JPH04338878A (en) 1991-05-16 1991-05-16 Graphic pattern editing device

Publications (1)

Publication Number Publication Date
JPH04338878A true JPH04338878A (en) 1992-11-26

Family

ID=14571314

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3111833A Withdrawn JPH04338878A (en) 1991-05-16 1991-05-16 Graphic pattern editing device

Country Status (1)

Country Link
JP (1) JPH04338878A (en)

Similar Documents

Publication Publication Date Title
US5361333A (en) System and method for generating self-overlapping calligraphic images
JPS63262749A (en) Document editing device
JPH08160934A (en) Character information processor
JP3453417B2 (en) Document processing apparatus and document processing method
JPH04338878A (en) Graphic pattern editing device
JPH08286881A (en) Document generation device having image presentation function and image presentation method
JPH03156668A (en) Document preparing device
JPH09167248A (en) Plotting device
JP2910921B2 (en) Printing control device
JP2815256B2 (en) Printing position setting device
JPH01281963A (en) Document processing device
JPH0764998A (en) Document preparing deivice and character locus input method
JP2831318B2 (en) Editing device
JP3754714B2 (en) Document processing method and apparatus
JPH02136268A (en) Data processing apparatus
JP3143503B2 (en) Image processing method and apparatus
JPS63165852A (en) Magazine editing system
JP3404770B2 (en) Document processing device
JPH01217670A (en) Document preparing device
JPH03153298A (en) Document output device
JPH04352066A (en) Document processor
JPH01217395A (en) Word processor
JPH10207878A (en) Document editing and printing device
JPH05143053A (en) Word processor provided with enlarging and smoothing function
JPH08161310A (en) Word processor

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980806