D2D_SIZE_F structure (dcommon.h)

Stores an ordered pair of floating-point values, typically the width and height of a rectangle.

Syntax

typedef struct D2D_SIZE_F {
  FLOAT width;
  FLOAT height;
} D2D_SIZE_F;

Members

width

Type: FLOAT

The horizontal component of this size.

height

Type: FLOAT

The vertical component of this size.

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)