RECT 结构

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)

转自: http://hi.baidu.com/%B7%BF%B6%F7%BA%EA/blog/item/d821751855f0ad0d35fa4188.html

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值