Z-World RabbitCore RCM3200 User Manual - page 52
48
RabbitCore RCM3200
Draws a rectangular block in the page buffer and on the LCD if the buffer is unlocked. Any portion of the
block that is outside the LCD display area will be clipped.
PARAMETERS
x
is the x coordinate of the upper left corner of the block.
y
is the y coordinate of the left top corner of the block.
bmWidth
is the width of the block.
bmWidth
is the height of the block.
RETURN VALUE
None.
SEE ALSO
glFillScreen, glBlankScreen, glPlotPolygon, glPlotCircle
Plots the outline of a polygon in the LCD page buffer, and on the LCD if the buffer is unlocked. Any por-
tion of the polygon that is outside the LCD display area will be clipped. The function will also return,
doing nothing, if there are less than 3 vertices.
PARAMETERS
n
is the number of vertices.
*pFirstCoord
is a pointer to array of vertex coordinates:
x1,y1, x2,y2, x3,y3,...
RETURN VALUE
None.
SEE ALSO
glPlotPolygon, glFillPolygon, glFillVPolygon
void glBlock(int x, int y, int bmWidth,
int bmHeight);
void glPlotVPolygon(int n, int *pFirstCoord);