Graphics::RectList Class Reference

Small list of rectangles, similar to PointList. More...

#include <Renderer.h>

Inheritance diagram for Graphics::RectList:
Collaboration diagram for Graphics::RectList:

Public Member Functions

 RectList (const Rect &bounds, const Brush &brush, uint8_t capacity)
 
void add (const Rect &rect)
 
bool render (Surface &surface)
 
- Public Member Functions inherited from Graphics::ItemList< Rect >
 ItemList (uint8_t capacity)
 
void add (Rect value)
 
Rectget ()
 
Rectnext ()
 
void reset ()
 
 operator bool () const
 

Detailed Description

Small list of rectangles, similar to PointList.

Constructor & Destructor Documentation

◆ RectList()

Graphics::RectList::RectList ( const Rect bounds,
const Brush brush,
uint8_t  capacity 
)
inline

Member Function Documentation

◆ add()

void Graphics::RectList::add ( const Rect rect)
inline

◆ render()

bool Graphics::RectList::render ( Surface surface)

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