Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

al_get_ustr_dimensions - Allegro 5 API

Description

       Like  al_get_text_dimensions(3alleg5),  except  the  text  is  passed  as  an  ALLEGRO_USTR  instead of a
       NUL-terminated char array.

Name

       al_get_ustr_dimensions - Allegro 5 API

See Also

al_get_text_dimensions(3alleg5)

Allegro reference manual                                                         al_get_ustr_dimensions(3alleg5)

Synopsis

              #include <allegro5/allegro_font.h>

              void al_get_ustr_dimensions(const ALLEGRO_FONT *f,
                 ALLEGRO_USTR const *ustr,
                 int *bbx, int *bby, int *bbw, int *bbh)

See Also