SetDIBitsToDevice method

int SetDIBitsToDevice(
  1. Pointer<HDC__> hdc,
  2. int xDest,
  3. int yDest,
  4. int w,
  5. int h,
  6. int xSrc,
  7. int ySrc,
  8. int StartScan,
  9. int cLines,
  10. Pointer<Void> lpvBits,
  11. Pointer<PBITMAPINFO> lpbmi,
  12. int ColorUse,
)

Implementation

int SetDIBitsToDevice(
  ffi.Pointer<HDC__> hdc,
  int xDest,
  int yDest,
  int w,
  int h,
  int xSrc,
  int ySrc,
  int StartScan,
  int cLines,
  ffi.Pointer<ffi.Void> lpvBits,
  ffi.Pointer<PBITMAPINFO> lpbmi,
  int ColorUse,
) {
  return (_SetDIBitsToDevice ??=
      _dylib.lookupFunction<_c_SetDIBitsToDevice, _dart_SetDIBitsToDevice>(
          'SetDIBitsToDevice'))(
    hdc,
    xDest,
    yDest,
    w,
    h,
    xSrc,
    ySrc,
    StartScan,
    cLines,
    lpvBits,
    lpbmi,
    ColorUse,
  );
}