StretchDIBits method

int StretchDIBits(
  1. Pointer<HDC__> hdc,
  2. int xDest,
  3. int yDest,
  4. int DestWidth,
  5. int DestHeight,
  6. int xSrc,
  7. int ySrc,
  8. int SrcWidth,
  9. int SrcHeight,
  10. Pointer<Void> lpBits,
  11. Pointer<PBITMAPINFO> lpbmi,
  12. int iUsage,
  13. int rop,
)

Implementation

int StretchDIBits(
  ffi.Pointer<HDC__> hdc,
  int xDest,
  int yDest,
  int DestWidth,
  int DestHeight,
  int xSrc,
  int ySrc,
  int SrcWidth,
  int SrcHeight,
  ffi.Pointer<ffi.Void> lpBits,
  ffi.Pointer<PBITMAPINFO> lpbmi,
  int iUsage,
  int rop,
) {
  return (_StretchDIBits ??=
      _dylib.lookupFunction<_c_StretchDIBits, _dart_StretchDIBits>(
          'StretchDIBits'))(
    hdc,
    xDest,
    yDest,
    DestWidth,
    DestHeight,
    xSrc,
    ySrc,
    SrcWidth,
    SrcHeight,
    lpBits,
    lpbmi,
    iUsage,
    rop,
  );
}