PgGlyphString.getWidth

Computes the logical width of the glyph string.

This can also be computed using [method@Pango.GlyphString.extents]. However, since this only computes the width, it's much faster. This is in fact only a convenience function that computes the sum of @geometry.width for each glyph in the @glyphs.

class PgGlyphString
int
getWidth
()

Return Value

Type: int

the logical width of the glyph string.

Meta

Since

1.14