IDirectManipulationContent::GetContentTransform 方法 (directmanipulation.h)
擷取套用至內容的轉換。
語法
HRESULT GetContentTransform(
[out] float *matrix,
[in] DWORD pointCount
);
參數
[out] matrix
轉換矩陣。
[in] pointCount
轉換矩陣的大小。 此值一律為 6,因為所有直接操作轉換都會使用 3x2 矩陣。
傳回值
如果方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。
備註
此轉換包含操作和慣性期間的預設過度窗格和彈跳曲線。
此轉換不包含同步處理轉換集與 SyncContentTransform。
當這個方法傳回時, 矩陣 的格式為:
矩陣矩陣矩陣矩陣
需求
最低支援的用戶端 | Windows 8 [僅限傳統型應用程式] |
最低支援的伺服器 | Windows Server 2012 [僅限傳統型應用程式] |
目標平台 | Windows |
標頭 | directmanipulation.h |