CDC::Polygon

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.

At a Glance

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

Syntax

BOOL Polygon ( LPPOINT lpPoints, int nCount );

Remarks

Windows CE 1.0 only supports convex polygons.

See Also

CDC::Polyline, CDC::PolyPolygon, CPoint