logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_do_multiline_ustr - Allegro 5 API

Description

       Like  al_do_multiline_text(3alleg5),  but  using  ALLEGRO_USTR instead of a NUL-terminated char array for
       text.

Name

       al_do_multiline_ustr - Allegro 5 API

See Also

al_draw_multiline_ustr(3alleg5)

Allegro reference manual                                                           al_do_multiline_ustr(3alleg5)

Since

       5.1.9

Synopsis

              #include <allegro5/allegro_font.h>

              void al_do_multiline_ustr(const ALLEGRO_FONT *font, float max_width,
                 const ALLEGRO_USTR *ustr,
                 bool (*cb)(int line_num, const ALLEGRO_USTR * line, void *extra),
                 void *extra)

See Also