SetMapMode function Null safety gdi32

int SetMapMode(
  1. int hdc,
  2. int iMode

The SetMapMode function sets the mapping mode of the specified device context. The mapping mode defines the unit of measure used to transform page-space units into device-space units, and also defines the orientation of the device's x and y axes.

int SetMapMode(
  HDC hdc,
  int iMode


int SetMapMode(int hdc, int iMode) {
  final _SetMapMode = _gdi32.lookupFunction<
      Int32 Function(IntPtr hdc, Uint32 iMode),
      int Function(int hdc, int iMode)>('SetMapMode');
  return _SetMapMode(hdc, iMode);