D2D1_TRIANGLE structure (d2d1.h)

Contains the three vertices that describe a triangle.

Syntax

typedef struct D2D1_TRIANGLE {
  D2D1_POINT_2F point1;
  D2D1_POINT_2F point2;
  D2D1_POINT_2F point3;
} D2D1_TRIANGLE;

Members

point1

Type: D2D1_POINT_2F

The first vertex of a triangle.

point2

Type: D2D1_POINT_2F

The second vertex of a triangle.

point3

Type: D2D1_POINT_2F

The third vertex of a triangle.

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header d2d1.h