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

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

Rotate(f64)

Text rotation matrix, used for rotating text

Translate(MmMm)

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

Trait Implementations

impl Clone for TextMatrix[src]

impl Copy for TextMatrix[src]

impl Debug for TextMatrix[src]

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

impl Into<Operation> for TextMatrix[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.