Scroll to navigation

rotate_scaled_sprite(3alleg4) Allegro manual rotate_scaled_sprite(3alleg4)

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(3alleg4), rotate_scaled_sprite_v_flip(3alleg4), pivot_scaled_sprite(3alleg4), pivot_scaled_sprite_v_flip(3alleg4), exrotscl(3alleg4)

version 4.4.3 Allegro