1putpixel(3) Allegro manual putpixel(3)
2
3
4
6 putpixel - Writes a pixel into a bitmap. Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 void putpixel(BITMAP *bmp, int x, int y, int color);
14
16 Writes a pixel to the specified position in the bitmap, using the cur‐
17 rent drawing mode and the bitmap's clipping rectangle. Example:
18
19 putpixel(screen, 10, 30, some_color);
20
21
23 getpixel(3), _putpixel(3), drawing_mode(3), makecol(3), ex12bit(3),
24 exalpha(3), exflame(3), exjoy(3), exstars(3), exswitch(3)
25
26
27
28Allegro version 4.2.2 putpixel(3)