RECTL

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

typedef struct _RECTL { // rcl 
    LONG left; 
    LONG top; 
    LONG right; 
    LONG bottom; 
} RECTL; 
 

Members

left
Specifies the x-coordinate of the upper-left corner of the rectangle.
top
Specifies the y-coordinate of the upper-left corner of the rectangle.
right
Specifies the x-coordinate of the lower-right corner of the rectangle.
bottom
Specifies the y-coordinate of the lower-right corner of the rectangle.

Remarks

When RECTL 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 RECT structure.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in windef.h.

See Also

Metafiles Overview, Enhanced Metafile Structures, FillRect, RECT, SMALL_RECT