struct HintScratch<'a> {
original_scaled: &'a mut [Point<F26Dot6>],
stack: &'a mut [i32],
cvt: &'a mut [i32],
storage: &'a mut [i32],
twilight_scaled: &'a mut [Point<F26Dot6>],
twilight_original_scaled: &'a mut [Point<F26Dot6>],
twilight_flags: &'a mut [PointFlags],
}Expand description
The working memory for a glyph program, carved from the caller’s block.
Everything a glyph program may write lives here rather than in the hinter, so drawing leaves the hinter unchanged.
Fields§
§original_scaled: &'a mut [Point<F26Dot6>]The scaled points before hinting moved them.
stack: &'a mut [i32]§cvt: &'a mut [i32]§storage: &'a mut [i32]§twilight_scaled: &'a mut [Point<F26Dot6>]§twilight_original_scaled: &'a mut [Point<F26Dot6>]§twilight_flags: &'a mut [PointFlags]Auto Trait Implementations§
impl<'a> !UnwindSafe for HintScratch<'a>
impl<'a> Freeze for HintScratch<'a>
impl<'a> RefUnwindSafe for HintScratch<'a>
impl<'a> Send for HintScratch<'a>
impl<'a> Sync for HintScratch<'a>
impl<'a> Unpin for HintScratch<'a>
impl<'a> UnsafeUnpin for HintScratch<'a>
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