Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
U_GRADIENT3 Struct Reference

For U_EMRGRADIENTFILL GradObj field. More...

#include <uemf.h>

Public Attributes

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.

Definition at line 1797 of file uemf.h.

Member Data Documentation

◆ Vertex1

uint32_t U_GRADIENT3::Vertex1

Index of Vertex1 in an array of U_TRIVERTEX objects.

Definition at line 1798 of file uemf.h.

◆ Vertex2

uint32_t U_GRADIENT3::Vertex2

Index of Vertex2 in an array of U_TRIVERTEX objects.

Definition at line 1799 of file uemf.h.

◆ Vertex3

uint32_t U_GRADIENT3::Vertex3

Index of Vertex3 in an array of U_TRIVERTEX objects.

Definition at line 1800 of file uemf.h.


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