Matrix Orbital GLK24064-25 User Manual

Page 28

Advertising
background image

Command Summary

23

3.6 Draw a Filled
Rectangle

Dec
Hex
ASCII

254 120

FE 78

■ x

Colour X1 Y1 X2 Y2
Colour X1 Y1 X2 Y2
Colour X1 Y1 X2 Y2

v8.0

Draw a filled rectangle using the colour specified; current drawing colour is ignored.

Colour

Byte

0 for background or any other value for text colour.

X1

Byte

Leftmost coordinate.

Y1

Byte

Topmost coordinate.

X2

Byte

Rightmost coordinate.

Y2

Byte

Bottommost coordinate.

3.7 Draw a
Rounded
Rectangle

Dec
Hex
ASCII

254 128

FE 80

■ Ç

X1 Y1 X2 Y2 Radius
X1 Y1 X2 Y2 Radius
X1 Y1 X2 Y2 Radius

v8.3

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

X1

Byte

Leftmost coordinate of the rectangle.

Y1

Byte

Topmost coordinate of the rectangle.

X2

Byte

Rightmost coordinate.

Y2

Byte

Bottommost coordinate.

Radius

Byte

Radius of curvature of the rectangle corners.

3.8 Draw a Filled
Rounded
Rectangle

Dec
Hex
ASCII

254 129

FE 81

■ ü

X1 Y1 X2 Y2 Radius
X1 Y1 X2 Y2 Radius
X1 Y1 X2 Y2 Radius

v8.3

Draw a filled rounded rectangle using the current drawing colour.

X1

Byte

Leftmost coordinate of the rectangle.

Y1

Byte

Topmost coordinate of the rectangle.

X2

Byte

Rightmost coordinate.

Y2

Byte

Bottommost coordinate.

Radius

Byte

Radius of curvature of the rectangle corners.

3.9 Draw a
Circle

Dec
Hex
ASCII

254 123

FE 7B

■ {

X Y Radius
X Y Radius
X Y Radius

v8.3

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

X

Byte

Horizontal coordinate of the circle centre.

Y

Byte

Vertical coordinate of the circle centre.

Radius

Byte

Distance between the circle perimeter and centre.


Advertising
This manual is related to the following products: