Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

hline - Draws a horizontal line onto the bitmap. Allegro game programming library.

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.

Name

       hline - Draws a horizontal line onto the bitmap. Allegro game programming library.

See Also

vline(3alleg4), line(3alleg4), drawing_mode(3alleg4), makecol(3alleg4), exsprite(3alleg4)

Allegro                                           version 4.4.3                                   hline(3alleg4)

Synopsis

#include<allegro.h>voidhline(BITMAP*bmp,intx1,inty,intx2,intcolor);

See Also