ROTATE_SCALED_SPRITE_TRANS(3alleg4)
π rotate_scaled_sprite_trans π
okay bestie, this one lives in the Allegro manual β the Allegro game programming library, to be exact (3alleg4 era, we love her). Sit down, hydrate, and let's talk about spinning AND stretching a sprite in one single glorious call. π¦
β¨ NAME β¨
rotate_scaled_sprite_trans β Rotates and stretches a sprite. Allegro game programming library.
β¨ SYNOPSIS β¨
#include <allegro.h>
void rotate_scaled_sprite_trans(BITMAP *bmp, BITMAP *sprite, int x, int y, fixed angle, fixed scale);
β¨ DESCRIPTION β¨
So basically it's rotate_sprite_trans()β¦ but she's doing the MOST. π
Not only is she rotating the image, she's stretching or shrinking it at the same time. Rotation + scaling, one function, no cap. It's giving multitasking icon behavior. π
β¨ SEE ALSO β¨
rotate_sprite_trans(3alleg4)rotate_scaled_sprite_v_flip_trans(3alleg4)pivot_scaled_sprite_trans(3alleg4)pivot_scaled_sprite_v_flip_trans(3alleg4)exrotscl(3alleg4)
mwah π that's the whole page bestie, go forth and rotate-and-scale responsibly. This was Allegro version 4.4.3, page rotate_scaled_sprite_trans(3alleg4) β tysm for reading, ily, bye! ππΈπ«Ά
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms