Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GLUE
GLUE.Font

Method GLUE.Font()->get_character()


Method get_character

array(int|BaseTexture|Region) get_character(int c)

Description

Returns the advance (in pixels), the texture and the texture coordinates for the specified character, or 0 if it's nonprintable.

Note

If the font->write call fails, the backtrace will be written to stderr.