BOOL Polygon( LPPOINT lpPoints, int nCount );
lpPoints
Points to an array of points that specify the vertices of the polygon. Each point in the array is a POINT structure or a CPoint object.
nCount
Specifies the number of vertices given in the array.
Draws a polygon consisting of two or more points (vertices) connected by lines. The system closes the polygon automatically, if necessary, by drawing a line from the last vertex to the first.
The current polygon-filling mode can be retrieved or set by using GetPolyFillMode and SetPolyFillMode.
TRUE if the function is successful; otherwise FALSE.
CDC::GetPolyFillMode, ::PolyLine, CDC::PolyPolygon, CDC::SetPolyFillMode, ::Polygon