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§
Sourcefn fill_glyph(&mut self, glyph: PreparedGlyph<'_>)
fn fill_glyph(&mut self, glyph: PreparedGlyph<'_>)
Fill glyphs with the current paint and fill rule.
Sourcefn stroke_glyph(&mut self, glyph: PreparedGlyph<'_>)
fn stroke_glyph(&mut self, glyph: PreparedGlyph<'_>)
Stroke glyphs with the current paint and stroke settings.