Next: (ggg sxml), Previous: (ggg prelude), Up: API
Undocumented procedure.
Undocumented procedure.
Estimates text container widths in pixels. It looks up a rough width per character based on the font size. Then, it multiplies this by the number of characters and adds some padding. Finally, it slightly adjusts the width based on whether the text is very short, short, medium, or long to make the badge look better. It rounds the final width to a whole number.
Undocumented procedure.