1line(3)                         Allegro manual                         line(3)
2
3
4

NAME

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

SYNOPSIS

9       #include <allegro.h>
10
11
12       void line(BITMAP *bmp, int x1, int y1, int x2, int y2, int color);
13

DESCRIPTION

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

SEE ALSO

19       fastline(3),    hline(3),    vline(3),   do_line(3),   drawing_mode(3),
20       makecol(3)
21
22
23
24Allegro                          version 4.4.2                         line(3)
Impressum