[This is preliminary documentation and subject to change.]
The GRADIENT_RECT structure specifies the index of two vertices in the pVertex array. These two vertices form the upper-left and lower-right boundaries of a rectangle.
typedef struct _GRADIENT_RECT
{
ULONG UpperLeft;
ULONG LowerRight;
}GRADIENT_RECT, *PGRADIENT_RECT,*LPGRADIENT_RECT;
The GRADIENT_RECT structure contains the values used in the dwMode parameter of the GradientFill function. For related GradientFill structures, see GRADIENT_TRIANGLE and TRIVERTEX.
For an example of the use of this structure, see Drawing a Shaded Rectangle.
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