D2D_SIZE_U structure (dcommon.h)

Stores an ordered pair of integers, typically the width and height of a rectangle.

Syntax

typedef struct D2D_SIZE_U {
  UINT32 width;
  UINT32 height;
} D2D_SIZE_U;

Members

width

Type: UINT32

The horizontal component of this size.

height

Type: UINT32

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)