Your company here, and a link to your site. Click to find out more.

vline - Man Page

Draws a vertical line onto the bitmap. Allegro game programming library.


#include <allegro.h>

void vline(BITMAP *bmp, int x, int y1, int y2, int color);


Draws a vertical line onto the bitmap, from point (x, y1) to (x, y2).

Note: vline() is implemented as an alias to another function. See ALLEGRO_NO_VHLINE_ALIAS in the `Differences between platforms' section for details.

See Also

hline(3), line(3), drawing_mode(3), makecol(3), exrgbhsv(3), exscroll(3), extruec(3)

Referenced By

exrgbhsv(3), exscroll(3), extruec(3), fastline(3), hline(3), line(3).

version 4.4.3 Allegro manual