line - Man Page

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(3), hline(3), vline(3), do_line(3), drawing_mode(3), makecol(3)

Referenced By

do_line(3), ex12bit(3), ex3d(3), exconfig(3), excustom(3), exexedat(3), exflame(3), exlights(3), exquat(3), exshade(3), exspline(3), exupdate(3), exxfade(3), fastline(3), hline(3), vline(3).

version 4.4.3 Allegro manual