Changes matrix to be the inverse of its original value. Not all transformation matrices have inverses; if the matrix collapses points together (it is degenerate), then it has no inverse and this function will fail.
If matrix has an inverse, modifies matrix to be the inverse matrix. Otherwise, throws a cairo exception with CAIRO_STATUS_INVALID_MATRIX type.
See Implementation
Changes matrix to be the inverse of its original value. Not all transformation matrices have inverses; if the matrix collapses points together (it is degenerate), then it has no inverse and this function will fail.