Partager via


GRADIENT_RECT (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

GDI Structures
GradientFill
TRIVERTEX