FillPolygon

Draws a filled polygon.

void  FillPolygon(
   int&         x,      // array with the X coordinates of polygon points
   int&         y,      // array with the Y coordinates of polygon points
   const uint  clr      // color
   );

Parameters

x

[in]  Array of the X coordinates of the polygon points.

y

[in]  Array of the Y coordinates of the polygon points.

clr

[in]  Color in ARGB format.