Enum printpdf::types::plugins::graphics::ctm::CurTransMat [] [src]

pub enum CurTransMat {
    Translate(MmMm),
    Rotate(f64),
    Scale(f64f64),
    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

Translation matrix (in points from bottom left corner) X and Y can have different values

Rotation matrix (clockwise, in degrees)

Scale matrix (1.0 = 100% scale, no change) X and Y can have different values

Identity matrix

Trait Implementations

impl Debug for CurTransMat
[src]

[src]

Formats the value using the given formatter.

impl Copy for CurTransMat
[src]

impl Clone for CurTransMat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Into<[f64; 6]> for CurTransMat
[src]

[src]

Performs the conversion.

impl Into<Operation> for CurTransMat
[src]

[src]

Performs the conversion.

impl Into<Object> for CurTransMat
[src]

[src]

Performs the conversion.