RectF::RectF (constPointF&,constSizeF&) 方法 (gdiplustypes.h)

建立 RectF 物件,並將 XYWidthHeight 數據成員初始化為零。 這是預設建構函式。

語法

void RectF(
  const PointF & location,
  const SizeF &  size
);

參數

location

TBD

size

TBD

傳回值

規格需求

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

另請參閱

畫筆、線條和矩形

Rect

RectF

RectF 建構函式

使用畫筆繪製線條和矩形