Expand Minimize

D2D_RECT_F structure

Represents a rectangle defined by the coordinates of the upper-left corner (left, top) and the coordinates of the lower-right corner (right, bottom).

Syntax


struct D2D_RECT_F {
  FLOAT left;
  FLOAT top;
  FLOAT right;
  FLOAT bottom;
};

Members

left

Type: FLOAT

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

top

Type: FLOAT

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

right

Type: FLOAT

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

bottom

Type: FLOAT

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

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

D2DBaseTypes.h (include D2d1.h)

See also

D2D1_RECT_F

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.