![]() |
![]()
| ![]() |
![]()
NAMEal_get_text_dimensions - Allegro 5 API SYNOPSIS
DESCRIPTIONSometimes, the al_get_text_width(3) and al_get_font_line_height(3) functions are not enough for exact text placement, so this function returns some additional information. Returned variables (all in pixels):
Note that glyphs may go to the left and upwards of the X, in which case x and y will have negative values. SEE ALSOal_get_text_width(3), al_get_font_line_height(3), al_get_ustr_dimensions(3)
|