Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D2D1_RECT_L structure

The RECT structure defines the coordinates of the upper-left and lower-right corners of a rectangle.

Syntax


typedef struct _D2D1_RECTL {
  LONG left;
  LONG top;
  LONG right;
  LONG bottom;
} D2D1_RECT_L, *PD2D1_RECT_L;

Members

left

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

top

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

right

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

bottom

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

Remarks

By convention, the right and bottom edges of the rectangle are normally considered exclusive. In other words, the pixel whose coordinates are ( right, bottom ) lies immediately outside of the rectangle. For example, when RECT is passed to the FillRect function, the rectangle is filled up to, but not including, the right column and bottom row of pixels. This structure is identical to the RECTL structure.

Requirements

Header

D2d1_1helper.h

 

 

Show:
© 2017 Microsoft