JPH02165389A - Information processor - Google Patents

Information processor

Info

Publication number
JPH02165389A
JPH02165389A JP32097288A JP32097288A JPH02165389A JP H02165389 A JPH02165389 A JP H02165389A JP 32097288 A JP32097288 A JP 32097288A JP 32097288 A JP32097288 A JP 32097288A JP H02165389 A JPH02165389 A JP H02165389A
Authority
JP
Japan
Prior art keywords
straight line
point side
drawing method
starting point
basic
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
JP32097288A
Other languages
Japanese (ja)
Inventor
Hirofumi Miyagaki
宮垣 浩文
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP32097288A priority Critical patent/JPH02165389A/en
Publication of JPH02165389A publication Critical patent/JPH02165389A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To improve the quality of a straight line by forming the straight line so that the cut faces of both the ends, i.e. both the ends of the straight line are arrayed on a straight line intersecting with the long axis direction at right angles even in the case of displaying or printing out a thick straight line. CONSTITUTION:The information processor has the 1st and 2nd coordinate storage memories 21A, 21B, the 1st and 2nd computing elements 22A, 22B, the 1st and 2nd registers 23A, 23B, the 1st and 2nd four-connection line generators 24A, 24B, the 3rd, 4th coordinate storing memories 25A, 25B, a counter 26, a page buffer memory 27, a eight-connection line generator 28, a pattern generator 29, and the 1st and 2nd exclusive NOR circuits 30, 31. Since the coordinates (coordinates on the starting point A side and end point B side) on both the cut ends of a reference straight line are calculated by the four-connection line plotting method having an inclination vertical to the straight line A-B, the cut faces are always vertical to the reference straight line and the cut faces on both the ends are aligned to the straight line A-B. Thus, the straight line of high quality can be printed out or displayed.

Description

【発明の詳細な説明】 童皇上件机几分更 この発明は、パーソナルコンピュータやオフィスコンピ
ュータ、ワードプロセッサ、DTP (デスク・トップ
・パブリッシング)、DPS(データ・プロセッシング
・システム)、その他各種の4連結描画法と8連結描画
法による描画機能を備えた情報処理装置に係り、特に、
解像度の高い情報処理装置において、直線を表示あるい
は印刷する際、そのWJ端点における切り口、すなわち
直線の長軸方向と直交する線の形状を描画する直線の長
軸方向に対して直角にし、がっ、太め処理においてパタ
ーンを付けた場合でも、そのパターンの切り口が、描画
する直線の長軸方向に対して直交する線上に配列される
ようにして、太い直線の描画でも極めて高品質の表示/
印刷が得られるようにした処理装置に関する。
[Detailed Description of the Invention] This invention is applicable to personal computers, office computers, word processors, DTP (desk top publishing), DPS (data processing systems), and other various types of 4-connected rendering. In particular, it relates to an information processing device equipped with a drawing function based on the method and the 8-connected drawing method, and in particular,
When displaying or printing a straight line in a high-resolution information processing device, the cut at the WJ end point, that is, the shape of the line perpendicular to the long axis direction of the straight line, is made perpendicular to the long axis direction of the straight line to be drawn. Even if a pattern is added in thick processing, the cut edges of the pattern are arranged on a line perpendicular to the long axis direction of the line to be drawn, so that extremely high quality display/display can be achieved even when drawing a thick straight line.
The present invention relates to a processing device that enables printing.

炎来夏投先 従来の4連結描画法や8連結描画法による描画方法では
、直線の太さは1ドツトの場合が大半であり、また、こ
の直線を太く表示/印刷するためには、直線の始点、終
点のX座標あるいはy座標を1ドツトずつ移動させなが
ら、その座標間を直線で結ぶ方法が多く採用されている
In the conventional 4-connection drawing method and 8-connection drawing method, the thickness of the straight line is mostly one dot, and in order to display/print this straight line thickly, it is necessary to A commonly used method is to move the X or Y coordinates of the starting point and ending point one dot at a time and connect the coordinates with a straight line.

しかし、このように、始点、終点のX座標あるいはym
’Rを1ドツトずつ移動させる方法では、その直線の両
端点の切り口は、必然的に水平線あるいは垂直線となる
ので、線幅が太くなると、両端の切り口の不揃いが目立
ってしまう。
However, like this, the X coordinates or ym of the starting point and ending point
In the method of moving 'R one dot at a time, the cuts at both end points of the straight line are inevitably horizontal or vertical lines, so as the line width becomes thicker, the irregularities in the cuts at both ends become noticeable.

このような不都合は、直線にパターンを付ける場合も同
様で、パターンの切り口も、水平線あるいは垂直線にな
る(後述の4連結描画法)。
This inconvenience is the same when a pattern is drawn on a straight line, and the cut end of the pattern becomes a horizontal line or a vertical line (four-connected drawing method described later).

また、直線を太く表示/印刷する際に、描画された線の
形状をより滑らかにする方法として、8連結描画法も用
いられている。
Furthermore, when displaying/printing thick straight lines, the 8-connected drawing method is also used as a method for smoothing the shape of the drawn lines.

この8連結描画法によれば、滑らかな直線は得られるが
、反面で、線の間にドツト抜けが生じるため、品質が低
下するという問題がある。
According to this 8-connection drawing method, smooth straight lines can be obtained, but on the other hand, there is a problem in that the quality is degraded because dots are left out between the lines.

ところで、近年、DTP (デスク・トップ・パブリッ
シング)分野では、技術的な発展が目覚ましく、それに
伴って、印刷品質の向上のために、解像度の高い表示装
置や印刷装置が使用される傾向にある。
Incidentally, in recent years, there has been remarkable technological development in the field of DTP (desk top publishing), and as a result, there is a trend toward the use of high-resolution display devices and printing devices in order to improve print quality.

この場合には、表示あるいは印刷される図形の線の太さ
も、解像度の向上に対応して太くする必要が生じる。
In this case, it becomes necessary to increase the thickness of the lines of the displayed or printed figures to correspond to the improvement in resolution.

その結果、解像度が低い場合には余り問題とならなかっ
た直線の両端点の切り口(直線の長軸方向と直交する線
)の形状も、解像度の向上に対応して無視できなくなり
つつある。
As a result, the shapes of the cuts at both end points of a straight line (lines perpendicular to the long axis direction of the straight line), which did not pose much of a problem when the resolution was low, are no longer negligible as the resolution improves.

次に1図面を参照しながら、従来の4連結描画法と8連
結描画法について、詳しく説明する。
Next, the conventional 4-connection drawing method and 8-connection drawing method will be explained in detail with reference to one drawing.

第6図(1)と(2)は、従来の8連結描画法による直
線のドツト配列状態の一例を示す図で、(1)は基本と
なる線1iI11ドツトの直線、(2)は線幅を4ドツ
トにした場合の直線を示す。図面において、0印はドツ
ト部、榔はドツト抜は部を示す6次の第7図(1)と(
2)は、同じ〈従来の4連結描画法による直線のドツト
配列状態の一例を示す図で、(1)は基本となる線幅1
ドツトの直線、(2)は線幅を4ドツトにした場合の直
線を示す。図面において、0印はドツト部を示す。
Figures 6 (1) and (2) are diagrams showing an example of a straight line dot arrangement state by the conventional 8-connected drawing method, where (1) is a basic line of 1iI11 dots, and (2) is a line width. The straight line is shown when is made into 4 dots. In the drawings, the 0 mark indicates the dot part, and the mark indicates the dot part.
2) is a diagram showing an example of a straight line dot arrangement state using the same conventional 4-connected drawing method, and (1) is a diagram with a basic line width of 1.
The straight line of dots (2) shows the straight line when the line width is set to 4 dots. In the drawings, the 0 mark indicates a dot portion.

第8図(1)と(2)は、従来の8連結と4連結描画法
によるドツト関係を説明する図で、(1)は8連結描画
法、(2)は4連結描画法の場合を示す。図面において
、O印は基準となるドツト、鍔印は次にくるドツトが入
り得る位置を示す。
Figures 8 (1) and (2) are diagrams explaining the dot relationships in the conventional 8-connection and 4-connection drawing methods, where (1) shows the case of the 8-connection drawing method and (2) shows the case of the 4-connection drawing method. show. In the drawings, the O mark indicates a reference dot, and the tsuba mark indicates a position where the next dot can enter.

まず、8連結描画法について説明するが、すでに述べた
ように、この方法では、ドツト抜けの問題がある。
First, the 8-connected drawing method will be explained, but as already mentioned, this method has the problem of missing dots.

この8連結描画法では、第8図(1)に示すように、基
準となるドツト0に対して1m印を付けた周囲8個所が
、次にくるドツトの入り得る位置となる。
In this 8-connection drawing method, as shown in FIG. 8(1), the eight locations around the reference dot 0 marked with 1 m marks are the possible positions for the next dot.

簡単にいえば、次のドツト位置は、上下左右だけでなく
、右上、右下、左上、左下のいずれかを指定することも
可能である。
Simply put, the next dot position can be specified not only above, below, left, or right, but also at the upper right, lower right, upper left, or lower left.

したがって、先の第6図(1)に示した線幅が1ドツト
の直線について、その線幅を4ドツトの直線に太くした
いときは1例えば1次のドツトの位置を右下へ3ドツト
分と指定する。
Therefore, if you want to thicken the line width of 1 dot shown in Figure 6 (1) to a straight line of 4 dots, for example, change the position of the primary dot by 3 dots to the lower right. Specify.

このように指定すると、この第6図(1)の線幅が1ド
ツトの直線は、各ドツトがそれぞれ3ドツト分だけ右下
方向へ複写されて、第6図(2)に示すように、線幅が
4ドツトの直線となる。
With this specification, each dot of the straight line with a line width of 1 dot in Figure 6 (1) is copied in the lower right direction by 3 dots, as shown in Figure 6 (2). The line width becomes a straight line with a width of 4 dots.

ところが、この第6図(2)の直線では、榔印を付けた
位置がドツト抜けとなるので、品質はよくない。
However, in the straight line shown in FIG. 6(2), the quality is not good because the dots are missing at the positions marked by the dots.

8連結描画法の場合には、第8図(1)のように。In the case of the 8-connected drawing method, as shown in Fig. 8 (1).

次のドツト位置として、周囲8個所を指定することは可
能である。
It is possible to specify eight surrounding locations as the next dot position.

しかし、この第6図(2)の例のように、右下のような
傾めの位置を指定すると、第6図(1)で。
However, as in the example in Figure 6 (2), if you specify a tilted position such as the lower right, the result will be in Figure 6 (1).

例えば左から3番目、5番目、7番目のような基本ドツ
トの直下の位置は、その左上に基本ドツトが存在してい
ないので、次にくるドツトがこれら基本ドツトの直下の
位置となることはなく、結果的にドツト抜けの状態にな
る。
For example, there are no basic dots in the upper left of the positions immediately below the basic dots, such as the third, fifth, and seventh from the left, so the next dot will not be located directly below these basic dots. This results in a state of missing dots.

したがって、この8連結描画法によって線幅を太くする
場合には、両端の切り口、すなわち基本線と直交する面
は4ドツトとなるので、きれいな直線となるが、中間に
ドツト抜けが生じるので、印字品質が低下してしまう、
という不都合がある。
Therefore, when increasing the line width using this 8-connection drawing method, the cuts at both ends, that is, the plane perpendicular to the basic line, will have 4 dots, resulting in a clean straight line, but there will be a missing dot in the middle, so it will be difficult to print. quality will deteriorate,
There is this inconvenience.

これに対して、4連結描画法の場合には、第8図(2)
に示すように、基準となるドツト0に対して、榔印を付
けた上下左右の4個所が、次にくるドツトの入り得る位
置となる。
On the other hand, in the case of the 4-connected drawing method, Fig. 8 (2)
As shown in the figure, with respect to the reference dot 0, the four positions marked with squares on the top, bottom, left and right are the positions where the next dot can be placed.

そのため、第7図(1)に示した線幅が1ドツトの基本
線を、先の8連結描画法のように、右下へ3ドツト分だ
け複写するためには、−旦、直下の位置を指定し、さら
に、この直下の位置を基本ドツトとして、その右を指定
する必要がある。
Therefore, in order to copy the basic line with a line width of 1 dot shown in Figure 7 (1) to the lower right by 3 dots as in the 8-connection drawing method described above, It is also necessary to specify the position immediately below this as the basic dot and specify the point to the right of it.

このように、2回の描線処理(複写処理)を行うことに
よって、第7図(1)の線幅が1ドツトの基本線は、第
7図(2)に示すように、線幅が4ドツトの太い直線に
変化される。
In this way, by performing the line drawing process (copying process) twice, the basic line with a line width of 1 dot in Figure 7 (1) can be changed to a line width of 4 dots as shown in Figure 7 (2). Changed to a thick straight line with dots.

しかし、4連結描画法の場合には、このように、右下へ
3ドツト分だけ描画するために、1ドツト分の描画に2
回の処理を行うことが要求されるので、描画処理が複雑
となる上に、その処理時間も多くなる。
However, in the case of the 4-connected drawing method, in order to draw only 3 dots to the bottom right, 2 dots are drawn for 1 dot.
Since the drawing process is required to be performed twice, the drawing process becomes complicated and the processing time also increases.

しかも、線幅を4ドツトにする処理を行ったにも拘らず
、その両端の切り口は、3ドツトとなるので、解像度が
高くなると、見難くい直線が得られることになる。
Moreover, even though the line width has been reduced to 4 dots, the cuts at both ends are 3 dots, so as the resolution increases, a straight line that is difficult to see will be obtained.

このように、従来の8連結描画法や4連結描画法では、
直線の両端の切り口が揃うという利点があるが、中間に
ドツト抜けが生じてしまったり、逆に、中間のドツト抜
けは生じなくても、直線の両端の切り口が不揃いになっ
てしまう、というように、いずれの方法にも一長一短が
あり、高品質の太い直線を得ることはできなかった。
In this way, in the conventional 8-connection drawing method and 4-connection drawing method,
There is an advantage that the cuts at both ends of the straight line are aligned, but there are cases where dots are missing in the middle, and conversely, even if there are no missing dots in the middle, the cuts at both ends of the straight line are uneven. However, each method has its advantages and disadvantages, and it was not possible to obtain high-quality thick straight lines.

ここで、従来の4連結描画法と8連結描画法による描画
機能を備えた情報処理システムの一例として、パーソナ
ルコンピュータの場合について、その構成を説明する。
Here, the configuration of a personal computer will be described as an example of an information processing system equipped with a drawing function using the conventional 4-connection drawing method and the 8-connection drawing method.

第9図は、4連結描画法と8連結描画法による描画機能
を備えた従来の情報処理システムについて、その−例を
示す機能ブロック図である。図面において、1はキーボ
ード等からなる入力装置、2はポインティング・デバイ
ス(位置入力装置)、3はイメージスキャナ、4はCR
Tデイスプレィユニット、5はプリンタ、6はFDD 
(フロッピー・ディスク・ドライバ)ユニット、7はH
DD(ハード・ディスク・ドライバ)ユニット、8はシ
ステム本体部で、9はそのCPU、1oはROM、11
はRAM、12はキーボードコントローラ、13はポイ
ンティングデバイス・コントローラ、14はスキャナコ
ントローラ、15はCRTコントローラ、16はプリン
タコントローラ、17はFDDコントローラ、18はH
DDコントローラ、19は通信制御部、20はシステム
バスを示す。
FIG. 9 is a functional block diagram showing an example of a conventional information processing system equipped with a drawing function using the 4-connection drawing method and the 8-connection drawing method. In the drawings, 1 is an input device such as a keyboard, 2 is a pointing device (position input device), 3 is an image scanner, and 4 is a CR
T display unit, 5 is printer, 6 is FDD
(floppy disk driver) unit, 7 is H
DD (hard disk driver) unit, 8 is the system main unit, 9 is its CPU, 1o is ROM, 11
is RAM, 12 is keyboard controller, 13 is pointing device controller, 14 is scanner controller, 15 is CRT controller, 16 is printer controller, 17 is FDD controller, 18 is H
A DD controller, 19 a communication control unit, and 20 a system bus.

第9図に示した情報処理システム、例えばパーソナルコ
ンピュータの各部の機能は、概路次のとおりである。
The functions of each part of the information processing system shown in FIG. 9, for example, a personal computer, are outlined as follows.

入力装置1はキーボード等からなり、システムの起動そ
の他の命令や、必要な文字情報等を入力する入力手段で
ある。この入力装置1から入力された情報は、キーボー
ドコントローラ12、システムバス20を介して、コン
ピュータ側へ送出される。
The input device 1 includes a keyboard and the like, and is an input means for inputting system startup and other commands, necessary character information, and the like. Information input from this input device 1 is sent to the computer side via the keyboard controller 12 and system bus 20.

ポインティングデバイス2は、表示画面上の位置を指示
するポインタカーソルの入力手段(位置入力装置)であ
り、その入力情報も、ポインティングデバイス・コント
ローラ13、システムバス20を介して、同じくコンピ
ュータ側へ送出される。
The pointing device 2 is an input means (position input device) for a pointer cursor that indicates a position on the display screen, and the input information is also sent to the computer side via the pointing device/controller 13 and the system bus 20. Ru.

イメージスキャナ3は1画像の入力手段で、読取られた
画像情報は、スキャナコントローラ14を介して、同様
にコンピュータ側へ送出される。
The image scanner 3 is a single image input means, and the read image information is similarly sent to the computer side via the scanner controller 14.

CRTデイスプレィユニット4は、作成中や作成済み文
書等の文字・数字情報や画像情報、さらに、操作に必要
なガイダンス等を、その画面上にドツトパターンで可視
表示する表示手段である。
The CRT display unit 4 is a display means for visually displaying character/numeric information and image information of documents being created or already created, as well as guidance necessary for operation, etc., in the form of a dot pattern on its screen.

このCRTデイスプレィユニット4には、CRTコント
ローラ15が接続されており、ドツトパターンに展開さ
れたデータやガイダンスを、CRTの画面上に表示する
ための制御を司る。
A CRT controller 15 is connected to the CRT display unit 4, and controls the display of data and guidance developed in a dot pattern on the screen of the CRT.

プリンタ5は1通電加熱式のヘッドを有する熱転写型印
刷装置、いわゆるサーマルドツト・プリンタや、インク
ジェット・プリンタ、プランジャーマグネット型プリン
タ等のようなドツトイメージの印刷装置で、作成された
データにより、文書や画像等をドツトパターンによって
印字する。
The printer 5 is a dot image printing device such as a thermal transfer type printing device having a current-heating head, a so-called thermal dot printer, an inkjet printer, a plunger magnet type printer, etc., and prints a document based on the created data. or images, etc., in a dot pattern.

このプリンタ5には、システムバス20、プリンタコン
トローラ16を介して、コンピュータ側から、作成され
た文字・数字等のデータや画像情報、書式情報その他の
制御情報が与えられ、ハードコピーを作成する。
This printer 5 is given data such as created characters and numbers, image information, format information, and other control information from the computer side via the system bus 20 and printer controller 16, and creates a hard copy.

FDDユニット6のフロッピー・ディスクと、HDDユ
ニット7のハード・ディスクは、外部記憶装置であり、
読出された情報は、FDDコントローラ17やHDDコ
ントローラ18、システムバス20を介して、コンピュ
ータ側へ送出される。
The floppy disk of the FDD unit 6 and the hard disk of the HDD unit 7 are external storage devices,
The read information is sent to the computer side via the FDD controller 17, HDD controller 18, and system bus 20.

なお、外部記憶装置としては、磁気ディスク、磁気テー
プその他の大容量の記憶装置を使用することもできる。
Note that as the external storage device, a magnetic disk, magnetic tape, or other large-capacity storage device can also be used.

システム本体部8内に設けられたCPU9と、ROMl
0と、RAMIIは、パーソナルコンピュータのシステ
ム制御部を構成している。
A CPU 9 and a ROM1 provided in the system main unit 8
0 and RAMII constitute the system control section of the personal computer.

すなわち、ROMl0には、システムを制御するプログ
ラムやキャラクタパターンデータ等が格納されており、
また、RAMIIは、必要なデータを格納するシステム
メモリである。
That is, the ROM10 stores programs that control the system, character pattern data, etc.
Further, RAMII is a system memory that stores necessary data.

CPU9は、第9図のシステム全体を制御する。The CPU 9 controls the entire system shown in FIG.

例えば、入力装置1からのキー情報を受取り、それに対
応した処理動作や制御指令の出力等を行い、また、キー
人力情報に基づいて、CRTデイスプレィ4やプリンタ
5へデータを出力したり、イメージスキャナ3から画像
データを入力し、さらに、FDDユニット6のフロッピ
ー・ディスクや、HDDユニット7のハード・ディスク
をアクセスし、通信制御部19を介してデータの授受を
行う等の各種の制御を司る。
For example, it receives key information from the input device 1 and outputs corresponding processing operations and control commands, and also outputs data to the CRT display 4 or printer 5 based on the key human power information, or outputs data to the image scanner. It inputs image data from 3, and also controls various controls such as accessing the floppy disk of the FDD unit 6 and the hard disk of the HDD unit 7, and exchanging data via the communication control section 19.

通信制御部19は、他の通信端末装置との間で授受する
情報の制御を司る。
The communication control unit 19 controls information exchanged with other communication terminal devices.

パーソナルコンピュータ等の情報処理システムは、この
第9図のような構成である。
An information processing system such as a personal computer has a configuration as shown in FIG.

そして、このような構成の情報処理システムでは、先の
第6図から第8図に関連して詳しく説明したように、直
線の描画や、その太め処理を行うことができる機能、す
なわち4連結描画法と8連結描画法による描画機能を備
えている。
In an information processing system with such a configuration, as explained in detail in connection with FIGS. 6 to 8, there is a function that can draw straight lines and thicken them, that is, 4-connected drawing. It has drawing functions using the method and 8-connected drawing method.

このように、従来の情報処理装置では、直線の描画や直
線の太め処理として8連結描画法や4連結描画法を実行
する機能を備えているが、いずれの太め処理方法でも、
一長一短があり、ドツト抜けや両端の不揃いのために、
高解像度の表示/印刷装置では、線幅が大きい直線の品
質が低下する、という不都合があった。
In this way, conventional information processing devices have the ability to execute the 8-connection drawing method and the 4-connection drawing method for drawing straight lines and thickening straight lines, but with either of the thickening processing methods,
There are advantages and disadvantages, due to missing dots and irregularities on both ends,
In high-resolution display/printing devices, there has been a problem in that the quality of straight lines with large line widths is degraded.

が  しようと る そこで、この発明の情報処理装置では、従来の高解像度
の表示/印刷装置におけるこのような不都合を解決し、
太い直線を表示あるいは印刷する場合でも、直線の両端
の切り口、すなわちこの直線の両端が、その長軸方向と
直交する直線上に配列されるように形成することにより
、高品質の直線が得られるようにした情報処理装置を提
供することを目的とする。
Therefore, the information processing device of the present invention solves these inconveniences in conventional high-resolution display/printing devices, and
Even when displaying or printing thick straight lines, high-quality straight lines can be obtained by arranging the cuts at both ends of the straight line, that is, the ends of this straight line, on a straight line perpendicular to the long axis direction. An object of the present invention is to provide an information processing device that does the following.

また、この直線の両端の切り口を、その長軸方向と直交
させるために、切り口の直線を4連結描画法によって描
画することにより、太い直線内のドツト抜け(モアレ)
を防止した情報処理装置を提案することを目的とする。
In addition, in order to make the cuts at both ends of this straight line orthogonal to the long axis direction, the cut straight lines are drawn using the 4-connection drawing method, thereby eliminating dots (moiré) within the thick straight line.
The purpose of this study is to propose an information processing device that prevents this.

を  するための− この発明では、ドツト情報を表示する表示装置と、ドツ
ト情報を印刷する印刷装置と、前記表示装置の画面上の
座標を指示するポインティング・デバイス等の座標位置
入力装置とを具備し、4連結描画法と8連結描画法によ
る描画機能を有する情報処理システムおいて、前記座標
位置入力装置から入力された基本的直線の始点および終
点の座標位置情報を記憶する基本的直線の始点および終
点記憶手段と、前記基本的直線の始点および終点の座標
位置を基準として両点間に描画される基本的直線と直交
し、かつ前記始点および終点の各点を通る2本の直線に
ついて該2本の直線に共通する太さをドツト数で指定す
る太さ指定手段と、前記基本的直線と直交し、かつ始点
および終点の各点を通る2本の直線上の位置を指定され
た太さに対応して4連結描画法により所要回数だけ演算
生成する始点側および終点側演算手段と、前記基本的直
線の始点および終点の座標位置情報による座標間、さら
に前記演算された始点側および終点側の情報による座標
間をそれぞれ8連結描画法によって描画する8連結描画
手段とを備え、該8連結描画手段により前記基本的直線
の始点および終点の座標間を8連結描画法によって描画
し、前記始点側および終点側演算手段によって4連結描
画法により始点側および終点側の座標について指定され
た太さに対応する回数だけ演算し、演算された始点側お
よび終点側の座標間を前記8連結描画手段により順次描
画して指定された太さの直線に形成することによって、
指定された太さの基本的直線の両端点を該基本的直線と
直交する直線上に配列させるように構成している。
- The present invention includes a display device that displays dot information, a printing device that prints dot information, and a coordinate position input device such as a pointing device that indicates coordinates on the screen of the display device. In an information processing system having a drawing function using a 4-connection drawing method and an 8-connection drawing method, a starting point of a basic straight line that stores coordinate position information of a starting point and an end point of the basic straight line input from the coordinate position input device. and an end point storage means, with respect to two straight lines that are perpendicular to the basic straight line drawn between the two points based on the coordinate positions of the starting point and the ending point of the basic straight line, and that pass through each of the starting point and the ending point. Thickness specifying means for specifying the common thickness of two straight lines by the number of dots; Correspondingly, a starting point side and end point side calculation means that calculates and generates the required number of times using the 4-connection drawing method, coordinates based on coordinate position information of the starting point and ending point of the basic straight line, and further the calculated starting point side and ending point 8-connected drawing means for drawing between the coordinates according to side information by the 8-connected drawing method, and the 8-connected drawing means draws between the coordinates of the starting point and the end point of the basic straight line by the 8-connected drawing method, The start point side and end point side calculation means calculate the coordinates on the start point side and the end point side a number of times corresponding to the specified thickness using the 4-connected drawing method, and perform the above-mentioned 8 connected drawing between the calculated coordinates on the start point side and the end point side. By sequentially drawing and forming a straight line with a specified thickness,
It is configured such that both end points of a basic straight line of a specified thickness are arranged on a straight line orthogonal to the basic straight line.

また、描画すべき基本的直線に対して垂直となる直線の
始点側および終点側の各座標を4連結描画法によって演
算生成する演算手段を備え、該演算手段によって前記始
点側および終点側の各座標を演算生成することにより、
8連結描画法による前記基本的直線の描画時におけるド
ツト抜けを防止するように構成している。
In addition, the calculation means is provided for calculating and generating each coordinate on the starting point side and the ending point side of a straight line perpendicular to the basic straight line to be drawn by a four-connected drawing method, and the calculating means uses each coordinate on the starting point side and the ending point side. By calculating and generating coordinates,
It is configured to prevent missing dots when drawing the basic straight line using the 8-connection drawing method.

さらに、描画すべき基本的直線に対して垂直となる直線
の始点側および終点側の各座標を4連結描画法によって
演算生成する演算手段と、該演算手段によって演算生成
された前記始点側および終点側の各座標を8連結描画法
によって描画する際に任意のパターンによりマスク処理
するマスク処理手段とを備え、該マスク処理手段により
マスク処理することによって、前記始点側および終点側
におけるパターンの切り口を前記基本的直線に対して直
交する直線で形成させるように構成している。
Furthermore, a calculation means for calculating and generating each coordinate of the starting point side and the ending point side of a straight line perpendicular to the basic straight line to be drawn by a four-connected drawing method, and the starting point side and the ending point calculated and generated by the calculation means. and a mask processing means for masking each coordinate on the side using an arbitrary pattern when drawing by the 8-connected drawing method, and by performing mask processing by the mask processing means, the cut ends of the pattern on the starting point side and the ending point side are It is configured to be formed by a straight line orthogonal to the basic straight line.

スー」L−餅 次に、この発明の情報処理装置について、図面を参照し
ながら、その実施例を詳細に説明する。
Next, embodiments of the information processing apparatus of the present invention will be described in detail with reference to the drawings.

最初に、この発明の情報処理装置による直線の太め処理
の原理について述べる。
First, the principle of thickening straight lines by the information processing apparatus of the present invention will be described.

第2図は、基本的な直線の座標と太め方向との関係を示
す図である。図面において、Aは直線の始点、Bは終点
、マは太め処理の上方向、茗は下方向を示す。
FIG. 2 is a diagram showing the relationship between the coordinates of a basic straight line and the thicker direction. In the drawings, A indicates the starting point of the straight line, B indicates the ending point, ma indicates the upward direction of the thickening process, and moth indicates the downward direction.

情報処理装置において、直線を描画する操作では、ボイ
ンティング・デバイス等の座標位置読取り装置によって
、直線の始点A、終点Bの座標位置を指定する。
In an operation of drawing a straight line in an information processing apparatus, the coordinate positions of a starting point A and an ending point B of the straight line are specified using a coordinate position reading device such as a pointing device.

また、太め処理では、その線幅についても、キーボード
等の入力装置から拡大したい線幅の情報を入力する。
Further, in the thickening process, information on the line width to be enlarged is inputted from an input device such as a keyboard.

第3図は、8連結描画法による基本的な直線のドツト配
列の一例を示す図である。図面において、斜線を付けた
O印はドツトを示す。
FIG. 3 is a diagram showing an example of a basic straight line dot arrangement based on the 8-connected drawing method. In the drawings, a hatched O mark indicates a dot.

8連結描画法では、先の第2図のように、直線の始点A
、終点Bの座標位置が指定されると、その始点A、終点
Bの座標情報、およびその傾きの状態に基づいて、この
第3図に示すような関係で、順次ドツトを配列して、直
線ABを描画する。
In the 8-connected drawing method, as shown in Figure 2 above, the starting point A of the straight line
, When the coordinate position of the end point B is specified, based on the coordinate information of the start point A and the end point B, and the state of their inclination, dots are sequentially arranged in the relationship shown in Fig. 3 to form a straight line. Draw AB.

この8連結描画法の場合には、すでに先の第8図(1)
に関連して説明したように、基本ドツトの周囲8方向に
対して次のドツトの位置を与えることができるので、傾
きの状態に応じて、始点Aの右上、右横、右上、右横、
・・・・・・の順序でドツトを配列して、第3図のよう
な直線を描画する。なお、この8連結描画法それ自体は
、すでに述べたように公知である。
In the case of this 8-connected drawing method, the previous figure 8 (1)
As explained in connection with , the position of the next dot can be given in eight directions around the basic dot, so depending on the state of inclination, the position of the next dot can be set to the upper right, right side, upper right side, upper right side, etc. of the starting point A.
Arrange the dots in the order shown and draw a straight line as shown in Figure 3. It should be noted that this 8-connected drawing method itself is well known as described above.

次の第4図は、4連結描画法による基本的な直線のドツ
ト配列の一例を示す図である。図面における符号は、第
3図と同様である。
FIG. 4 is a diagram showing an example of a basic straight line dot arrangement based on the four-connected drawing method. Reference numerals in the drawings are the same as in FIG. 3.

また、4連結描画法では、先の第2図のように、直線の
始点A、終点Bの座標位置が指定された場合、その始点
A、終点Bの座標情報、およびその傾きの状態に基づい
て、この第4図に示すような関係で、順次ドツトを配列
して、直線ABを描画する。
In addition, in the 4-connected drawing method, as shown in Figure 2 above, when the coordinate positions of the starting point A and ending point B of a straight line are specified, based on the coordinate information of the starting point A and ending point B, and the state of the slope Then, a straight line AB is drawn by sequentially arranging dots in the relationship shown in FIG.

すなわち、この4連結描画法の場合には、すでに先の第
8図(2)に関連して説明したように、上下左右の4方
向に対してだけ、次のドツトの位置を与えることができ
る。
In other words, in the case of this 4-connected drawing method, the position of the next dot can be given only in the four directions of up, down, left, and right, as already explained in relation to FIG. 8 (2). .

したがって、傾きの状態に応じて、始点Aの右横、直上
、右横、右横、直上、右横、右横、・・・・・・の順序
でドツトを配列して、第4図のような直線を描画する。
Therefore, depending on the state of the inclination, the dots are arranged in the order of right side, directly above, right side, right side, right above, right side, right side, etc. of the starting point A, as shown in Fig. 4. Draw a straight line like this.

なお、すでに述べたように、この4連結描画法それ自体
は公知である。
Note that, as already mentioned, this four-connected drawing method itself is well known.

この発明の情報処理装置では、すでに触れたように、基
本的直線の両端の切すロ(直線の長軸方向と直交する方
向)の座標の演算生成に、公知の4連結描画法を利用し
、算出された座標間の描画処理に、同じく公知の8連結
描画法を利用している。
As mentioned above, the information processing device of the present invention utilizes the well-known 4-connection drawing method to calculate and generate the coordinates of the cut corners (directions perpendicular to the long axis direction of the straight line) at both ends of a basic straight line. , the well-known 8-connection drawing method is also used for the drawing process between the calculated coordinates.

次に、この発明の情報処理装置について、その具体的な
構成を説明する。
Next, the specific configuration of the information processing apparatus of the present invention will be explained.

第1図は、この発明の情報処理装置について、その要部
構成の詳細な一実施例を示す機能ブロック図である。図
面において、21Aは第1の座標記憶メモリ、21Bは
第2の座標記憶メモリ、22Aは第1の演算器、22B
は第2の演算器、23Aは第1のレジスタ、23Bは第
2のレジスタ、24Aは第1の4連結線発生器、24B
は第2の4連結線発生器、25Aは第3の座標記憶メモ
リ、25Bは第4の座標記憶メモリ、26はカウンタ、
27はページバッファメモリ、28は8連結線発生器、
29はパターン発生器、30は第1のEX−NOR(イ
クスクルーシブ・ノア)回路1.31は第2のEX−N
OR回路を示す。
FIG. 1 is a functional block diagram showing a detailed embodiment of the main configuration of an information processing apparatus according to the present invention. In the drawing, 21A is a first coordinate storage memory, 21B is a second coordinate storage memory, 22A is a first arithmetic unit, and 22B
is the second arithmetic unit, 23A is the first register, 23B is the second register, 24A is the first 4-connection line generator, 24B
is a second 4-connection line generator, 25A is a third coordinate storage memory, 25B is a fourth coordinate storage memory, 26 is a counter,
27 is a page buffer memory, 28 is an 8-connection line generator,
29 is a pattern generator, 30 is a first EX-NOR (exclusive NOR) circuit 1.31 is a second EX-N
An OR circuit is shown.

この第1図に示すブロック図で、21A〜25Aは、主
として始点Aに関する処理、および直線ABの傾きに関
する処理を行い、21B〜25Bは、主として終点Bに
関する処理、および直11iABと直交する傾きに関す
る処理を行う。要約すれば、これらのブロックは、4連
結描画法によって始点側と終点側の座標の演算処理を行
うだけである。
In the block diagram shown in FIG. 1, 21A to 25A mainly perform processing related to the starting point A and processing related to the slope of the straight line AB, and 21B to 25B mainly perform processing related to the ending point B and the slope perpendicular to the straight line 11iAB. Perform processing. In summary, these blocks only perform arithmetic processing of coordinates on the starting point side and the ending point side using the four-connected drawing method.

実際の直線の描画は、8連結線発生器28によって実行
される。
The actual straight line drawing is performed by an 8-connected line generator 28.

カウンタ26は、カウント値がrQJのときは「0」を
出力し、また、「1」以上のときは「1」を出力する。
The counter 26 outputs "0" when the count value is rQJ, and outputs "1" when the count value is "1" or more.

そして、1番目のg(基本線)を描画するときは、カウ
ント値が「0」であり、この場合には、第1のEX−N
OR回路30を介して、第1の座標記憶メモリ21Aに
記憶されている座標Aの情報が、第1の4連結線発生器
24Aへ、第2のEX−NOR回路31を介して、第2
の座標記憶メモリ21Bに記憶されている座標Bの情報
が、第2の4連結線発生器24Bへ、それぞれ入力され
る。
When drawing the first g (basic line), the count value is "0", and in this case, the first EX-N
The information on the coordinate A stored in the first coordinate storage memory 21A is sent via the OR circuit 30 to the first 4-connection line generator 24A via the second EX-NOR circuit 31 to the second
Information on the coordinate B stored in the coordinate storage memory 21B is input to the second four-connected line generator 24B.

それ以後、カウント値が[1」以上の状態になると、第
3の座標記憶メモリ25Aに記憶されている座標A′の
情報が、第1の4連結線発生器24Aへ、第4の座標記
憶メモリ25Bに記憶されている座標B′の情報が、第
2の4連結線発生器24Bへ、それぞれ入力されること
になる。
After that, when the count value becomes [1] or more, the information of the coordinate A' stored in the third coordinate storage memory 25A is transferred to the first four-connection line generator 24A, The information on the coordinate B' stored in the memory 25B is input to the second four-connection line generator 24B.

すなわち、4連結線発生器24A、24Bは、8連結線
発生器28による始点A、終点Bの1本の基本線を描画
するまで、この座標A、Bに基づいて次の座標A’ 、
B’ を演算生成するための処理を行い、8連結線発生
器28による1本の基本線の描画後は、演算された次の
座標A’ 、B’に基づいて、さらに次の描画処理のた
めの新たな座標A’ 、B’の演算生成を順次続行する
That is, the 4-connected line generators 24A and 24B draw the next coordinates A', 2, and 3' based on these coordinates A and B until the 8-connected line generator 28 draws one basic line of starting point A and ending point B.
B' is calculated and generated, and after drawing one basic line by the 8-connected line generator 28, the next drawing process is performed based on the calculated next coordinates A' and B'. The calculation and generation of new coordinates A' and B' for this purpose are continued sequentially.

そして、カウンタ26のカウント値が、線の太さになっ
たときは、その出力によって、8連結線発生器28の動
作を停止させる。
When the count value of the counter 26 reaches the thickness of the line, the output causes the operation of the 8-connected line generator 28 to be stopped.

ページバッファメモリ27は、表示装置や印刷装置へ出
力される直線のパターンデータが記憶される。また、パ
ターン発生器29は、8連結線発生器28によるマスク
処理に必要なパターンを発生する。
The page buffer memory 27 stores straight line pattern data to be output to a display device or a printing device. Further, the pattern generator 29 generates a pattern necessary for mask processing by the 8-connected line generator 28.

第5図は、この発明の情報処理装置における直線の太め
処理時の主要な処理の流れを示すフローチャートである
。図面において、#1〜#9はステップを示す。
FIG. 5 is a flowchart showing the flow of main processing when thickening a straight line in the information processing apparatus of the present invention. In the drawings, #1 to #9 indicate steps.

この第5図に示すように、ステップ#1で、ポインティ
ング・デバイス等の座標入力装置によって読取った始点
Aの座標情報を、第1図に示した第1の座標記憶メモリ
21Aに、また、終点Bの座標情報を、第2の座標記憶
メモリ21Bに、それぞれ記憶させる。
As shown in FIG. 5, in step #1, the coordinate information of the starting point A read by a coordinate input device such as a pointing device is stored in the first coordinate storage memory 21A shown in FIG. The coordinate information of B is respectively stored in the second coordinate storage memory 21B.

ステップ#2では、第1の演算器22Aによって、座標
記憶メモリ21A、21Bに記憶された始点A、終点B
の座標値に基づき、直線ABの傾き(dy/dx)を演
算し、その演算結果を第1のレジスタ23Aに記憶させ
る。
In step #2, the first arithmetic unit 22A calculates the starting point A and the ending point B stored in the coordinate storage memories 21A and 21B.
The slope (dy/dx) of the straight line AB is calculated based on the coordinate values of , and the calculation result is stored in the first register 23A.

ステップ#3では、第2の演算器22Bによって、直線
τiに直交させるための傾き(−dy/dx)を演算し
、その演算結果を第2のレジスタ23Bに記憶させる。
In step #3, the second arithmetic unit 22B calculates the slope (-dy/dx) for orthogonal to the straight line τi, and stores the calculation result in the second register 23B.

ステップ#4で、第2のレジスタ23Bに記憶されてい
る傾き値(−dy/dx)と、第1の座標記憶メモリ2
1Aに記憶されている始点Aの座標値とに基づき、第1
の4連結線発生器24Aによって、曾方向に対する次の
座標値A′を演算し、その演算結果を第3の座標記憶メ
モリ25Aに記憶させる。
In step #4, the slope value (-dy/dx) stored in the second register 23B and the first coordinate storage memory 2
Based on the coordinate values of the starting point A stored in 1A, the first
The next coordinate value A' in the Zeng direction is calculated by the four-connection line generator 24A, and the calculation result is stored in the third coordinate storage memory 25A.

また、第2のレジスタ23Bに記憶されている傾き値(
−dy/dx)と、第2の座標記憶メモリ21Bに記憶
されている終点Bの座標値とに基づき、第2の4連結線
発生器24Bによって、同様に1方向に対する次の座標
値B′を演算し、その演算結果を第4の座標記憶メモリ
25Bに記憶させる。
Also, the slope value (
-dy/dx) and the coordinate value of the end point B stored in the second coordinate storage memory 21B, the second four-connected line generator 24B similarly generates the next coordinate value B' in one direction. is calculated, and the calculation result is stored in the fourth coordinate storage memory 25B.

ステップ#5で、第1のレジスタ23Aに記憶されてい
る傾き値(dy/dx)、第3の座標記憶メモリ25A
に記憶されている次の座標値A′の情報、および第4の
座標記憶メモリ25Bに記憶されている次の座標値B′
の情報に基づき、8連結線発生器28によって、パター
ン発生器29から発生されるパターンデータによるマス
ク処理を行いながら、ページバッファメモリ27へ描画
する。
In step #5, the slope value (dy/dx) stored in the first register 23A, the third coordinate storage memory 25A
and the next coordinate value B' stored in the fourth coordinate storage memory 25B.
Based on the information, the 8-connected line generator 28 draws the data in the page buffer memory 27 while performing mask processing using pattern data generated from the pattern generator 29.

以上の処理によって、1本の直線が描画される。Through the above processing, one straight line is drawn.

ステップ#6で、太さの半分(丁方向に対する太さは、
全体の太さの半分)までの描画が終了したか否か判断す
る。
In step #6, half the thickness (thickness in the direction of
Determine whether drawing has been completed up to half of the total thickness.

もし、まだ、太さの半分までの描画が終了していなけれ
ば、先のステップ#4へ戻り、同様の処理を繰返えす。
If drawing to half the thickness has not yet been completed, return to step #4 and repeat the same process.

これに対して、ステップ#6で、太さの半分までの描画
が終了したことを判断すると、次のステップ#7へ進む
On the other hand, if it is determined in step #6 that drawing up to half the thickness has been completed, the process proceeds to the next step #7.

ステップ#7では、百方向に対する演算処理を行う。こ
の処理は、先のステップ#4と基本的に同じ処理である
In step #7, arithmetic processing for one hundred directions is performed. This process is basically the same as the previous step #4.

ステップ#8で、百方向に対して、8連結線発生器28
によって、パターン発生器29から発生されるパターン
データによるマスク処理を行いながら、ページバッファ
メモリ27へ描画する。この処理も、先のステップ#5
と基本的に同じ処理である。
In step #8, for one hundred directions, eight connecting line generators 28
As a result, drawing is performed on the page buffer memory 27 while performing mask processing using pattern data generated from the pattern generator 29. This process also follows step #5
This is basically the same process.

ステップ#9で、太さの半分(下方向に対する太さも、
全体の太さの半分)までの描画が終了したか否か判断す
る。
In step #9, half the thickness (also the thickness in the downward direction,
Determine whether drawing has been completed up to half of the total thickness.

もし、まだ、太さの半分までの描画が終了していなけれ
ば、先のステップ#7へ戻り、同様の処理を繰返えす。
If drawing to half the thickness has not yet been completed, return to step #7 and repeat the same process.

ステップ#9の判断で、太さの半分までの描画が終了し
たことを判断すると、この第5図のフローが完了する。
If it is determined in step #9 that drawing up to half the thickness has been completed, the flow shown in FIG. 5 is completed.

なお、以上の実施例では、基本的直線の7.b両方向へ
パターンを付けて太め処理を行う場合について述べた。
In addition, in the above embodiment, 7. of the basic straight line is used. The case where thick processing is performed by adding patterns in both directions has been described.

しかし、基本的直線の両方向に対して太め処理を行うこ
とは必要でなく、一方向だけにパターンを付加して太め
処理を行うことも可能であり(この場合には、太さの半
分が終了したか否かの判断は不要で、全体の太さの処理
が終了したか否かについて判断する)、第5図の場合に
限定されるものではない。
However, it is not necessary to thicken the basic straight line in both directions; it is also possible to thicken the basic straight line by adding a pattern to only one direction (in this case, half of the thickness is finished). It is not necessary to judge whether or not the processing of the entire thickness has been completed (it is necessary to judge whether or not the processing of the entire thickness has been completed).

また、印刷装置に限らず、表示装置やファクシミリ装置
、その他ドツトパターンでイメージデータを表現する各
種のシステムに実施可能なことは明らかであり、この点
でも、実施例の場合に限定されるものでないことはいう
までもない。
Furthermore, it is clear that the present invention can be implemented not only in printing devices but also in display devices, facsimile devices, and various other systems that express image data using dot patterns, and in this respect, the present invention is not limited to the case of the embodiment. Needless to say.

114び1艮 この発明の情報処理装置では、基本的直線の両端切り口
の座標(始点側と終点側の座標)を、直線に対して垂直
な傾きをもつ4連結描画法によって演算しているので、
切り口が、常に、基本的直線に対して垂直となる。また
、パターンの切り口も、同様で、基本的直線に対して垂
直となる。
114-1 The information processing device of this invention calculates the coordinates of both end cuts of a basic straight line (coordinates of the starting point side and the ending point side) using the 4-connected drawing method with an inclination perpendicular to the straight line. ,
The cut is always perpendicular to the cardinal line. Similarly, the cut edges of the pattern are perpendicular to the basic straight lines.

したがって、どのような太さの直線でも、両端の切り口
が、直線上にきれいに揃った表示や印刷が得られる。
Therefore, regardless of the thickness of the straight line, a display or print can be obtained in which the cut ends at both ends are neatly aligned on the straight line.

しかも、基本的直線の両端切り口の座標は、4連結線で
あるから、直線の内部のドツト抜けも防止され、高解像
度の印刷装置や表示装置でも、充分に高品質の直線の印
刷や表示が得られる、等の多くの優れた効果が奏せられ
る。
Moreover, since the coordinates of the cuts at both ends of a basic straight line are 4-connected lines, missing dots inside the straight line are also prevented, and even high-resolution printing and display devices can print and display sufficiently high-quality straight lines. Many excellent effects can be achieved, such as:

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

第1図は、この発明の情報処理装置について、その要部
構成の詳細な一実施例を示す機能ブロック図、 第2図は、基本的な直線の座標と太め方向との関係を示
す図、 第3図は、8連結描画法による基本的な直線のドツト配
列の一例を示す図。 第4図は、4連結描画法による基本的な直線のドツト配
列の一例を示す図。 第5図は、この発明の情報処理装置における直線の太め
処理時の主要な処理の流れを示すフローチャート、 第6図(1)と(2)は、従来の8連結描画法による直
線のドツト配列状態の一例を示す図で、(1)は基本と
なる線幅1ドツトの直線、(2)は線幅を4ドツトにし
た場合の直線を示す図、 第7図(1)と(2)は、同じ〈従来の4連結描画法に
よる直線のドツト配列状態の一例を示す図で。 (1)は基本となる線幅1ドツトの直線、(2)は線幅
を4ドツトにした場合の直線を示す図、第8図(1)と
(2)は、従来の8連結と4連結描画法によるドツト関
係を説明する図で、(1)は8連結描画法、(2)は4
連結描画法の場合を示す図、第9図は、4連結描画法と
8連結描画法による描画機能を備えた従来の情報処理シ
ステムについて、その−例を示す機能ブロック図。 図面において、2LAは第1の座標記憶メモリ、21B
は第2の座標記憶メモリ、22Aは第1の演算器、22
Bは第2の演算器、23Aは第1のレジスタ、23Bは
第2のレジスタ、24Aは第1の4連結線発生器、24
Bは第2の4連結線発生器、25Aは第3の座標記憶メ
モリ、25Bは第4の座標記憶メモリ、26はカウンタ
、27はページバッファメモリ、28は8連結線発生器
。 29はパターン発生器。 オ 図 オ 関 碑 図
FIG. 1 is a functional block diagram showing a detailed embodiment of the main configuration of an information processing device of the present invention; FIG. 2 is a diagram showing the relationship between the coordinates of a basic straight line and the thicker direction; FIG. 3 is a diagram showing an example of a basic straight line dot arrangement based on the 8-connected drawing method. FIG. 4 is a diagram showing an example of a basic straight line dot arrangement using the 4-connected drawing method. FIG. 5 is a flowchart showing the flow of main processing when thickening a straight line in the information processing apparatus of the present invention. FIG. Figures showing an example of the state. (1) is a straight line with a basic line width of 1 dot, (2) is a diagram showing a straight line with a line width of 4 dots, and Figure 7 (1) and (2) This is a diagram showing an example of a straight line dot arrangement using the same conventional 4-connection drawing method. (1) shows the basic straight line with a line width of 1 dot, (2) shows the straight line when the line width is set to 4 dots, and Figures 8 (1) and (2) show the conventional 8-connection and 4-dot lines. These diagrams explain the relationship between dots using the connected drawing method, (1) is the 8-connected drawing method, and (2) is the 4-way
FIG. 9 is a functional block diagram showing an example of a conventional information processing system equipped with a drawing function based on the 4-connected drawing method and the 8-connected drawing method. In the drawing, 2LA is the first coordinate storage memory, 21B
is the second coordinate storage memory, 22A is the first arithmetic unit, 22
B is the second arithmetic unit, 23A is the first register, 23B is the second register, 24A is the first 4-connection line generator, 24
B is a second 4-connection line generator, 25A is a third coordinate storage memory, 25B is a fourth coordinate storage memory, 26 is a counter, 27 is a page buffer memory, and 28 is an 8-connection line generator. 29 is a pattern generator. O map O Seki monument map

Claims (1)

【特許請求の範囲】 1、ドット情報を表示する表示装置と、ドット情報を印
刷する印刷装置と、前記表示装置の画面上の座標を指示
するポインティング・デバイス等の座標位置入力装置と
を具備し、4連結描画法と8連結描画法による描画機能
を有する情報処理システムおいて、前記座標位置入力装
置から入力された基本的直線の始点および終点の座標位
置情報を記憶する基本的直線の始点および終点記憶手段
と、前記基本的直線の始点および終点の座標位置を基準
として両点間に描画される基本的直線と直交し、かつ前
記始点および終点の各点を通る2本の直線について該2
本の直線に共通する太さをドット数で指定する太さ指定
手段と、前記基本的直線と直交し、かつ始点および終点
の各点を通る2本の直線上の位置を指定された太さに対
応して4連結描画法により所要回数だけ演算生成する始
点側および終点側演算手段と、前記基本的直線の始点お
よび終点の座標位置情報による座標間、さらに前記演算
された始点側および終点側の情報による座標間をそれぞ
れ8連結描画法によつて描画する8連結描画手段とを備
え、該8連結描画手段により前記基本的直線の始点およ
び終点の座標間を8連結描画法によつて描画し、前記始
点側および終点側演算手段によつて4連結描画法により
始点側および終点側の座標について指定された太さに対
応する回数だけ演算し、演算された始点側および終点側
の座標間を前記8連結描画手段により順次描画して指定
された太さの直線に形成することによつて、指定された
太さの基本的直線の両端点を該基本的直線と直交する直
線上に配列させることを特徴とする情報処理装置。 2、特許請求の範囲第1項記載の情報処理装置において
、描画すべき基本的直線に対して垂直となる直線の始点
側および終点側の各座標を4連結描画法によつて演算生
成する演算手段を備え、該演算手段によつて前記始点側
および終点側の各座標を演算生成することにより、8連
結描画法による前記基本的直線の描画時におけるドット
抜けを防止することを特徴とする情報処理装置。 3、特許請求の範囲第1項記載の情報処理装置において
、描画すべき基本的直線に対して垂直となる直線の始点
側および終点側の各座標を4連結描画法によつて演算生
成する演算手段と、該演算手段によつて演算生成された
前記始点側および終点側の各座標を8連結描画法によつ
て描画する際に任意のパターンによりマスク処理するマ
スク処理手段とを備え、該マスク処理手段によりマスク
処理することによつて、前記始点側および終点側におけ
るパターンの切り口を前記基本的直線に対して直交する
直線で形成させることを特徴とする情報処理装置。
[Claims] 1. A display device that displays dot information, a printing device that prints dot information, and a coordinate position input device such as a pointing device that indicates coordinates on the screen of the display device. , an information processing system having a drawing function using a 4-connection drawing method and an 8-connection drawing method, a basic straight line starting point and a basic straight line storing coordinate position information of the basic straight line starting point and end point input from the coordinate position input device; an end point storage means, and two straight lines that are orthogonal to the basic straight line drawn between the two points based on the coordinate positions of the starting point and the ending point of the basic straight line, and that pass through each of the starting point and the ending point.
Thickness specifying means for specifying the thickness common to the straight lines of the book by the number of dots; and a thickness specifying means for specifying the thickness common to the straight lines of the book by the number of dots; A start point side and end point side calculation means that calculates and generates the required number of times using the 4-connected drawing method in accordance with and 8-connected drawing means for drawing between the coordinates based on the information of the 8-connected drawing method, respectively, and the 8-connected drawing means draws between the coordinates of the starting point and the end point of the basic straight line using the 8-connected drawing method. Then, the start point side and end point side calculation means calculate the number of times corresponding to the specified thickness for the coordinates of the start point side and the end point side using the 4-connected drawing method, and calculate the distance between the calculated coordinates of the start point side and the end point side. are sequentially drawn by the 8 connected drawing means to form a straight line of a specified thickness, thereby arranging both end points of the basic straight line of the specified thickness on a straight line orthogonal to the basic straight line. An information processing device characterized by: 2. In the information processing device according to claim 1, an operation for calculating and generating each coordinate on the starting point side and the ending point side of a straight line perpendicular to the basic straight line to be drawn using a four-connected drawing method. Information characterized in that the information comprises a means for calculating and generating coordinates on the starting point side and the ending point side by the calculating means to prevent missing dots when drawing the basic straight line using the 8-connected drawing method. Processing equipment. 3. In the information processing device according to claim 1, an operation for calculating and generating each coordinate on the starting point side and the ending point side of a straight line perpendicular to the basic straight line to be drawn using a four-connected drawing method. and a masking means for masking each coordinate of the starting point side and the ending point side calculated and generated by the calculating means using an arbitrary pattern when drawing by the 8-concatenation drawing method, the masking means An information processing apparatus characterized in that the cut ends of the pattern on the starting point side and the ending point side are formed by straight lines perpendicular to the basic straight line by performing mask processing by a processing means.
JP32097288A 1988-12-20 1988-12-20 Information processor Pending JPH02165389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32097288A JPH02165389A (en) 1988-12-20 1988-12-20 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32097288A JPH02165389A (en) 1988-12-20 1988-12-20 Information processor

Publications (1)

Publication Number Publication Date
JPH02165389A true JPH02165389A (en) 1990-06-26

Family

ID=18127355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32097288A Pending JPH02165389A (en) 1988-12-20 1988-12-20 Information processor

Country Status (1)

Country Link
JP (1) JPH02165389A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6059386A (en) * 1983-09-12 1985-04-05 日本電気株式会社 Pattern line drawing system and apparatus
JPS60124786A (en) * 1983-12-12 1985-07-03 Fujitsu Ltd Vector generating system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6059386A (en) * 1983-09-12 1985-04-05 日本電気株式会社 Pattern line drawing system and apparatus
JPS60124786A (en) * 1983-12-12 1985-07-03 Fujitsu Ltd Vector generating system

Similar Documents

Publication Publication Date Title
EP0444922A2 (en) Modifying a graphics display image
JPH05269956A (en) Electronic composition device for composing along optional line
JPH02165389A (en) Information processor
JPS644189B2 (en)
JP2806647B2 (en) Print processing device
JP3346635B2 (en) OCR form form creation method
JPH0950358A (en) Document processor and document editing method
JP3067137B2 (en) Information processing device with line drawing function
JPH0411020B2 (en)
JPH03140958A (en) Layout and page make-up device
JP2000067258A (en) Drawing plotter
JPH11219441A (en) Image editing device, image editing method and recording medium recording image editing processing program
JP3346634B2 (en) OCR form form creation and error correction method
JPH04326478A (en) Graphic preparing device
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JP2014134955A (en) Supplemental explanation-attached document display device
JP2887807B2 (en) Document creation device
JPH02216593A (en) Information processor provided with graphic generating function
JPH08287272A (en) Document preparation device and plane figure arranging method
JPH06223061A (en) Word processor
JP2000125119A (en) Graphic processing method and graphic processor
JP2005135272A (en) Information processing device and method
JPH04427B2 (en)
JP2004280144A (en) Form creation device, form processor, program and storage medium
JPH03237567A (en) Document data checking system