PointF::P ointF (constSizeF&) 方法 (gdiplustypes.h)

使用 SizeF 物件建立 PointF 物件,以指定 XY 數據成員。

語法

void PointF(
  [in, ref] const SizeF & size
);

參數

[in, ref] size

類型: const SizeF

Width 資料成員指定這個 PointF 物件的 X 資料成員,而 Height 資料成員指定此 PointF 物件的 Y 數據成員時,會參考該物件。

傳回值

規格需求

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

另請參閱

點建構函式

PointF