PIVOT_SCALED_SPRITE_V_FLIP_LIT(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

πŸŽ€ pivot_scaled_sprite_v_flip_lit(3) πŸŽ€

okay bestie, welcome to the Allegro manual β€” this one is from the Allegro game programming library, and it's all about making a sprite do a little rotate-stretch-flip moment around a point you pick. πŸ’…


✨ NAME ✨

pivot_scaled_sprite_v_flip_lit β€” rotates, stretches and flips a sprite around a specified point. Allegro game programming library.


🌸 SYNOPSIS 🌸

#include <allegro.h>

void pivot_scaled_sprite_v_flip_lit(BITMAP *bmp, BITMAP *sprite, int x,
       int y, int cx, int cy, fixed angle, fixed scale);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so it's literally like rotate_scaled_sprite_v_flip_lit(), but it aligns the point in the sprite given by (cx, cy) to (x, y) in the bitmap, then rotates and scales around this point. that's the tea. β˜•βœ¨


πŸ’– SEE ALSO πŸ’–


and that's the whole page, bestie β€” Allegro version 4.4.3, pivot_scaled_sprite_v_flip_lit(3), slay πŸ’– no cap.

πŸ“¦ where this page comes from