---
name: "rotate_scaled_sprite"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/rotate_scaled_sprite"
---

# rotate\_scaled\_sprite(3alleg)

Rotates and stretches a sprite. Allegro game programming library.

## NAME

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

## SYNOPSIS

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

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

## DESCRIPTION

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

## SEE ALSO

[**rotate\_sprite**(3alleg)](/rotate_sprite/3alleg.md), [**rotate\_scaled\_sprite\_v\_flip**(3alleg)](/rotate_scaled_sprite_v_flip/3alleg.md), [**pivot\_scaled\_sprite**(3alleg)](/pivot_scaled_sprite/3alleg.md), [**pivot\_scaled\_sprite\_v\_flip**(3alleg)](/pivot_scaled_sprite_v_flip/3alleg.md)
