D2D_RECT_U structure (dcommon.h)

Represents a rectangle defined by the upper-left corner pair of coordinates (left,top) and the lower-right corner pair of coordinates (right, bottom). These coordinates are expressed as a 32-bit integer values.

Syntax

typedef struct D2D_RECT_U {
  UINT32 left;
  UINT32 top;
  UINT32 right;
  UINT32 bottom;
} D2D_RECT_U;

Members

left

Type: UINT32

The x-coordinate of the upper-left corner of the rectangle.

top

Type: UINT32

The y-coordinate of the upper-left corner of the rectangle.

right

Type: UINT32

The x-coordinate of the lower-right corner of the rectangle.

bottom

Type: UINT32

The y-coordinate of the lower-right corner of the rectangle.

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)