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

textout_right_ex - Writes a right aligned string on a bitmap. Allegro game programming library.

Description

       Like  textout_ex(), but interprets the x coordinate as the right rather than the left edge of the string.
       Example:

          textout_right_ex(screen, font, "Look at this color!",
                           SCREEN_W - 10, 10, my_yellow, -1);

Name

       textout_right_ex - Writes a right aligned string on a bitmap. Allegro game programming library.

See Also

textout_ex(3alleg4), textprintf_right_ex(3alleg4)

Allegro                                           version 4.4.3                        textout_right_ex(3alleg4)

Synopsis

#include<allegro.h>voidtextout_right_ex(BITMAP*bmp,constFONT*f,constchar*s,intx,inty,intcolor,intbg);

See Also