Skip to main content

control_box

Function control_box 

Source
fn control_box(points: &[Point<f32>]) -> Option<GlyphExtents<F48Dot16>>
Expand description

The box a loaded outline’s points stay within.

The control points count, so this is what the glyph states as its own box rather than the tighter box its curves keep to. A scale can round the finished bounds after applying floating-point variation deltas.