libUEMF
A portable library for reading and writing WMF, EMF and EMF+ files
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
U_EMRTEXT Struct Reference

For U_EMR[POLY]EXTTEXTOUT[A|W] emrtext field. More...

#include <uemf.h>

Data Fields

U_POINTL ptlReference
 String start coordinates.
 
U_NUM_STR nChars
 Number of characters in the string.
 
U_OFFSTR offString
 Offset in bytes to the string from the start of the RECORD.
 
uint32_t fOptions
 ExtTextOutOptions Enumeration.
 

Detailed Description

For U_EMR[POLY]EXTTEXTOUT[A|W] emrtext field.

EMF manual 2.2.5, Microsoft name: EmrText Object

Differs from implementation in Mingw and Wine in that the core struct has a fixed size. Optional and movable components must be handled with offsets. Following invariant core there may/must be:

U_RECTL rcl; (Optional, absent when fOptions & U_ETO_NO_RECT) grayed/clipping/opaque rectangle

U_OFFDX offDx; (required) but position isn't static. Offset in bytes to the character spacing array measured from the start of the RECORD, NOT from the start of this structure.

The order of the next two may be reversed, they are found from their offsets.

char string (required) String buffer holding nChars (padded to a multiple of 4 bytes in length).

uint32_t Dx[1] (required) character spacing, array with one entry per glyph.


The documentation for this struct was generated from the following file: