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

Description

       Like the regular putpixel(), but much  faster  because  they  are  implemented  as  an  inline  assembler
       functions  for  specific  color  depths.  These  won't  work  in mode-X graphics modes, don't perform any
       clipping (they will crash if you try to draw outside the bitmap!), and ignore the drawing mode.

Name

       _putpixel,  _putpixel15,  _putpixel16,  _putpixel24, _putpixel32 - Faster specific version of putpixel().
       Allegro game programming library.

See Also

putpixel(3alleg4), makecol(3alleg4)

Allegro                                           version 4.4.3                               _putpixel(3alleg4)

Synopsis

#include<allegro.h>void_putpixel(BITMAP*bmp,intx,inty,intcolor);void_putpixel15(BITMAP*bmp,intx,inty,intcolor);void_putpixel16(BITMAP*bmp,intx,inty,intcolor);void_putpixel24(BITMAP*bmp,intx,inty,intcolor);void_putpixel32(BITMAP*bmp,intx,inty,intcolor);

See Also