struct DrawContext<'a, 'b> {
font_coords: &'b [F2Dot14],
scale: f32,
ppem: Option<f32>,
context: &'b dyn VarcContext,
store_regions: Option<(&'b MultiItemVariationStore<'a>, &'b SparseVariationRegionList<'a>)>,
}Expand description
Data shared by every glyph in one draw.
Fields§
§font_coords: &'b [F2Dot14]§scale: f32The factor that scales component offsets to the size of the leaves.
ppem: Option<f32>§context: &'b dyn VarcContext§store_regions: Option<(&'b MultiItemVariationStore<'a>, &'b SparseVariationRegionList<'a>)>Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for DrawContext<'a, 'b>
impl<'a, 'b> !Send for DrawContext<'a, 'b>
impl<'a, 'b> !Sync for DrawContext<'a, 'b>
impl<'a, 'b> !UnwindSafe for DrawContext<'a, 'b>
impl<'a, 'b> Freeze for DrawContext<'a, 'b>
impl<'a, 'b> Unpin for DrawContext<'a, 'b>
impl<'a, 'b> UnsafeUnpin for DrawContext<'a, 'b>
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