Enum printpdf::types::plugins::graphics::ctm::CurTransMat
[−]
[src]
pub enum CurTransMat { Translate(Mm, Mm), Rotate(f64), Scale(f64, f64), Identity, }
PDF "current transformation matrix". Once set, will operate on all following shapes,
until the layer.restore_graphics_state()
is called. It is important to
call layer.save_graphics_state()
earlier.
Variants
Translate(Mm, Mm)
Translation matrix (in points from bottom left corner) X and Y can have different values
Rotate(f64)
Rotation matrix (clockwise, in degrees)
Scale(f64, f64)
Scale matrix (1.0 = 100% scale, no change) X and Y can have different values
Identity
Identity matrix
Trait Implementations
impl Debug for CurTransMat
[src]
impl Copy for CurTransMat
[src]
impl Clone for CurTransMat
[src]
fn clone(&self) -> CurTransMat
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more