1line(3) Allegro manual line(3)
23
4
NAME
6line - Draws a line onto the bitmap. Allegro game programming library.
7
SYNOPSIS
9#include <allegro.h>
1011
12
void line(BITMAP *bmp, int x1, int y1, int x2, int y2, int color);
13
DESCRIPTION
15Draws a line onto the bitmap, from point (x1, y1) to (x2, y2).
1617
SEE ALSO
19fastline(3), hline(3), vline(3), do_line(3), drawing_mode(3),
20makecol(3)
2122
23
24
Allegro version 4.2.2 line(3)