◄CDC► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── BOOL Polygon( LPPOINT lpPoints, int nCount ); Parameter Description <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. Remarks 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. Return Value TRUE if the function is successful; otherwise FALSE. See Also ◄CDC::GetPolyFillMode►, ◄::PolyLine►, ◄CDC::PolyPolygon►, ◄CDC::SetPolyFillMode►, ◄::Polygon► -♦-