1hline(3)                        Allegro manual                        hline(3)
2
3
4

NAME

6       hline  - Draws a horizontal line onto the bitmap. Allegro game programā€
7       ming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void hline(BITMAP *bmp, int x1, int y, int x2, int color);
14

DESCRIPTION

16       Draws a horizontal line onto the bitmap, from point (x1, y) to (x2, y).
17
18       Note: hline() is implemented as an  alias  to  another  function.   See
19       ALLEGRO_NO_VHLINE_ALIAS  in the `Differences between platforms' section
20       for details.
21
22

SEE ALSO

24       vline(3), line(3), drawing_mode(3), makecol(3), exsprite(3)
25
26
27
28Allegro                          version 4.2.3                        hline(3)
Impressum