共用方式為


D2D_POINT_2F 結構 (dcommon.h)

表示以二維空間表示為浮點值的 X 座標和 Y 座標組。

語法

typedef struct D2D_POINT_2F {
  FLOAT x;
  FLOAT y;
} D2D_POINT_2F;

成員

x

類型: FLOAT

點的 X 座標。

y

類型: FLOAT

點的 Y 座標。

需求

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