JPH0519741A - Shadowing system for outline character - Google Patents

Shadowing system for outline character

Info

Publication number
JPH0519741A
JPH0519741A JP3199931A JP19993191A JPH0519741A JP H0519741 A JPH0519741 A JP H0519741A JP 3199931 A JP3199931 A JP 3199931A JP 19993191 A JP19993191 A JP 19993191A JP H0519741 A JPH0519741 A JP H0519741A
Authority
JP
Japan
Prior art keywords
character
shadow
outline
contour
line segment
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
JP3199931A
Other languages
Japanese (ja)
Inventor
Masahiro Date
昌弘 伊達
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 JP3199931A priority Critical patent/JPH0519741A/en
Publication of JPH0519741A publication Critical patent/JPH0519741A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To shadow the outline character efficiently. CONSTITUTION:A memory for character information storage is stored with character information consisting of a coordinate series of change points of the contour of the character. A character contour drawing part performs processing for drawing the contour on a bit map memory according to the character information. A contour painting-out processing part performs processing for painting out the area encircled with the contour on the bit map memory. A shaded character generation processing part performs processing for giving directions to the respective segments constituting the contour of the character to be shaded, processing for extracting a segment series useful for the shadowed character generation according to the directions of the segments and the shadowing direction, processing for generating the shadowed character according to the extracted segment series and shadowing direction vectors, and processing for requesting a character contour drawing processing part and a contour painting-out processing part to draw the generated shadowed character. An output device outputs the character on the bit map memory.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、アウトライン文字の影
付方式の改良に関するものである。文書作成時に使用す
る文字を見た目に良くする意図から、大きさを変えた
り,傾けたりする等の加工を行うことが要求されている
が、文字の影付もその一つで、文字を強調する効果を持
つ。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement of a shadowing method for outline characters. In order to improve the appearance of the characters used when creating a document, it is required to perform processing such as changing the size or tilting, but shadowing of characters is one of them, and emphasizes characters. Have an effect.

【0002】[0002]

【従来の技術】図8は従来のアウトライン文字影付フロ
ーを示す図である。同図において、61は基本となるア
ウトライン文字の描画を行う処理、62は影付が終了し
たか否かを判定する処理、63は輪郭線の描画開始点を
影付方向に1ドットずらす処理、64は輪郭線描画処理
をそれぞれ示す。処理61では基本アウトライン文字の
描画が行われる。なお、アウトライン文字描画システム
では、文字の輪郭線の変化点の座標系列P1 ,P2 …,
n を記憶部に格納しており、文字を出力する際に、該
当する文字の座標系列P1 ,P2 …,Pn をメモリから
読み出し、隣接する変化点を結ぶ線分をビット・マップ
・メモリに書き込むことにより文字の輪郭線をビット・
マップ・メモリ上に作成し、その後で輪郭線で囲まれた
領域を黒く塗り潰す処理が行われている。処理62では
影付が終了したか否かが調べられ、Noの場合には処理
63に進み、Yesの場合には終了とされる。処理63
では、輪郭線描画開始位置を、現方向から影付方向に1
ビットずらす処理が行われる。処理64では、1ビット
ずらされた開始位置から輪郭線を実際に描画する処理が
行われる。この処理が終了すると、処理62が再び実行
される。
2. Description of the Related Art FIG. 8 is a diagram showing a conventional outline character shadowed flow. In the figure, 61 is a process of drawing a basic outline character, 62 is a process of determining whether or not shadowing is completed, 63 is a process of shifting the drawing start point of the contour line by 1 dot in the shadowing direction, Reference numerals 64 denote contour line drawing processing, respectively. In process 61, a basic outline character is drawn. In the outline character drawing system, coordinate series P 1 , P 2, ...
P n is stored in the storage unit, and when a character is output, the coordinate series P 1 , P 2, ..., P n of the corresponding character are read from the memory, and the line segment connecting the adjacent change points is bit-mapped.・ By writing to memory, the outline of the character is
It is created on the map memory, and then the area surrounded by the outline is painted black. In the process 62, it is checked whether or not the shadowing has been completed. If No, the process proceeds to the process 63, and if Yes, the process ends. Process 63
Then, the contour line drawing start position is 1 from the current direction to the shaded direction.
Bit shifting processing is performed. In the process 64, a process of actually drawing the contour line from the start position shifted by 1 bit is performed. When this process ends, the process 62 is executed again.

【0003】図9は従来のアウトライン文字影付の具体
例を示す図である。71ないし74は図形をそれぞれ示
している。図形71は処理61により描画された基本ア
ウトライン文字の例を示す。図形72は、処理63,6
4により、1ドットずらした輪郭線が描画された結果で
ある。図形73は、2ドットずらした輪郭線が描画され
た結果である。なお、図形72,73においては、分り
易くするために、基本アウトライン文字は○で示され、
処理63,64で描画された輪郭線は●で示されてい
る。図形74は、影付の結果の例を示す。
FIG. 9 is a diagram showing a specific example of conventional outline character shadowing. Reference numerals 71 to 74 respectively indicate figures. A graphic 71 shows an example of a basic outline character drawn by the process 61. The graphic 72 is the processing 63, 6
4 is the result of drawing a contour line shifted by one dot. The graphic 73 is the result of drawing the contour line shifted by 2 dots. In the figures 72 and 73, the basic outline character is indicated by a circle for easy understanding.
The contour lines drawn in the processes 63 and 64 are indicated by ●. A graphic 74 shows an example of the result of shading.

【0004】[0004]

【発明が解決しようとする課題】従来のアウトライン文
字影付方法では、影が厚くなり,影の面積が大きくなる
程、2度以上描画する部分が多くなること、影部分を輪
郭線により複数回描画していくことから、描画点の計算
回数が増え、描画時間が長くなると言った問題が生じて
いた。本発明は、この点に鑑みて創作されたものであっ
て、アウトライン文字の影付を効率良く行い得るように
なったアウトライン文字の影付方式を提供することを目
的としている。
In the conventional outline character shadow-casting method, the thicker the shadow and the larger the area of the shadow, the more portions are drawn twice or more. Since drawing is performed, the number of calculations of drawing points increases, and there is a problem that drawing time becomes long. The present invention was created in view of this point, and an object of the present invention is to provide an outline character shadowing method capable of efficiently performing outline character shadowing.

【0005】[0005]

【課題を解決するための手段】図1は本発明の原理を説
明する図である。本発明のアウトライン文字の影付方式
は、文字輪郭線描画処理部,輪郭線塗潰処理部及び影文
字作成処理部を有する制御部と、文字の輪郭線の変化点
の座標系列より成るアウトライン文字情報を記憶する文
字情報格納用メモリと、アウトライン文字情報に基づい
て作成されたアウトライン文字を記憶するビット・マッ
プ・メモリと、ビット・マップ・メモリに格納されてい
るアウトライン文字を出力する出力装置とを具備する情
報処理装置におけるアウトライン文字の影付方式であっ
て、文字輪郭線描画処理部は、アウトライン文字情報に
基づいて、文字の輪郭線をビット・マップ・メモリ上に
描画する処理を行うように構成され、輪郭線塗潰処理部
は、ビット・マップ・メモリ上における輪郭線で囲まれ
た領域を塗潰す処理を行うように構成され、影文字作成
処理部は、アウトライン文字の輪郭線を構成する線分の
各々に対して方向を与え、線分の方向と影付方向を参照
して影文字の作成に役立つ線分列を抽出し、抽出した線
分列と影付方向ベクトルとに基づいて影文字を作成し、
作成した影文字の描画を文字輪郭線描画処理部および輪
郭線塗潰処理部に依頼するよう構成されていることを特
徴とするものである。
FIG. 1 is a diagram for explaining the principle of the present invention. The outline character shadowing method of the present invention is an outline character consisting of a control unit having a character contour line drawing processing unit, a contour line filling processing unit and a shadow character creation processing unit, and a coordinate series of changing points of a character contour line. A character information storage memory that stores information, a bit map memory that stores outline characters created based on outline character information, and an output device that outputs the outline characters stored in the bit map memory An outline character shadowing method in an information processing apparatus comprising: a character contour line drawing processing unit for performing a process of drawing a character contour line on a bit map memory based on outline character information. The contour line filling processing unit is configured to fill the region surrounded by the contour line on the bit map memory. The shadow character creation processing unit gives a direction to each of the line segments that form the outline of the outline character, and refers to the direction of the line segment and the shadowing direction to create a line segment sequence useful for creating the shadow character. Extracted, create a shadow character based on the extracted line segment and shadow direction vector,
It is characterized in that it is configured to request a character contour line drawing processing unit and a contour line painting processing unit to draw the created shadow character.

【0006】[0006]

【作用】制御部は計算機であり、この中に文字輪郭線描
画処理部、輪郭線塗潰処理部、影文字作成処理部のそれ
ぞれに対するプログラムが存在する。文字輪郭線処理部
や輪郭線塗潰処理部,文字情報格納用メモリ,ビット・
マップ・メモリ,出力装置等は、従来装置も具備してい
る。本発明は、文字の影部分を文字と見做し、影文字
(影部分)の輪郭線を求め、影文字の輪郭線に基づい
て、影文字の描画を行うものである。本発明の影文字作
成処理手段は、影文字の輪郭線を特定するものである。
The control unit is a computer, and there are programs for the character contour drawing processing unit, the contour filling processing unit, and the shadow character creation processing unit. Character contour processing unit and contour painting processing unit, memory for storing character information, bit
The map memory, output device, etc. are also equipped with conventional devices. The present invention considers a shadow portion of a character as a character, obtains the contour line of the shadow character (shadow portion), and draws the shadow character based on the contour line of the shadow character. The shadow character creation processing means of the present invention specifies the outline of the shadow character.

【0007】影文字作成処理部は、先ず影付対象のアウ
トライン文字の輪郭線を構成する線分の各々に対して方
向を与える。例えば、塗潰部分が線分の左となるような
方向を線分の方向とする。次に、影付方向と線分の方向
とを参照して、影文字の作成に役立つ線分列を抽出す
る。例えば、線分の方向が影付方向座標yに対して正で
ある線分を抽出する。影付方向座標における正のx方向
は影付方向と一致する。次に、抽出した線分列と影付方
向ベクトルとに基づいて、影文字を作成する。最後に、
作成した影文字の描画を文字輪郭線描画処理部および輪
郭線塗潰処理部に依頼する。
The shadow character creation processing section first gives a direction to each of the line segments forming the outline of the outline character to be shadowed. For example, the direction in which the painted portion is to the left of the line segment is the direction of the line segment. Next, a line segment sequence useful for creating a shadow character is extracted by referring to the shadowing direction and the line segment direction. For example, a line segment whose direction is positive with respect to the shading direction coordinate y is extracted. The positive x direction in the shading direction coordinates matches the shading direction. Next, a shadow character is created based on the extracted line segment sequence and the shadow direction vector. Finally,
The drawing of the created shadow character is requested to the character outline drawing processing unit and the outline filling processing unit.

【0008】[0008]

【実施例】図2は本発明による影付アウトライン文字の
描画フローを示す図である。同図において、11はアウ
トライン文字全線分チェック終了判定処理、12は影文
字作成線分列の抽出処理、13は影文字作成処理、14
は影作成文字描画処理をそれぞれ示している。処理11
では、アウトライン文字の輪郭線を構成する全ての線分
についてチェックが終了したか否かが調べられる。Ye
sの場合には処理14に進み、Noの場合には処理12
に進む。処理12では、影文字を作成するのに必要な線
分列の抽出が行われる。影文字とは影となる部分を意味
しており、本発明では影部分を文字と見做している。影
文字作成線分列の抽出フローの詳細は、図3に示され
る。処理13では、影文字の作成が行われる。処理13
の後、処理11に戻る。影文字の作成フローの詳細は、
図4に示される。処理14では、影作成文字の描画が行
われる。影文字描画フローの詳細は、図5に示される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 is a diagram showing a drawing flow of a shaded outline character according to the present invention. In the figure, 11 is an outline character all line segment check end determination process, 12 is a shadow character creation line segment extraction process, 13 is a shadow character creation process, and 14 is a shadow character creation process.
Indicates the shadow creation character drawing process. Process 11
Then, it is checked whether or not the check has been completed for all the line segments forming the outline of the outline character. Ye
In the case of s, it progresses to processing 14, and in the case of No, processing 12
Proceed to. In process 12, the line segment string necessary for creating the shadow character is extracted. The shadow character means a part that becomes a shadow, and in the present invention, the shadow part is regarded as a character. The details of the extraction flow of the shadow character creation line segment sequence are shown in FIG. In process 13, a shadow character is created. Process 13
After that, the process returns to the process 11. For details on the shadow character creation flow,
It is shown in FIG. In process 14, the shadow creation character is drawn. Details of the shadow character drawing flow are shown in FIG.

【0009】図3は本発明における影文字作成線分列の
抽出フローを示す図である。同図において、21は連続
する線分チェックの終了判定処理、22は文字が塗られ
た部分が左となるようにして線分に方向を与える処理、
23は描画対象となる線分を判別する処理、24は抽出
した線分列の存在を確認する処理をそれぞれ示してい
る。
FIG. 3 is a diagram showing an extraction flow of a shadow character creation line segment sequence in the present invention. In the figure, 21 is a process for determining the end of consecutive line segment checks, 22 is a process for giving a direction to a line segment so that the part where characters are painted is on the left,
Reference numeral 23 denotes a process for discriminating a line segment to be drawn, and 24 denotes a process for confirming the existence of the extracted line segment sequence.

【0010】処理21では、連続する線分列(閉曲線)
を構成する全ての線分についてチェックが終了したか否
かを調べる。Yesの場合には終了とし、Noの場合に
は処理22に進む。処理22では、線分に文字が塗られ
た部分を左とする方向を与える。処理23では、線分の
方向が影付方向座標Yに対して正か否かを調べる。正の
場合には当該線分を記憶し、処理21に戻る。正でない
場合には処理24に進む。なお、影付方向座標における
正のx方向ベクトルは影付方向と一致する。処理24で
は、既に線分抽出済か否かが調べられる。Yesの場合
は終了とされ、Noの場合は処理21に戻る。
In process 21, a sequence of continuous line segments (closed curve)
It is checked whether or not the check has been completed for all the line segments constituting the. If Yes, the process ends, and if No, the process proceeds to step 22. In the process 22, the direction in which the portion where the character is painted on the line segment is left is given. In the process 23, it is checked whether the direction of the line segment is positive with respect to the shaded direction coordinate Y. If it is positive, the line segment is stored, and the process returns to step 21. If it is not positive, the process proceeds to step 24. Note that the positive x-direction vector in the shaded direction coordinates matches the shaded direction. In process 24, it is checked whether the line segment has already been extracted. In the case of Yes, the process is ended, and in the case of No, the process returns to the process 21.

【0011】図4は本発明における影文字の作成フロー
を示す図である。同図において、31は抽出された線分
列に影付方向ベクトルを加える処理、32は影文字を作
成する処理、33は影文字を登録する処理をそれぞれ示
している。処理31では、影文字作成線分列抽出処理1
2で抽出された線分列に、影付方向ベクトルを加える。
処理32では、処理31で作成した線分列の端点と元の
線分列の端点とを直線で結ぶ。処理33では、処理32
で作成された影文字を描画対象の文字として所定のメモ
リ領域に登録する。
FIG. 4 is a diagram showing a flow of creating a shadow character in the present invention. In the figure, 31 is a process of adding a shadow direction vector to the extracted line segment sequence, 32 is a process of creating a shadow character, and 33 is a process of registering a shadow character. In process 31, shadow character creation line segment sequence extraction process 1
A shadow direction vector is added to the line segment sequence extracted in 2.
In process 32, the end point of the line segment sequence created in process 31 and the end point of the original line segment sequence are connected by a straight line. In process 33, process 32
The shadow character created in step 1 is registered in a predetermined memory area as a character to be drawn.

【0012】図5は本発明における影文字描画フローを
示す図である。同図において、41は影文字があるか否
かを調べる判定処理、42は影文字描画処理をそれぞれ
示している。処理41では、描画対象の影文字が存在す
るか否かを調べる。Yesの場合には処理42に進み、
Noの場合には終了とする。処理42では、影文字描画
を行う。その処理終了後、処理41に戻る。
FIG. 5 is a diagram showing a shadow character drawing flow in the present invention. In the figure, reference numeral 41 denotes a determination process for checking whether there is a shadow character, and 42 denotes a shadow character drawing process. In process 41, it is checked whether or not there is a shadow character to be drawn. If Yes, go to process 42,
If No, the process ends. In process 42, shadow character drawing is performed. After the processing ends, the processing returns to the processing 41.

【0013】図6,図7は本発明による影付処理の具体
例を示す図である。同図において、50は影付方向ベク
トル、51は影付対象の文字、52ないし517は処理
過程における処理を説明する図、ないしは影付対象
文字の輪郭線を構成する線分をそれぞれ示している。図
示の例では、影付方向ベクトル50は右斜め上方向であ
る。また、影付対象の文字は、線分ないしよりなる
閉じた輪郭線と、線分ないしよりなる閉じた輪郭線
を有している。先ず、図2の処理11で全線分チェック
終了済か否かを判定する。最初は全線分チェック終了済
ではないので、図2の処理12(すなわち、図3の影文
字線分列抽出フロー)に移行する。
FIGS. 6 and 7 are diagrams showing a concrete example of the shadowing process according to the present invention. In the figure, reference numeral 50 is a shadow direction vector, 51 is a character to be shadowed, 52 to 517 are diagrams for explaining the processing in the processing steps, or line segments constituting the outline of the character to be shadowed. .. In the illustrated example, the shaded direction vector 50 is diagonally to the upper right. Further, the character to be shaded has a closed contour line composed of line segments or a closed contour line composed of line segments. First, in process 11 of FIG. 2, it is determined whether all line segment checks have been completed. Since all line segment checks have not been completed at first, the process moves to the process 12 of FIG. 2 (that is, the shadow character line segment string extraction flow of FIG. 3).

【0014】図3の影文字作成線分列抽出フローに移行
すると、処理21において連続する線分チェック終了判
定が行われる。最初はNoであるので、処理22に進
む。処理22では、最初の線分に下向き方向を与え
る。次に、処理23において、線分の方向が影付方向
座標yに対して正であるか否かが調べられる。線分の
方向と影付方向座標とは、52で示される。線分の方
向は影付方向座標yに対して正でないので、線分は抽
出さない。なお、線分の近傍に付された×は当該線分
の方向が影付方向座標yに対して正でないことを示し、
○は正であることを示す。その他も同様である。
When the flow for extracting the shadow character creating line segment sequence of FIG. 3 is entered, it is judged in processing 21 whether or not the continuous line segment check is completed. Since it is No at the beginning, the process proceeds to the process 22. In process 22, the downward direction is given to the first line segment. Next, in process 23, it is checked whether the direction of the line segment is positive with respect to the shadow direction coordinate y. The direction of the line segment and the shading direction coordinates are indicated by 52. Since the direction of the line segment is not positive with respect to the shading direction coordinate y, the line segment is not extracted. In addition, x attached to the vicinity of the line segment indicates that the direction of the line segment is not positive with respect to the shadow direction coordinate y,
○ indicates that it is positive. Others are the same.

【0015】線分が抽出すべき線分か否かのチェック
が行われた後、線分が抽出すべき線分か否かのチェッ
クが行われる。線分の方向と影付方向座標とは、53
で示される。線分の方向は影付方向座標yに対して正
でないので、線分は抽出さない。
After checking whether the line segment is a line segment to be extracted, it is checked whether the line segment is a line segment to be extracted. The direction of the line segment and the shading direction coordinate are 53
Indicated by. Since the direction of the line segment is not positive with respect to the shading direction coordinate y, the line segment is not extracted.

【0016】線分が抽出すべき線分か否かのチェック
が行われた後、線分が抽出すべき線分か否かのチェッ
クが行われる。線分の方向と影付方向座標とは、54
で示される。線分の方向は影付方向座標yに対して正
であるので、線分は抽出すべき線分とされる。
After checking whether or not the line segment is a line segment to be extracted, it is checked whether or not the line segment is a line segment to be extracted. The direction of the line segment and the shading direction coordinate are 54
Indicated by. Since the direction of the line segment is positive with respect to the shading direction coordinate y, the line segment is the line segment to be extracted.

【0017】線分が抽出すべき線分か否かのチェック
が行われた後、線分が抽出すべき線分か否かのチェッ
クが行われる。線分の方向と影付方向座標とは、55
で示される。線分の方向は影付方向座標yに対して正
であるので、線分は抽出すべき線分とされる。
After checking whether or not the line segment is a line segment to be extracted, it is checked whether or not the line segment is a line segment to be extracted. The direction of the line segment and the shadow direction coordinate are 55
Indicated by. Since the direction of the line segment is positive with respect to the shading direction coordinate y, the line segment is the line segment to be extracted.

【0018】線分について処理23が行われた後に処
理21が再び実行されるが、この場合は処理21で連続
する線分チェック終了と判定されるので、図2の処理1
3(すなわち、図4の影文字作成フロー)が実行され
る。抽出された線分はとであるので、線分,に
影付方向ベクトルが加算され、線分’と’が得られ
る。そして、線分,より成る線分列の端点と、線分
’,’よりなる線分列の端点とが直線で結ばれる。
この結果得られる影文字は56で示され、描画対象文字
として所定のメモリ領域に登録される。
After the process 23 is performed for the line segment, the process 21 is executed again. In this case, since it is determined that the continuous line segment check is completed in the process 21, the process 1 of FIG.
3 (that is, the shadow character creation flow of FIG. 4) is executed. Since the extracted line segments are and, the shading direction vector is added to the line segments, and line segments'and 'are obtained. Then, the end point of the line segment sequence consisting of the line segments and the end point of the line segment sequence consisting of the line segments 'and' are connected by a straight line.
The shadow character obtained as a result is indicated by 56 and is registered in a predetermined memory area as a drawing target character.

【0019】上述の影文字作成処理13が行われた後、
再び処理11が実行される。この場合は、線分ないし
が残っているので、再び処理12,13が実行され
る。57は線分の方向と影付方向座標を示し、58は
線分の方向と影付方向座標を示し、59は線分の方
向と影付方向座標を示し、511は線分の方向と影付
方向座標を示す。線分ととが抽出されるので、51
0のような影文字が登録される。
After the above-described shadow character creation processing 13 is performed,
The process 11 is executed again. In this case, since the line segment or remains, the processes 12 and 13 are executed again. Reference numeral 57 indicates a line segment direction and shadow direction coordinates, 58 indicates a line segment direction and shadow direction coordinates, 59 indicates a line segment direction and shadow direction coordinates, and 511 indicates a line segment direction and shadow directions. Shows the attachment direction coordinates. Since the line segments and are extracted, 51
A shadow character such as 0 is registered.

【0020】上述の影文字作成処理13が行われた後、
再び処理11が実行される。この場合は、アウトライン
文字全線分チェック終了であるので、影作成文字描画処
理14が実行される。512は、基本アウトライン文字
に56の影文字を追加した状態を示す。513は、51
2の図形において56の影文字を黒く塗り潰した状態を
示す。514は、513の図形に510の影文字を追加
した状態を示す。515は、514の図形において51
0の影文字を黒く塗り潰した状態を示す。516は完成
した影付文字を示し、517は分り易くするために元の
文字を白抜きにしたものを示す。
After the above-described shadow character creation processing 13 is performed,
The process 11 is executed again. In this case, since the outline character all line segment check has been completed, the shadow creation character drawing process 14 is executed. Reference numeral 512 shows a state in which 56 shadow characters are added to the basic outline character. 513 is 51
The figure 2 shows a state where 56 shadow characters are painted black. Reference numeral 514 indicates a state in which 510 shadow characters are added to the figure 513. 515 is 51 in the figure of 514
A state in which a shadow character of 0 is painted black is shown. Reference numeral 516 indicates a completed shaded character, and reference numeral 517 indicates an original character that is outlined for the sake of clarity.

【0021】[0021]

【発明の効果】以上の説明から明らかなように、本発明
によれば、影部分の描画時に同じ部分を二度塗る場合が
少ないので、影部分の面積が大きくなる程、従来技術よ
り高速に影部分を描画でき、しかも従来のアウトライン
文字描画技術である変化点描画処理と文字内塗潰し処理
をそのまま利用して影文字ロジックのみを追加すれば良
い。
As is apparent from the above description, according to the present invention, it is rare that the same portion is painted twice when the shadow portion is drawn. It is only necessary to add the shadow character logic by using the change point drawing process and the in-character filling process, which are conventional outline character drawing techniques, as it is possible to draw a shadow part.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明による影付アウトライン文字描画フロー
を示す図である。
FIG. 2 is a diagram showing a shadow outline character drawing flow according to the present invention.

【図3】本発明における影文字作成線分列の抽出フロー
を示す図である。
FIG. 3 is a diagram showing an extraction flow of a shadow character creation line segment sequence in the present invention.

【図4】本発明における影文字作成フローを示す図であ
る。
FIG. 4 is a diagram showing a flow of creating a shadow character according to the present invention.

【図5】本発明における影文字描画フローを示す図であ
る。
FIG. 5 is a diagram showing a shadow character drawing flow in the present invention.

【図6】本発明における影付処理の具体例を示す図であ
る。
FIG. 6 is a diagram showing a specific example of shadowing processing in the present invention.

【図7】本発明における影付処理の具体例(続き)を示
す図である。
FIG. 7 is a diagram showing a specific example (continuation) of the shadowing process in the present invention.

【図8】従来のアウトライン文字影付フローを示す図で
ある。
FIG. 8 is a diagram showing a conventional outline character shadowed flow.

【図9】従来のアウトライン文字影付の具体例を示す図
である。
FIG. 9 is a diagram showing a specific example of conventional outline character shading.

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

11 アウトライン文字全線分チェック終了判定処理 12 影文字作成線分列の抽出処理 13 影文字作成処理 14 影作成文字描画処理 11 Outline character all line segment check end determination processing 12 Shadow character creation line segment extraction processing 13 Shadow character creation processing 14 Shadow creation character drawing processing

Claims (1)

【特許請求の範囲】 【請求項1】 文字輪郭線描画処理部,輪郭線塗潰処
理部及び影文字作成処理部を有する制御部と、 文字の輪郭線の変化点の座標系列より成るアウトライン
文字情報を記憶する文字情報格納用メモリと、 アウトライン文字情報に基づいて作成されたアウトライ
ン文字を記憶するビット・マップ・メモリと、 ビット・マップ・メモリに格納されているアウトライン
文字を出力する出力装置とを具備する情報処理装置にお
けるアウトライン文字の影付方式であって、 文字輪郭線描画処理部は、アウトライン文字情報に基づ
いて、文字の輪郭線をビット・マップ・メモリ上に描画
する処理を行うように構成され、 輪郭線塗潰処理部は、ビット・マップ・メモリ上におけ
る輪郭線で囲まれた領域を塗潰す処理を行うように構成
され、 影文字作成処理部は、アウトライン文字の輪郭線を構成
する線分の各々に対して方向を与え、線分の方向と影付
方向を参照して影文字の作成に役立つ線分列を抽出し、
抽出した線分列と影付方向ベクトルとに基づいて影文字
を作成し、作成した影文字の描画を文字輪郭線描画処理
部および輪郭線塗潰処理部に依頼するよう構成されてい
ることを特徴とするアウトライン文字の影付方式。
Claim: What is claimed is: 1. An outline character comprising a control unit having a character contour drawing processing unit, a contour filling processing unit, and a shadow character creation processing unit, and a coordinate series of changing points of the character contour line. A character information storage memory that stores information, a bit map memory that stores outline characters created based on outline character information, and an output device that outputs the outline characters stored in the bit map memory An outline character shadowing method in an information processing device comprising: a character contour drawing processing unit for performing processing of drawing a character contour line on a bit map memory based on outline character information. The contour line filling processing unit is configured to fill the area surrounded by the contour line on the bit map memory. The shadow character creation processing unit gives a direction to each of the line segments that make up the outline of the outline character, and refers to the direction of the line segment and the shadowing direction to create a line segment sequence that is useful for creating the shadow character. Extract and
A shadow character is created based on the extracted line segment sequence and the shading direction vector, and the character outline drawing processing unit and the contour line filling processing unit are requested to draw the created shadow character. Characteristic outline character shadowing method.
JP3199931A 1991-07-15 1991-07-15 Shadowing system for outline character Withdrawn JPH0519741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3199931A JPH0519741A (en) 1991-07-15 1991-07-15 Shadowing system for outline character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3199931A JPH0519741A (en) 1991-07-15 1991-07-15 Shadowing system for outline character

Publications (1)

Publication Number Publication Date
JPH0519741A true JPH0519741A (en) 1993-01-29

Family

ID=16415980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3199931A Withdrawn JPH0519741A (en) 1991-07-15 1991-07-15 Shadowing system for outline character

Country Status (1)

Country Link
JP (1) JPH0519741A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0631242A2 (en) * 1993-06-24 1994-12-28 Brother Kogyo Kabushiki Kaisha Text processing device with decorative character shading function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0631242A2 (en) * 1993-06-24 1994-12-28 Brother Kogyo Kabushiki Kaisha Text processing device with decorative character shading function
EP0631242A3 (en) * 1993-06-24 1995-06-28 Brother Ind Ltd Text processing device with decorative character shading function.

Similar Documents

Publication Publication Date Title
JP3049672B2 (en) Image processing method and apparatus
JP2608571B2 (en) Apparatus and method for vectorizing input scanned image data
WO1984002993A1 (en) Method and apparatus for representation of a curve of uniform width
JPH0519741A (en) Shadowing system for outline character
US6201553B1 (en) Character generating method and apparatus
US5355448A (en) Method of generating dot signals corresponding to character pattern and the system therefor
JPH0277889A (en) Graphic painting-out system
JPH0711771B2 (en) Font information transfer method
JP3146771B2 (en) Font rasterizing apparatus and method
JPS62211692A (en) Preparation system for character of varied size
JPS63305478A (en) Pattern information restoring device
JP3536894B2 (en) Graphic processing unit
JP3082467B2 (en) Outline data processing device
JP2001088367A (en) Image processor
KR920008981B1 (en) Method of high quality character pattern generation
JP2603322B2 (en) Character processing apparatus and method
JP2776887B2 (en) Font pattern processing method
JP3089906B2 (en) Drawing equipment
JP2782904B2 (en) Polygon fill method
JP2881884B2 (en) Document creation device
JPH0772847A (en) Character font output device and character font generating device
JP2835056B2 (en) High quality character pattern generation method
JPH0332111B2 (en)
JPH0691938A (en) Printing control device
JPH08171379A (en) Forming method for bit map image

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981008