Tc Unicode Helper
Public Member Functions | List of all members
tcgfx::U8g2TextPlotPipeline Class Reference
Inheritance diagram for tcgfx::U8g2TextPlotPipeline:
TextPlotPipeline

Public Member Functions

 U8g2TextPlotPipeline (U8G2 *gfx)
 
void drawPixel (uint16_t x, uint16_t y, uint32_t color) override
 
Coord getDimensions () override
 
void setCursor (const Coord &where) override
 
Coord getCursor () override
 

Member Function Documentation

◆ drawPixel()

void tcgfx::U8g2TextPlotPipeline::drawPixel ( uint16_t  x,
uint16_t  y,
uint32_t  color 
)
overridevirtual

Draw a pixel onto the device at the given coordinates

Parameters
xthe x position increases left to right
ythe y position increases top to bottom
colorthe color in whatever format the device uses

Implements TextPlotPipeline.

◆ getCursor()

Coord tcgfx::U8g2TextPlotPipeline::getCursor ( )
overridevirtual
Returns
the current coordinates for print

Implements TextPlotPipeline.

◆ getDimensions()

Coord tcgfx::U8g2TextPlotPipeline::getDimensions ( )
overridevirtual
Returns
the dimensions of the underlying display object

Implements TextPlotPipeline.

◆ setCursor()

void tcgfx::U8g2TextPlotPipeline::setCursor ( const Coord where)
overridevirtual

Set the position that the next text will be printed at, handling of offscreen is minimal, and just stops rendering

Parameters
wherethe coordinate to draw at

Implements TextPlotPipeline.


The documentation for this class was generated from the following file: