Trait GlyphRenderer

Source
pub trait GlyphRenderer {
    // Required methods
    fn fill_glyph(&mut self, glyph: PreparedGlyph<'_>);
    fn stroke_glyph(&mut self, glyph: PreparedGlyph<'_>);
}
Expand description

Trait for types that can render glyphs.

Required Methods§

Source

fn fill_glyph(&mut self, glyph: PreparedGlyph<'_>)

Fill glyphs with the current paint and fill rule.

Source

fn stroke_glyph(&mut self, glyph: PreparedGlyph<'_>)

Stroke glyphs with the current paint and stroke settings.

Implementors§