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

# fastline(3alleg)

Faster version of line(). Allegro game programming library.

## NAME

fastline - Faster version of line(). Allegro game programming library.

## SYNOPSIS

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

**void fastline(BITMAP \*bmp, int x1, int y1, int x2, int y2, int color);**

## DESCRIPTION

Faster version of the previous function. Note that pixel correctness is not guaranteed for this function.

## SEE ALSO

[**line**(3alleg)](/line/3alleg.md), [**hline**(3alleg)](/hline/3alleg.md), [**vline**(3alleg)](/vline/3alleg.md), [**do\_line**(3alleg)](/do_line/3alleg.md), [**drawing\_mode**(3alleg)](/drawing_mode/3alleg.md), [**makecol**(3alleg)](/makecol/3alleg.md)
