Polygon function Null safety gdi32

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

The Polygon function draws a polygon consisting of two or more vertices connected by straight lines. The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.

BOOL Polygon(
  HDC         hdc,
  const POINT *apt,
  int         cpt


int Polygon(int hdc, Pointer<POINT> apt, int cpt) => _Polygon(hdc, apt, cpt);