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

# draw\_rle\_sprite(3alleg)

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**(3alleg)](/get_rle_sprite/3alleg.md), [**draw\_sprite**(3alleg)](/draw_sprite/3alleg.md), [**draw\_compiled\_sprite**(3alleg)](/draw_compiled_sprite/3alleg.md), [**draw\_trans\_rle\_sprite**(3alleg)](/draw_trans_rle_sprite/3alleg.md), [**draw\_lit\_rle\_sprite**(3alleg)](/draw_lit_rle_sprite/3alleg.md), [**bitmap\_mask\_color**(3alleg)](/bitmap_mask_color/3alleg.md)
