al_draw_ti...ted_bitmap(3)

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

πŸ’– al_draw_ti...ted_bitmap(3) πŸ’–

okay bestie, welcome to the Library Functions Manual β€” the full function name is al_draw_tinted_scaled_rotated_bitmap, and the header just does that truncated little thing because it's dramatic. This is Allegro 5 API energy, no cap. πŸ’…

🌸 NAME 🌸

al_draw_tinted_scaled_rotated_bitmap β€” Allegro 5 API. That's the whole name, bestie. 🫢

✨ SYNOPSIS ✨

              #include <allegro5/allegro.h>

              void al_draw_tinted_scaled_rotated_bitmap(ALLEGRO_BITMAP *bitmap,
                 ALLEGRO_COLOR tint,
                 float cx, float cy, float dx, float dy, float xscale, float yscale,
                 float angle, int flags)

This is the exact call shape β€” all those args are invited to the group chat: bitmap, tint, cx, cy, dx, dy, xscale, yscale, angle, and flags. No substitutions, okay? πŸ’–

πŸ’… DESCRIPTION πŸ’…

So it's like al_draw_scaled_rotated_bitmap(3) but it multiplies all colors in the bitmap with the given color. That's the tint, bestie β€” literally what it says. πŸŽ€

Also, for the note on restrictions on which bitmaps can be drawn where, you gotta see al_draw_bitmap(3). The manual said it, so I'm saying it: check that page for the bitmap-placement tea. πŸ¦‹

🌈 SEE ALSO 🌈


Signed off from the Allegro reference manual 🫢 β€” the footer doesn't actually give us a date, just the truncated al_draw_ti...ted_bitmap(3) tag, so no invented date on my watch. πŸ’€

πŸ“¦ 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