rotate_scaled_sprite(3alleg4)

πŸ’– rotate_scaled_sprite(3alleg4) πŸ’–

okay bestie, welcome to the Allegro manual page for rotate_scaled_sprite, and it's literally the rotate-and-stretch glow-up for your sprites. ✨


🌸 NAME 🌸

rotate_scaled_sprite β€” Rotates and stretches a sprite. This is from the 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 πŸ¦‹

It's giving rotate_sprite() energy, but with an extra slay: this one stretches or shrinks the image at the same time as rotating it. So yeah, rotation + scale, together, in one iconic call. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘


that's the whole vibe, bestie. this page is from Allegro version 4.4.3 and it's the rotate_scaled_sprite(3alleg4) manual β€” periodt. πŸ’–βœ¨