TransformationMatrixTryInvert Method

Tries to invert the specified matrix.

Definition

Namespace: KGySoft.Drawing.Shapes
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public static bool TryInvert(
	TransformationMatrix matrix,
	out TransformationMatrix result
)

Parameters

matrix  TransformationMatrix
The matrix to invert.
result  TransformationMatrix
When this method returns, contains the inverted matrix if the operation succeeded, or NaN values if it failed. This parameter is passed uninitialized.

Return Value

Boolean
if the matrix was successfully inverted; otherwise, .

See Also