al_draw_ti...map_region(3)
al_draw_tinted_bitmap_region(3) π
okay so bestie, welcome to the Library Functions Manual page for the Allegro 5 API β the main character here is al_draw_tinted_bitmap_region, and yes she is serving tinted-bitmap-region realness, no cap. β¨
NAME π
al_draw_tinted_bitmap_regionβ Allegro 5 API
SYNOPSIS β¨
#include <allegro5/allegro.h>
void al_draw_tinted_bitmap_region(ALLEGRO_BITMAP *bitmap,
ALLEGRO_COLOR tint,
float sx, float sy, float sw, float sh, float dx, float dy,
int flags)
DESCRIPTION π
So this one is literally like al_draw_bitmap_region(3) but it multiplies all colors in the bitmap with the given color. That's the whole vibe: same region-drawing energy, but tinted. π«Ά
β οΈ bestie, important caveat: see al_draw_bitmap(3) for a note on restrictions on which bitmaps can be drawn where. Don't skip that note, fr fr.
SEE ALSO π¦
π source: Allegro reference manual Β· page: al_draw_ti...map_region(3) β that's the footer, bestie, and that's the whole page. mwah π
π¦ 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