RECT Structure
该结构定义一个矩形的左上和右下坐标。
语法
typedef struct _RECT {
LONG left;
LONG top;
LONG right;
LONG bottom;
}RECT, *PRECT;
成员
left
矩形左上角的x坐标。
top
矩形左上角y坐标
right
矩形右下角x坐标
bottom
矩形右下角Y坐标
备注
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 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.
要求
Minimum supported client Windows 2000 Professional
Minimum supported server Windows 2000 Server
Header Windef.h (include Windows.h)
阅读(1123) | 评论(0) | 转发(0) |