[This is preliminary documentation and subject to change.]
The GRADIENT_TRIANGLE structure specifies the index of three vertices in the pVertex array. These three vertices form one triangle.
typedef struct _GRADIENT_TRIANGLE
{
ULONG Vertex1;
ULONG Vertex2;
ULONG Vertex3;
}GRADIENT_TRIANGLE,*PGRADIENT_TRIANGLE,*LPGRADIENT_TRIANGLE;
The GRADIENT_TRIANGLE structure contains the values used in the dwMode parameter of the GradientFill function. For related GradientFill structures, see GRADIENT_RECT and TRIVERTEX.
For an example of this function, see Drawing a Shaded Triangle.
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 98 or later.
Windows CE: Unsupported.
Header: Declared in wingdi.h.
Bitmaps Overview, Bitmap Structures, GradientFill, GRADIENT_RECT, TRIVERTEX