logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_get_glyph - Allegro 5 API

Description

       Gets all the information about a glyph, including the bitmap, needed to draw it yourself.  prev_codepoint
       is the codepoint in the string before the one you want to draw and is used for kerning.  codepoint is the
       character  you  want  to  get info about.  You should clear the `glyph' structure to 0 with memset before
       passing it to this function for future compatibility.

Name

       al_get_glyph - Allegro 5 API

See Also

ALLEGRO_GLYPH(3alleg5)

Allegro reference manual                                                                   al_get_glyph(3alleg5)

Since

       5.2.1

              [UnstableAPI]: This API is new and subject to refinement.

Synopsis

              #include <allegro5/allegro_ttf.h>

              bool al_get_glyph(const ALLEGRO_FONT *f, int prev_codepoint, int codepoint, ALLEGRO_GLYPH *glyph)

See Also