.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_get_glyph" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_glyph - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_get_glyph(const ALLEGRO_FONT *f, int prev_codepoint, int codepoint, ALLEGRO_GLYPH *glyph) \f[R] .fi .SH DESCRIPTION .PP 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. .SH SINCE .PP 5.2.1 .RS .PP \f[I][Unstable API]:\f[R] This API is new and subject to refinement. .RE .SH SEE ALSO .PP ALLEGRO_GLYPH(3alleg5)