SYNOPSIS

  • #include <allegro5/allegro.h>
    
    void al_draw_scaled_bitmap(ALLEGRO_BITMAP *bitmap,
       float sx, float sy, float sw, float sh,
       float dx, float dy, float dw, float dh, int flags)
    
    

DESCRIPTION

Draws a scaled version of the given bitmap to the target bitmap.

\[bu]

sx - source x

\[bu]

sy - source y

\[bu]

sw - source width

\[bu]

sh - source height

\[bu]

dx - destination x

\[bu]

dy - destination y

\[bu]

dw - destination width

\[bu]

dh - destination height

\[bu]

flags - same as for al_draw_bitmap(3alleg5)

RELATED TO al_draw_scaled_bitmap…

al_draw_bitmap(3alleg5), al_draw_bitmap_region(3alleg5), al_draw_rotated_bitmap(3alleg5), al_draw_scaled_rotated_bitmap(3alleg5),