pangocairo::functions

Function show_glyph_string

Source
pub fn show_glyph_string(
    cr: &Context,
    font: &impl IsA<Font>,
    glyphs: &mut GlyphString,
)
Expand description

Draws the glyphs in @glyphs in the specified cairo context.

The origin of the glyphs (the left edge of the baseline) will be drawn at the current point of the cairo context.

§cr

a Cairo context

§font

a pango::Font from a FontMap

§glyphs

a pango::GlyphString