Share via


GRADIENT_RECT (Compact 2013)

3/28/2014

This structure specifies the index of two vertices in the pVertex array in the GradientFill function.

These two vertices form the upper left and lower right boundaries of a rectangle.

Syntax

typedef struct _GRADIENT_RECT {
  ULONG UpperLeft;
  ULONG LowerRight;
}GRADIENT_RECT, *PGRADIENT_RECT;

Members

  • UpperLeft
    Specifies the upper-left corner of a rectangle.
  • LowerRight
    Specifies the lower-right corner of a rectangle.

Remarks

The GRADIENT_RECT structure specifies the values of the pVertex array that are used when the dwMode parameter of the GradientFill function is GRADIENT_FILL_RECT_H or GRADIENT_FILL_RECT_V.

Requirements

Header

windows.h

See Also

Reference

GDI Structures
GradientFill
TRIVERTEX