PolylineTo function Null safety gdi32

int PolylineTo (
  1. int hdc,
  2. Pointer<POINT> apt,
  3. int cpt
)

The PolylineTo function draws one or more straight lines.

BOOL PolylineTo(
  HDC         hdc,
  const POINT *apt,
  DWORD         cpt
);

Implementation

int PolylineTo(int hdc, Pointer<POINT> apt, int cpt) {
  final _PolylineTo = _gdi32.lookupFunction<
      Int32 Function(IntPtr hdc, Pointer<POINT> apt, Uint32 cpt),
      int Function(int hdc, Pointer<POINT> apt, int cpt)>('PolylineTo');
  return _PolylineTo(hdc, apt, cpt);
}