Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
_putpixel(3)			 Allegro manual 		    _putpixel(3)

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

SYNOPSIS
     #include <allegro.h>

     void _putpixel(BITMAP *bmp, int x, int y, int color);

     void _putpixel15(BITMAP *bmp, int x, int y, int color);

     void _putpixel16(BITMAP *bmp, int x, int y, int color);

     void _putpixel24(BITMAP *bmp, int x, int y, int color);

     void _putpixel32(BITMAP *bmp, int x, int y, int color);

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.

SEE ALSO
     putpixel(3), makecol(3)

Allegro 			  version 4.4.3 		    _putpixel(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=_putpixel16&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help