1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
.TH "al_get_glyph_width" "3" "" "Allegro reference manual" ""
.SH NAME
.PP
al_get_glyph_width \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro_font.h>
int\ al_get_glyph_width(const\ ALLEGRO_FONT\ *f,\ int\ codepoint)
\f[]
.fi
.SH DESCRIPTION
.PP
This function returns the width in pixels of the glyph that corresponds
with \f[C]codepoint\f[] in the font \f[C]font\f[].
Returns zero if the font does not have such a glyph.
.SH SINCE
.PP
5.1.12
.SH SEE ALSO
.PP
al_draw_glyph(3), al_get_glyph_dimensions(3), al_get_glyph_advance(3).
|