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

pub enum TextMatrix {
    Rotate(f64),
    Translate(MmMm),
}

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

Text rotation matrix, used for rotating text

Text translate matrix, used for indenting (transforming) text (different to regular text placement)

Trait Implementations

impl Debug for TextMatrix
[src]

[src]

Formats the value using the given formatter.

impl Copy for TextMatrix
[src]

impl Clone for TextMatrix
[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 TextMatrix
[src]

[src]

Performs the conversion.

impl Into<Operation> for TextMatrix
[src]

[src]

Performs the conversion.