CDC::PolyPolyline

Draws multiple series of connected line segments.

BOOL PolyPolyline(
   const POINT* lpPoints,
   const DWORD* lpPolyPoints,
   int nCount 
);

Parameters

  • lpPoints
    Points to an array of structures that contains the vertices of the polylines. The polylines are specified consecutively.

  • lpPolyPoints
    Points to an array of variables specifying the number of points in the lpPoints array for the corresponding polygon. Each entry must be greater than or equal to 2.

  • nCount
    Specifies the total number of counts in the lpPolyPoints array.

Return Value

Nonzero if the function is successful; otherwise 0.

Remarks

The line segments are drawn by using the current pen. The figures formed by the segments are not filled. The current position is neither used nor updated by this function.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::Polyline

CDC::PolylineTo

PolyPolyline

Other Resources

CDC Members