User`s manual

OP7100 Software
69
void glPlotVPolygon( int n, int *pFirstCoord )
Plots a filled-in polygon.
PARAMETERS: n is the number of vertices.
*pFirstCoord is an array of vertex coordinates (x
1
,y
1
), (x
2
,y
2
), …
void glPlotPolygon( int n, int x1, int y1,
int x2, int y2,... )
Plots the outline of a polygon.
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.
void glFillVPolygon( int n, int *pFirstCoord )
Fills in a polygon.
PARAMETERS: n is the number of vertices.
*pFirstCoord is an array of vertex coordinates (x
1
,y
1
), (x
2
,y
2
), …
void glFillPolygon( int n, int x1, int y1,
int x2, int y2,... )
Fllls in a polygon.
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.
void glPutBitmap( int x, int y, int bmWidth,
int bmHeight, char *bm )
Displays a bitmap stored in root memory on the LCD. For bitmaps
defined in xmem memory, use glXPutBitmap.
PARAMETERS: x is the x coordinate of the bitmap left edge.
y is the y coordinate of the bitmap top edge.
bmWidth is the width of the bitmap.
bmHeight is the height of the bitmap.
bm is a pointer to the bitmap. The bitmap format is a column with the
major byte aligned for each column.