RectL function (d2d1_1helper.h)

Returns a filled D2D1_RECT_L structure.

Syntax

D2D1_RECT_L RectL(
  INT32 left,
  INT32 top,
  INT32 right,
  INT32 bottom
);

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

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]
Target Platform Windows
Header d2d1_1helper.h (include D2d1_1helper.h)
Library D2d1.lib
DLL D2d1.dll