.\" Generated by the Allegro makedoc utility .TH line 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME line \- Draws a line onto the bitmap. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void line(BITMAP *bmp, int x1, int y1, int x2, int y2, int color); .SH DESCRIPTION Draws a line onto the bitmap, from point (x1, y1) to (x2, y2). .SH SEE ALSO .BR fastline (3alleg4), .BR hline (3alleg4), .BR vline (3alleg4), .BR do_line (3alleg4), .BR drawing_mode (3alleg4), .BR makecol (3alleg4)