CreateRoundRectRgn method

Pointer<HRGN__> CreateRoundRectRgn(
  1. int x1,
  2. int y1,
  3. int x2,
  4. int y2,
  5. int w,
  6. int h,
)

Implementation

ffi.Pointer<HRGN__> CreateRoundRectRgn(
  int x1,
  int y1,
  int x2,
  int y2,
  int w,
  int h,
) {
  return (_CreateRoundRectRgn ??=
      _dylib.lookupFunction<_c_CreateRoundRectRgn, _dart_CreateRoundRectRgn>(
          'CreateRoundRectRgn'))(
    x1,
    y1,
    x2,
    y2,
    w,
    h,
  );
}