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

Public Member Functions

 AdafruitTextPlotPipeline (Adafruit_GFX *gfx)
 
void drawPixel (uint16_t x, uint16_t y, uint32_t dc) override
 
void setCursor (const Coord &where) override
 
Coord getCursor () override
 
Coord getDimensions () override
 

Member Function Documentation

◆ drawPixel()

void tcgfx::AdafruitTextPlotPipeline::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::AdafruitTextPlotPipeline::getCursor ( )
overridevirtual
Returns
the current coordinates for print

Implements TextPlotPipeline.

◆ getDimensions()

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

Implements TextPlotPipeline.

◆ setCursor()

void tcgfx::AdafruitTextPlotPipeline::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: