pub struct TransformMatrix {
pub a: f64,
pub b: f64,
pub c: f64,
pub d: f64,
pub e: f64,
pub f: f64,
}Expand description
PDF transformation matrix (a, b, c, d, e, f)
Represents a 3x3 matrix: [a c e; b d f; 0 0 1] that transforms point (x,y) to (a*x + c*y + e, b*x + d*y + f)
Fields§
§a: f64§b: f64§c: f64§d: f64§e: f64§f: f64Trait Implementations§
Source§impl Clone for TransformMatrix
impl Clone for TransformMatrix
Source§fn clone(&self) -> TransformMatrix
fn clone(&self) -> TransformMatrix
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TransformMatrix
impl RefUnwindSafe for TransformMatrix
impl Send for TransformMatrix
impl Sync for TransformMatrix
impl Unpin for TransformMatrix
impl UnsafeUnpin for TransformMatrix
impl UnwindSafe for TransformMatrix
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more