Skip to main content

create_outline_glyph

Function create_outline_glyph 

Source
fn create_outline_glyph<'a>(
    glyph_id: u32,
    font_info: FontInfo,
    outline_cache: &mut OutlineCacheSession<'_>,
    size: f32,
    scale: f64,
    embolden: FontEmbolden,
    outline_glyph: &OutlineGlyph<'a>,
    hinting_instance: Option<&HintingInstance>,
    normalized_coords: &[NormalizedCoord],
) -> GlyphType<'a>
Expand description

Create outline glyph data from cache.

This extracts the glyph path from the outline cache, creating a GlyphType::Outline without any positioning information.