CDC::Polygon

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.

Syntax

BOOL Polygon ( LPPOINT lpPoints, int nCount );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

Windows CE 1.0 only supports convex polygons.

See Also

CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::Polyline, CDC::PolyPolygon, CPoint