Class: Emf::Emr::Binary::Records::ExtTextOutW

Inherits:
WithBounds show all
Defined in:
lib/emf/emr/binary/records/ext_text_out_w.rb

Overview

EMR_EXTTEXTOUTW per MS-EMF 2.3.8.2. The EMRTEXT struct follows:

emr            (8 bytes, in WithBounds header)
rclBounds      (16 bytes, in WithBounds)
iGraphicsMode  (uint32)
exScale        (float)
eyScale        (float)
--- EMRTEXT starts ---
ptlReference   (POINTL: int32 x, int32 y) — text anchor point
nChars         (uint32)
offString      (uint32) — byte offset from record start
fOptions       (uint32) — ExtTextOutOptions flags
rcl            (RECTL) — clipping rectangle
offDx          (uint32) — byte offset to Dx array
--- EMRTEXT ends ---
...string (UTF-16LE, nChars chars)...
...Dx array (uint32 per char)...