Rect::Offset 方法按 dx 水平移动矩形,垂直移动矩形。
语法
void Offset(
[in] INT dx,
[in] INT dy
);
parameters
[in] dx
类型: INT
指定矩形水平移动量的整数。
[in] dy
类型: INT
指定矩形垂直移动量的整数。
返回值
无
要求
| 最低受支持的客户端 | Windows XP、Windows 2000 Professional [仅限桌面应用] |
| 最低受支持的服务器 | Windows 2000 Server [仅限桌面应用] |
| 目标平台 | Windows |
| 标头 | gdiplustypes.h (包括 Gdiplus.h) |
| Library | Gdiplus.lib |
| DLL | Gdiplus.dll |