JPS61834A - Line command processing method of pdi - Google Patents
Line command processing method of pdiInfo
- Publication number
- JPS61834A JPS61834A JP59122617A JP12261784A JPS61834A JP S61834 A JPS61834 A JP S61834A JP 59122617 A JP59122617 A JP 59122617A JP 12261784 A JP12261784 A JP 12261784A JP S61834 A JPS61834 A JP S61834A
- Authority
- JP
- Japan
- Prior art keywords
- line
- coordinates
- command
- physical
- termination
- 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
Links
- 238000003672 processing method Methods 0.000 title claims description 5
- 238000004040 coloring Methods 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims description 17
- 239000003086 colorant Substances 0.000 abstract description 5
- 230000000977 initiatory effect Effects 0.000 abstract 5
- 230000005540 biological transmission Effects 0.000 description 6
- 238000007796 conventional method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Digital Computer Display Output (AREA)
- Image Generation (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はビデオテックスにおける表示装置の図形処理に
利用する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is utilized for graphic processing of a display device in videotex.
ビデオテックスは情報センターと各家庭とを既存の電話
回線を伝送路として接続し、各家庭のテレビ受信機を表
示装置として用い、情報センターに別途蓄積された各種
の情報を一般家庭からの要求に応じて安価かつ容易に提
供するシステムである。Videotex connects the information center and each home using existing telephone lines as a transmission line, uses each home's television receiver as a display device, and transmits various information separately stored at the information center to requests from general households. This is a system that can be provided inexpensively and easily depending on the customer's needs.
ビデオテックスの各端末装置の基本的構成は、家庭用の
普通のテレビ受信機と、画像メモリを内蔵するアダプタ
(マイクロプロセッサ)と情報要求用の簡単なキーボー
ドとからなる。The basic configuration of each Videotex terminal device consists of an ordinary home television receiver, an adapter (microprocessor) with built-in image memory, and a simple keyboard for requesting information.
端末装置の動作を掌るプログラムは、情報センターから
ロードされる場合と、端末装置独自で具備しているもの
とがある。The program that controls the operation of a terminal device may be loaded from an information center or may be provided independently by the terminal device.
情報センターにつながれた多数の端末装置からの要求に
応じて情報センターは所要の情報を格納するデータベー
スの中から検索し、要求端末へ迅速的確に伝送する。端
末においては、それを画像メモリに記憶した後、テレビ
画面に同期して表示する。In response to requests from a large number of terminal devices connected to the information center, the information center searches a database storing the required information and quickly and accurately transmits it to the requesting terminal. In the terminal, the image is stored in the image memory and then displayed in synchronization with the television screen.
上記のようなビデオテックスのシステムを実際に構築し
運用するためには情報センター側における情報の収集、
蓄積、検索等の問題、端末とのデータ伝送の問題、端末
゛装置におけるデータ処理、表示の問題等、技術的に克
服すべき多くの問題があり、世界各国において各種の方
式が開発されつつある。In order to actually build and operate the Videotex system mentioned above, the information center must collect information,
There are many technical problems to be overcome, such as storage and retrieval problems, data transmission problems with terminals, data processing and display problems in terminal devices, etc., and various methods are being developed around the world. .
これ等の従来技術において、表示の方式はいくつかの表
示ドツトをブロックとして着色するブロック単位着色で
ある。しかし表示すべき画面の種類も多彩となり、きめ
の細かい高品位の表示画面が要求される結果、表示画面
の着色はドツト単位とする必要がある。In these conventional techniques, the display method is block unit coloring in which several display dots are colored as blocks. However, the types of screens to be displayed are becoming more diverse, and as a result, fine-grained, high-quality display screens are required, and as a result, it is necessary to color the display screen in units of dots.
ビデオテックスの各種の方式中、PDI方式がある。こ
れは表示する図形を点(POINT>、直線(LINE
)、円弧(ARC)、矩形(RECTANGLE>、多
角形(POLYGON>の基本要素の組合わせによって
表現するもので、PD I (Picture D
escription In5truction)
と称する言語によって与えられる。上記基本要素は端末
装置l\コマンドという情報形式によって伝送される。Among the various methods of Videotex, there is the PDI method. This sets the figure to be displayed as a point (POINT>, a straight line (LINE)
), arc (ARC), rectangle (RECTANGLE>, and polygon (POLYGON>). PD I (Picture D
(In5truction)
given by a language called The above basic elements are transmitted in the form of information called terminal device l\command.
各コマンドは上記の各種類を示すオペレーションコード
とデータとから構成される。データには描画のための動
作開始点、動作鑑等を示す座標位置データおよび着色デ
ータを含む。1つのコマンドに続くデータは次のコマン
ドがくるまCは付加情報とみなして順次処理される。Each command is composed of an operation code and data indicating each of the above types. The data includes coordinate position data and coloring data indicating an operation start point for drawing, an operation guide, etc. The data following one command is processed sequentially with the next command being treated as additional information.
PDI方式のビデオテックスはコマンド伝送方式である
から、情報量対伝送量の比が大きい。Since the PDI videotex is a command transmission method, the ratio of the amount of information to the amount of transmission is large.
本発明はビデオテックスにおいて従来実現しなかったド
ラ1〜単位着色による櫟の表示を行うPDIのPOIN
Tコマンド処理方法を提供することを目的とする。The present invention is a PDI POIN that displays dora 1 through unit coloring, which has not been realized in the past in Videotex.
The purpose of this invention is to provide a method for processing T commands.
本発明によるPCIのI−I N E Tlマント処理
り法は、ビデオテックスの表示装fit−二J3けろ線
の描画方法であ−)で、表示画面に描画すべき線の太さ
を表わす論理画素サイズ、線の始点および終点の論理座
標ならびに着色データを入力し、これ等のデータに基ず
き、表示画面上の線の始点、終点を構成する物理的画素
の各位置座標を計算し記憶する手段と、これ等の物理的
座標および着色データに基ずき始点と終点との間に直線
又はテクスチャを着色描画する手段とを備える。The PCI I-I N E Tl cloak processing method according to the present invention is a videotex display device fit-2 J3 method for drawing black lines, which uses a logic that represents the thickness of the line to be drawn on the display screen. Input the pixel size, logical coordinates of the start and end points of the line, and coloring data, and based on these data, calculate and store the position coordinates of each physical pixel that makes up the start and end points of the line on the display screen. and means for coloring and drawing a straight line or texture between a starting point and an ending point based on these physical coordinates and coloring data.
上記の計算する手段は線の始点の物理的座標として直前
のLINEコマンド又はPOINTコマンドの処理結果
をそのまま使用することもできるように構成する。The above calculation means is configured so that the processing result of the immediately preceding LINE command or POINT command can be used as is as the physical coordinates of the starting point of the line.
上記の構成により物理的描画は論理的画素サイズの回数
だけ繰返され、その結果指定された始点から終点までの
間に、指定された論理画素サイズに対応する太さの線を
着色描画する。With the above configuration, physical drawing is repeated the number of times equal to the logical pixel size, and as a result, a colored line with a thickness corresponding to the specified logical pixel size is drawn between the specified starting point and the ending point.
以下本発明の実施例について図面を参照して詳細に説明
する。Embodiments of the present invention will be described in detail below with reference to the drawings.
第1図は本発明によるPDIのLINEコマンド処理方
法を示すフローチャートである。FIG. 1 is a flowchart showing a PDI LINE command processing method according to the present invention.
この実施例においてはLINEコマンドは11NE(A
)およびLINE(B)の2種類がある。In this example, the LINE command is 11NE (A
) and LINE (B).
LINE(A)コマンドは輪を描画するために線の始点
と終点の両方の位置座標データを伴っている。一方L
INE (B)コマンドにおいては、線の始点座標は、
直前に処理済のPOINTコマンド(点を描画するため
のPDIコマンド)において計算され記憶されているも
のを使用するので、その始点座標資基準とする相対値で
表わされた終点データのみを持っている。The LINE (A) command is accompanied by position coordinate data for both the start and end points of the line to draw the ring. On the other hand, L
In the INE (B) command, the starting point coordinates of the line are
Since we use what was calculated and stored in the POINT command (PDI command for drawing a point) that was processed just before, we only have the end point data expressed in relative values as the starting point coordinates reference. There is.
L、INFコマンドはオペレーションコードとデータと
からなる。オペレーションコードはコマンドがLINE
(A)かL INE (B)かを示すピッ)〜、コマン
ドのエラーの有無を表わすPDIフラグ、座標データが
絶対座標か相対座標かを表わすRELフラグを含む。The L, INF command consists of an operation code and data. The command for the operation code is LINE
(A) or LINE (B), a PDI flag indicating whether there is an error in the command, and a REL flag indicating whether the coordinate data is absolute coordinates or relative coordinates.
データには論理画素サイズ(線の太さを表わす)、終点
座標、LINE(A)の場合は始点座標、着色データを
含む。The data includes the logical pixel size (representing the thickness of the line), end point coordinates, in the case of LINE (A), start point coordinates, and coloring data.
着色データは4ビツトで16色を表わす。これはこのL
INEコマンドを構成するに先立って他の手段によって
4096色の中から選定された16色である。Coloring data represents 16 colors with 4 bits. This is this L
These are 16 colors selected from 4096 colors by other means prior to composing the INE command.
表示面は横248ドツト×縦192ラインとする。The display surface is 248 horizontal dots x 192 vertical lines.
以下第1図について述べる。LINEコマンドが入力す
るとステップ1の5TARTから処理を開始する。Figure 1 will be described below. When the LINE command is input, processing starts from step 1, 5TART.
ステップ2においてPDIフラグの初期値としてこれを
OFFにセラI−する。このフラグは後述のようにLI
NEコマンドにエラーがなければONにセットされる。In step 2, this is set to OFF as the initial value of the PDI flag. This flag is LI
It is set to ON if there is no error in the NE command.
ステップ3においてLINEコマンドの種類((A)か
(B)か)がチェックされ、LINE(B)ならばRE
Lフラグを1″にセットした後ステップ4からステップ
9までの処理は行わずステップ10へ飛ぶ。In step 3, the type of LINE command ((A) or (B)) is checked, and if it is LINE (B), the RE
After setting the L flag to 1'', the process jumps to step 10 without performing steps 4 to 9.
もしLINE (A)であるならば、ステップ4へ進み
RELフラグを“ヤ°′にセットする。RELフラグは
“〜″ならば絶対座標を、パ1”ならば相対座標を表わ
す。If it is LINE (A), proceed to step 4 and set the REL flag to "Y°'. If the REL flag is "~", it represents an absolute coordinate, and if it is "Pa1", it represents a relative coordinate.
ステップ4のつぎにステップ5のザブルーチン0PRC
Hに入る。このサブルーチンにおいて上記のRELフラ
グの内容が調べられる。この場合110 IIであるか
ら最初のデータを線の始点の論理画素とみなし、これに
基ずきこの論理画素を構成する物理的画素すなわち各表
示ドツトの各物理的座標を計算し、X座標をXADBF
レジスタ(以下レジスタは記号のみを記載する)に、Y
座標をYADBFに記憶する。After step 4, step 5 subroutine 0PRC
Enter H. In this subroutine, the contents of the above REL flag are checked. In this case, it is 110 II, so the first data is regarded as the logical pixel at the starting point of the line, and based on this, the physical coordinates of the physical pixels that make up this logical pixel, that is, each display dot, are calculated, and the X coordinate is calculated. XADBF
In the register (hereinafter, only the symbol is written for the register), enter Y
Store the coordinates in YADBF.
サブルーチン0PRCHにおいてコマンドが正常である
か否かがチェックされる。正常でない場合例えばオペレ
ーションコードのみでデータを伴っていない場合等にお
いては、ステップ6からステップ7へ出て、それ以後の
LINEコマンドの処理は行わず他の処理へ移行する。In subroutine 0PRCH, it is checked whether the command is normal. If it is not normal, for example, if there is only an operation code and no data, the process goes from step 6 to step 7, and the subsequent LINE command processing is not performed, but the process moves to other processing.
コマンドが正常な場合は、ステップ8へ進む。If the command is normal, proceed to step 8.
ステップ8においては、XADBFの内容(Xjl標>
をxAop%へ、YADBF(7)内容(Y!I[)
をYADPやへ移す。In step 8, the contents of XADBF (Xjl mark>
to xAop%, YADBF(7) contents (Y!I[)
Transfer to YADP.
つぎにステップ9へ進み、ここでコマンドが正常であり
引き続き処理を続行中を示すためPDIフラグをONに
セットする。Next, the process advances to step 9, where the PDI flag is set to ON to indicate that the command is normal and processing is continuing.
以上で始点を構成する一つのドツトの物理的位置座標が
計算され記憶されたことになる。With the above steps, the physical position coordinates of one dot constituting the starting point have been calculated and stored.
つぎにステップ10に移る。ステップ10に入る経路は
上述の経路の他にステップ4−を経由したものがある。Next, proceed to step 10. In addition to the above-mentioned route, the route to step 10 includes a route via step 4-.
ステップ4−においてはRE’Lフラグが“1”にセッ
トされ相対座標を示す。この場合は線の始点の座標デー
タは直前のLINEコマンド又はPOI NTコマンド
の処理結果として既にxAopQおよびYADPQに記
憶されているものを使用する。In step 4-, the RE'L flag is set to "1" to indicate relative coordinates. In this case, the coordinate data of the starting point of the line is the one already stored in xAopQ and YADPQ as the processing result of the immediately previous LINE command or POI NT command.
いずれの経路を通ってステップ10へ入るにしてもその
ときは計算済みの物理的始点座標がXADP會およびY
ADPΦに記憶されている。Regardless of which route you take to enter step 10, the calculated physical starting point coordinates are XADP and Y.
It is stored in ADPΦ.
ステップ10のサブルーチン0PRCHにおいてはRE
Lフラグが゛Φ′°の場合には第2番目の座標データに
より、RELフラグが“1″の場合には第111目の座
標データによって各々線の終点の物理的座標が計算され
、いずれの場合にもXADBFおよびYADBFに格納
される。In subroutine 0PRCH of step 10, RE
When the L flag is ゛Φ'°, the physical coordinates of the end points of the lines are calculated using the second coordinate data, and when the REL flag is "1", the physical coordinates of the end points of the lines are calculated using the 111th coordinate data. Also stored in XADBF and YADBF.
つぎにステップ11においてコマンドエラーがチェック
される。これはLINE(B)コマンドに対するチェッ
クを目的とする。この場合においてももしエラーがあれ
ばステップ7へ出て以下の処理は行われない。Next, in step 11, command errors are checked. This is intended to check against the LINE (B) command. Even in this case, if there is an error, the process goes to step 7 and the following processing is not performed.
エラーがないならばステップ12/\進む。ステップ1
2において、始点座標値XADPΦ、YADPQはそれ
ぞれ始点の描画レジスタXADB〜およびYADB舎へ
移される。終点の座標値はXADBFおよびYADBF
から終点の描画レジスタXA[)81およびYADBI
へ移される。If there is no error, proceed to step 12/\\. Step 1
2, the starting point coordinate values XADPΦ and YADPQ are transferred to the drawing registers XADB~ and YADB of the starting point, respectively. The coordinate values of the end point are XADBF and YADBF
to end point drawing register XA[)81 and YADBI
will be moved to
しかる後ステップ13のサブルーチンLINEに入る。Thereafter, the subroutine LINE of step 13 is entered.
LINEサブルーチンは、XADB〜、YADBヤで表
わされるドラ1−座標とXADBl、YADBlで表わ
されるドラ1〜座標とを結ぶ直線あるいはテクスチ1−
(点線、鎖線等)を着色データに従って着色描画する。The LINE subroutine creates a straight line or texture connecting the driver 1-coordinates represented by XADB~, YADB and the driver 1-coordinates represented by XADBl, YADBl.
(Dotted lines, chain lines, etc.) are colored and drawn according to the coloring data.
つぎにステップ14へ進み、ここで終点の座標xADB
FSYADBFをXADPΦ、YADPΦへそれぞれ移
した後ステップ15へ行く。ステップ15においてPD
IフラグをONにセットしステップ16からステップ3
へ戻り、以上の処理を繰返す。 論理画素サイズが1ド
ツトである場合は、サブルーチン0PRCHにおいて2
回目の処理の結果エラーとなりステップ5においてチェ
ックされ、ステップ6からステップ7へ出て他の処理へ
移行する。Next, proceed to step 14, where the coordinates of the end point xADB
After moving FSYADBF to XADPΦ and YADPΦ, the process goes to step 15. In step 15 PD
Set the I flag to ON and proceed from step 16 to step 3.
Go back and repeat the above process. If the logical pixel size is 1 dot, 2 in subroutine 0PRCH.
The result of the second processing is an error, which is checked in step 5, and the process proceeds from step 6 to step 7 to proceed to other processing.
論理画素サイズが1以上ならば上記のループは論理画素
サイズに含まれる物理的線の数に等しい回数だけ繰返さ
れた後、最後はステップ6からループを出てステップ7
で終る。If the logical pixel size is 1 or more, the above loop is repeated a number of times equal to the number of physical lines included in the logical pixel size, and finally exits the loop from step 6 and returns to step 7.
It ends with
本発明によるPCIのLINEコマンド処理により、従
来実現しなかったドツト単位の着色による線の描画がで
きる。論理画素サイズ(線の太さ)の選定は任意である
から極めて融通性に富む。The PCI LINE command processing according to the present invention makes it possible to draw lines by coloring dots, which has not been possible in the past. Since the logical pixel size (line thickness) can be selected arbitrarily, it is extremely flexible.
コマンド伝送であるから情報農対伝送量比が大であり効
率的である。Since it is a command transmission, the ratio of information to transmission amount is large and it is efficient.
第1図は本発明の一実施例を示すフローチャートである
。
0PRCH・・・・・・始点および終点座標を計算する
手段、
LINE・・・・・・線を着色描画する手段。
出願人 日本電気ホームエレクトロニクス株式会社FIG. 1 is a flowchart showing one embodiment of the present invention. 0PRCH: Means for calculating start point and end point coordinates. LINE: Means for coloring and drawing a line. Applicant: NEC Home Electronics Co., Ltd.
Claims (1)
法であって、前記線の太さを表わす論理画素サイズ、前
記線の始点および終点の論理座標ならびに着色データを
入力しこれ等のデータに基ずき前記始点および終点の各
物理的画素の位置座標を計算し記憶する手段と、前記物
理的位置座標と前記着色データとに基ずき前記始点と終
点間に直線又はテクスチャを着色描画する手段とを備え
たことを特徴とするPDIのLINEコマンド処理方法
。 2、前記線の始点の物理的座標は直前のLINEコマン
ド又はPOINTコマンドの処理結果を使用することを
特徴とする特許請求の範囲第1項記載のPDIのLIN
Eコマンド処理方法。[Claims] 1. A method for drawing a line on a display screen in Videotex, the method comprising inputting a logical pixel size representing the thickness of the line, logical coordinates of the starting point and ending point of the line, and coloring data. means for calculating and storing the positional coordinates of each physical pixel at the starting point and the ending point based on data such as, and calculating a straight line or texture between the starting point and the ending point based on the physical positional coordinates and the coloring data. 1. A PDI LINE command processing method, comprising means for coloring and drawing. 2. The PDI LIN according to claim 1, wherein the physical coordinates of the starting point of the line use the processing result of the immediately preceding LINE command or POINT command.
E command processing method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59122617A JPS61834A (en) | 1984-06-14 | 1984-06-14 | Line command processing method of pdi |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59122617A JPS61834A (en) | 1984-06-14 | 1984-06-14 | Line command processing method of pdi |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS61834A true JPS61834A (en) | 1986-01-06 |
Family
ID=14840386
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59122617A Pending JPS61834A (en) | 1984-06-14 | 1984-06-14 | Line command processing method of pdi |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61834A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06208626A (en) * | 1993-08-01 | 1994-07-26 | Hitachi Ltd | Graphic processor |
| US6429871B1 (en) | 1986-10-06 | 2002-08-06 | Hitachi, Ltd. | Graphic processing method and system for displaying a combination of images |
| US6745960B1 (en) | 1999-06-07 | 2004-06-08 | Freund Industrial Co., Ltd. | Centrifugally rolling granulating device and method of treating powder and granular material using the device |
| JP2007292877A (en) * | 2006-04-21 | 2007-11-08 | Yamaha Corp | Image processor |
| JP2013094294A (en) * | 2011-10-28 | 2013-05-20 | Olympia:Kk | Game machine |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57159389A (en) * | 1981-03-28 | 1982-10-01 | Fujitsu Ltd | Thick line drawing system |
-
1984
- 1984-06-14 JP JP59122617A patent/JPS61834A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57159389A (en) * | 1981-03-28 | 1982-10-01 | Fujitsu Ltd | Thick line drawing system |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6429871B1 (en) | 1986-10-06 | 2002-08-06 | Hitachi, Ltd. | Graphic processing method and system for displaying a combination of images |
| US6781590B2 (en) | 1986-10-06 | 2004-08-24 | Hitachi, Ltd. | Graphic processing system having bus connection control functions |
| JPH06208626A (en) * | 1993-08-01 | 1994-07-26 | Hitachi Ltd | Graphic processor |
| US6745960B1 (en) | 1999-06-07 | 2004-06-08 | Freund Industrial Co., Ltd. | Centrifugally rolling granulating device and method of treating powder and granular material using the device |
| JP2007292877A (en) * | 2006-04-21 | 2007-11-08 | Yamaha Corp | Image processor |
| JP2013094294A (en) * | 2011-10-28 | 2013-05-20 | Olympia:Kk | Game machine |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0821302B1 (en) | Register set reordering for a graphics processor based upon the type of primitive to be rendered | |
| JPS58500779A (en) | Terminal generation of dynamically definable character sets | |
| EP0553549A1 (en) | Architecture for transferring pixel streams | |
| JPS61834A (en) | Line command processing method of pdi | |
| JPH0252271B2 (en) | ||
| NO154710B (en) | VIDEOTEX TYPE DATA TRANSMISSION SYSTEM AND PROCEDURE FOR TRANSMITTING CODED INFORMATION IN SUCH SYSTEM. | |
| JPS5969840A (en) | Method for entering data to entry screen | |
| US6577294B1 (en) | Display device | |
| JPS61833A (en) | Point command processing method of pdi | |
| JP2965811B2 (en) | Information processing apparatus and display method | |
| JP2887122B2 (en) | Image data processing apparatus and system using the same | |
| JP2554876B2 (en) | Address translation device | |
| JP2558985B2 (en) | Map information screen sequential automatic switching method | |
| JPH10178424A (en) | Network display device | |
| JPH06266835A (en) | Plotting system | |
| JPH0329059A (en) | Method and equipment for processing image | |
| JPH06168335A (en) | Device and method for plotting graphic | |
| JPH1124649A (en) | Graph display device, graph display method, and storage medium | |
| JPH01248781A (en) | Picture reception display device | |
| JP2700124B2 (en) | Graphic display method and apparatus for implementing the same | |
| JP2006227498A (en) | Image processing system | |
| JPH08313U (en) | Document creation device | |
| JPH10254417A (en) | Liquid crystal display display system | |
| JPH10209U (en) | Document creation device | |
| JPH01234892A (en) | Method for displaying character string in graphic image plane |