pivot_sprite_lit(3alleg4)
π NAME π
okay so this is pivot_sprite_lit(3alleg4), straight out of the Allegro manual, bestie.
pivot_sprite_lit β rotates a sprite around a specified point. It's part of the Allegro game programming library. That's the whole vibe. π
β¨ SYNOPSIS β¨
Here's the exact incantation, no cap:
#include <allegro.h>
void pivot_sprite_lit(BITMAP *bmp, BITMAP *sprite, int x, int y, int cx,
int cy, fixed angle);
π DESCRIPTION π
Okay so this one is literally like rotate_sprite_lit() β same energy β but it does one extra iconic thing: it aligns the point in the sprite given by (cx, cy) to (x, y) in the bitmap, and then rotates around this point. Slay. π¦
π₯ SEE ALSO π₯
rotate_sprite_lit(3alleg4)pivot_scaled_sprite_lit(3alleg4)pivot_sprite_v_flip_lit(3alleg4)exsprite(3alleg4)
Signing off from the Allegro manual, version 4.4.3, page pivot_sprite_lit(3alleg4). Mwah π
β¨
π¦ 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