beautypg.com

Matrix Orbital GTT70A User Manual

Page 23

background image

19

Command Summary

5.3 Copy
Screen
Rectangle

Dec
Hex
ASCII

254 96

FE 60

þ `

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

2.0

Save a rectangular region of the screen to a bitmap buffer, allowing it to be recalled at a later time.

Index

Byte

Index used to identify the screen section. Specific to bitmaps and screen rectangles.

X

Signed Short

Leftmost coordinate.

Y

Signed Short

Topmost coordinate.

Width

Short

Width of the screen section.

Height

Short

Height of the screen section.

5.4 Load 9-Slice

Dec
Hex
ASCII

254 144

FE 90

þ •

Index Filename
Index Filename
Index Filename

2.0

Load a 9-slice file from the SD card into a 9-Slice buffer for use.

Index

Byte

Index used to identify the 9-slice. Specific to 9-slices.

Filename

ASCII String

Filename, including path from the root folder, of the 9-Slice file to load.

Return Message

252 144 Length

Result

Result

Byte

Outcome of Load Nine Slice command, as per eErrorCode values.

5.5 Load
Animation

Dec
Hex
ASCII

254 192

FE C0

ю А

Index Filename
Index Filename
Index Filename

2.0

Load an animation file from the SD card into an animation buffer for use. Refer to the Animations entry in the
Features section for more information.

Index

Byte

Index used to identify the animation. Specific to animations.

Filename

ASCII String

Filename, including path from the root folder, of the animation file to load.

5.6 Clear A
Buffer

Dec
Hex
ASCII

254 208

FE D0

ю Р

Type Index
Type Index
Type Index

2.0

Clear all data from a specific index of the selected buffer type, freeing buffer memory. Note, Labels and Traces
save a background image to buffer memory upon initialization.

Type

Byte

Type of buffer to clear, as per eBuffers values.

Index

Byte

Index of the file to be cleared from buffer memory.

Table 16: eBuffers values

Value Description

0

Animations

1

Bitmaps

2

NineSlices

3

Fonts

4

Labels

5

Traces

This manual is related to the following products: