---
name: "rotate_scaled_sprite_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/rotate_scaled_sprite_lit"
---

# rotate\_scaled\_sprite\_lit(3alleg4)

Rotates and stretches a sprite. Allegro game programming library.

## NAME

rotate\_scaled\_sprite\_lit - Rotates and stretches a sprite. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**void rotate\_scaled\_sprite\_lit(BITMAP \*bmp, BITMAP \*sprite, int x, int y,** **fixed angle, fixed scale);**

## DESCRIPTION

Like rotate\_sprite\_lit(), but stretches or shrinks the image at the same time as rotating it.

## SEE ALSO

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