line.3alleg

Langue: en

Version: version 4.2.2 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

line - Draws a line onto the bitmap. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

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

DESCRIPTION

Draws a line onto the bitmap, from point (x1, y1) to (x2, y2).

SEE ALSO

fastline(3alleg), hline(3alleg), vline(3alleg), do_line(3alleg), drawing_mode(3alleg), makecol(3alleg)