Class: Emf::Emr::Binary::Records::StretchBlt
- Inherits:
-
WithBounds
- Object
- BinData::Record
- Emf::Emr::Binary::Record
- WithBounds
- Emf::Emr::Binary::Records::StretchBlt
- Defined in:
- lib/emf/emr/binary/records/stretch_blt.rb
Overview
EMRSTRETCHBLT (MS-EMF 2.3.1.6). Layout: emr, rclBounds, Dest, cDest, dwRop, Src, xformSrc (24 bytes), crBkColorSrc, iUsageSrc, offBmiSrc, cbBmiSrc, offBitsSrc, cbBitsSrc, cSrc, then trailing BMI/bitmap data. Only the fields the emfsvg renderer needs are declared; the 32-byte xform+bgcolor+usage blob in the middle is skipped via a fixed-size :bytes buffer (NOT :rest, which would consume the whole tail).