Polyline function gdi32

bool Polyline(
  1. HDC hdc,
  2. Pointer<POINT> apt,
  3. int cpt
)

Draws a series of line segments by connecting the points in the specified array.

To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-polyline.

Implementation

@pragma('vm:prefer-inline')
bool Polyline(HDC hdc, Pointer<POINT> apt, int cpt) =>
    _Polyline(hdc, apt, cpt) != FALSE;