![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm3309/rabbitcore-rcm3309_user-manual_3119427128.webp)
Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: [email protected] Website: www.integrated-circuit.com
User’s Manual
121
glBlock
void glBlock(int left, int top, int width, int height);
DESCRIPTION
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
left
the
x
coordinate of the top left corner of the block.
top
the
y
coordinate of the top left corner of the block.
width
the width of the block.
height
the height of the block.
RETURN VALUE
None.
SEE ALSO
glFillScreen, glBlankScreen, glPlotPolygon, glPlotCircle
glPlotVPolygon
void glPlotVPolygon(int n, int *pFirstCoord);
DESCRIPTION
Plots the outline of a polygon in the LCD page buffer, and on the LCD if the buffer is un-
locked. Any portion of the polygon that is outside the LCD display area will be clipped.
If fewer than 3 vertices are specified, the function will return without doing anything.
PARAMETERS
n
the number of vertices.
pFirstCoord
a pointer to array of vertex coordinates:
x1,y1,
x2,y2,
x3,y3,
...
RETURN VALUE
None.
SEE ALSO
glPlotPolygon, glFillPolygon, glFillVPolygon
128 / 191
128 / 191