ArcTo function Null safety gdi32

int ArcTo (
  1. int hdc,
  2. int left,
  3. int top,
  4. int right,
  5. int bottom,
  6. int xr1,
  7. int yr1,
  8. int xr2,
  9. int yr2
)

The ArcTo function draws an elliptical arc.

BOOL ArcTo(
  HDC hdc,
  int left,
  int top,
  int right,
  int bottom,
  int xr1,
  int yr1,
  int xr2,
  int yr2
);

Implementation

int ArcTo(int hdc, int left, int top, int right, int bottom, int xr1, int yr1,
    int xr2, int yr2) {
  final _ArcTo = _gdi32.lookupFunction<
      Int32 Function(IntPtr hdc, Int32 left, Int32 top, Int32 right,
          Int32 bottom, Int32 xr1, Int32 yr1, Int32 xr2, Int32 yr2),
      int Function(int hdc, int left, int top, int right, int bottom, int xr1,
          int yr1, int xr2, int yr2)>('ArcTo');
  return _ArcTo(hdc, left, top, right, bottom, xr1, yr1, xr2, yr2);
}