Export (0) Print
Expand All

RectL function

Returns a filled D2D1_RECT_L structure.

Syntax


D2D1_RECT_L RectL(
  INT32 left = 0.f,
  INT32 top = 0.f,
  INT32 right = 0.f,
  INT32 bottom = 0.f
);

Parameters

left

Type: INT32

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

top

Type: INT32

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

right

Type: INT32

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

bottom

Type: INT32

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

Return value

Type: D2D1_RECT_L

The RECT structure defines the coordinates of the upper-left and lower-right corners of a 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]

Minimum supported phone

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

Header

D2d1_1helper.h

Library

D2d1.lib

DLL

D2d1.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft