roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
roo_display::BufferedPixelWriterFillAdapter< PixelWriter > Class Template Reference

Adapter that turns a pixel writer into a single-color filler. More...

#include <buffered_drawing.h>

Public Member Functions

 BufferedPixelWriterFillAdapter (PixelWriter &writer, Color color)
 
void fillPixel (int16_t x, int16_t y)
 Fill a pixel using the configured color.
 

Detailed Description

template<typename PixelWriter>
class roo_display::BufferedPixelWriterFillAdapter< PixelWriter >

Adapter that turns a pixel writer into a single-color filler.

Definition at line 80 of file buffered_drawing.h.

Constructor & Destructor Documentation

◆ BufferedPixelWriterFillAdapter()

template<typename PixelWriter >
roo_display::BufferedPixelWriterFillAdapter< PixelWriter >::BufferedPixelWriterFillAdapter ( PixelWriter writer,
Color  color 
)
inline

Definition at line 82 of file buffered_drawing.h.

References color.

Member Function Documentation

◆ fillPixel()

Fill a pixel using the configured color.

Definition at line 86 of file buffered_drawing.h.

References roo_display::ClippingBufferedPixelWriter::writePixel().


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