rotate_scaled_sprite
Rotates and stretches a sprite. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
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)