Struct cairo::Matrix [−][src]
#[repr(C)]pub struct Matrix { pub xx: f64, pub yx: f64, pub xy: f64, pub yy: f64, pub x0: f64, pub y0: f64, }
Fields
xx: f64
yx: f64
xy: f64
yy: f64
x0: f64
y0: f64
Trait Implementations
impl Clone for Matrix[src]
impl Clone for Matrixfn clone(&self) -> Matrix[src]
fn clone(&self) -> MatrixReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Matrix[src]
impl Debug for Matrixfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Copy for Matrix[src]
impl Copy for Matriximpl PartialEq<Matrix> for Matrix[src]
impl PartialEq<Matrix> for Matrixfn eq(&self, other: &Matrix) -> bool[src]
fn eq(&self, other: &Matrix) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Matrix) -> bool[src]
fn ne(&self, other: &Matrix) -> boolThis method tests for !=.
impl MatrixTrait for Matrix[src]
impl MatrixTrait for Matrixfn null() -> Matrix[src]
fn null() -> Matrixfn new(xx: f64, yx: f64, xy: f64, yy: f64, x0: f64, y0: f64) -> Matrix[src]
fn new(xx: f64, yx: f64, xy: f64, yy: f64, x0: f64, y0: f64) -> Matrixfn multiply(left: &Matrix, right: &Matrix) -> Matrix[src]
fn multiply(left: &Matrix, right: &Matrix) -> Matrixfn identity() -> Matrix[src]
fn identity() -> Matrixfn init(&mut self, xx: f64, yx: f64, xy: f64, yy: f64, x0: f64, y0: f64)[src]
fn init(&mut self, xx: f64, yx: f64, xy: f64, yy: f64, x0: f64, y0: f64)fn translate(&mut self, tx: f64, ty: f64)[src]
fn translate(&mut self, tx: f64, ty: f64)fn scale(&mut self, sx: f64, sy: f64)[src]
fn scale(&mut self, sx: f64, sy: f64)fn rotate(&mut self, angle: f64)[src]
fn rotate(&mut self, angle: f64)fn invert(&mut self)[src]
fn invert(&mut self)fn try_invert(&self) -> Result<Matrix, Status>[src]
fn try_invert(&self) -> Result<Matrix, Status>fn transform_distance(&self, _dx: f64, _dy: f64) -> (f64, f64)[src]
fn transform_distance(&self, _dx: f64, _dy: f64) -> (f64, f64)fn transform_point(&self, _x: f64, _y: f64) -> (f64, f64)[src]
fn transform_point(&self, _x: f64, _y: f64) -> (f64, f64)