Freigeben über


TRIVERTEX (Windows CE 5.0)

Send Feedback

This structure defines the screen position, color, and alpha information for a point.

typedef struct _TRIVERTEX {  LONG x;  LONG y;  COLOR16 Red;  COLOR16 Green;  COLOR16 Blue;  COLOR16 Alpha;} TRIVERTEX,*PTRIVERTEX,*LPTRIVERTEX;

Members

  • x
    Specifies the x-coordinate of a point in logical units.

  • y
    Specifies the y-coordinate of a point in logical units.

  • Red
    Specifies the red component of the color information at the point x, y.

    This value must be in the range from 0x0000 to 0xff00.

  • Green
    Specifies the green component of the color information at the point x, y.

    This value must be in the range from 0x0000 to 0xff00.

  • Blue
    Specifies the blue component of the color information at the point x, y.

    This value must be in the range from 0x0000 to 0xff00.

  • Alpha
    Specifies the color transparency at the point x, y.

    This value must be in the range from 0x0000 to 0xff00.

Remarks

The TRIVERTEX structure contains information needed by the pVertex parameter of GradientFill.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Windows.h.

See Also

GradientFill | GRADIENT_RECT | GDI Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.