Matrix Orbital GLK240128-25 User Manual

Page 30

Advertising
background image

Command Summary

25

3.14 Initialize a
Bar Graph

Dec
Hex
ASCII

254 103

FE 67

■ g

ID Type X1 Y1 X2 Y2
ID Type X1 Y1 X2 Y2
ID Type X1 Y1 X2 Y2

v8.3

Initialize a bar graph in memory for later implementation. Graphs can be located anywhere on the screen, but
overlapping may cause distortion. Graph should be filled using the Draw a Bar Graph command.

ID

Byte

Unique bar identification number, between 0 and 255.

Type

Byte

Graph style, see Bar Graph Types.

X1

Byte

Leftmost coordinate.

Y1

Byte

Topmost coordinate.

X2

Byte

Rightmost coordinate.

Y2

Byte

Bottommost coordinate.

Table 19: Bar Graph Types

Type Direction

Base

0

Vertical

Bottom

1

Horizontal Left

2

Vertical

Top

3

Horizontal Right


3.15 Initialize
9-Slice Bar
Graph

Dec
Hex
ASCII

254 115

FE 73

■ s

ID Type X1 Y1 X2 Y2 Fore 9Slice Back 9Slice
ID Type X1 Y1 X2 Y2 Fore 9Slice Back 9Slice
ID Type X1 Y1 X2 Y2 Fore 9Slice Back 9Slice

v8.3

Initialize a 9-slice bar graph in memory for later implementation. 9-slice graphs are also be filled using the Draw a
Bar Graph command and are allocated to the same memory as regular bitmaps.

ID

Byte

Unique bar identification number, value between 0 and 255.

Type

Byte

Graph style, see Bar Graph Types.

X1

Byte

Leftmost coordinate of the 9-slice bar, zero indexed from left.

Y1

Byte

Topmost coordinate of the 9-slice bar, zero indexed from top.

X2

Byte

Rightmost coordinate of the 9-slice bar, zero indexed from left.

Y2

Byte

Bottommost coordinate of the 9-slice bar, zero indexed from top.

Fore 9Slice

Short

9-slice used for the foreground.

Back 9Slice

Short

9-slice used for the background.


3.16 Draw a
Bar Graph

Dec
Hex
ASCII

254 105

FE 69

■ i

ID Value
ID Value
ID Value

v8.3

Fill in a portion of a bar graph after initialization. Any old value will be overwritten by the new. Setting a value of
zero before setting a new value will restore a graph should it become corrupted.

ID

Byte

Unique bar identification number, between 0 and 255.

Value

Byte

Portion of graph to fill in pixels, will not exceed display bounds.



Advertising
This manual is related to the following products: