void al_draw_pixel(float x, float y, ALLEGRO_COLOR color)
Introduced in 5.0.0

Draws a single pixel at x, y. This function, unlike al_put_pixel, does blending and, unlike al_put_blended_pixel, respects the transformations. This function can be slow if called often; if you need to draw a lot of pixels consider using the primitives addon.

Note: This function may not draw exactly where you expect it to. See the pixel-precise output section on the primitives addon documentation for details on how to control exactly where the pixel is drawn.

See also: ALLEGRO_COLOR, al_put_pixel

Examples: ex_blend_test, ex_drawpixels, ex_transform

Most helpful discussions:

Other recent discussions: