beautypg.com

Matrix Orbital GTT70A User Manual

Page 20

background image

Command Summary

16

4.14 Draw Filled
Rectangle

Dec
Hex
ASCII

254 120

FE 78

þ x

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

2.0

Draw a filled rectangle 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.

4.15 Draw Circle

Dec
Hex
ASCII

254 123

FE 7B

þ {

X Y Radius
X Y Radius
X Y Radius

2.0

Draw a circular frame one pixel wide using the current drawing colour.

X

Signed Short

Horizontal coordinate of circle centre.

Y

Signed Short

Vertical coordinate of circle centre.

Radius

Short

Radius of the circle. Diameter will be twice radius, plus one centre pixel.

4.16 Draw Filled
Circle

Dec
Hex
ASCII

254 124

FE 7C

þ |

X Y Radius
X Y Radius
X Y Radius

2.0

Draw a filled circle using the current drawing colour.

X

Signed Short

Horizontal coordinate of circle centre.

Y

Signed Short

Vertical coordinate of circle centre.

Radius

Short

Radius of the circle. Diameter will be twice radius, plus one centre pixel.

4.17 Draw an
Ellipse

Dec
Hex
ASCII

254 125

FE 7D

þ }

X Y XRadius YRadius
X Y XRadius YRadius
X Y XRadius YRadius

2.0

Draw an elliptical frame one pixel wide using the current drawing colour.

X

Signed Short

Horizontal coordinate of ellipse centre.

Y

Signed Short

Vertical coordinate of ellipse centre.

XRadius

Short

Horizontal Radius of the ellipse.

YRadius

Short

Vertical Radius of the ellipse.

4.18 Draw a Filled
Ellipse

Dec
Hex
ASCII

254 126

FE 7E

þ ~

X Y XRadius YRadius
X Y XRadius YRadius
X Y XRadius YRadius

2.0

Draw a filled ellipse using the current drawing colour.

X

Signed Short

Horizontal coordinate of ellipse centre.

Y

Signed Short

Vertical coordinate of ellipse centre.

XRadius

Short

Horizontal Radius of the ellipse.

YRadius

Short

Vertical Radius of the ellipse.

This manual is related to the following products: