User’s Manual
103
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. If fewer than 3 vertices are
specified, the function will return without doing anything.
PARAMETERS
n
is the number of vertices.
y1
is the
y
coordinate of the first vertex.
x1
is the
x
coordinate of the first vertex.
y2
is the
y
coordinate of the second vertex.
x2
is the
x
coordinate of the second vertex.
...
are the coordinates of additional vertices.
RETURN VALUE
None.
SEE ALSO
glPlotVPolygon, glFillPolygon, glFillVPolygon
Fills a polygon in the LCD page buffer and on the LCD screen if the buffer is unlocked. 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
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
glFillPolygon, glPlotPolygon, glPlotVPolygon
void glPlotPolygon(int n, int y1, int x2, int y2,
...);
void glFillVPolygon(int n, int *pFirstCoord);
Summary of Contents for RabbitCore
Page 1: ...RabbitCore RCM3600 C Programmable Core Module User s Manual 019 0135 050630 C ...
Page 6: ...RabbitCore RCM3600 ...
Page 12: ...6 RabbitCore RCM3600 ...
Page 92: ...86 RabbitCore RCM3600 ...
Page 128: ...122 RabbitCore RCM3600 ...
Page 132: ...126 RabbitCore RCM3600 ...
Page 136: ...130 RabbitCore RCM3600 ...
Page 138: ......