D2D_POINT_2F structure (dcommon.h)

Represents an x-coordinate and y-coordinate pair, expressed as floating-point values, in two-dimensional space.

Syntax

typedef struct D2D_POINT_2F {
  FLOAT x;
  FLOAT y;
} D2D_POINT_2F;

Members

x

Type: FLOAT

The x-coordinate of the point.

y

Type: FLOAT

The y-coordinate of the point.

Requirements

Requirement Value
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 dcommon.h (include D2d1.h)