User`s manual
User’s Manual 81
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.
PARAMETER
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
bmHeight is the height of the block
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 portion 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
x1 is the x coordinate of the first vertex
y1 is the y coordinate of the first vertex
x2 is the x coordinate of the second vertex
y2 is the y coordinate of the second vertex
... coordinates of additional vertices
SEE ALSO
glPlotVPolygon, glFillPolygon, glFillVPolygon
void glBlock(int x, int y, int bmWidth, int
bmHeight);
void glPlotPolygon(int n, int x1, int y1, int x2,
int y2, ...);