---
name: "draw_rle_sprite"
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/draw_rle_sprite/3alleg4"
---

# draw\_rle\_sprite(3alleg4)

Draws an RLE sprite. Allegro game programming library.

## NAME

draw\_rle\_sprite - Draws an RLE sprite. Allegro game programming library.

## SYNOPSIS

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

**void draw\_rle\_sprite(BITMAP \*bmp, const RLE\_SPRITE \*sprite,** **int x, int y);**

## DESCRIPTION

Draws an RLE sprite onto a bitmap at the specified position. Example:

```
   RLE_SPRITE *rle_sprite;
   ...
   draw_rle_sprite(screen, rle_sprite, 100, 100);
```

## SEE ALSO

**get\_rle\_sprite**(3alleg4), **draw\_sprite**(3alleg4), **draw\_compiled\_sprite**(3alleg4), **draw\_trans\_rle\_sprite**(3alleg4), **draw\_lit\_rle\_sprite**(3alleg4), **bitmap\_mask\_color**(3alleg4)
