This method 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.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
BOOL Polygon ( LPPOINT lpPoints, int nCount );
Windows CE 1.0 only supports convex polygons.
CDC::Polyline, CDC::PolyPolygon, CPoint