Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/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 TRIVERTEXstructure contains information needed by the pVertexparameter of GradientFill.

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