Point::P oint (INT,INT) 方法 (gdiplustypes.h)

使用两个整数创建 Point 对象来初始化 XY 数据成员。

语法

void Point(
  [in] INT x,
  [in] INT y
);

parameters

[in] x

类型: INT

指定 Point 对象的 x 坐标的整数。

[in] y

类型: INT

指定 Point 对象的 y 坐标的整数。

返回值

要求

   
最低受支持的客户端 Windows XP、Windows 2000 Professional [仅限桌面应用]
最低受支持的服务器 Windows 2000 Server [仅限桌面应用]
目标平台 Windows
标头 gdiplustypes.h (包括 Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

另请参阅

Point

点构造函数

PointF