This member function draws a polygon consisting of two or more points connected by lines. The system closes the polygon automatically, if necessary, by drawing a line from the last vertex to the first.
BOOL Polygon ( LPPOINT lpPoints, int nCount );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
Windows CE 1.0 only supports convex polygons.
CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::Polyline, CDC::PolyPolygon, CPoint