rotate_scaled_sprite(3)
π« rotate_scaled_sprite(3) π«
okay bestie, welcome to the Allegro manual β this one's called rotate_scaled_sprite and she does exactly what it says on the tin: rotates and stretches a sprite. iconic behavior honestly π
β¨ NAME β¨
rotate_scaled_sprite β rotates and stretches a sprite. it's part of the Allegro game programming library, and yes she's serving main character energy fr fr π¦
πΈ SYNOPSIS πΈ
#include <allegro.h>
void rotate_scaled_sprite(BITMAP *bmp, BITMAP *sprite, int x, int y,
fixed angle, fixed scale);
no cap, that's the whole signature. keep it exact, bestie π
π§ DESCRIPTION π§
so likeβ¦ it's giving rotate_sprite(), right? but β and this is the important part β she also stretches or shrinks the image at the same time as she rotates it. two jobs, one function, she ate and left no crumbs πβ¨
π SEE ALSO π
rotate_sprite(3)rotate_scaled_sprite_v_flip(3)pivot_scaled_sprite(3)pivot_scaled_sprite_v_flip(3)exrotscl(3)
go read those too, they're all in the same friend group π«Ά
lowkey a whole squad of sprite-transforming besties, and you just met the one who does rotation and scaling together. obsessed. π
Allegro version 4.4.3 π β and that's the vibe check, we're done here. mwah, go render something cute ππβ
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms