beautypg.com

Matrix Orbital GTT70A User Manual

Page 27

background image

23

Command Summary

6.8 Set Text
Window

Dec
Hex
ASCII

254 43

FE 2B

þ +

X Y Width Height
X Y Width Height
X Y Width Height

2.0

Create an invisible rectangle to which future text and insertion commands will be confined.

X

Signed Short

Leftmost coordinate of the text window.

Y

Signed Short

Topmost coordinate of the text window.

Width

Short

Width of the text window.

Height

Short

Height of the text window.

6.9 Get Text
Window

Dec
Hex
ASCII

254 44

FE 2C

þ ,



2.0

Read the extents of the current text window.

Return Message

252 44 Length

X Y Width Height

X

Signed Short

Leftmost coordinate of the text window.

Y

Signed Short

Topmost coordinate of the text window.

Width

Short

Height of the text window.

Height

Short

Height of the text window.

6.10 Reset Font

Dec
Hex
ASCII

254 45

FE 2D

þ -



2.0

Reset the font in slot 0 to the default GTT style with the last selected colour.

6.11 Set Text
Colour

Dec
Hex
ASCII

254 46

FE 2E

þ .

R G B
R G B
R G B

2.0

Set the colour of all subsequent text rendered in the current font, current text and other fonts are not affected.

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.

6.12 Get Text
Colour

Dec
Hex
ASCII

254 47

FE 2F

þ /



2.0

Read the current text colour of the font in use.

Return Message

252 47 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.


This manual is related to the following products: