Freigeben über


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

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::Polyline

CDC::PolylineTo

PolyPolyline