FabGL
ESP32 Display Controller and Graphics Library

◆ setRawPixel()

void setRawPixel ( int  x,
int  y,
uint8_t  rgb 
)
inlineinherited

Sets a raw pixel prepared using VGAController.createRawPixel.

A raw pixel (or raw color) is a byte (uint8_t) that contains color information and synchronization signals.

Parameters
xHorizontal pixel position
yVertical pixel position
rgbRaw pixel color

Example:

// Set color of pixel at 100, 100
VGAController.setRawPixel(100, 100, VGAController.createRawPixel(RGB222(3, 0, 0));

Definition at line 317 of file vgabasecontroller.h.