EasyManua.ls Logo

ASTRO VG-871 - GTRIPA [D2 H]: Filled-In Triangle Drawing; CTRIPA [D3 H]: Filled-In Triangle Clearing

ASTRO VG-871
499 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 5 INDIVIDUAL DRAWING COMMAND FORMATS
443
5.14 GTRIPA [D2H]: Filled-in triangle drawing /
CTRIPA [D3H]: Filled-in triangle clearing
5.14.1 GTRIPA [D2H]: Filled-in triangle drawing
Function: This command draws a filled-in triangle on the graphic plane (1-bit plane).
The coordinates of the three apex points are set by the parameters.
Sequence: Type 2
Command:
STX
1 byte
02H
GTRIPA, CTRIPA
1 byte
D2H, D3H
Coordinate X1
2 to 5 bytes
Sign code + “0” to “4095” e.g. 100 0100
Sign code: “0” = +, “1” = -
*-2048 (“12048”) to +4096 (“04095”) in numerical
terms
Data delimiter
1 byte
“, “
Coordinate Y1
2 to 5 bytes
Sign code + “0” to “4095” e.g. 100 0100
Sign code: “0” = +, “1” = -
*-2048 (“12048”) to +4096 (“04095”) in numerical
terms
Data delimiter
1 byte
“, “
Coordinate X2
2 to 5 bytes
Sign code + “0” to “4095” e.g. 100 0100
Sign code: “0” = +, “1” = -
*-2048 (“12048”) to +4096 (“04095”) in numerical
terms
Data delimiter
1 byte
“, “
Coordinate Y2
2 to 5 bytes
Sign code + “0” to “4095” e.g. 100 0100
Sign code: “0” = +, “1” = -
*-2048 (“12048”) to +4096 (“04095”) in numerical
terms
Data delimiter
1 byte
“, “
Coordinate X3
2 to 5 bytes
Sign code + “0” to “4095” e.g. 100 0100
Sign code: “0” = +, “1” = -
*-2048 (“12048”) to +4096 (“04095”) in numerical
terms
Data delimiter
1 byte
“, “
Coordinate Y3
2 to 5 bytes
Sign code + “0” to “4095” e.g. 100 0100
Sign code: “0” = +, “1” = -
*-2048 (“12048”) to +4096 (“04095”) in numerical
terms
ETX
1 byte
03H
Fig. 5-14-1

Table of Contents