D2D_SIZE_U結構 (dcommon.h)

儲存已排序的整數配對,通常是矩形的寬度和高度。

語法

typedef struct D2D_SIZE_U {
  UINT32 width;
  UINT32 height;
} D2D_SIZE_U;

成員

width

類型: UINT32

這個大小的水準元件。

height

類型: UINT32

這個大小的垂直元件。

需求

   
最低支援的用戶端 適用于 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)