JPH04326478A - Graphic preparing device - Google Patents

Graphic preparing device

Info

Publication number
JPH04326478A
JPH04326478A JP9711591A JP9711591A JPH04326478A JP H04326478 A JPH04326478 A JP H04326478A JP 9711591 A JP9711591 A JP 9711591A JP 9711591 A JP9711591 A JP 9711591A JP H04326478 A JPH04326478 A JP H04326478A
Authority
JP
Japan
Prior art keywords
character
graphic
data
line
width line
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
JP9711591A
Other languages
Japanese (ja)
Inventor
Hideto Izawa
秀人 井澤
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP9711591A priority Critical patent/JPH04326478A/en
Publication of JPH04326478A publication Critical patent/JPH04326478A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Processing Or Creating Images (AREA)
  • Instructional Devices (AREA)

Abstract

PURPOSE:To automatically and attractively arrange the character string to be added to the wide line graphic representing roads, etc., on maps along the wide line graphic based on the number of character and shape of the wide line graphic by only inputting the character string. CONSTITUTION:A character display position calculation part 52 taking out the wide line graphic data with characters representing roads, etc., from a graphic data buffer 22, equalizing the center line (reference line) of the wide line graphic by the number of the character of the character string in the data and deciding the center position of the each equalized line segment as the character display position is provided. A character display size calculation part 53 preparing temporarily the sequence which internally contact with no lines composing the corresponded wide line graphic by defining these respective character display positions as centers and deciding the smallest square as the character display size is also provided. Furthermore, a graphic character data preparation part 54 generating the graphic character data for displaying the character string to be added to the wide line graphic based on these decided character positions and character sizes is provided.

Description

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

【0001】0001

【産業上の利用分野】この発明は、例えばワードプロセ
ッサの1機能として搭載され、地図等の図形を作成する
際に利用される図形作成装置に係り、特に地図上の道路
を示す幅線図形に文字列(道路名)を付すのに好適な図
形作成方式に関する。
[Field of Industrial Application] The present invention relates to a figure creation device that is installed as a function of a word processor, for example, and is used when creating figures such as a map. This invention relates to a graphic creation method suitable for adding columns (road names).

【0002】0002

【従来の技術】従来、例えばワードプロセッサを使用し
て地図等を作成する場合には、図形作成機能が利用され
る。
2. Description of the Related Art Conventionally, when creating a map or the like using a word processor, for example, a graphic creation function is used.

【0003】即ち、ワードプロセッサの動作モードを図
形作成モードに指示設定し、図形作成プログラムを起動
させる。次に、描画すべく所望の図形種類(直線、曲線
、折れ線、円、楕円等)、その図形線の種類・太さ(線
種)等を選択した後、カーソル(例えば十字カーソル)
を移動操作して表示画面上での図形描画範囲を指定する
。すると、上記カーソル指示された図形描画範囲に対応
して、所望の図形パターンが表示されることになる。
That is, the operation mode of the word processor is set to the graphic creation mode, and the graphic creation program is started. Next, after selecting the type of figure you want to draw (straight line, curve, polygonal line, circle, ellipse, etc.), the type and thickness of the figure line (line type), etc., use the cursor (for example, a cross cursor)
Specify the drawing range on the display screen by moving . Then, a desired graphic pattern is displayed corresponding to the graphic drawing range indicated by the cursor.

【0004】このようにして、例えば地図上の道路は、
直線および曲線の図形種類を組合せることにより、また
、建物や目印等は、四角,円,楕円等の他の図形種類を
組合せることより描画することができる。
[0004] In this way, for example, roads on a map can be
By combining straight and curved graphic types, buildings and landmarks can be drawn by combining other graphic types such as squares, circles, and ellipses.

【0005】さて、上記のようにして地図上の道路(道
図形)を描画した後、その道路に沿って道路名を表わす
文字列を配置したいことがある。しかし、通常の文書作
成時の文字列入力では、配置可能な文字位置は、文書書
式で決定されてしまうため、文字列を道路に沿って見栄
え良く配置することは困難である。
After drawing a road (road figure) on a map as described above, it may be desired to place a character string representing a road name along the road. However, when character strings are input during normal document creation, the positions of characters that can be placed are determined by the document format, so it is difficult to arrange character strings along roads with good appearance.

【0006】一方、図形作成機能を持つ近年のワードプ
ロセッサには、文字を図形の一種として扱うことにより
(このような文字は図形文字と呼ばれる)、文字位置(
開始位置)をドット単位で指定すると共に、文字サイズ
もドット単位で指定可能な機能(図形文字入力機能)が
、図形作成機能の1つとして搭載されるようになってい
る。
On the other hand, recent word processors that have a graphic creation function handle characters as a type of graphic (such characters are called graphic characters), and are able to control character positions (
A function (graphic character input function) that allows specifying the starting position) in dot units and character size in dot units is now included as one of the graphic creation functions.

【0007】そこで従来は、描画した道路に沿って道路
名を表わす文字列を配置しようとする場合には、図形文
字入力機能を利用して、カーソルをドット単位で移動し
て所望の文字位置(開始位置)を指定すると共に文字サ
イズを指定し、文字を入力する操作を、1文字単位で文
字数分繰返していた。
Conventionally, when attempting to place a character string representing a road name along a drawn road, the graphic character input function was used to move the cursor dot by dot to locate the desired character position ( The operation of specifying the starting position), specifying the font size, and inputting characters was repeated for each character.

【0008】[0008]

【発明が解決しようとする課題】上記したように従来は
、ワードプロセッサ等の持つ図形作成機能を利用して作
成された地図上の道路等の幅線図形に沿って、道路名等
の文字列を配置するには、図形文字入力機能を利用し、
文字位置をドット単位で指定すると共に文字サイズを指
定して文字を入力する操作を、1文字単位で文字数分繰
返さなければならず、極めて煩雑であった。
[Problems to be Solved by the Invention] As mentioned above, in the past, character strings such as road names were written along the width line figures of roads etc. on a map created using the figure creation function of a word processor etc. To place, use the figure character input function,
The operation of specifying the character position in dot units, specifying the character size, and inputting characters must be repeated for each character, which is extremely complicated.

【0009】この発明は上記事情に鑑みてなされたもの
でその目的は、地図上の道路等を表わす幅線図形に付す
ための文字列を入力するだけで、同文字列が、文字数と
幅線図形の形状をもとに、その幅線図形に沿って自動的
に且つ見栄えよく配置できる図形作成装置を提供するこ
とにある。
This invention was made in view of the above circumstances, and its purpose is to simply input a character string to be attached to a width line figure representing a road, etc. on a map, and the same character string can be added to a width line figure representing a road etc. on a map. To provide a figure creation device that can automatically arrange figures along the width line figure based on the shape of the figure and look good.

【0010】0010

【課題を解決するための手段】この発明は、一定幅を保
って相対向する2本の線からなる幅線図形を示す幅線図
形データを作成する幅線作成手段と、幅線図形に付すべ
き文字列を入力するための文字列入力手段と、上記幅線
図形データおよび同データの示す幅線図形に付すべき文
字列を対応付けて記憶するための記憶手段と、この記憶
手段に記憶された文字列の文字毎の文字位置を、同文字
列の字数および対応する幅線図形データをもとに決定す
る文字位置決定手段と、この文字位置決定手段によって
決定された各文字位置および対応する幅線図形データを
もとに、文字サイズを決定する文字サイズ決定手段と、
上記幅線図形データの示す幅線図形のイメ一ジを展開す
る共に、対応する文字列の文字毎のイメ一ジを上記決定
された文字位置に、決定された文字サイズで展開するイ
メ一ジ展開手段とを備え、イメ一ジ展開手段によって展
開されたイメ一ジを表示または印刷するようにしたこと
を特徴とするものである。
[Means for Solving the Problems] The present invention provides a width line creation means for creating width line figure data indicating a width line figure consisting of two lines facing each other while maintaining a constant width, and a width line figure data attached to the width line figure. a character string input means for inputting a character string to be attached to the width line figure; a storage means for storing the width line figure data and a character string to be attached to the width line figure indicated by the data in association with each other; character position determining means for determining the character position of each character in a character string based on the number of characters in the character string and corresponding width line figure data; and each character position determined by the character position determining means and the corresponding character position. a font size determining means for determining font size based on width line figure data;
An image that develops an image of the width line figure indicated by the above width line figure data, and an image of each character of the corresponding character string at the above determined character position and at the determined character size. The image processing apparatus is characterized in that it comprises a developing means, and displays or prints the image developed by the image developing means.

【0011】[0011]

【作用】上記の構成において、幅線図形データで示され
る2本の線(直線または曲線)からなる幅線図形、例え
ば道路を示す図形(道図形)に文字列(道路名等を表わ
す文字列)を付したい場合、利用者は幅線図形データの
作成時に、文字列有り(文字付)を指示して、文字列の
入力操作を行う。これにより、文字列入力手段は、利用
者の入力操作によって入力された文字列を取込み、該当
幅線図形データに付して(幅線図形データの一部として
)記憶手段に書込む。
[Operation] In the above configuration, a character string (a character string representing a road name, etc. ), the user instructs to include a character string (with text) when creating width line graphic data, and performs a character string input operation. Thereby, the character string input means takes in the character string input by the user's input operation, and writes it in the storage means along with the corresponding width line graphic data (as part of the width line graphic data).

【0012】このようにして記憶手段に書込まれた幅線
図形データを取出して、同データの示す幅線図形(道図
形)を表示または印刷する場合、この幅線図形の中心線
(道の中心線)を同データに付されている文字列の文字
数で等分し、この等分された各線分の中心位置を表示ま
たは印刷すべき文字位置の中心として決定する。また、
この各文字位置を中心とし、対応する幅線図形を構成す
る2本の線に内接し且つ縦横比が一定の矩形、例えば正
方形を仮生成し、そのうちの最も小さいものを表示また
は印刷すべき文字サイズとして決定する。
When the width line figure data thus written in the storage means is retrieved and the width line figure (road figure) indicated by the same data is displayed or printed, the center line of this width line figure (road figure) is displayed or printed. The center line) is equally divided by the number of characters in the character string attached to the same data, and the center position of each equally divided line segment is determined as the center of the character position to be displayed or printed. Also,
A rectangle (for example, a square) with a constant aspect ratio that is centered on each character position and inscribed in the two lines constituting the corresponding width line figure is temporarily generated, and the smallest of them is the character to be displayed or printed. Determine the size.

【0013】以上の結果、幅線図形データの示す幅線図
形のイメ一ジを展開する際には、対応する文字列の文字
毎のイメ一ジが上記決定された文字位置に、決定された
文字サイズで展開される。これにより、幅線図形の形状
に合ったサイズの文字列が、同幅線図形に沿って配置さ
れた状態で表示または印刷される。
As a result of the above, when developing the image of the width line figure indicated by the width line figure data, the image of each character of the corresponding character string is determined at the character position determined above. Expanded by font size. As a result, a character string of a size matching the shape of the width line figure is displayed or printed while being arranged along the same width line figure.

【0014】[0014]

【実施例】以下、この発明の一実施例を図面を参照して
説明する。図1は同実施例に係わる図形作成機能(図形
作成装置)を搭載した文書作成装置の構成を示すブロッ
ク図である。図1において、1はCPU、2および3は
同CPU1によりアクセスされるメモリ(RAM,RO
M)である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a document creation device equipped with a graphic creation function (graphic creation device) according to the same embodiment. In FIG. 1, 1 is a CPU, 2 and 3 are memories (RAM, RO, etc.) accessed by the CPU 1.
M).

【0015】CPU1は、装置全体の制御を行うもので
、RAM2、ROM3をアクセスして、入力指示に従う
プログラムの起動で、文書を作成するための周知のかな
漢字変換処理や文書編集処理、更には、この発明に直接
関係する図形作成処理を含む各種処理を実行するもので
ある。
The CPU 1 controls the entire device, and accesses the RAM 2 and ROM 3 to start programs that follow input instructions, perform well-known kana-kanji conversion processing and document editing processing for creating documents, and further, It executes various types of processing including graphic creation processing that are directly related to the present invention.

【0016】RAM2には、文書データを記憶するため
の文書バッファ21、図形作成処理によって作成された
各種図形データを記憶するための図形データバッファ2
2、図形データバッファ22に記憶されている各種図形
データに対応する表示用図形データを記憶するための表
示用図形バッファ23等が設けられる。
The RAM 2 includes a document buffer 21 for storing document data, and a graphic data buffer 2 for storing various graphic data created by graphic creation processing.
2. A display graphic buffer 23 and the like are provided for storing display graphic data corresponding to the various graphic data stored in the graphic data buffer 22.

【0017】ROM3には、文書作成装置の全ての動作
を規定する制御プログラムを記憶するためのプログラム
エリア30、かな漢字変換において参照される辞書デー
タを記憶するための辞書エリア31、フォントデ―タが
格納された文字パターンエリア32等が設けられている
The ROM 3 stores a program area 30 for storing a control program that defines all operations of the document creation device, a dictionary area 31 for storing dictionary data referred to in kana-kanji conversion, and font data. A character pattern area 32 and the like are provided.

【0018】プログラムエリア30には、かな漢字変換
プログラムを格納するのに用いられるかな漢字変換プロ
グラムエリア34、各種図形(図形データ)を作成する
ための図形作成プログラムを格納するのに用いられる図
形作成プログラムエリア35、図形データバッファ22
に記憶されている各種図形データに対応する表示用図形
データの作成、同表示用図形データの示す図形イメ一ジ
の生成など図形表示に必要な処理を行うための図形表示
制御用プログラムを格納するのに用いられる図形表示制
御用プログラムエリア36等が設けられている。
The program area 30 includes a kana-kanji conversion program area 34 used to store a kana-kanji conversion program, and a figure creation program area 34 used to store a figure creation program for creating various figures (figure data). 35, graphic data buffer 22
Stores a figure display control program for performing processing necessary for displaying figures, such as creating display figure data corresponding to various figure data stored in the display and generating a figure image indicated by the display figure data. A program area 36 for graphic display control, etc., used for this purpose is provided.

【0019】図形表示制御用プログラムエリア36に格
納されている図形表示制御用プログラムには、図形デー
タバッファ22に記憶された図形データが複数の基本図
形(直線、スプライン曲線など)からなる複合図形(例
えば、一定幅を保って相対向する2本の線からなる道を
表わす幅線図形)を示している場合に、個々の基本図形
データに分解するための基本図形分解プログラム38、
および幅線付随文字表示制御プログラム39等が含まれ
ている。この幅線付随文字表示制御プログラム39は、
表示対象となる幅線図形を表わす図形データ(幅線図形
データ)に付されている文字列の各文字毎の文字表示位
置、および文字サイズを決定し、対応する図形文字デー
タを生成するためのものである。
The graphic display control program stored in the graphic display control program area 36 stores the graphic data stored in the graphic data buffer 22 into a composite figure (straight line, spline curve, etc.) consisting of a plurality of basic figures (straight lines, spline curves, etc.). For example, a basic figure decomposition program 38 for decomposing into individual basic figure data when a width line figure representing a road consisting of two lines facing each other with a constant width is shown;
and a width line accompanying character display control program 39. This width line accompanying character display control program 39 is as follows:
Determines the character display position and character size of each character in the character string attached to the graphic data representing the width line figure to be displayed (width line figure data), and generates the corresponding figure character data. It is something.

【0020】4はキーボード(KB)、5はキーボード
インタフェース(KB−IF)である。6は表示器、7
は表示コントローラ(表示−CNT)、8は表示用RA
Mである。9はフロッピ―ディスク装置(FDD)、1
0はハードディスク装置(HDD)、11はFDDイン
タフェース(FDD−IF)、12はHDDインタフェ
ース(HDD−IF)である。13はプリンタ装置(P
RT)、14はプリンタインタフェース(PRT−IF
)である。
4 is a keyboard (KB), and 5 is a keyboard interface (KB-IF). 6 is a display, 7
is the display controller (display-CNT), 8 is the display RA
It is M. 9 is a floppy disk device (FDD), 1
0 is a hard disk device (HDD), 11 is an FDD interface (FDD-IF), and 12 is an HDD interface (HDD-IF). 13 is a printer device (P
RT), 14 is a printer interface (PRT-IF
).

【0021】KB(キーボード)4は、利用者のキー操
作を受けて、文書作成・編集や図形作成・編集等に必要
な入力情報をKB−IF(キーボードインタフェース)
5を介してCPU1へ出力するものである。このKB4
には、文字キー、各種機能項目の指定や、文書編集や図
形編集時の位置または領域(範囲)指定等を行うための
上下左右のカーソルキー等に加えて、「かな」(読み)
から漢字への変換の指示や次候補処理の実行を指示する
ための[変換/次候補]キー、各種設定の確定を指示す
るための[選択/実行]キー、処理の中断や確定前の入
力の取消し等を指示するための[取消し]キー、文書や
図形の作成,編集・校正等に用いられる[削除]キー,
[挿入]キー等を含む各種のファンクションキーが設け
られている。更に、他の文字キーとの組合せにより各種
の機能が実現できる[機能1]キー並びに[機能2]キ
ーと称する特別のファンクションキーも設けられている
[0021] The KB (keyboard) 4 receives input information necessary for creating/editing documents, creating/editing figures, etc. in response to key operations by the user via a KB-IF (keyboard interface).
5 to the CPU 1. This KB4
In addition to character keys, cursor keys for specifying various function items, positions or areas (ranges) when editing documents or shapes, etc., there are also ``kana'' (reading) keys.
[Convert/Next Candidate] key to instruct to convert from to kanji or execute next candidate process, [Select/Execute] key to instruct to confirm various settings, input before interrupting processing or confirming. [Cancel] key for instructing cancellation, etc.; [Delete] key used for creating, editing, proofreading, etc. of documents and figures;
Various function keys are provided including an [insert] key and the like. Furthermore, special function keys called a [Function 1] key and a [Function 2] key are also provided, which can realize various functions by combining with other character keys.

【0022】表示器6は、CRTや液晶ディスプレイ等
から構成されている。表示−CNT7は、CPU1の制
御の下に、表示用RAM8を用いて表示器6の表示制御
を行うものである。
[0022] The display device 6 is composed of a CRT, liquid crystal display, or the like. The display CNT 7 controls the display of the display 6 using the display RAM 8 under the control of the CPU 1.

【0023】FDD9、HDD10は、CPU1の制御
の下に、それぞれFDD−IF11、HDD−IF12
を介して、各種処理プログラムや文書(文書データ)、
図形(図形データ)等を保存したり外字(JIS第1水
準文字および第2水準文字以外の文字や記号・マーク等
をいう)等を記録するのに用いられる。なお本実施例で
は、上記のFDD9、HDD10を補助記憶装置として
標準装備している他、必要があればFDDを1台増設で
きるようになっている。
[0023] The FDD 9 and the HDD 10 are operated by the FDD-IF 11 and the HDD-IF 12, respectively, under the control of the CPU 1.
various processing programs and documents (document data),
It is used to store figures (graphic data), etc., and to record external characters (characters, symbols, marks, etc. other than JIS 1st level characters and 2nd level characters). In this embodiment, the above-mentioned FDD 9 and HDD 10 are standardly equipped as auxiliary storage devices, and if necessary, one FDD can be added.

【0024】PRT13は、PRT−IF14を介して
、文書バッファ21上に新規に作成された文書、或いは
文書バッファ21上で編集された文書、更にはFDD9
,HDD10から本体内に読込まれて文書バッファ21
に格納された文書、および図形データバッファ22に格
納された図形等の印字を行うものである。PRT13は
例えば本装置に外部接続されて使用される。
The PRT 13 receives, via the PRT-IF 14, a newly created document on the document buffer 21, a document edited on the document buffer 21, and furthermore, the FDD 9.
, read into the main body from the HDD 10 and stored in the document buffer 21.
It prints documents stored in the , and graphics stored in the graphic data buffer 22 . The PRT 13 is used by being externally connected to this device, for example.

【0025】図2は図1の文書作成装置に搭載された図
形作成装置(図形作成機能)の機能構成を示すブロック
図である。なお、図1と同一部分には同一符号を付して
ある。
FIG. 2 is a block diagram showing the functional configuration of a graphic creation device (graphic creation function) installed in the document creation device shown in FIG. Note that the same parts as in FIG. 1 are given the same reference numerals.

【0026】この図2の構成は、主として、ROM3の
図形作成プログラムエリア35に格納されている図形作
成プログラムと、図形表示制御用プログラムエリア36
に格納されている図形表示制御用プログラムと、これら
プログラムを実行するCPU1によって実現されるもの
である。図2において、40は前記した図形作成プログ
ラムを用いて実現される図形作成部であり、図形作成(
図形データ作成)を司る。
The configuration of FIG. 2 mainly consists of a graphic creation program stored in a graphic creation program area 35 of the ROM 3 and a graphic display control program area 36.
This is realized by graphic display control programs stored in the computer and the CPU 1 that executes these programs. In FIG. 2, reference numeral 40 denotes a figure creation section realized using the above-mentioned figure creation program;
(creation of graphic data).

【0027】図形作成部40は、一定幅を保って相対向
する2本の線からなる幅線図形を示すデータ(幅線図形
データ)の作成を行う幅線作成部41、および同幅線図
形に沿って配置すべき文字列を入力して幅線図形データ
に付す文字入力部42を持つ。図形作成部40によって
作成された図形データは図形データバッファ22に格納
される。この図形データバッファ22に格納された図形
データは、FDD9またはHDD10への保存対象とな
り得る。50は図形データバッファ22に格納されてい
る図形データに従う図形表示制御を司る図形表示制御部
である。
The figure creation unit 40 includes a width line creation unit 41 that creates data (width line figure data) indicating a width line figure consisting of two lines that face each other while maintaining a constant width, and a width line figure that It has a character input section 42 for inputting a character string to be arranged along the width line figure data. The graphic data created by the graphic creation section 40 is stored in the graphic data buffer 22. The graphic data stored in the graphic data buffer 22 can be saved to the FDD 9 or the HDD 10. Reference numeral 50 denotes a graphic display control unit that controls graphic display according to the graphic data stored in the graphic data buffer 22.

【0028】図形表示制御部50は、前記した基本図形
分解プログラム38を用いて実現される基本図形分解部
51と、幅線図形データの示す幅線図形に付すべき文字
列の文字毎の文字表示位置を、同文字列の字数および対
応する幅線図形データをもとに決定する文字表示位置計
算部52と、文字表示サイズ計算部53とを持つ。文字
表示サイズ計算部53は、文字表示位置計算部52によ
って決定された各文字位置、および対応する幅線図形デ
ータをもとに、文字表示サイズを決定するものである。
The figure display control unit 50 includes a basic figure decomposition unit 51 realized using the above-described basic figure decomposition program 38, and a character display for each character of a character string to be attached to the width line figure indicated by the width line figure data. It has a character display position calculation section 52 that determines the position based on the number of characters in the same character string and corresponding width line graphic data, and a character display size calculation section 53. The character display size calculation section 53 determines the character display size based on each character position determined by the character display position calculation section 52 and the corresponding width line graphic data.

【0029】図形表示制御部50はまた、幅線図形に付
すべき文字列を、文字表示位置計算部52によって決定
された各文字毎の文字表示位置に、文字表示サイズ計算
部53によって決定された文字サイズで配置するための
表示用図形文字データを生成する図形文字データ作成部
54と、表示用図形イメ一ジ作成部55とを持つ。表示
用図形イメ一ジ作成部53は、表示用図形バッファ23
に格納されている表示用図形データ(図形文字データを
含む)をもとに、同図形データの示す図形イメ一ジを生
成するものである。なお、上記文字表示位置計算部52
、文字表示サイズ計算部53および図形文字データ生成
部54は前記した幅線付随文字表示制御プログラム39
を用いて実現される。
The graphic display control unit 50 also places the character string to be added to the width line figure at the character display position for each character determined by the character display position calculation unit 52, and at the character string determined by the character display size calculation unit 53. It has a graphic character data creation section 54 that generates display graphic character data for arrangement in character size, and a display graphic image creation section 55. The display graphic image creation unit 53 uses the display graphic buffer 23.
Based on the display graphic data (including graphic character data) stored in the computer, a graphic image indicated by the graphic data is generated. Note that the character display position calculation section 52
, the character display size calculation section 53 and the graphic character data generation section 54 are controlled by the above-mentioned width line accompanying character display control program 39.
This is realized using

【0030】図3は図1および図2に示す図形データバ
ッファ22に格納された図形データの基本構造を示す。 この図形データは、図形作成に伴い選択された図形の種
類を示す図形種類データと、その図形線の種類と太さを
示す線種データと、図形の描画位置を示す位置データと
を持つ。
FIG. 3 shows the basic structure of the graphic data stored in the graphic data buffer 22 shown in FIGS. 1 and 2. This graphic data includes figure type data indicating the type of figure selected during figure creation, line type data indicating the type and thickness of the figure line, and position data indicating the drawing position of the figure.

【0031】図形種類には、直線、スプライン曲線など
の周知の基本図形の他、直線により構成される幅線図形
(基準線に対し一定幅を保って相対向する2本の線から
なる道等を表わす図形)、スプライン曲線により構成さ
れる幅線図形などがある。また、幅線図形には、文字付
幅線図形と文字無幅線図形がある。なお、上記基準線は
、幅線図形(道図形)の中心線である。
Types of figures include well-known basic figures such as straight lines and spline curves, as well as width-line figures made up of straight lines (such as roads consisting of two lines facing each other while keeping a constant width with respect to the reference line). ), and width line shapes composed of spline curves. Further, the width line figure includes a width line figure with text and a width line figure without text. Note that the reference line is the center line of the width line figure (road figure).

【0032】位置データは、図形種類が直線であれば、
その始点並びに終点の座標、スプライン曲線であれば、
その始点並びに終点と幾つかの通過点の座標からなる。 また、図形種類が直線により構成される幅線図形の場合
には、位置データは、その基準線の始点並びに終点の座
標から、スプライン曲線により構成される幅線図形の場
合には、その基準線の始点並びに終点と幾つかの通過点
の座標からなる。
[0032] If the figure type is a straight line, the position data is
The coordinates of the starting point and ending point, if it is a spline curve,
It consists of the coordinates of its starting point, ending point, and several passing points. In addition, if the figure type is a width line figure made up of straight lines, the position data is determined from the coordinates of the starting point and end point of the reference line, and if the figure type is a width line figure made up of spline curves, the position data is calculated from the reference line. It consists of the coordinates of the starting point, ending point, and several passing points.

【0033】さて、上記図形データは、図形種類が幅線
図形の場合には、その幅線図形の幅、(幅線図形を構成
する2本の線間の距離)を示す幅データを更に持ち、文
字付幅線図形の場合には、同幅線図形に沿って配置され
る文字列(を示す文字コード列)を更に持つ。
Now, when the figure type is a width line figure, the above figure data further includes width data indicating the width of the width line figure (the distance between two lines constituting the width line figure). , in the case of a width line figure with characters, it further has a character string (character code string indicating) arranged along the same width line figure.

【0034】次に、上記構成による文書作成装置搭載の
図形作成装置(図形作成機能)の動作を説明する。まず
、文字付幅線図形データ作成について図4を参照して説
明する。
Next, the operation of the graphic creation device (graphic creation function) equipped with the document creation device configured as described above will be explained. First, creation of width line figure data with characters will be explained with reference to FIG.

【0035】図1の文書作成装置が、KB4からの指示
により図形作成モードに設定された状態で、例えば地図
上の道路を作成すべくKB4の操作により幅線図形の作
成が指定されると、RAM2内の図形作成プログラムエ
リア35に格納されている図形作成プログラム中の幅線
作成プログラムがCPU1によって起動される。即ち、
図2の図形作成部40内の幅線作成部41が起動される
When the document creation device shown in FIG. 1 is set to the figure creation mode according to an instruction from the KB4, and the creation of a width line figure is specified by the operation of the KB4 in order to create a road on a map, for example, A width line creation program among the graphic creation programs stored in the graphic creation program area 35 in the RAM 2 is activated by the CPU 1. That is,
The width line creation unit 41 in the figure creation unit 40 in FIG. 2 is activated.

【0036】すると、図形作成のための各要素データを
設定するための入力要求メッセージが表示器6に表示さ
れる。このメッセージに従って、利用者がKB4を操作
し、幅線図形を構成する2本の線(基本図形)の種類(
例えばスプライン曲線)、図形線種(例えば、線の種類
=実線、太さ=中線)、幅線図形の幅dを指定入力する
。また、図4(a)に示すように、所望の基準線(幅線
図形の中心線)の始点As にカーソルを合せて位置指
示操作(KB4上の[選択/実行]キー操作)をし、更
にカーソルを移動して基準線の通過点A1 ,A2 ,
A3 …を位置指示操作し、最後に基準線の終点Ae 
にカーソルを合せて位置指示操作をすることで、基準線
の始点並びに終点と通過点を指定入力する。なお、基準
線を直線としたい場合には、始点並びに終点の指定入力
だけでよい。
Then, an input request message for setting each element data for graphic creation is displayed on the display 6. Following this message, the user operates KB4 to determine the type of two lines (basic shapes) that make up the width line shape.
For example, a spline curve), a figure line type (for example, line type=solid line, thickness=medium line), width line Specify and input the figure width d. Also, as shown in FIG. 4(a), place the cursor on the starting point As of the desired reference line (center line of the width line figure) and perform a position instruction operation ([Select/Execute] key operation on KB4), Further move the cursor to the reference line passing points A1, A2,
A3..., and finally set the end point Ae of the reference line.
By placing the cursor on and performing a position indication operation, specify and input the starting point, ending point, and passing point of the reference line. Note that if you want the reference line to be a straight line, you only need to specify the start point and end point.

【0037】幅線作成部41は、以上の指定入力データ
を受けると、該当幅線図形に文字列を付随させるか否か
を問合せるメッセージを表示し、付随させることが(利
用者のKB4操作によって)要求されたならば、文字入
力部42を起動する。同時に幅線作成部41は、指定入
力データに従って図3に示す形式の図形データ(文字列
部分を除く)を作成し、図形データバッファ22に書込
む。このときの図形種類は、スプライン曲線により構成
される文字付幅線図形となる。
When the width line creation unit 41 receives the above specified input data, it displays a message inquiring whether or not to attach a character string to the corresponding width line figure. ) Activate the character input section 42 if requested. At the same time, the width line creation unit 41 creates graphic data (excluding the character string portion) in the format shown in FIG. 3 according to the designated input data, and writes it into the graphic data buffer 22. The type of figure at this time is a width line figure with characters made up of spline curves.

【0038】文字入力部42は起動されると、KB4か
らの文字の入力受付けを行い、その入力文字(ここでは
○×△)を、先に幅線作成部41によって図形データバ
ッファ22に書込まれた図形データに付加する。このと
きの、図形データバッファ22内の図形データの内容を
図4(b)に示す。
When the character input section 42 is activated, it accepts the input of characters from the KB4, and the input characters (in this case, ○×△) are first written into the graphic data buffer 22 by the width line creation section 41. Added to the generated graphic data. The contents of the graphic data in the graphic data buffer 22 at this time are shown in FIG. 4(b).

【0039】次に、このようにして作成された幅線図形
データから表示用図形データを作成する場合の動作を、
図5のフローチャートを参照して説明する。まず表示用
図形データの作成時には、RAM2内の図形表示制御用
プログラムエリア36に格納されている図形表示制御用
プログラムがCPU1によって起動され、したがって図
2の図形表示制御部50が起動される。
Next, the operation when creating display figure data from the width line figure data created in this way is as follows.
This will be explained with reference to the flowchart in FIG. First, when creating graphic data for display, the graphic display control program stored in the graphic display control program area 36 in the RAM 2 is activated by the CPU 1, and accordingly, the graphic display control section 50 of FIG. 2 is activated.

【0040】図形表示制御部50内の基本図形分解部5
1は、図形データバッファ22に格納されている図形デ
ータを順に取出す。基本図形分解部51は、取出した図
形データが幅線図形データの場合、同データの示す基準
線位置データと幅線間隔dと(で示される図形描画範囲
)に基づき、幅線図形を構成する個々の基本図形、即ち
基準線位置データで示される基準線に対して互いに離間
する方向にそれぞれd/2の距離を保った2本の線図形
(基本図形)に分解する。
Basic figure decomposition unit 5 in figure display control unit 50
1 sequentially retrieves the graphic data stored in the graphic data buffer 22. When the retrieved figure data is width line figure data, the basic figure decomposition unit 51 constructs a width line figure based on the reference line position data, width line interval d, and (figure drawing range indicated by) indicated by the same data. Each basic figure is decomposed into two line figures (basic figures) each having a distance of d/2 in the direction of separation from each other with respect to the reference line indicated by the reference line position data.

【0041】したがって、図4(b)に示す図形データ
(幅線図形データ)を取出した場合であれば、図6(a
)に示すように、基準線(であるスプライン曲線)As
 Aeに対して互いに離間する方向にそれぞれd/2の
距離を保った曲線as ae および曲線bs be 
(A0 ,A1 ,A2 …に対応する曲線as ae
 上の通過点a1 ,a2 ,a3 …と、曲線bs 
be 上の通過点b1 ,b2 ,b3 …は図示を省
略)を示す2つの基本図形のデータに分解される。なお
、ai ,bi (i=s,1,2 …e )は基準線
As Be 上の点Ai を通る接線に垂直な直線上で
点Ai から互いに離間する方向にd/2の距離の点で
ある。
Therefore, if the figure data (width line figure data) shown in FIG. 4(b) is extracted, the figure data shown in FIG.
), the reference line (spline curve) As
Curves as ae and curves bs be, each maintaining a distance of d/2 in the direction of separation from Ae.
(Curves corresponding to A0, A1, A2... as ae
Upper passing points a1, a2, a3... and curve bs
be decomposed into data of two basic figures indicating passing points b1, b2, b3, . . . (not shown). Note that ai, bi (i=s, 1, 2...e) are points at a distance of d/2 from point Ai in the direction of mutual separation on a straight line perpendicular to the tangent passing through point Ai on the reference line As Be. be.

【0042】基本図形分解部51は、この2つの基本図
形データを、表示用図形データとして図6(b)に示す
ように表示用図形バッファ23に書込む。この2つの表
示用図形データの図形種類は単なるスプライン曲線で、
線種データは元の図形データ(幅線図形データ)のそれ
と同一であり、位置データは、一方が始点ae ,終点
be 、通過点a1 ,a2 ,a3 …の各座標から
なり、他方が始点be ,終点be、通過点b1 ,b
2 ,b3 …の各座標からなる。
The basic figure decomposition unit 51 writes these two basic figure data to the display figure buffer 23 as display figure data as shown in FIG. 6(b). The figure type of these two display figure data is simply a spline curve,
The line type data is the same as that of the original figure data (width line figure data), and the position data consists of the coordinates of the starting point ae, end point be, passing points a1, a2, a3... on the one hand, and the starting point be on the other hand. , end point be, passing point b1, b
It consists of each coordinate of 2, b3...

【0043】一方、図形表示制御部50内の文字表示位
置計算部52は、図5のフローチャートに示すように図
形データバッファ22をサーチして、文字付幅線図形デ
ータを探す(ステップS1)。もし、文字付幅線図形デ
ータが有るならば、同図形データを図形データバッファ
22から取出す(ステップS2,S3)。
On the other hand, the character display position calculation unit 52 in the graphic display control unit 50 searches the graphic data buffer 22 for character-added width line graphic data as shown in the flowchart of FIG. 5 (step S1). If there is character-added width line graphic data, the same graphic data is taken out from the graphic data buffer 22 (steps S2, S3).

【0044】このようにして、図4(b)に示す幅線図
形データが取出されたものとする。文字表示位置計算部
52は、取出した幅線図形データ中の位置データによっ
て示される基準線(図6(a)に示す曲線AS Ae 
)を、同図形データ中の文字列の文字数(ここでは3)
によって等分、即ち3等分し、図7に示すように、等分
した3つの線分の各中心位置O1 ,O2 ,O3 を
、同図形データ中の文字列の文字表示位置(の中心)と
決定する(ステップS4)。
Assume that the width line graphic data shown in FIG. 4(b) has been extracted in this manner. The character display position calculation unit 52 calculates the reference line (the curve AS Ae shown in FIG. 6A) indicated by the position data in the extracted width line figure data.
) is the number of characters in the string in the same shape data (here 3)
As shown in FIG. It is determined (step S4).

【0045】文字表示位置計算部52は文字表示位置を
決定すると、その位置情報と図形データバッファ22か
ら取出した幅線図形データを文字表示サイズ計算部53
に渡して文字表示サイズ計算部53を起動する。
When the character display position calculation unit 52 determines the character display position, the character display size calculation unit 53 uses the position information and the width line graphic data taken out from the graphic data buffer 22.
and starts the character display size calculation section 53.

【0046】これにより文字表示サイズ計算部53は、
図7に示すように、文字表示位置計算部52によって決
定された各文字表示位置O1 ,O2 ,O3 を中心
とし、該当する幅線図形データの示す幅線図形(道図形
)を構成する2つの曲線as ae およびbs be
 の線に内接する正方形U1 ,U2 ,U3 を仮に
生成する(ステップS5)。
[0046] As a result, the character display size calculation unit 53
As shown in FIG. 7, centering on each character display position O1, O2, O3 determined by the character display position calculation unit 52, there are two lines constituting the width line figure (road figure) indicated by the corresponding width line figure data. Curves as ae and bs be
Squares U1, U2, and U3 inscribed in the line are temporarily generated (step S5).

【0047】文字表示サイズ計算部53は仮に生成した
正方形のうち、サイズの最も小さい正方形(図7の例で
はU2 )を、該当する幅線図形データ中の文字列の文
字表示サイズと決定する(ステップS6)。
The character display size calculation unit 53 determines the smallest square (U2 in the example of FIG. 7) among the temporarily generated squares as the character display size of the character string in the corresponding width line figure data ( Step S6).

【0048】図形文字データ作成部54は文字表示サイ
ズ計算部53により文字表示サイズが決定されると、文
字表示位置計算部52によって取出された図形データ(
文字付幅線図形データ)中の文字列を構成する各文字を
、文字表示位置計算部52によって決定された各文字表
示位置に、文字表示サイズ計算部53によって決定され
た表示サイズで表示するのに必要な図形文字データを、
文字毎に作成し、表示用図形バッファ23に書込む(ス
テップS7)。
When the character display size is determined by the character display size calculation unit 53, the graphic character data creation unit 54 generates the graphic data (
Each character constituting the character string in the width line figure data with characters is displayed at each character display position determined by the character display position calculation unit 52 and at the display size determined by the character display size calculation unit 53. The graphic character data required for
It is created for each character and written into the display graphic buffer 23 (step S7).

【0049】表示用図形バッファ23による図形文字デ
ータの書込みが行われると、文字表示位置計算部52は
図形データバッファ22を再びサーチして文字付幅線図
形データを探す。もし、次の文字付幅線図形データが有
れば、前記したステップS3〜S7が行われる。これに
対して、文字付幅線図形データが無ければ、文字表示位
置計算部52、文字表示サイズ計算部53および図形文
字データ作成部54の処理は終了となる。
When the graphic character data is written in the display graphic buffer 23, the character display position calculation section 52 searches the graphic data buffer 22 again to find width line graphic data with characters. If there is the next width line graphic data with characters, steps S3 to S7 described above are performed. On the other hand, if there is no width line graphic data with characters, the processing of the character display position calculation section 52, character display size calculation section 53, and graphic character data creation section 54 ends.

【0050】さて、表示用図形イメ一ジ作成部55は、
図形表示のために表示用図形バッファ23から表示用図
形データを順に取出し、周知の手段により同データの示
す図形イメ一ジを生成し、表示用RAM8の該当位置に
表示−CNT7を介して書込む。表示−CNT7は、表
示用RAM8に書込まれているイメ一ジを読出して表示
器6に表示する。
Now, the display graphic image creation section 55
In order to display a figure, the display figure data is taken out in sequence from the display figure buffer 23, a figure image indicated by the same data is generated by well-known means, and is written to the corresponding position in the display RAM 8 via the display-CNT7. . The display CNT 7 reads out the image written in the display RAM 8 and displays it on the display 6.

【0051】この結果、上記のように図4(b)に示す
文字付幅線図形データに対応する表示用図形データが表
示用図形バッファ23に書込まれた状態では、図7に示
すような曲線as ae および曲線bs be から
なる道図形が表示される。同時に、図4(b)に示す文
字付幅線図形データ中の文字列○×△が、この道図形の
基準線(中心線)を3等分した各線分の中心O1 ,O
2 ,O3 を表示中心として、第7図に示す正方形U
2と同サイズで表示される。
As a result, when the display figure data corresponding to the width line figure data with characters shown in FIG. A road figure consisting of a curve as ae and a curve bs be is displayed. At the same time, the character string ○×△ in the width line figure data with characters shown in FIG.
2, O3 as the display center, the square U shown in FIG.
Displayed at the same size as 2.

【0052】なお、前記実施例では、基準線が曲線であ
る場合について説明したが、これに限るものではなく、
直線の場合にも適用可能である。また、幅線図形に付随
して表示される文字列の文字サイズを決定するための内
接正方形に代えて、縦横比が一定の内接長方形を用いる
ことも可能である。更に、幅線図形の外側に、その図形
と一定幅を保って対向する仮想の線を作成し、この仮想
の線と幅線図形との間に、前記実施例と同様にして文字
列を配置することも可能である。
[0052] In the above embodiments, the case where the reference line is a curved line has been explained, but it is not limited to this.
It is also applicable to straight lines. Further, instead of the inscribed square for determining the character size of the character string displayed along with the width line figure, it is also possible to use an inscribed rectangle with a constant aspect ratio. Furthermore, a virtual line is created outside the width line shape to face the shape while maintaining a constant width, and a character string is placed between this virtual line and the width line shape in the same way as in the previous example. It is also possible to do so.

【0053】また、前記実施例では、幅線図形を基準線
と幅とにより指定する場合について説明したが、幅線図
形を構成する2本の線を個々に指定することも、操作性
は低下するものの可能である。但し、この指定方式を適
用する場合には、幅線を構成する2本の線を1つの組と
して管理する必要がある。
Furthermore, in the above embodiment, the case where the width line figure is specified by the reference line and the width has been explained, but it is also possible to designate the two lines that make up the width line figure individually, which reduces the operability. It is possible to do so. However, when this designation method is applied, it is necessary to manage the two lines that make up the width line as one set.

【0054】また、前記実施例では、図形表示の場合に
ついて説明したが、印刷の場合にも同様に適用できる。 更に前記実施例では、基本図形分解プログラム等を含む
図形表示制御用プログラムがROM3に記憶されている
ものとして説明したが、予めFDD9等に格納されてい
て、必要に応じてRAM2にロードして用いられるもの
であっても構わない。また本発明は、文書作成装置の他
、パーソナルコンピュータなどの情報処理装置にも適用
可能であり、専用の図形作成装置とすることも可能であ
る。
Furthermore, in the above embodiment, the case of graphical display has been explained, but the present invention can be similarly applied to the case of printing. Furthermore, in the above embodiment, the graphic display control program including the basic graphic decomposition program etc. was explained as being stored in the ROM 3, but it is stored in advance in the FDD 9, etc., and can be loaded into the RAM 2 and used as needed. It doesn't matter if it's something you can do. Further, the present invention can be applied to an information processing device such as a personal computer in addition to a document creation device, and can also be used as a dedicated graphic creation device.

【0055】[0055]

【発明の効果】以上詳述したようにこの発明によれば、
地図上の道路等を表わす幅線図形に沿って付すべき文字
列の文字毎の文字位置を、同文字列の字数および対応す
る幅線図形(を示す図形データ)をもとに決定すると共
に、この決定された各文字位置および対応する幅線図形
(を示す図形データ)をもとに文字サイズを決定するよ
うにしたので、道路等を表わす幅線図形に付すための文
字列を、利用者が、その位置、文字サイズを全く意識せ
ずに入力しても、同文字列を、その幅線図形に沿って自
動的に且つ見栄えよく配置することができる。
[Effects of the Invention] As detailed above, according to the present invention,
Determining the character position of each character in a character string to be attached along a width line figure representing a road etc. on a map based on the number of characters of the character string and the corresponding width line figure (figure data indicating the same), Since the character size is determined based on each determined character position and the corresponding width line figure (figure data indicating the width line figure), the character string to be attached to the width line figure representing roads etc. However, even if the user inputs the same character string without being aware of its position or character size, the same character string can be automatically arranged along its width line shape in an attractive manner.

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

【図1】この発明の一実施例に係わる図形作成機能(図
形作成装置)を搭載した文書作成装置の構成を示すブロ
ック図。
FIG. 1 is a block diagram showing the configuration of a document creation device equipped with a graphic creation function (graphic creation device) according to an embodiment of the present invention.

【図2】上記図形作成機能(図形作成装置)の機能ブロ
ック構成を示す図。
FIG. 2 is a diagram showing a functional block configuration of the graphic creation function (graphic creation device).

【図3】同実施例で適用される図形データの構造を示す
図。
FIG. 3 is a diagram showing the structure of graphic data applied in the same embodiment.

【図4】基準線を用いた幅線図形の指定方式と、同方式
による指定に応じて作成された文字付幅線図形データと
を示す図。
FIG. 4 is a diagram showing a method for specifying a width line figure using a reference line, and width line figure data with characters created according to the specification using the same method.

【図5】同実施例における幅線付随文字の表示制御処理
の手順を説明するためのフローチャート。
FIG. 5 is a flowchart for explaining the procedure of display control processing for characters with width lines in the same embodiment.

【図6】図4に示す文字付幅線図形データによって示さ
れる幅線図形と、同幅線図形を構成する基本図形を示す
表示用図形データとを対比して示す図。
6 is a diagram illustrating a comparison between a width line figure indicated by the character-added width line figure data shown in FIG. 4 and display figure data indicating a basic figure constituting the same width line figure;

【図7】図4に示す文字付幅線図形データによって示さ
れる幅線図形に付随して表示される文字列の表示位置と
表示サイズの決定方式を説明するための図。
7 is a diagram for explaining a method for determining the display position and display size of a character string displayed along with a width line figure indicated by the width line figure data with characters shown in FIG. 4; FIG.

【符号の説明】 1…CPU、2…RAM、3…ROM、4…キーボード
(KB)、6…表示器、8…表示用RAM、22…図形
データバッファ、23…表示用図形バッファ、30…プ
ログラムエリア、35…図形作成プログラムエリア、3
6…図形表示制御用プログラムエリア、38…基本図形
分解プログラム、39…幅線付随文字表示制御プログラ
ム、40…図形作成部、41…幅線作成部、42…文字
入力部、50…図形表示制御部、51…基本図形分解部
、52…文字表示位置計算部、53…文字表示サイズ計
算部、54…図形文字データ作成部、55…表示用図形
イメ一ジ作成部。
[Description of symbols] 1... CPU, 2... RAM, 3... ROM, 4... Keyboard (KB), 6... Display, 8... RAM for display, 22... Graphic data buffer, 23... Graphic buffer for display, 30... Program area, 35...Figure creation program area, 3
6...Program area for figure display control, 38...Basic figure decomposition program, 39...Width line accompanying character display control program, 40...Figure creation section, 41...Width line creation section, 42...Character input section, 50...Graph display control 51...Basic graphic decomposition unit, 52...Character display position calculation unit, 53...Character display size calculation unit, 54...Graphic character data creation unit, 55...Display graphic image creation unit.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  一定幅を保って相対向する2本の線か
らなる幅線図形を示す幅線図形データを作成する幅線作
成手段と、上記幅線図形に付すべき文字列を入力するた
めの文字列入力手段と、上記幅線図形データおよび同デ
ータの示す幅線図形に付すべき上記文字列を対応付けて
記憶するための記憶手段と、この記憶手段に記憶された
文字列の文字毎の表示または印刷すべき文字位置を、同
文字列の字数および同文字列に対応して上記記憶手段に
記憶されている幅線図形データをもとに決定する文字位
置決定手段と、この文字位置決定手段によって決定され
た各文字位置、および対応する上記幅線図形データをも
とに、表示または印刷すべき文字サイズを決定する文字
サイズ決定手段と、上記幅線図形データの示す幅線図形
のイメ一ジを展開する共に、この幅線図形データに対応
する文字列の文字毎のイメ一ジを上記文字位置決定手段
によって決定された文字位置に、上記文字サイズ決定手
段によって決定された文字サイズで展開するイメ一ジ展
開手段と、を具備し、上記イメ一ジ展開手段によって展
開されたイメ一ジを表示または印刷するようにしたこと
を特徴とする図形作成装置。
[Claim 1] Width line creation means for creating width line figure data indicating a width line figure consisting of two lines facing each other while maintaining a constant width, and for inputting a character string to be attached to the width line figure. a character string input means; a storage means for storing the width line figure data and the character string to be attached to the width line figure indicated by the data in association with each other; character position determining means for determining the character position to be displayed or printed based on the number of characters in the same character string and the width line figure data stored in the storage means corresponding to the same character string; character size determining means for determining the character size to be displayed or printed based on each character position determined by the determining means and the corresponding width line graphic data; At the same time, the image is developed for each character of the character string corresponding to this width line figure data at the character position determined by the character position determining means, and at the character size determined by the character size determining means. 1. A graphic creation device comprising: an image developing means for developing an image, and displaying or printing an image developed by the image developing means.
【請求項2】  上記文字位置決定手段は、上記幅線図
形の中心線を上記文字列の構成文字数で等分し、この等
分された各線分の中心位置を上記表示または印刷すべき
文字位置の中心と決定することを特徴とする請求項1記
載の図形作成装置。
2. The character position determining means divides the center line of the width line figure into equal parts by the number of characters constituting the character string, and determines the center position of each of the equally divided line segments as the character position to be displayed or printed. 2. The graphic creation device according to claim 1, wherein the center of the figure is determined as the center of the figure.
【請求項3】  上記文字サイズ決定手段は、上記文字
位置決定手段によって決定された文字位置を中心とし、
対応する上記幅線図形を構成する上記2本の線に内接し
且つ縦横比が一定の矩形を仮生成し、そのうち最も小さ
いサイズの矩形を表示または印刷すべき文字サイズと決
定することを特徴とする請求項2記載の図形作成装置。
3. The character size determining means centers on the character position determined by the character position determining means,
A rectangle inscribed in the two lines constituting the corresponding width line figure and having a constant aspect ratio is temporarily generated, and the rectangle with the smallest size among them is determined as the character size to be displayed or printed. 3. The graphic creation device according to claim 2.
【請求項4】  上記幅線図形データが、対応する幅線
図形の中心線を示す位置データ、および同幅線図形の幅
を示す幅データを含むことを特徴とする請求項3記載の
図形作成装置。
4. Graphic creation according to claim 3, wherein the width line graphic data includes position data indicating the center line of the corresponding width line figure and width data indicating the width of the same width line figure. Device.
JP9711591A 1991-04-26 1991-04-26 Graphic preparing device Pending JPH04326478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9711591A JPH04326478A (en) 1991-04-26 1991-04-26 Graphic preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9711591A JPH04326478A (en) 1991-04-26 1991-04-26 Graphic preparing device

Publications (1)

Publication Number Publication Date
JPH04326478A true JPH04326478A (en) 1992-11-16

Family

ID=14183576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9711591A Pending JPH04326478A (en) 1991-04-26 1991-04-26 Graphic preparing device

Country Status (1)

Country Link
JP (1) JPH04326478A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4873195A (en) * 1988-05-05 1989-10-10 Kabushiki Kaisha Akita Block-formed basidiomycete and a method of cultivation for the same
JPH0877380A (en) * 1994-09-08 1996-03-22 Ee I Sofuto Kk Graphic preparing device and graphic preparing method
WO2012123986A1 (en) * 2011-03-14 2012-09-20 三菱電機株式会社 String arrangement device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4873195A (en) * 1988-05-05 1989-10-10 Kabushiki Kaisha Akita Block-formed basidiomycete and a method of cultivation for the same
JPH0877380A (en) * 1994-09-08 1996-03-22 Ee I Sofuto Kk Graphic preparing device and graphic preparing method
WO2012123986A1 (en) * 2011-03-14 2012-09-20 三菱電機株式会社 String arrangement device
JP5496415B2 (en) * 2011-03-14 2014-05-21 三菱電機株式会社 String arrangement device
JPWO2012123986A1 (en) * 2011-03-14 2014-07-17 三菱電機株式会社 String arrangement device
US9317949B2 (en) 2011-03-14 2016-04-19 Mitsubishi Electric Corporation String arrangement device

Similar Documents

Publication Publication Date Title
JPH04326478A (en) Graphic preparing device
JPH04303273A (en) Graphic preparing device
JPH04303271A (en) Graphic preparing device
JPH04303272A (en) Graphic preparing device
JPH05314109A (en) Documentation device
JPH11212968A (en) Document processor and document processing method
JP2653911B2 (en) Document processing device with banner printing function
JP2755589B2 (en) Document creation device
JPH0512265A (en) Document preparation device
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPH07152737A (en) Document preparing device
JPH04268956A (en) Document preparing device
JPH02300922A (en) Document preparing device
JPH0512267A (en) Automatic paragraphing system
JPH0793319A (en) Document processor
JPH04282755A (en) Word processor
JPH0258158A (en) Documentation device
JPH05314237A (en) Graphic preparing device
JPH0580013B2 (en)
JPH05216976A (en) Document preparing device
JPH04326477A (en) Graphic preparing device
JPH04282746A (en) Document preparing device
JPH1063657A (en) Layout processor
JPH04326476A (en) Graphic preparing device
JPH04128963A (en) Out-of-text area printing system