roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
roo_display::ClippingBufferedPixelFiller Class Reference

Buffered pixel filler with a clipping box. More...

#include <buffered_drawing.h>

Public Member Functions

 ClippingBufferedPixelFiller (DisplayOutput &device, Color color, Box clip_box, BlendingMode blending_mode)
 
void fillPixel (int16_t x, int16_t y)
 Fill a pixel if it lies within clip_box().
 
void flush ()
 Flush any buffered pixels.
 
const Boxclip_box () const
 

Detailed Description

Buffered pixel filler with a clipping box.

Definition at line 163 of file buffered_drawing.h.

Constructor & Destructor Documentation

◆ ClippingBufferedPixelFiller()

roo_display::ClippingBufferedPixelFiller::ClippingBufferedPixelFiller ( DisplayOutput device,
Color  color,
Box  clip_box,
BlendingMode  blending_mode 
)
inline

Definition at line 165 of file buffered_drawing.h.

References color.

Member Function Documentation

◆ clip_box()

const Box & roo_display::ClippingBufferedPixelFiller::clip_box ( ) const
inline

Definition at line 179 of file buffered_drawing.h.

◆ fillPixel()

void roo_display::ClippingBufferedPixelFiller::fillPixel ( int16_t  x,
int16_t  y 
)
inline

Fill a pixel if it lies within clip_box().

Definition at line 170 of file buffered_drawing.h.

References roo_display::Box::contains(), and roo_display::BufferedPixelFiller::fillPixel().

◆ flush()

void roo_display::ClippingBufferedPixelFiller::flush ( )
inline

Flush any buffered pixels.

Definition at line 177 of file buffered_drawing.h.

References roo_display::BufferedPixelFiller::flush().


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