rotate_scaled_sprite(3alleg4) | Allegro manual | rotate_scaled_sprite(3alleg4) |
rotate_scaled_sprite - Rotates and stretches a sprite. Allegro game programming library.
#include <allegro.h>
void rotate_scaled_sprite(BITMAP *bmp, BITMAP *sprite, int x, int y, fixed angle, fixed scale);
Like rotate_sprite(), but stretches or shrinks the image at the same time as rotating it.
rotate_sprite(3alleg4), rotate_scaled_sprite_v_flip(3alleg4), pivot_scaled_sprite(3alleg4), pivot_scaled_sprite_v_flip(3alleg4), exrotscl(3alleg4)
version 4.4.2 | Allegro |