pub struct RootTransforms {
transforms: SmallVec<[Affine; 3]>,
}Expand description
Stack of root transforms.
Fields§
§transforms: SmallVec<[Affine; 3]>Implementations§
Source§impl RootTransforms
impl RootTransforms
Sourcepub fn root_transform(&self) -> Affine
pub fn root_transform(&self) -> Affine
Return the root transform of the currently active root viewport, including shifts inherited from nested filters.
Sourcepub fn effective_path_transform(&self, transforms: &Transforms) -> Affine
pub fn effective_path_transform(&self, transforms: &Transforms) -> Affine
Return the transform used for rendering paths.
Sourcepub fn effective_paint_transform(&self, transforms: &Transforms) -> Affine
pub fn effective_paint_transform(&self, transforms: &Transforms) -> Affine
Return the transform used for rendering paints.
Trait Implementations§
Source§impl Debug for RootTransforms
impl Debug for RootTransforms
Auto Trait Implementations§
impl Freeze for RootTransforms
impl RefUnwindSafe for RootTransforms
impl Send for RootTransforms
impl Sync for RootTransforms
impl Unpin for RootTransforms
impl UnsafeUnpin for RootTransforms
impl UnwindSafe for RootTransforms
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