Struct simplesvg::Trans
[−]
[src]
pub struct Trans { /* fields omitted */ }
Transformations.
Transformations are emitted in the order they were specified.
Methods
impl Trans
[src]
fn translate(self, x: f32, y: f32) -> Self
fn rotate(self, x: f32) -> Self
fn scale(self, x: f32) -> Self
fn scale_x_y(self, x: f32, y: f32) -> Self
Trait Implementations
impl Clone for Trans
[src]
fn clone(&self) -> Trans
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more