Share via


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

使用兩個整數建立 Point 物件,以初始化 XY 資料成員。

語法

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

參數

[in] x

類型: INT

指定 Point 物件的 X 座標的整數。

[in] y

類型: INT

指定 Point 物件的 Y 座標的整數。

傳回值

需求

   
最低支援的用戶端 Windows XP、Windows 2000 Professional [僅限桌面應用程式]
最低支援的伺服器 Windows 2000 Server [僅限桌面應用程式]
目標平台 Windows
標頭 gdiplustypes.h (包含 Gdiplus.h)
程式庫 Gdiplus.lib
Dll Gdiplus.dll

另請參閱

點建構函式

PointF