The Polyline function draws a series of line segments by connecting the points in the specified array.
BOOL Polyline( HDC hdc, const POINT *apt, int cpt );
A handle to a device context.
A pointer to an array of POINT structures, in logical units.
The number of points in the array. This number must be greater than or equal to two.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
The lines are drawn from the first point through subsequent points by using the current pen. Unlike the LineTo or PolylineTo functions, the Polyline function neither uses nor updates the current position.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||wingdi.h (include Windows.h)|