Class: Emf::Emr::Binary::Records::StretchDIBits
- Inherits:
-
WithBounds
- Object
- BinData::Record
- Emf::Emr::Binary::Record
- WithBounds
- Emf::Emr::Binary::Records::StretchDIBits
- Defined in:
- lib/emf/emr/binary/records/stretch_dibits.rb
Overview
EMR_STRETCHDIBITS per MS-EMF 2.3.1.7. The full layout:
emr
rclBounds (RECTL)
xDest, yDest (int32)
xSrc, ySrc (int32)
cxSrc, cySrc (int32)
offBmiSrc, cbBmiSrc (uint32) — offset/size of BITMAPINFO from record start
offBitsSrc, cbBitsSrc (uint32) — offset/size of pixel array from record start
iUsageSrc (uint32) — DIBColors
dwRop (uint32) — ternary raster op
cxDest, cyDest (int32)
[trailing BITMAPINFO + pixel array]