putpixel
Writes a pixel into a bitmap. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
Writes a pixel into a bitmap. Allegro game programming library.
#include <allegro.h>
void putpixel(BITMAP *bmp, int x, int y, int color);
Writes a pixel to the specified position in the bitmap, using the current drawing mode and the bitmap's clipping rectangle. Example:
putpixel(screen, 10, 30, some_color);
getpixel(3alleg4), _putpixel(3alleg4), drawing_mode(3alleg4), makecol(3alleg4), ex12bit(3alleg4), exalpha(3alleg4), exflame(3alleg4), exjoy(3alleg4), exstars(3alleg4), exswitch(3alleg4)