[][src]Trait blend2d::matrix::MatrixTransform

pub trait MatrixTransform {
    fn set_matrix(&mut self, m: &Matrix2D) -> Result<()> { ... }
fn reset_matrix(&mut self) -> Result<()> { ... }
fn translate(&mut self, x: f64, y: f64) -> Result<()> { ... }
fn translate_point<P: Point>(&mut self, p: &P) -> Result<()> { ... }
fn scale(&mut self, x: f64, y: f64) -> Result<()> { ... }
fn scale_point<P: Point>(&mut self, p: &P) -> Result<()> { ... }
fn skew(&mut self, x: f64, y: f64) -> Result<()> { ... }
fn skew_point<P: Point>(&mut self, p: &P) -> Result<()> { ... }
fn rotate(&mut self, angle: f64) -> Result<()> { ... }
fn rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()> { ... }
fn rotate_around_point<P: Point>(&mut self, angle: f64, p: &P) -> Result<()> { ... }
fn transform(&mut self, mat: &Matrix2D) -> Result<()> { ... }
fn post_translate(&mut self, x: f64, y: f64) -> Result<()> { ... }
fn post_translate_point<P: Point>(&mut self, p: &P) -> Result<()> { ... }
fn post_scale(&mut self, x: f64, y: f64) -> Result<()> { ... }
fn post_scale_point<P: Point>(&mut self, p: &P) -> Result<()> { ... }
fn post_skew(&mut self, x: f64, y: f64) -> Result<()> { ... }
fn post_skew_point<P: Point>(&mut self, p: &P) -> Result<()> { ... }
fn post_rotate(&mut self, angle: f64) -> Result<()> { ... }
fn post_rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()> { ... }
fn post_rotate_around_point<P: Point>(
        &mut self,
        angle: f64,
        p: &P
    ) -> Result<()> { ... }
fn post_transform(&mut self, mat: &Matrix2D) -> Result<()> { ... } }

Provided methods

fn set_matrix(&mut self, m: &Matrix2D) -> Result<()>

fn reset_matrix(&mut self) -> Result<()>

fn translate(&mut self, x: f64, y: f64) -> Result<()>

fn translate_point<P: Point>(&mut self, p: &P) -> Result<()>

fn scale(&mut self, x: f64, y: f64) -> Result<()>

fn scale_point<P: Point>(&mut self, p: &P) -> Result<()>

fn skew(&mut self, x: f64, y: f64) -> Result<()>

fn skew_point<P: Point>(&mut self, p: &P) -> Result<()>

fn rotate(&mut self, angle: f64) -> Result<()>

fn rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()>

fn rotate_around_point<P: Point>(&mut self, angle: f64, p: &P) -> Result<()>

fn transform(&mut self, mat: &Matrix2D) -> Result<()>

fn post_translate(&mut self, x: f64, y: f64) -> Result<()>

fn post_translate_point<P: Point>(&mut self, p: &P) -> Result<()>

fn post_scale(&mut self, x: f64, y: f64) -> Result<()>

fn post_scale_point<P: Point>(&mut self, p: &P) -> Result<()>

fn post_skew(&mut self, x: f64, y: f64) -> Result<()>

fn post_skew_point<P: Point>(&mut self, p: &P) -> Result<()>

fn post_rotate(&mut self, angle: f64) -> Result<()>

fn post_rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()>

fn post_rotate_around_point<P: Point>(
    &mut self,
    angle: f64,
    p: &P
) -> Result<()>

fn post_transform(&mut self, mat: &Matrix2D) -> Result<()>

Loading content...

Implementors

impl MatrixTransform for Context[src]

fn set_matrix(&mut self, m: &Matrix2D) -> Result<()>[src]

fn reset_matrix(&mut self) -> Result<()>[src]

fn translate(&mut self, x: f64, y: f64) -> Result<()>[src]

fn translate_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn scale(&mut self, x: f64, y: f64) -> Result<()>[src]

fn scale_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn skew(&mut self, x: f64, y: f64) -> Result<()>[src]

fn skew_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn rotate(&mut self, angle: f64) -> Result<()>[src]

fn rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()>[src]

fn rotate_around_point<P: Point>(&mut self, angle: f64, p: &P) -> Result<()>[src]

fn transform(&mut self, mat: &Matrix2D) -> Result<()>[src]

fn post_translate(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_translate_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_scale(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_scale_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_skew(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_skew_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_rotate(&mut self, angle: f64) -> Result<()>[src]

fn post_rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()>[src]

fn post_rotate_around_point<P: Point>(
    &mut self,
    angle: f64,
    p: &P
) -> Result<()>
[src]

fn post_transform(&mut self, mat: &Matrix2D) -> Result<()>[src]

impl MatrixTransform for Matrix2D[src]

fn set_matrix(&mut self, m: &Matrix2D) -> Result<()>[src]

fn reset_matrix(&mut self) -> Result<()>[src]

fn translate(&mut self, x: f64, y: f64) -> Result<()>[src]

fn translate_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn scale(&mut self, x: f64, y: f64) -> Result<()>[src]

fn scale_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn skew(&mut self, x: f64, y: f64) -> Result<()>[src]

fn skew_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn rotate(&mut self, angle: f64) -> Result<()>[src]

fn rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()>[src]

fn rotate_around_point<P: Point>(&mut self, angle: f64, p: &P) -> Result<()>[src]

fn transform(&mut self, mat: &Matrix2D) -> Result<()>[src]

fn post_translate(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_translate_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_scale(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_scale_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_skew(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_skew_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_rotate(&mut self, angle: f64) -> Result<()>[src]

fn post_rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()>[src]

fn post_rotate_around_point<P: Point>(
    &mut self,
    angle: f64,
    p: &P
) -> Result<()>
[src]

fn post_transform(&mut self, mat: &Matrix2D) -> Result<()>[src]

impl MatrixTransform for Pattern[src]

fn set_matrix(&mut self, m: &Matrix2D) -> Result<()>[src]

fn reset_matrix(&mut self) -> Result<()>[src]

fn translate(&mut self, x: f64, y: f64) -> Result<()>[src]

fn translate_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn scale(&mut self, x: f64, y: f64) -> Result<()>[src]

fn scale_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn skew(&mut self, x: f64, y: f64) -> Result<()>[src]

fn skew_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn rotate(&mut self, angle: f64) -> Result<()>[src]

fn rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()>[src]

fn rotate_around_point<P: Point>(&mut self, angle: f64, p: &P) -> Result<()>[src]

fn transform(&mut self, mat: &Matrix2D) -> Result<()>[src]

fn post_translate(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_translate_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_scale(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_scale_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_skew(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_skew_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_rotate(&mut self, angle: f64) -> Result<()>[src]

fn post_rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()>[src]

fn post_rotate_around_point<P: Point>(
    &mut self,
    angle: f64,
    p: &P
) -> Result<()>
[src]

fn post_transform(&mut self, mat: &Matrix2D) -> Result<()>[src]

impl<T: GradientType> MatrixTransform for Gradient<T>[src]

fn set_matrix(&mut self, m: &Matrix2D) -> Result<()>[src]

fn reset_matrix(&mut self) -> Result<()>[src]

fn translate(&mut self, x: f64, y: f64) -> Result<()>[src]

fn translate_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn scale(&mut self, x: f64, y: f64) -> Result<()>[src]

fn scale_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn skew(&mut self, x: f64, y: f64) -> Result<()>[src]

fn skew_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn rotate(&mut self, angle: f64) -> Result<()>[src]

fn rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()>[src]

fn rotate_around_point<P: Point>(&mut self, angle: f64, p: &P) -> Result<()>[src]

fn transform(&mut self, mat: &Matrix2D) -> Result<()>[src]

fn post_translate(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_translate_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_scale(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_scale_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_skew(&mut self, x: f64, y: f64) -> Result<()>[src]

fn post_skew_point<P: Point>(&mut self, p: &P) -> Result<()>[src]

fn post_rotate(&mut self, angle: f64) -> Result<()>[src]

fn post_rotate_around(&mut self, angle: f64, x: f64, y: f64) -> Result<()>[src]

fn post_rotate_around_point<P: Point>(
    &mut self,
    angle: f64,
    p: &P
) -> Result<()>
[src]

fn post_transform(&mut self, mat: &Matrix2D) -> Result<()>[src]

Loading content...