touchgfx::AbstractPainterRGB565::renderPixel() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXtouchgfx::AbstractPainterRGB565::renderPixel()

touchgfx::AbstractPainterRGB565::renderPixel() method

@fn virtual void AbstractPainterRGB565::renderPixel(uint16_t* p, uint8_t red, uint8_t green, uint8_t blue); Renders the pixel. Renders the pixel into the frame buffer. The colors are reduced from 8,8,8 to 5,6, 5.

Syntax

virtual void renderPixel(uint16_t* p,     uint8_t red,     uint8_t green,     uint8_t blue);

Arguments

p

red

The red color.

green

The green color.

blue

The blue color.

References

LocationText
AbstractPainterRGB565.hpp:140
virtual void renderPixel(uint16_t* p, uint8_t red, uint8_t green, uint8_t blue);