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_GRADIENT3 Struct Reference

For U_EMRGRADIENTFILL GradObj field. More...

#include <uemf.h>

Data Fields

uint32_t Vertex1
 Index of Vertex1 in an array of U_TRIVERTEX objects.
 
uint32_t Vertex2
 Index of Vertex2 in an array of U_TRIVERTEX objects.
 
uint32_t Vertex3
 Index of Vertex3 in an array of U_TRIVERTEX objects.
 

Detailed Description

For U_EMRGRADIENTFILL GradObj field.

EMF manual 2.2.8, Microsoft name: GradientTriangle Object

Gradient object notes. The next two structures are used to define the shape with reference to an existing array of points stored in an array of TriVertex objects in the U_EMRGRADIENTFILL record. The tricky part is that these two structures are different sizes. In some implementations (MingW) the array is cast to uint32_t and basically the cast is then ignored. For libUEMF we leave this out of the structure entirely and get to it with offsets.


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