Matrix Orbital GTT70A User Manual
Page 19

15
Command Summary
4.9 Get Drawing
Colour
Dec
Hex
ASCII
254 100
FE 64
þ d
2.0
Read the colour that is currently being used by all drawing commands.
Return Message
252 100 Length
R G B
R
Byte
Intensity of red, 0 to 255, limited to display metrics.
G
Byte
Intensity of green, 0 to 255, limited to display metrics.
B
Byte
Intensity of blue, 0 to 255, limited to display metrics.
4.10 Continue Line
Dec
Hex
ASCII
254 101
FE 65
þ e
X Y
X Y
X Y
2.0
Draw a line from the last point drawn to the coordinate specified using the current drawing colour. The last stored
point is automatically updated from Draw Pixel, Draw Line, and Continue Line commands.
X
Signed Short
Horizontal coordinate of line terminus.
Y
Signed Short
Vertical coordinate of line terminus
4.11 Draw Line
Dec
Hex
ASCII
254 108
FE 6C
þ l
X1 Y1 X2 Y2
X1 Y1 X2 Y2
X1 Y1 X2 Y2
2.0
Draw a line connecting two termini using the current drawing colour. Lines may be rendered differently when
drawn right to left versus left to right.
X1
Signed Short
Horizontal coordinate of first line terminus.
Y1
Signed Short
Vertical coordinate of first line terminus.
X2
Signed Short
Horizontal coordinate of second line terminus.
Y2
Signed Short
Vertical coordinate of second line terminus.
4.12 Draw Pixel
Dec
Hex
ASCII
254 112
FE 70
þ p
X Y
X Y
X Y
2.0
Draw a single pixel at the specified coordinate using the current drawing colour.
X
Signed Short
Horizontal position of pixel to be drawn.
Y
Signed Short
Vertical position of pixel to be drawn.
4.13 Draw Rectangle
Dec
Hex
ASCII
254 114
FE 72
þ r
X Y Width Height
X Y Width Height
X Y Width Height
2.0
Draw a rectangular frame one pixel wide using the current drawing colour.
X
Signed Short
Leftmost coordinate of the rectangle.
Y
Signed Short
Topmost coordinate of the rectangle.
Width
Short
Width of the rectangle.
Height
Short
Height of the rectangle.