SetStretchBltMode function Null safety gdi32

int SetStretchBltMode (
  1. int hdc,
  2. int mode

The SetStretchBltMode function sets the bitmap stretching mode in the specified device context.

int SetStretchBltMode(
  HDC hdc,
  int mode


int SetStretchBltMode(int hdc, int mode) {
  final _SetStretchBltMode = _gdi32.lookupFunction<
      Int32 Function(IntPtr hdc, Int32 mode),
      int Function(int hdc, int mode)>('SetStretchBltMode');
  return _SetStretchBltMode(hdc, mode);