Share via


Graphics::MultiplyTransform 方法 (gdiplusgraphics.h)

Graphics::MultiplyTransform方法會以本身乘積和另一個矩陣來更新此Graphics物件的世界轉換矩陣。

語法

Status MultiplyTransform(
  [in] const Matrix *matrix,
  [in] MatrixOrder  order
);

參數

[in] matrix

類型: 矩陣*

矩陣的指標,這個矩陣會乘以這個 Graphics 物件的世界轉換矩陣。

[in] order

類型: MatrixOrder

選擇性。 指定乘法順序之 MatrixOrder 列舉的專案。 MatrixOrderPrepend 指定傳遞的矩陣位於左側,而 MatrixOrderAppend 指定傳遞的矩陣位於右邊。 預設值為 MatrixOrderPrepend。

傳回值

類型: 狀態

如果方法成功,它會傳回 Ok,這是 Status 列舉的元素。

如果方法失敗,它會傳回 Status 列舉的其他其中一個專案。

需求

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

另請參閱

座標系統和轉換

圖形

Graphics::GetTransform

Graphics::ResetTransform

Graphics::RotateTransform

Graphics::ScaleTransform

Graphics::SetTransform

Graphics::TransformPoints

Graphics::TranslateTransform

矩陣

MatrixOrder

轉換