pangocairo::functions

Function glyph_string_path

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

Adds the glyphs in @glyphs to the current path in the specified cairo context.

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

§cr

a Cairo context

§font

a pango::Font from a FontMap

§glyphs

a pango::GlyphString