Struct cairo::matrix::Matrix [] [src]

pub struct Matrix {
    // some fields omitted
}

Methods

impl Matrix
[src]

fn new(xx: f64, yx: f64, xy: f64, yy: f64, x0: f64, y0: f64) -> Matrix

fn identity() -> Matrix

fn for_translation(x0: f64, y0: f64) -> Matrix

fn for_scale(sx: f64, sy: f64) -> Matrix

fn for_rotation(radians: f64) -> Matrix

fn multiply(a: &mut Matrix, b: &mut Matrix) -> Matrix

fn translate(&mut self, x0: f64, y0: f64)

fn scale(&mut self, sx: f64, sy: f64)

fn rotate(&mut self, radians: f64)

fn transform_distance(&mut self) -> (f64, f64)

fn transform_point(&mut self) -> (f64, f64)

fn invert(&mut self) -> Status