SysTutorials

Linux Manual Pages › Section 3

rotate_scaled_sprite(3)

rotate_scaled_sprite – Rotates and stretches a sprite. Allegro game programming library.

Synopsis

#include <allegro.h>

void rotate_scaled_sprite(BITMAP *bmp, BITMAP *sprite, int x, int y,

                      fixed angle, fixed scale);</code></pre>

Description

Like rotate_sprite(), but stretches or shrinks the image at the same time as rotating it.

See Also

rotate_sprite(3), rotate_scaled_sprite_v_flip(3), pivot_scaled_sprite(3), pivot_scaled_sprite_v_flip(3)