Skip to main content

resolve_paths

Function resolve_paths 

Source
pub fn resolve_paths(
    engine: &Engine,
    layout: &Layout,
) -> Result<Vec<PathContour>, MathError>
Expand description

Resolve every primitive of a layout into closed quadratic contours, in ems, y-up, baseline at 0.

§Errors

MathError::UnmappedChar if a placed glyph’s outline cannot be decoded (a face-table corruption surfaces as the glyph’s character).