TransformationMatrixTryInvert Method
Tries to invert the specified matrix.
Namespace: KGySoft.Drawing.ShapesAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public static bool TryInvert(
TransformationMatrix matrix,
out TransformationMatrix result
)
Public Shared Function TryInvert (
matrix As TransformationMatrix,
<OutAttribute> ByRef result As TransformationMatrix
) As Boolean
public:
static bool TryInvert(
TransformationMatrix matrix,
[OutAttribute] TransformationMatrix% result
)
static member TryInvert :
matrix : TransformationMatrix *
result : TransformationMatrix byref -> bool
- 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.
Boolean if the matrix was successfully inverted; otherwise,
.