al_draw_ti...led_bitmap(3)
β¨ NAME β¨
al_draw_tinted_scaled_bitmap β literally the Allegro 5 API, bestie π
(the page header up top is just the terminal being dramatic and truncating it to al_draw_ti...led_bitmap(3), don't worry about it π«Ά)
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
void al_draw_tinted_scaled_bitmap(ALLEGRO_BITMAP *bitmap,
ALLEGRO_COLOR tint,
float sx, float sy, float sw, float sh,
float dx, float dy, float dw, float dh, int flags)
π DESCRIPTION π
Okay so picture al_draw_scaled_bitmap(3) β iconic, we love her β but this time it multiplies every single color in the bitmap by the given color. That's the whole vibe. Tint it, scale it, slay. β¨
Heads up queen: peep al_draw_bitmap(3) for the note about restrictions on which bitmaps can be drawn where. Lowkey important, don't skip it. π
π¦ SEE ALSO π¦
al_draw_tinted_bitmap(3)β the tinted-but-not-scaled sibling, go give her a read π
That's the whole page, bestie β no cap, you got this. This little gem lives in the Allegro reference manual (Library Functions Manual energy all the way through), so if you ever need to cite it, that's the source to name-drop. Periodt. ππ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms