Enum printpdf::types::plugins::graphics::ctm::TextMatrix
[−]
[src]
pub enum TextMatrix { Rotate(f64), Translate(Mm, Mm), }
Text matrix. Text placement is a bit different, but uses the same concepts as a CTM that's why it's merged here
Note: TextScale
does not exist. Use layer.set_word_spacing()
and layer.set_character_spacing()
to specify the scaling between words
and characters.
Variants
Rotate(f64)
Text rotation matrix, used for rotating text
Translate(Mm, Mm)
Text translate matrix, used for indenting (transforming) text (different to regular text placement)
Trait Implementations
impl Debug for TextMatrix
[src]
impl Copy for TextMatrix
[src]
impl Clone for TextMatrix
[src]
fn clone(&self) -> TextMatrix
[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