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
);

Implementation

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