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

# fastline(3alleg4)

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**(3alleg4), **hline**(3alleg4), **vline**(3alleg4), **do\_line**(3alleg4), **drawing\_mode**(3alleg4), **makecol**(3alleg4)
