|
libUEMF
A portable library for reading and writing WMF, EMF and EMF+ files
|
#include <uwmf.h>
Data Fields | |
| uint16_t | Size16_4 [2] |
| Total number of 16bit words in record. | |
| uint8_t | iType |
| RecordType Enumeration. | |
| uint8_t | xb |
| Extra high order byte associated with record type. | |
| int16_t | y |
| in logical units (draw point) | |
| int16_t | x |
| in logical units (draw point) | |
| int16_t | Length |
| Stringlength in bytes. | |
| uint16_t | Opts |
| ExtTextOutOptions Flags. | |
WMF manual 2.3.3.5
Variable size record. Optional fields which follow the struct fields are:
U_RECT16 Rect; Only present when U_ETO_OPAQUE or U_ETO_CLIPPED bits are set in Opts
uint8_t String; String to write, storage area must be 2n bytes.
int16_t Dx; Kerning information. Must have same number of entries as Length.
Dx is present when
2*Size16_4[2] -14 - 2*((Length + 1)/2)) - 8*(Opts & (U_ETO_OPAQUE | U_ETO_CLIPPED)) == 2*Length
1.8.5