.\" Generated by the Allegro makedoc utility .TH hline 3 "version 4.2.2" "Allegro" "Allegro manual" .SH NAME hline \- Draws a horizontal line onto the bitmap. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void hline(BITMAP *bmp, int x1, int y, int x2, int color); .SH DESCRIPTION Draws a horizontal line onto the bitmap, from point (x1, y) to (x2, y). Note: hline() is implemented as an alias to another function. See ALLEGRO_NO_VHLINE_ALIAS in the `Differences between platforms' section for details. .SH SEE ALSO .BR vline (3), .BR line (3), .BR drawing_mode (3), .BR makecol (3), .BR exsprite (3)