al_draw_tinted_scaled_bitmap
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)
Introduced in 5.0.0
Like al_draw_scaled_bitmap but multiplies all colors in the bitmap with the given color.
See also: al_draw_tinted_bitmap
Examples: ex_blend2, ex_scale, ex_transform
Most helpful discussions: