Skip to main content

varied_control_box

Function varied_control_box 

Source
fn varied_control_box<'a>(
    context: &'a dyn OutlineContext<'a>,
    glyph: GlyphId,
) -> Option<GlyphExtents<F48Dot16>>
Expand description

The box a glyph’s points stay within, at the location tables states.

How much scratch space a glyph takes is known only once its plan is read, and it is finished with by the time this returns, so the space comes from with_scratch rather than an allocation per glyph.