al_draw_ti...map_region(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

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