beautypg.com

Matrix Orbital GTT70A User Manual

Page 21

background image

17

Command Summary

4.19 Draw
Rounded
Rectangle

Dec
Hex
ASCII

254 127

FE 7F

þ

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

2.0

Draw a rectangular frame one pixel wide with rounded corners using the current drawing colour. The radius must
be equal to or less than half the length of the smallest side of the rectangle.

X

Signed Short

Leftmost coordinate of the rectangle

Y

Signed Short

Topmost coordinate of the rectangle

Width

Signed Short

Width of the rectangle.

Height

Signed Short

Height of the rectangle.

Radius

Short

Radius of the rounded corners.

4.20 Draw Filled
Rounded
Rectangle

Dec
Hex
ASCII

254 128

FE 80

þ €

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

2.0

Draw a filled rectangle with rounded corners using the current drawing colour. The radius must be equal to or less
than half the length of the smallest side of the rectangle.

X

Signed Short

Leftmost coordinate of the rectangle

Y

Signed Short

Topmost coordinate of the rectangle

Width

Signed Short

Width of the rectangle.

Height

Signed Short

Height of the rectangle.

Radius

Short

Radius of the rounded corners.

4.21 Draw
Triangle

Dec
Hex
ASCII

254 129

FE 81

þ •

X1 Y1 X2 Y2 X3 Y3
X1 Y1 X2 Y2 X3 Y3
X1 Y1 X2 Y2 X3 Y3

2.0

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

X1

Signed Short

Horizontal coordinate of the first point.

Y1

Signed Short

Vertical coordinate of the first point.

X2

Signed Short

Horizontal coordinate of the second point.

Y2

Signed Short

Vertical coordinate of the second point.

X3

Signed Short

Horizontal coordinate of the third point.

Y3

Signed Short

Vertical coordinate of the third point.

4.22 Draw Filled
Triangle

Dec
Hex
ASCII

254 130

FE 82

þ ‚

X1 Y1 X2 Y2 X3 Y3
X1 Y1 X2 Y2 X3 Y3
X1 Y1 X2 Y2 X3 Y3

2.0

Draw a filled triangle using the current drawing colour.

X1

Signed Short

Horizontal coordinate of the first point.

Y1

Signed Short

Vertical coordinate of the first point.

X2

Signed Short

Horizontal coordinate of the second point.

Y2

Signed Short

Vertical coordinate of the second point.

X3

Signed Short

Horizontal coordinate of the third point.

Y3

Signed Short

Vertical coordinate of the third point.

This manual is related to the following products: