[−][src]Enum printpdf::types::plugins::graphics::ctm::TextMatrix
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
Text translate matrix, used for indenting (transforming) text (different to regular text placement)
Trait Implementations
impl Clone for TextMatrix
[src]
pub fn clone(&self) -> TextMatrix
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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
impl RefUnwindSafe for TextMatrix
[src]
impl Send for TextMatrix
[src]
impl Sync for TextMatrix
[src]
impl Unpin for TextMatrix
[src]
impl UnwindSafe for TextMatrix
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,