Name
pglyphstring:GetWidth -- get width
Synopsis
width = pglyphstring:GetWidth()
Function
Computes the logical width of the glyph string.

This can also be computed using pglyphstring: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 glyph string.

Inputs
none

Results
width
the logical width of the glyph string

Show TOC