Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.


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

UpperLeft

Specifies the upper-left corner of a rectangle.

LowerRight

Specifies the lower-right corner of a rectangle.

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.

Header

windows.h

Show:
© 2015 Microsoft