Scroll to navigation

rotate_scaled_sprite(3) Allegro manual rotate_scaled_sprite(3)

NAME

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);

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), exrotscl(3)

version 4.4.3 Allegro