共用方式為


RECTL structure

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

Syntax

typedef struct _RECTL {
  LONG left;
  LONG top;
  LONG right;
  LONG bottom;
} RECTL, *PRECTL;

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

The RECTL structure is identical to the RECT structure.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Windef.h (include Windows.h)

See also

Metafiles Overview

Metafile Structures

FillRect

RECT

SMALL_RECT