Rect::Inflate 方法按点值扩展矩形。左边缘和右边缘的 X,以及点的值。上边缘和下边缘为 Y。
语法
void Inflate(
[in] const Point & point
);
参数
[in] point
类型: const Point&
对 Point 对象的引用,该对象的 X 数据成员指定矩形左边缘和右边缘的展开量,其 Y 数据成员指定在上边缘和下边缘展开矩形的量。
返回值
无
要求
| 最低受支持的客户端 | Windows XP、Windows 2000 Professional [仅限桌面应用] |
| 最低受支持的服务器 | Windows 2000 Server [仅限桌面应用] |
| 目标平台 | Windows |
| 标头 | gdiplustypes.h (包括 Gdiplus.h) |
| Library | Gdiplus.lib |
| DLL | Gdiplus.dll |