Name

gfx_set_pixel — sets the color of the specified pixel.

Synopsis

#include <gfx.h>   
void gfx_set_pixel (x,  
 y,  
 color); 
uint8_t x;
uint8_t y;
uint8_t color;
 

Arguments

x

the x co-ordinate of the pixel

y

the y co-ordinate of the pixel

color

the color to set

Description

Sets the color of the specified pixel. The pixel change is not visible till gfx_update is called.