Share via


TRIVERTEX (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

Header windows.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

GDI Structures
GradientFill
GRADIENT_RECT