|
NAMEALLEGRO_GLYPH - Allegro 5 APISYNOPSIS
DESCRIPTIONA structure containing the properties of a character in a font.
bitmap may be a sub-bitmap in the case of color fonts. Bitmap can also be NULL in which case nothing should be drawn (sometimes true for whitespace characters in TTF fonts). kerning should be added to the x position you draw to if you want your text kerned and depends on which codepoints al_get_glyph(3) was called with. Glyphs are tightly packed onto the bitmap, so you need to add offset_x and offset_y to your draw position for the text to look right. advance is the number of pixels to add to your x position to advance to the next character in a string and includes kerning. SINCE5.2.1[Unstable API]: This API is new and subject to refinement. SEE ALSOal_get_glyph(3)
Visit the GSP FreeBSD Man Page Interface. |