JPS62105196A - Character processor - Google Patents

Character processor

Info

Publication number
JPS62105196A
JPS62105196A JP60245474A JP24547485A JPS62105196A JP S62105196 A JPS62105196 A JP S62105196A JP 60245474 A JP60245474 A JP 60245474A JP 24547485 A JP24547485 A JP 24547485A JP S62105196 A JPS62105196 A JP S62105196A
Authority
JP
Japan
Prior art keywords
pattern
character
external character
filling
created
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP60245474A
Other languages
Japanese (ja)
Other versions
JPH0812549B2 (en
Inventor
徹 中島
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60245474A priority Critical patent/JPH0812549B2/en
Publication of JPS62105196A publication Critical patent/JPS62105196A/en
Publication of JPH0812549B2 publication Critical patent/JPH0812549B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文字処理装置に関し、特に特定のパターンで線
画やグラフといった図形の一部を塗りつぶすことのでき
る文字処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character processing device, and more particularly to a character processing device that can fill in a part of a figure such as a line drawing or a graph with a specific pattern.

[従来の技術] 従来、この種の装置では、第2図に示すように線画の一
部を塗りつぶすパターンがいくつかキャラクタジェネレ
ータまたはプログラムのような固定的な記憶装置に格納
されていて、利用者はその塗りのパターンの中から使用
したいパターンを選択して使用していた。
[Prior Art] Conventionally, in this type of device, as shown in FIG. 2, several patterns for filling in a part of a line drawing are stored in a fixed storage device such as a character generator or a program, and the user selected the pattern he wanted to use from among the filling patterns.

第2図(A)は図形の作成中に塗りの位置の指定を行な
うことを示し、同図(C)は同図(B)で指定した部分
が塗りのパターンで塗られたことを示す。
FIG. 2(A) shows that the position of filling is specified during the creation of a figure, and FIG. 2(C) shows that the portion specified in FIG. 2(B) has been painted with the filling pattern.

このような従来の装置では、作成した図形の一部を塗り
つぶすパターンの種類がシステム毎に固定されたもので
あり、一定パターンでの塗りつぶししかできないという
制約があった。また、塗りのパターンを登録できるもの
であっても、その登録には繁雑な手順を必要としていた
In such conventional devices, the type of pattern used to fill in a part of a created figure is fixed for each system, and there is a restriction that only a fixed pattern can be used to fill in the figure. Further, even if a coloring pattern can be registered, the registration requires a complicated procedure.

[発明が解決しようとする問題点] 本発明の目的は、上記の欠点を鑑みてなされたもので、
外字の一部を網掛は出力用のフォントとして使用する一
方、任意の図形の塗りつぶしのパターンとしても使用す
ることにより、外字フォントの追加や変更という@中な
操作で任意の塗りつぶしパターンを作成し、使用するこ
とができる文字処理装置を提供することにある。
[Problems to be Solved by the Invention] The purpose of the present invention has been made in view of the above-mentioned drawbacks.
By using part of the shaded characters as a font for output, and also as a fill pattern for any shape, you can create any fill pattern with the simple operation of adding or changing the custom character font. An object of the present invention is to provide a character processing device that can be used.

[実施例〕 以下に、図面を参照して本発明の詳細な説明する。[Example〕 The present invention will be described in detail below with reference to the drawings.

第1図は本発明を概念的に説明する図である。FIG. 1 is a diagram conceptually explaining the present invention.

1−1の外字パターン作成手段で作成した塗りに使用す
る網掛はパターンは、1−2の外字記憶手段に、1−3
の外字コード入力f段で入力された外字コードと共に記
憶される。1−5の外字作成手段で作成された図形は、
l−6の図形記憶手段に記憶される0図形作成中に1−
3の外字コード入力を段から入力された塗りパターンの
外字コードは図形データ内に取り込まれ、l−6の図形
記憶手段の中に記憶される0図形を表示または印刷する
場合は、1−6の図形記憶手段の中から該当する図形デ
ータを呼び出し、その中にある塗りの外字コードをもと
に1−4の外字指定手段を通じて1−2の外字記憶f段
の中からフォントを読み出して、1−7の図形出力f段
の中で図形の塗りを実行して出力する。
The shading pattern used for filling created with the external character pattern creation means in 1-1 is stored in the external character storage means in 1-2 in 1-3.
It is stored together with the custom character code input at stage f of the custom character code input. The figures created using the external character creation method in 1-5 are as follows:
During the creation of the 0 figure stored in the figure storage means of l-6, 1-
The external character code of the paint pattern input from the external character code input stage 3 is incorporated into the figure data, and when displaying or printing the 0 figure stored in the figure storage means 1-6, Recall the corresponding figure data from the figure storage means, read out the font from the f-stage of the external character storage 1-2 through the external character designation means 1-4 based on the external character code of the fill therein, Figures are painted and output in the figure output stage f of 1-7.

第1図で示す本発明をさらに説明する。The invention shown in FIG. 1 will be further explained.

第3図は本発明の一実施例の構成を示す。FIG. 3 shows the configuration of an embodiment of the present invention.

第3図の構成において、CPUはマイクロプロセッサ形
態の中央処理装置であり、文字処理のための演算、論理
判断等を行ない、アドレスバスAB、コントロールバス
CB、 データバスDBを介して、それらのバスに接続
された各構成要素を制御する。
In the configuration shown in FIG. 3, the CPU is a central processing unit in the form of a microprocessor, and performs calculations, logical judgments, etc. for character processing, and connects these buses via address bus AB, control bus CB, and data bus DB. control each component connected to the

また、線画中の塗りつぶす図形の認識、図形領域の大き
さの決定、図形の生成なども後述するRAMの内容を元
にして、このCPUで行なう。
Further, recognition of figures to be filled in in line drawings, determination of the size of figure areas, generation of figures, etc. are also performed by this CPU based on the contents of the RAM, which will be described later.

アドレスバスABは、マイクロプロセッサCPUの制御
の対象とする構成要素を指示するアドレス信号を転送す
る。コントロールバスCBはマイクロプロセッサCPU
の制御の対象となる各構成要素のコントロール信号を転
送して供給する。データエリアDBは各構1&、機器相
互間のデータの転送を行なう。
Address bus AB transfers address signals indicating the components to be controlled by the microprocessor CPU. Control bus CB is microprocessor CPU
transfers and supplies control signals for each component to be controlled. The data area DB transfers data between each structure 1& and equipment.

次に、ROMは読み出し専用の固定メモリであり、第6
図に示す如く後述するマイクロプロセッサCPUによる
制御の+l1ri等を記憶させておく。
Next, ROM is a read-only fixed memory, and the sixth
As shown in the figure, +l1ri, etc. controlled by the microprocessor CPU, which will be described later, are stored.

また、RAMはlワード16ビツトの構成の占き込み可
能なランダムアクセスメモリであって、各構成要素から
の各種データの一時記憶に用いる。記憶するデータには
、文字間隔・行間隔など文1の大きさを決めるデータエ
リアR1、図形を生成するときの中間データエリアR2
,外字作成のための作業慴域エリアR3、生成した図形
のパターンエリアR4などがある。
Further, the RAM is a random access memory having a structure of 1 word and 16 bits, and is used for temporary storage of various data from each component. The data to be stored includes a data area R1 that determines the size of sentence 1, such as character spacing and line spacing, and an intermediate data area R2 that is used when generating figures.
, a work area R3 for creating external characters, and a pattern area R4 for generated figures.

KBはキーボードであり、英数字キー、モ仮名キー、片
仮名キー、図形領域を指示する文字キー等の文字記号入
カキ−1および、漢字変換の始めと終りを指定するキー
をはじめ、本文字処理装置に対する各種機能を指示する
ための各種のファンクションキーを備え、外字パターン
の入力5文書データの入力、図形データの作成命令の入
力などを行なう。
The KB is a keyboard, including alphanumeric keys, mogana keys, katakana keys, character keys for specifying graphic areas, keys for inputting character symbols, and keys for specifying the start and end of kanji conversion, as well as keys for character processing. It is equipped with various function keys for instructing various functions to the device, and is used for inputting external character patterns, inputting document data, inputting graphic data creation commands, etc.

DBUFはバッファメモリであり、キーボードKBから
入力された文書情報等を格納する。
DBUF is a buffer memory that stores document information etc. input from the keyboard KB.

DISKは作成された外字パターンや文書1図形の外部
記憶としての磁気ディスク装置である。
The DISK is a magnetic disk device that serves as an external storage for created external character patterns and document graphics.

CRはカーソルレジスタであり、CPUによりその内容
を読み書きできる。後述するCRTコントローラCRT
Cは、ここに格納されたアドレスに対応する表示装置C
RT hの位置にカーソルを表示する。
CR is a cursor register, the contents of which can be read and written by the CPU. CRT controller CRT described later
C is the display device C corresponding to the address stored here
RT Display the cursor at the h position.

CRTは陰極線管等を用いた表示装置であり、その表示
装置cRTにおけるドツト構成の表示パターンおよびカ
ーソルの表示をCRTコントローラCRTCで制御する
A CRT is a display device using a cathode ray tube or the like, and a dot-configured display pattern and a cursor display on the display device cRT are controlled by a CRT controller CRTC.

CRTコントローラCRTCは、カーソルレジスタCR
およびバッファDBUFに蓄えられた内容を表示袋22
CRTに表示す゛る。
The CRT controller CRTC has a cursor register CR.
and the display bag 22 for displaying the contents stored in the buffer DBUF.
It will be displayed on the CRT.

CGはキャラクタジェネレータであり、表示装置CRT
に表示する文字、記号、カーソル等のキャラクタ信号な
発生する。
CG is a character generator, and the display device CRT
Character signals such as characters, symbols, and cursors to be displayed are generated.

かかる各構成要素からなる本発明文字処理装置において
は、キーボードKBからの各種の人力に応じて作動する
ものであって、キーボー1” K Bからの入力が供給
されると、まず、インタラブド信号が中央処理袋zcp
uに送られ、その中央処理装置CPUがROM内に記憶
しである各種の制御信号を読み出し、それらの制御信号
に従って各種の制御が行なわれる。
The character processing device of the present invention, which is composed of each of these components, operates in response to various human inputs from the keyboard KB, and when an input from the keyboard KB is supplied, an interwoven signal is first generated. central processing bag zcp
The central processing unit CPU reads various control signals stored in the ROM, and various controls are performed in accordance with these control signals.

なお、/ヘツファDBUFの内容を表示装置CRT上の
位置に対応させて表示を行なう表示4段は公知であるの
でその説明を省略し、巾に文書データや図形パターン等
をバッファDBUFに格納することで表示が行なわれる
ことにする。
Note that the four-stage display that displays the contents of the buffer DBUF in accordance with the position on the display device CRT is well known, so its explanation will be omitted. The display will be performed in

ここで、本実施例においては、外字コードを〃いに共通
部分は無いように通常外字と網掛は外字の2つに分ける
ものとする。すなわち、たとえば、 外字コード= 1〜376: 通常外字外字コード=5
01〜594:  #1掛外字とし、各々外字フォント
を作成する。
Here, in this embodiment, it is assumed that the external character code is divided into two types: normal external characters and shaded external characters, so that there are no common parts. That is, for example, Private character code = 1 to 376: Normal private character code = 5
01-594: Use #1 as a special character, and create a custom character font for each character.

次に第4図および第5図を用いて、本発明文字処理装置
における図形の塗りの動作をCRT上への表示の場合を
例にとって説明する。なお、文書や図形の入力、および
外字パターンの入力方法については公知であるので、そ
の説明は省略する。
Next, with reference to FIGS. 4 and 5, the operation of filling in figures in the character processing apparatus of the present invention will be explained, taking as an example the case of displaying on a CRT. Note that the methods for inputting documents and figures, and for inputting external character patterns are well known, and therefore their explanations will be omitted.

第4図は図形作成・編集時における塗りのパターンの指
定を表わしている。第4図において、aはCRT画面上
の作成中の線画を表示する領域を示し、bはキーボード
からの入力をモニタするための領域を表わしている。C
は線画作成を行なうだめのカーソルであり、塗りを行な
う閉じた図形を指示している。dは塗りのパターンをそ
の外字コードで指示していることを表わす。ここで図形
の塗りのデータとして、Cで表わされた図形の位置とd
で指示された塗りの外字コードが保存される。
FIG. 4 shows the designation of a fill pattern when creating and editing figures. In FIG. 4, a indicates an area on the CRT screen for displaying the line drawing being created, and b indicates an area for monitoring input from the keyboard. C
is a cursor for creating line drawings, and indicates a closed figure to be filled. d indicates that the fill pattern is specified by its external character code. Here, as the data for filling the shape, the position of the shape represented by C and d
The external character code for the fill specified in is saved.

第5図は第4図で指示された図形を指定された網掛外字
のパターンで塗りつぶす処理を説明している。第5図(
A)は図形の塗りのデータで、Cはケリが指示された時
点でのカーソルの位置、dは塗りのパターンを表わす。
FIG. 5 explains the process of filling the figure designated in FIG. 4 with the designated pattern of hatched external characters. Figure 5 (
A) is the data for filling in the figure, C is the position of the cursor at the time when the edge is specified, and d is the filling pattern.

第5図(B)は同図(A)で指示された図形より大きな
領域になるまで指示された外字パターンをつないだもの
が作業領域に作成されたことを表わす。第5図(C)は
同図(B)のうちの図形領域の中に収まる部分を取り出
したものである。第5図CD)は同図(A)の図形の上
に同図(C)のパターンを毛ねて表示したものである。
FIG. 5(B) shows that a pattern has been created in the work area by connecting the specified external character patterns until the area becomes larger than the figure specified in FIG. 5(A). FIG. 5(C) is an extracted portion of FIG. 5(B) that fits within the graphic area. FIG. 5CD) shows the pattern of FIG. 5(C) superimposed on the figure of FIG. 5(A).

第6図は第3図に示す実施例による第4図、第5図の処
理を説明するフローチャートである。
FIG. 6 is a flowchart illustrating the processing shown in FIGS. 4 and 5 according to the embodiment shown in FIG.

ステップ56−1において、塗りに使用する網掛外字コ
ードをキーボードKBより入力する。ステップ56−2
において、入力された外字コードを、コードが入力され
た時点でのカーソルの位置とともに図形データとしてR
AM5に記憶する。
In step 56-1, a shaded external character code to be used for coloring is input from the keyboard KB. Step 56-2
, the input external character code is R as graphic data along with the cursor position at the time the code was input.
Save to AM5.

ステップ56−3において、入力された外字コードのフ
ォントを外部記憶装置から読み出す。ここで読み出すの
は1文字分の大きさのパターンである(例:24X24
ドツト)。ステップ56−4では塗りの作業領域R3に
、塗りのフォントをつないで、塗りのパターンを作成す
る。ステップ56−5では、図形の形状にあわせて、作
業領域R3のパターンのうちの不必要な部分を消す。ス
テップ56−7では、ステップ56−5で作成したff
i LJのパターンをエリアR4の元の(4形に屯ねる
In step 56-3, the font of the input external character code is read from the external storage device. What is read here is a pattern that is the size of one character (e.g. 24x24
dot). In step 56-4, a fill pattern is created by connecting fill fonts to the fill work area R3. In step 56-5, unnecessary portions of the pattern in the work area R3 are erased in accordance with the shape of the figure. In step 56-7, the ff created in step 56-5 is
i Return the LJ pattern to the original (4th shape) in area R4.

前記実施例では、図形の塗りのみを扱っているが、グラ
フのように、塗りのパターンを使用するものであれば、
そのすべてに本発明を適応することができる。特にグラ
フの場合、利用者はその塗り分けのパターンを選択する
ことができることですらまれであり、しかもそのパター
ンを利用者が作成できるというものは皆無なので、本発
明による効果は大きい。
In the above embodiment, only the filling of figures is handled, but if a filling pattern is used, such as a graph,
The present invention can be applied to all of them. Particularly in the case of graphs, it is rare for a user to even be able to select a coloring pattern, and there are no cases in which a user can create such a pattern, so the effects of the present invention are significant.

[効 果] 以りの説明で明らかなように、本発明によれば、線画や
グラフなどの塗りパターンの作成を新規の機能を使用す
ることなく既存の外字作成r段を用いて実現し、そのよ
うにして作成した任意のパターンで図形の塗りを行なう
ことができる文字処理装置を実現できた。
[Effects] As is clear from the following explanation, according to the present invention, it is possible to create fill patterns such as line drawings and graphs using the existing external character creation r-stage without using any new functions. A character processing device capable of filling figures with any pattern created in this way was realized.

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

第1図は本発明の全体構成を示す図。 第2図は従来の技術による図形の塗りつぶしの処理を説
明した線図、 第3図は本発明の一実施例を示すブロック図、第4図は
本発明による図形の塗りの指示を説明する線図、 第5図は本発明による塗りの処理を説明する線図。 第6図は本発明による図形の塗りの処理を説明するフロ
ーチャートである。 CPU−−−−−一処理部 ROM −−−−−−メモリ RAM −−−−−−メモリ
FIG. 1 is a diagram showing the overall configuration of the present invention. FIG. 2 is a line diagram illustrating the process of filling in figures according to the prior art, FIG. 3 is a block diagram showing an embodiment of the present invention, and FIG. 4 is a line diagram explaining instructions for filling figures according to the present invention. FIG. 5 is a diagram illustrating the painting process according to the present invention. FIG. 6 is a flowchart illustrating the process of filling in figures according to the present invention. CPU-----Processing part ROM----Memory RAM----Memory

Claims (1)

【特許請求の範囲】 網掛け外字パターンの作成手段と、 作成された網掛け外字パターンを格納しておく外字記憶
手段と、 前記記憶している外字パターンの中から所望の網掛けパ
ターンを読み込む外字認識手段と、任意の図形を作成・
編集する図形作成手段と、作成された図形を記憶する図
形記憶手段と、作成した図形の指定された位置を前記網
掛けパターンで塗りつぶして表示・印刷を行なう図形出
力手段とを備えたことを特徴とする文字処理装置。
[Scope of Claims] A means for creating a hatched external character pattern; an external character storage means for storing the created hatched external character pattern; and an external character for reading a desired hatching pattern from among the stored external character patterns. Recognition means and create/create arbitrary shapes
The present invention is characterized by comprising a figure creation means for editing, a figure storage means for storing the created figure, and a figure output means for displaying/printing a specified position of the created figure by filling it with the shading pattern. Character processing device.
JP60245474A 1985-10-31 1985-10-31 Document processing method Expired - Lifetime JPH0812549B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60245474A JPH0812549B2 (en) 1985-10-31 1985-10-31 Document processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60245474A JPH0812549B2 (en) 1985-10-31 1985-10-31 Document processing method

Publications (2)

Publication Number Publication Date
JPS62105196A true JPS62105196A (en) 1987-05-15
JPH0812549B2 JPH0812549B2 (en) 1996-02-07

Family

ID=17134195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60245474A Expired - Lifetime JPH0812549B2 (en) 1985-10-31 1985-10-31 Document processing method

Country Status (1)

Country Link
JP (1) JPH0812549B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59228291A (en) * 1983-06-09 1984-12-21 アルプス電気株式会社 Character pattern registration processing system
JPS60133497A (en) * 1983-12-22 1985-07-16 日本電気株式会社 Image display unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59228291A (en) * 1983-06-09 1984-12-21 アルプス電気株式会社 Character pattern registration processing system
JPS60133497A (en) * 1983-12-22 1985-07-16 日本電気株式会社 Image display unit

Also Published As

Publication number Publication date
JPH0812549B2 (en) 1996-02-07

Similar Documents

Publication Publication Date Title
EP0131457B1 (en) Document creating apparatus
JPS61254980A (en) Character front transmission control system
JPH024938B2 (en)
US5008809A (en) Data processor capable of outputting codes representing displayed patterns
JPH0210459B2 (en)
JPS62105196A (en) Character processor
JP2699974B2 (en) Pattern registration method
JPH0522933B2 (en)
JP3236039B2 (en) Character processing apparatus and method
JPS6236252B2 (en)
JPS63136084A (en) Character processor
JP2698348B2 (en) Character processor
JPS5941206B2 (en) word processor
JPS63208928A (en) Information processor
JPH081547B2 (en) Character processor
JPS62293286A (en) Word processor
JPS63185638A (en) Document output device
JPH04195673A (en) Character processor
JPH0737111A (en) Document processing method
JPS63141761A (en) Word processor
JPH06103021A (en) Data processor provided with display device
JPH0661092B2 (en) Figure processing method
JPS6348593A (en) Character processor
JPH0330050A (en) Document generating device
JPH04140796A (en) Information processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term