cairoMatrixInvert: cairoMatrixInvert

Description Usage Arguments Value Author(s)

View source: R/cairoFuncs.R

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

1

Arguments

matrix

[CairoMatrix] a CairoMatrix

Value

[CairoStatus] If matrix has an inverse, modifies matrix to be the inverse matrix and returns CAIRO_STATUS_SUCCESS. Otherwise, returns CAIRO_STATUS_INVALID_MATRIX.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.