Compartilhar via


GRADIENT_RECT

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

GradientFill
TRIVERTEX
GDI Structures