---
name: "pivot_scaled_sprite_v_flip_lit"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pivot_scaled_sprite_v_flip_lit"
---

# pivot\_scaled\_sprite\_v\_flip\_lit(3alleg4)

Rotates, stretches and flips a sprite around a specified point. Allegro game programming library.

## 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

Like rotate\_scaled\_sprite\_v\_flip\_lit(), but aligns the point in the sprite given by (cx, cy) to (x, y) in the bitmap, then rotates and scales around this point.

## SEE ALSO

**rotate\_sprite\_lit**(3alleg4), **rotate\_scaled\_sprite\_v\_flip\_lit**(3alleg4), **rotate\_sprite\_v\_flip\_lit**(3alleg4), **pivot\_sprite\_lit**(3alleg4), **pivot\_scaled\_sprite\_lit**(3alleg4)
