JPS62287371A - Graphic output device - Google Patents

Graphic output device

Info

Publication number
JPS62287371A
JPS62287371A JP61131558A JP13155886A JPS62287371A JP S62287371 A JPS62287371 A JP S62287371A JP 61131558 A JP61131558 A JP 61131558A JP 13155886 A JP13155886 A JP 13155886A JP S62287371 A JPS62287371 A JP S62287371A
Authority
JP
Japan
Prior art keywords
data
symbol
shape
area
storage means
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
JP61131558A
Other languages
Japanese (ja)
Inventor
Masaru Nishimura
勝 西村
Takatoshi Negishi
根岸 孝年
Akihiko Azuma
明彦 東
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP61131558A priority Critical patent/JPS62287371A/en
Publication of JPS62287371A publication Critical patent/JPS62287371A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a drawn picture being free from a read error of a symbol, by erasing the shape picture element data of a symbol area, in case shape data and symbol data which have been stored in a data base are superposed, when they have been drawn. CONSTITUTION:First of all, the shape data outputted from a shape data output means A is converted to the shape picture element data by a shape raster graphics means B, and stored in a frame storage means C. Subsequently, from a symbol data outputted from a symbol data output means D, the symbol area are calculated by a symbol area calculating means E. Next, the shape picture element data in the frame storage means C corresponding to the symbol area are erased, and after the erasion, the symbol data are converted to the symbol picture element data by a symbol raster graphic means G, and stored in the frame storage means C. Both the data which have been stored in the frame storage means C are drawn in a picture drawing means H.

Description

【発明の詳細な説明】 3、発明の詳細な説明 [産業上の利用分野] 本発明はCAD(コンピュータエイデツドブナイン)図
形を図面化する図形出力装置に関する。
Detailed Description of the Invention 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a graphic output device for drawing CAD (Computer Aided Digital) graphics.

[従来技術] 従来、CADで作成された図形から図面を作成する装置
としては、第6図に示すような構成の装置が用いられて
いる。すなわち、該装置は、CAD装置の主要部を構成
するホストコンピュータの端末(CAD端末CT)と、
上記CAD端末CTから形状データと記号データ、例え
ば寸法文字データを入力して記憶するデータベースDB
と、該データベースDBから形状データおよび寸法文字
データを読み込んで、該両データを表示ドツト単位にラ
スタグラフィックスして、形状描画データおよび寸法文
字描画データに変換するコントロ−ラRCと、上記形状
描画データおよび寸法文字描画データを図形領域の表示
ドツト単位の集合に対応してフレームメモリに一時記憶
するフレームバッファFBと、該フレームバッファFB
の内容を印書して図面を作成する印書装置(プロッタ)
PSとから構成されている。そして、該装置では、第7
図のフローチャートに示すように、まず、データベース
DBから第8図の寸法文字(45)以外の形状線の形状
データを読み込/νで、形状描画データに変換した俊で
、フレームバッファFBに格納する(ステップSA)。
[Prior Art] Conventionally, as an apparatus for creating drawings from figures created by CAD, an apparatus having a configuration as shown in FIG. 6 has been used. That is, the device includes a host computer terminal (CAD terminal CT) that constitutes the main part of the CAD device,
A database DB that stores shape data and symbol data, such as dimension character data, inputted from the CAD terminal CT.
a controller RC that reads shape data and dimension character data from the database DB, performs raster graphics on the data in units of display dots, and converts the data into shape drawing data and dimension character drawing data; A frame buffer FB that temporarily stores data and dimension character drawing data in a frame memory corresponding to a set of display dot units in a graphic area;
Printing device (plotter) that prints the contents of and creates drawings
It consists of PS. In this device, the seventh
As shown in the flowchart in the figure, first, the shape data of the shape line other than the dimension character (45) in Figure 8 is read from the database DB, converted to shape drawing data using /ν, and stored in the frame buffer FB. (Step SA).

次いで、データベースDBから寸法文字データを読み込
んで、寸法文字描画データに変換した後で、フレームバ
ッファFBに格納する(ステップSB)。そして、上記
格納された両データを印m装置PSで印書(プロン1〜
)する。
Next, the dimension character data is read from the database DB, converted into dimension character drawing data, and then stored in the frame buffer FB (step SB). Then, both of the stored data are printed using the printing device PS (prons 1 to 1).
)do.

[発明か解決しようとする問題点] しかしながら上記従来の技術では、第8図に示υように
寸法文字(45)と形状線とが小なって印書される場合
か発生して、該寸法文字が読み難くなったり、おるいは
、読み違いの発生する問題があった。そこで、従来はC
ADの段階で、第9図に示すように寸法文字を小ざく修
正したり、第10図に示すように寸法文字の位置を変更
修正したり、又は、第11図に示すようにまず寸法文字
の描かれる寸法文字表示領域の形状線の消去修正を行っ
た後で、再び寸法文字を描く追加修正を行っていた。
[Problems to be Solved by the Invention] However, in the above-mentioned conventional technique, as shown in FIG. There were problems in which the text became difficult to read, or in some cases, was misread. Therefore, conventionally C
At the AD stage, the dimension characters may be slightly modified as shown in Figure 9, the position of the dimension characters may be modified as shown in Figure 10, or the dimension characters may be first modified as shown in Figure 11. After deleting and correcting the shape line in the dimension text display area where the dimension text is drawn, additional corrections were made to draw the dimension text again.

従って、従来の技術ではCAD段階での処理が追加され
ることに加え、データベースに格納される形状データの
一部が変更される問題がおった。
Therefore, in the conventional technique, in addition to adding processing at the CAD stage, there was a problem in that part of the shape data stored in the database was changed.

[問題点を解決するための手段] 上記の問題点を解決するための手段として、本発明は第
1図に示すように、 図形領域の記号以外の形状データを出力する形状データ
出力手段Aと、 上記形状データを形状画素データに変換する形状ラスタ
グラフィックス手段Bと、 上記形状画素データを上記図形領域の座標値に対応して
記憶するフレーム記憶手段Cと、上記図形領域の座標値
と記号値からなる記号データを出力する記号データ出力
手段りと、上記記号データの座標値と記号値にもとづい
て記号が描かれる記号領域を算出する記号領域算出手段
Eと、 上記フレーム記憶手段Cの上記記号領域に対応する上記
形状画素データの記憶を消去する記号領域算出手段Fと
、 上記記号データを記号画素データに変換して、−り記消
去された領域に記憶させる記号ラスタグラフィックス手
段Gと、 上記フレーム記憶手段Cに記憶された記号と形状を描く
描画手段臼と、 を備えることを特徴とする図形出力装置を要旨とする構
成を採る。
[Means for Solving the Problems] As a means for solving the above problems, the present invention, as shown in FIG. , a shape raster graphics means B for converting the shape data into shape pixel data, a frame storage means C for storing the shape pixel data in correspondence with the coordinate values of the graphic area, and coordinate values and symbols of the graphic area. symbol data output means for outputting symbol data consisting of values; symbol area calculation means E for calculating a symbol region in which a symbol is drawn based on the coordinate values and symbol values of the symbol data; and the above of the frame storage means C. symbol area calculating means F for erasing the memory of the shape pixel data corresponding to the symbol area; symbol raster graphics means G for converting the symbol data into symbol pixel data and storing it in the erased area; , a drawing means for drawing symbols and shapes stored in the frame storage means C;

上記形状データは、例えばCAD装置から出力される図
形のデータであって、直線の始点と終点の座標、円弧の
中心座標と半径のような幾何学的なパラメータでおる。
The shape data is, for example, graphic data output from a CAD device, and includes geometric parameters such as the coordinates of the starting point and end point of a straight line, and the center coordinates and radius of a circular arc.

上記記号データは、例えば、文字、キャラクタ等であっ
て、該文字等の内容を示す直と位置を示す座標等が組み
合わされたものでおる。
The above-mentioned symbol data is, for example, a character, a character, etc., and is a combination of a character indicating the content of the character, etc., and a coordinate indicating the position.

上記形状画素データは、例えば、形状の幾何学的なパラ
メータを、上記形状を描く画素の集合に、変換したもの
である。
The shape pixel data is, for example, a result of converting the geometric parameters of the shape into a set of pixels that depict the shape.

上記記号画素データは、例えば、記号の値と座標を上記
記号を描く画素の集合に変換したもので必る。
The symbol pixel data must be, for example, the value and coordinates of a symbol converted into a set of pixels that depict the symbol.

上記フレーム記憶手段Cとは、例えば形状、および、記
号を含む図形領域に対応して設定されるコンピュータ内
のRAMであって、形状、又は、記号を描く画素値を記
憶するものである。
The frame storage means C is, for example, a RAM in the computer that is set corresponding to a graphic area including shapes and symbols, and stores pixel values for drawing shapes or symbols.

[作用] 本発明では、まず形状データ出力手段Aから出力される
形状データが形状ラスタグラフィックス手段Bで形状画
素データに変換されて、フレー、ム記憶手段Cに記憶さ
れる。次いで、記号データ出力手段りから出力される記
号データから、記号領域が記号領域算出手段Eで算出さ
れる。そして、上記記号領域に対応する上記フレーム記
憶手段C内の上記形状画素データが消去される。上記消
去の後で、記号データが記号ラスタグラフィックス手段
Gで記号画素データに変換されて、フレーム記憶手段C
に記憶される。上記フレーム記憶手段Cに記憶された両
データは、描画手段Hに描かれる。
[Operation] In the present invention, the shape data output from the shape data output means A is first converted into shape pixel data by the shape raster graphics means B, and then stored in the frame storage means C. Next, the symbol area is calculated by the symbol area calculation means E from the symbol data output from the symbol data output means. Then, the shape pixel data in the frame storage means C corresponding to the symbol area is erased. After the above erasure, the symbol data is converted into symbol pixel data by the symbol raster graphics means G and the frame storage means C
is memorized. Both data stored in the frame storage means C are drawn on the drawing means H.

すなわち、例えば第2図(A>に示すような、重なって
いる形状データと記号データとからなる図形データBB
が第2図(B)のコントローラ内で、経路1〜経路3の
処理が行なわれて、フレームバッファ内の描画データが
第2図(C)に示すように変化する。つまり、経路1で
図形データBBが形状画素データD1に変換されて、フ
レームバッファに記憶される。次いで、経路2で記号デ
ータの記号領域か算出され、フレームバッファの記号領
域が消去されて、フレームバッファが記号領域の消去後
の形状画素データD2の記憶状態になる。そして、経路
3で記号データ8Bが記号画素データに変換されて、フ
レームバッファの記号領域に記憶されて、フレームバッ
ファが記号上に形状のない描画データD3になる。なあ
、上記第2図の経路1〜経路゛3にて行なわれる処理の
フローチャートを第3図に示す。まず、形状データが形
状画素データに変換されてフレームバッファに記憶され
る(ステップS1)。次いで、記号データから記号領域
が算出されて、フレームバッファ内の記号領域が消去さ
れる(ステップS2>。そして、記号データが記号画素
データに変換されてフレームバッファの記号領域に記″
旧される(ステップS3)。すなわち、該フローチャー
トでは、上記第2図の経路1〜経路3に対応して、ステ
ップ81〜ステツプS3が行なわれる。
That is, for example, graphic data BB consisting of overlapping shape data and symbol data as shown in FIG.
In the controller shown in FIG. 2(B), processing of paths 1 to 3 is performed, and the drawing data in the frame buffer changes as shown in FIG. 2(C). That is, in path 1, graphic data BB is converted into shape pixel data D1 and stored in the frame buffer. Next, in path 2, the symbol area of the symbol data is calculated, the symbol area of the frame buffer is erased, and the frame buffer enters the storage state of shape pixel data D2 after erasing the symbol area. Then, in path 3, the symbol data 8B is converted into symbol pixel data and stored in the symbol area of the frame buffer, and the frame buffer becomes drawing data D3 having no shape on the symbol. Incidentally, FIG. 3 shows a flowchart of the processing performed on routes 1 to 3 in FIG. 2 above. First, shape data is converted into shape pixel data and stored in a frame buffer (step S1). Next, a symbol area is calculated from the symbol data, and the symbol area in the frame buffer is erased (step S2>. Then, the symbol data is converted into symbol pixel data and written in the symbol area of the frame buffer.
It is made obsolete (step S3). That is, in this flowchart, steps 81 to S3 are performed corresponding to routes 1 to 3 in FIG. 2 above.

従って、本発明により文字の上に線図が重なって描かれ
なくなるので読みやすくなる。
Therefore, according to the present invention, line drawings are not drawn superimposed on characters, making them easier to read.

[実施例] 本発明の一実施例を第4図、および、第5図に示す。第
4図は本実施例の構成図で市って、該図には、ホストイ
ンターフェースH1、入力機器インターフェースに■、
データメモリDM、描画プロセサPP、制御プロセサC
P、データバスSS、フレームメモリFM、および、描
画装置PS等が示されている。上記ホストインターフェ
ースH1は図示しない形状データと寸法文字データとを
格納しているホストコンピュータからの上記両データを
入力するものである。上記入力機器インターフェースK
Iはキーボードに8等からのデータを入力するものでお
る。上記データメモリDtVHま上記形状データと寸法
文字データを一時的に記憶するR A fVlでおる。
[Example] An example of the present invention is shown in FIGS. 4 and 5. FIG. 4 is a configuration diagram of this embodiment. In the figure, the host interface H1, the input device interface
Data memory DM, drawing processor PP, control processor C
P, data bus SS, frame memory FM, drawing device PS, etc. are shown. The host interface H1 is used to input shape data and dimension character data (not shown) from a host computer storing the data. Above input device interface K
I is used to input data from 8th grade into the keyboard. The data memory DtVH is R A fVl which temporarily stores the shape data and dimension character data.

上記描画プロセナPPは形状データおよび寸法文字デー
タのラスク変換および寸法文字表示領域の算出を行なう
演算素子である。
The drawing proscenor PP is an arithmetic element that performs rask conversion of shape data and dimension character data and calculates a dimension character display area.

上記制御プロセサCPは上記各部を制御して、入出力、
ラスク変換、および、寸法文字領域の算出等を実行させ
る演算素子である。上記フレームメモリFMは上記ラス
ク変換された両データを記憶するRAMである。上記描
画装置PSは上記フレームメモリFM内の描画データを
描画するプロッタ、又は、ディスプレイ等でおる。
The control processor CP controls each of the above parts, inputs/outputs,
This is an arithmetic element that executes rask conversion, calculation of dimension character area, etc. The frame memory FM is a RAM that stores both of the rask-transformed data. The drawing device PS is a plotter, a display, or the like that draws the drawing data in the frame memory FM.

上記装置構成にもとづいて、第5図のフローチャー1−
に示すような本実施例の制御が行なわれる。
Based on the above device configuration, flowchart 1-
The control of this embodiment is performed as shown in FIG.

すなわら、まずホストコンピュータから形状データの入
力(ステップ100) 、および、寸法文字データの入
力(ステップ110)を行なう。次いで、形状データを
形状描画データにラスク変換(ラスタグラフィックス)
して(ステップ120)、該形状描画データをフレーム
メモリFMに格納する(ステップ130)。次いで、寸
法文字データから寸法文字表示領域を算出して(ステッ
プ140)。上記フレームメモリFM内の寸法文字表示
領域をクリアする(ステップ150)。上記クリアの後
で、寸法文字データを寸法文字描画データにラスク変換
して(ステップ160)、フレームメモリFMの寸法文
字表示領域に格納する(ステップ170)。そして、上
記フレームメモリFM内の描画データを描画装置PSで
描画する(ステップ180)。以上に説明したように本
実施例を用いることで、ホストコンピュータに格納され
ている形状データと寸法文字データとか描画されたとき
に重なる場合でも、形状描画データの寸法文字表示領域
が消去された後に、寸法文字描画デ−夕がフレームメモ
リFMに格納されるので、描画データが描画装置PSで
描画されて図面になったときには、形状線と寸法文字と
が重なって描画されない。したがって、本実施例により
読みやすい図形の出力される図形出力装置が提供できる
That is, first, shape data is input from the host computer (step 100) and dimension character data is input (step 110). Next, rask conversion of the shape data to shape drawing data (raster graphics)
(Step 120), and stores the shape drawing data in the frame memory FM (Step 130). Next, a dimension character display area is calculated from the dimension character data (step 140). The dimension character display area in the frame memory FM is cleared (step 150). After the above clearing, the dimension character data is rask-converted into dimension character drawing data (step 160) and stored in the dimension character display area of the frame memory FM (step 170). Then, the drawing data in the frame memory FM is drawn by the drawing device PS (step 180). As explained above, by using this embodiment, even if shape data stored in the host computer and dimension character data overlap when drawn, after the dimension character display area of the shape drawing data is erased, Since the dimension character drawing data is stored in the frame memory FM, when the drawing data is drawn by the drawing device PS to form a drawing, the shape lines and the dimension characters are not drawn in an overlapping manner. Therefore, this embodiment can provide a graphic output device that outputs easy-to-read graphics.

[発明の効果コ 本発明では、ます形状データ出力手段Aから出力される
形状データが形状ラスタグラフィックス手段Bて形状画
素データに変換されて、フレーム記憶手段Cに記憶され
る。次いで、記号データ出力手段りから出力される記号
データから、記号領域が記号領域算出手段Eで算出され
る。そして、上記記号領域に対応する上記フレーム記憶
手段C内の上記形状画素データが消去される。上記消去
Q)後で、記号データが記号ラスタグラフィックス手段
Gで記号画素データに変換されて、フレーム記憶手段C
に記憶される。上記フレーム記憶手段Cに記憶された両
データは、描画手段Hに描かれる。
[Effects of the Invention] In the present invention, the shape data output from the shape data output means A is converted into shape pixel data by the shape raster graphics means B, and is stored in the frame storage means C. Next, the symbol area is calculated by the symbol area calculation means E from the symbol data output from the symbol data output means. Then, the shape pixel data in the frame storage means C corresponding to the symbol area is erased. The above erasing Q) Later, the symbol data is converted into symbol pixel data by the symbol raster graphics means G and the frame storage means C
is memorized. Both data stored in the frame storage means C are drawn on the drawing means H.

したがって、本発明により、たとえば、データベースに
格納されている形状データと記号データとが描かれたと
きに重なる場合に、記号領域の形状画素データが消去さ
れて、上記両データの画素が重なって描画されなくなる
。この結果、形状線と記号とが重なる状態をCAD装置
で修正しなくてもよくなり、かつ、重なって記号が読み
難くなったり、又は、記号の読み違いのない描画を行な
うことができる。そのうえ、CAD装置から出力されて
データベースに格納されているデータが変更されないの
で、データの信頼性が高くなる。
Therefore, according to the present invention, for example, if shape data stored in a database and symbol data overlap when drawn, the shape pixel data of the symbol area is erased, and the pixels of both data overlap and are drawn. It will no longer be done. As a result, it is not necessary to use a CAD device to correct the state in which the shape line and the symbol overlap, and it is possible to draw the symbol without making it difficult to read or misreading the symbol due to the overlap. Moreover, since the data output from the CAD device and stored in the database is not changed, the reliability of the data is increased.

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

第1図は本発明の図形出力装置の基本的構成を示す構成
図、第2図および第3図は本発明の詳細な説明するため
の説明図、第4図は本発明の一実施例の構成図、第5図
は本実施例の制御を示すフローチセート、第6図は従来
の構成を示す構成図、第7図は従来の制御を示すフロー
チト一ト、第8図〜第11図は従来例を説明するための
説明図である。 A・・・形状データ出力手段 B・・・形状ラスタグラフィックス手段C・・・フレー
ム記憶手段 D・・・記号データ出力手段 E・・・記号領域算出手段 F・・・記号領域算出手段 G・・・記号ラスクグラフィックス手段ト」・・・描画
手段
FIG. 1 is a block diagram showing the basic configuration of a graphic output device of the present invention, FIGS. 2 and 3 are explanatory diagrams for explaining the present invention in detail, and FIG. 4 is an illustration of an embodiment of the present invention. 5 is a flowchart showing the control of this embodiment, FIG. 6 is a block diagram showing a conventional configuration, FIG. 7 is a flowchart showing conventional control, and FIGS. 8 to 11 are flowcharts showing the conventional control. It is an explanatory diagram for explaining an example. A... Shape data output means B... Shape raster graphics means C... Frame storage means D... Symbol data output means E... Symbol area calculation means F... Symbol area calculation means G.・・Symbol rask graphics means ・・・Drawing means

Claims (1)

【特許請求の範囲】 図形領域の記号以外の形状データを出力する形状データ
出力手段と、 上記形状データを形状画素データに変換する形状ラスタ
グラフィックス手段と、 上記形状画素データを上記図形領域の座標値に対応して
記憶するフレーム記憶手段と、 上記図形領域の座標値と記号値からなる記号データを出
力する記号データ出力手段と、 上記記号データの座標値と記号値にもとづいて記号が描
かれる記号領域を算出する記号領域算出手段と、 上記フレーム記憶手段の上記記号領域に対応する上記形
状画素データの記憶を消去する記号領域消去手段と、 上記記号データを記号画素データに変換して、上記消去
された領域に記憶させる記号ラスタグラフィックス手段
と、 上記フレーム記憶手段に記憶された記号と形状を描く描
画手段と、 を備えることを特徴とする図形出力装置。
[Scope of Claims] Shape data output means for outputting shape data other than symbols of a graphic region; shape raster graphics means for converting the shape data into shape pixel data; frame storage means for storing data corresponding to the values; symbol data output means for outputting symbol data consisting of coordinate values and symbol values of the graphic area; symbols are drawn based on the coordinate values and symbol values of the symbol data; symbol area calculating means for calculating a symbol area; symbol area erasing means for erasing the memory of the shape pixel data corresponding to the symbol area in the frame storage means; and converting the symbol data into symbol pixel data, A graphic output device comprising: symbol raster graphics means for storing symbols in erased areas; and drawing means for drawing symbols and shapes stored in the frame storage means.
JP61131558A 1986-06-06 1986-06-06 Graphic output device Pending JPS62287371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61131558A JPS62287371A (en) 1986-06-06 1986-06-06 Graphic output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61131558A JPS62287371A (en) 1986-06-06 1986-06-06 Graphic output device

Publications (1)

Publication Number Publication Date
JPS62287371A true JPS62287371A (en) 1987-12-14

Family

ID=15060875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61131558A Pending JPS62287371A (en) 1986-06-06 1986-06-06 Graphic output device

Country Status (1)

Country Link
JP (1) JPS62287371A (en)

Similar Documents

Publication Publication Date Title
EP0131457B1 (en) Document creating apparatus
US4823303A (en) Display control apparatus for use in composite document processing apparatus
JPS62287371A (en) Graphic output device
US5134687A (en) Method for converting image data into dot data
JPS59225480A (en) Document editing device
JP2985275B2 (en) Character generation method of outline font
JPH06175637A (en) Method for generating character
JP2937607B2 (en) Layout creation device
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JPS6069729A (en) Document processing system for handwritten character
JPH032978A (en) Method and device for control of drawing
JP3412203B2 (en) String output device
JPH0560876B2 (en)
JP2861201B2 (en) Data converter
JP3119094B2 (en) Character output device
JPH07234868A (en) Document preparing device
JPS63131278A (en) Information storage device
WO1999054837A1 (en) Document production assisting device, document production assisting method, and recording medium on which document production assisting program is recorded
JPH0560598B2 (en)
JP2000235651A (en) Compiling method/device for raster data
JPH0567108A (en) Character input editor
JPS6359654A (en) Picture processor
JPS62286160A (en) Word processor
JPH01147777A (en) Image processor
JPH02141866A (en) Document preparing system