_putpixel - Man Page
Faster specific 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
Referenced By
The man pages _putpixel15(3), _putpixel16(3), _putpixel24(3) and _putpixel32(3) are aliases of _putpixel(3).