al_draw_bitmap_region

void al_draw_bitmap_region(ALLEGRO_BITMAP *bitmap,
   float sx, float sy, float sw, float sh, float dx, float dy, int flags)
Introduced in 5.0.0

Draws a region of the given bitmap to the target bitmap.

See also: al_draw_bitmap, al_draw_scaled_bitmap, al_draw_rotated_bitmap, al_draw_scaled_rotated_bitmap

Examples: ex_blend, ex_blit, ex_clip, ex_draw, ex_font


Most helpful discussions:

Other recent discussions: