al_draw_tinted_bitmap_region

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)
Introduced in 5.0.0

Like al_draw_bitmap_region but multiplies all colors in the bitmap with the given color.

See also: al_draw_tinted_bitmap

Examples: ex_transform


Most helpful discussions:

Other recent discussions: