putpixel.3alleg

Langue: en

Version: version 4.2.2 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

putpixel - Writes a pixel into a bitmap. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

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

DESCRIPTION

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);
 

SEE ALSO

getpixel(3alleg), _putpixel(3alleg), drawing_mode(3alleg), makecol(3alleg), ex12bit(3alleg), exalpha(3alleg), exflame(3alleg), exjoy(3alleg), exstars(3alleg), exswitch(3alleg)