Learn R Programming

RGtk2 (version 2.8.8)

cairoMatrixInvert: cairoMatrixInvert

Description

Changes matrix to be the inverse of it's 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.

Usage

cairoMatrixInvert(matrix)

Arguments

matrix
[CairoMatrix] a cairo.matrix.t

Value

Details

Returns: If matrix has an inverse, modifies matrix to be the inverse matrix and returns CAIRO_STATUS_SUCCESS. Otherwise,