CDC::PolyDraw
Visual Studio 2012
Draws a set of line segments and Bzier splines.
BOOL PolyDraw( const POINT* lpPoints, const BYTE* lpTypes, int nCount );
This function can be used to draw disjoint figures in place of consecutive calls to CDC::MoveTo, CDC::LineTo, and CDC::PolyBezierTo member functions. The lines and splines are drawn using the current pen, and figures are not filled. If there is an active path started by calling the CDC::BeginPath member function, PolyDraw adds to the path. The points contained in the lpPoints array and in lpTypes indicate whether each point is part of a CDC::MoveTo, a CDC::LineTo, or a CDC::BezierTo operation. It is also possible to close figures. This function updates the current position.
See the example for CDC::BeginPath.