D2D_SIZE_F 結構 (dcommon.h)

儲存一組已排序的浮點值,通常是矩形的寬度和高度。

語法

typedef struct D2D_SIZE_F {
  FLOAT width;
  FLOAT height;
} D2D_SIZE_F;

成員

width

類型: FLOAT

這個大小的水準元件。

height

類型: FLOAT

這個大小的垂直元件。

規格需求

需求
最低支援的用戶端 適用於 Windows Vista 的 Windows 7、Windows Vista SP2 和平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
標頭 dcommon.h (包含 D2d1.h)