1al_get_glyph(3)                                                al_get_glyph(3)
2
3
4

NAME

6       al_get_glyph - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_ttf.h>
10
11              bool al_get_glyph(const ALLEGRO_FONT *f, int prev_codepoint, int codepoint, ALLEGRO_GLYPH *glyph)
12

DESCRIPTION

14       Gets all the information about a glyph, including the bitmap, needed to
15       draw it yourself.  prev_codepoint is the codepoint in the string before
16       the  one  you  want  to draw and is used for kerning.  codepoint is the
17       character you want to get info about.  You  should  clear  the  'glyph'
18       structure  to  0 with memset before passing it to this function for fu‐
19       ture compatibility.
20

SINCE

22       5.2.1
23
24              [Unstable API]: This API is new and subject to refinement.
25

SEE ALSO

27       ALLEGRO_GLYPH(3)
28
29
30
31Allegro reference manual                                       al_get_glyph(3)
Impressum