CloseFigure function Null safety gdi32

int CloseFigure(
  1. int hdc
)

The CloseFigure function closes an open figure in a path.

BOOL CloseFigure(
  HDC hdc);

Implementation

int CloseFigure(int hdc) {
  final _CloseFigure =
      _gdi32.lookupFunction<Int32 Function(IntPtr hdc), int Function(int hdc)>(
          'CloseFigure');
  return _CloseFigure(hdc);
}