Arc function Null safety gdi32

int Arc (
  1. int hdc,
  2. int x1,
  3. int y1,
  4. int x2,
  5. int y2,
  6. int x3,
  7. int y3,
  8. int x4,
  9. int y4
)

The Arc function draws an elliptical arc.

BOOL Arc(
  HDC hdc,
  int x1,
  int y1,
  int x2,
  int y2,
  int x3,
  int y3,
  int x4,
  int y4
);

Implementation

int Arc(
    int hdc, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) {
  final _Arc = _gdi32.lookupFunction<
      Int32 Function(IntPtr hdc, Int32 x1, Int32 y1, Int32 x2, Int32 y2,
          Int32 x3, Int32 y3, Int32 x4, Int32 y4),
      int Function(int hdc, int x1, int y1, int x2, int y2, int x3, int y3,
          int x4, int y4)>('Arc');
  return _Arc(hdc, x1, y1, x2, y2, x3, y3, x4, y4);
}