Export (0) Print
Expand All
Expand Minimize

D2D1_SIZE_F

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


typedef D2D_SIZE_F D2D1_SIZE_F;

Remarks

Like points, sizes are another important graphics concept. In Direct2D, sizes are represented by the D2D1_SIZE_F or D2D1_SIZE_U structures. Both contain an ordered pair of numbers, typically the width and height of a rectangle. The D2D1_SIZE_F structure contains an ordered pair of FLOAT values, and the D2D1_SIZE_U structure contains an ordered pair of UINT32 values.

D2D1_SIZE_F is a new name for an already defined type D2D_SIZE_F. For a list of the fields provided by D2D1_SIZE_F, see D2D_SIZE_F.

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]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2DBaseTypes.h (include D2d1.h)

See also

D2D_SIZE_F
D2D1_SIZE_U
D2D1_POINT_2F

 

 

Community Additions

ADD
Show:
© 2014 Microsoft