carta
hline(3alleg4)

hline3alleg4

Draws a horizontal line onto the bitmap. allegro game programming library.

Usage

void hline(BITMAP *bmp, int x1, int y, int x2, int color);

Overview

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.

History

  • Debian 13 (Trixie) to Debian 11 (Bullseye): the text shown here
  • Debian 10 (Buster) to Debian 7 (Wheezy)

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.