al_draw_ti...ted_bitmap(3)
π 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 π
al_draw_tinted_bitmap(3)β the related page, go peek bestie. β¨
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