PolyPolyline
Collapse the table of content
Expand the table of content

PolyPolyline function

The PolyPolyline function draws multiple series of connected line segments.

Syntax


BOOL PolyPolyline(
  _In_       HDC   hdc,
  _In_ const POINT *lppt,
  _In_ const DWORD *lpdwPolyPoints,
  _In_       DWORD cCount
);

Parameters

hdc [in]

A handle to the device context.

lppt [in]

A pointer to an array of POINT structures that contains the vertices of the polylines, in logical units. The polylines are specified consecutively.

lpdwPolyPoints [in]

A pointer to an array of variables specifying the number of points in the lppt array for the corresponding polyline. Each entry must be greater than or equal to two.

cCount [in]

The total number of entries in the lpdwPolyPoints array.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

Library

Gdi32.lib

DLL

Gdi32.dll

See also

Lines and Curves Overview
Line and Curve Functions
POINT
Polyline
PolylineTo

 

 

Show:
© 2016 Microsoft