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.
If matrix has an inverse, modifies matrix to be the inverse matrix and returns cairo.types.Status.Success. Otherwise, returns cairo.types.Status.InvalidMatrix.
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.