Share via


Point::P oint (constSize&) 方法 (gdiplustypes.h)

使用 Size 物件建立 Point 物件,以初始化 XY 資料成員。

語法

void Point(
  [in, ref] const Size & size
);

參數

[in, ref] size

類型: const Size

Width 數據成員指定這個 Point 物件的 X 資料成員,而 Height 數據成員指定這個 Point 物件的 Y 資料成員的 Size 對象參考。

傳回值

規格需求

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

另請參閱

點建構函式

PointF