struct DrawProps {
positioning_transform: Affine,
effective_transform: Affine,
font_size: f32,
}Expand description
Properties for easily calculating the transform of a positioned glyph.
Fields§
§positioning_transform: AffineA positioning transform for the glyph.
effective_transform: AffineA transform to apply to the glyph after positioning.
font_size: f32The actual font size that should be assumed for drawing and caching purposes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DrawProps
impl RefUnwindSafe for DrawProps
impl Send for DrawProps
impl Sync for DrawProps
impl Unpin for DrawProps
impl UnsafeUnpin for DrawProps
impl UnwindSafe for DrawProps
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