line(3alleg4) | Allegro manual | line(3alleg4) |
line - Draws a line onto the bitmap. Allegro game programming library.
#include <allegro.h>
void line(BITMAP *bmp, int x1, int y1, int x2, int y2, int color);
Draws a line onto the bitmap, from point (x1, y1) to (x2, y2).
fastline(3alleg4), hline(3alleg4), vline(3alleg4), do_line(3alleg4), drawing_mode(3alleg4), makecol(3alleg4)
version 4.4.2 | Allegro |