
24
5.6 Draw a Solid
Rectangle
Colour X1 Position Y1 Position X2 Position Y2 Position
Colour X1 Position Y1 Position X2 Position Y2 Position
Colour X1 Position Y1 Position X2 Position Y2 Position
Draw a filled rectangle using the colour specified; current drawing colour is ignored.
1 byte, 0 for background or 1to 255 for text colour
1 byte, leftmost coordinate, value between 0 and 239
1 byte, topmost coordinate, value between 0 and 63
1 byte, rightmost coordinate, value between 0 and 239
1 byte, bottommost coordinate, value between 0 and 63
5.7 Initialize a
Bar Graph
ID Type X1 Position Y1 Position X2 Position Y2 Position
ID Type X1 Position Y1 Position X2 Position Y2 Position
ID Type X1 Position Y1 Position X2 Position Y2 Position
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 Bar Graph command below.
1 byte, unique bar identification number, between 0 and 15
1 byte, graph style, see Table 23
1 byte, leftmost coordinate, value between 0 and 239
1 byte, topmost coordinate, value between 0 and 63
1 byte, rightmost coordinate, value between 0 and 239
1 byte, bottommost coordinate, value between 0 and 63
Table 23: Bar Graph Types
ID Value
ID Value
ID Value
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.
1 byte, unique bar identification number, between 0 and 15
1 byte, portion of graph to fill in pixels, will not exceed display bounds
Comentários a estes Manuais