be the inverse matrix and returns [cairo.types.Status.Success]. Otherwise, returns [cairo.types.Status.InvalidMatrix].
Matrix.invert
cairo.types.Status invert()Changes matrix to be the inverse of its original value. Not all transformation matrices have inverses; if the matrix collapses points together (it is <firstterm>degenerate</firstterm>), then it has no inverse and this function will fail.
Returns
If matrix has an inverse, modifies matrix to