Graphics::FilledCircleRenderer Class Reference

Draws a filled circle. More...

#include <Renderer.h>

Inheritance diagram for Graphics::FilledCircleRenderer:
Collaboration diagram for Graphics::FilledCircleRenderer:

Public Member Functions

 FilledCircleRenderer (const Location &location, const FilledCircleObject &object)
 
 FilledCircleRenderer (const Location &location, const Brush &brush, Point centre, uint16_t radius, uint16_t delta, uint8_t quadrants)
 Used to draw rounded parts of a rounded rectangle These are handled by drawing lines between the left/right corners. More...
 
bool execute (Surface &surface) override
 Called to do some writing to the surface. More...
 
- Public Member Functions inherited from Graphics::Renderer
 Renderer (const Location &location)
 Constructor. More...
 
virtual ~Renderer ()
 
- Public Member Functions inherited from LinkedObjectTemplate< Renderer >
Renderer * getNext () const
 
bool insertAfter (Renderer *object)
 
Iterator begin () const
 
Iterator end () const
 
Iterator cbegin () const
 
Iterator cend () const
 
- Public Member Functions inherited from LinkedObject
virtual ~LinkedObject ()
 
virtual LinkedObjectnext () const
 
bool insertAfter (LinkedObject *object)
 
bool operator== (const LinkedObject &other) const
 
bool operator!= (const LinkedObject &other) const
 

Additional Inherited Members

- Public Types inherited from Graphics::Renderer
using List = LinkedObjectListTemplate< Renderer >
 
using OwnedList = OwnedLinkedObjectListTemplate< Renderer >
 
- Public Types inherited from LinkedObjectTemplate< Renderer >
using Iterator = IteratorTemplate< Renderer, Renderer *, Renderer & >
 
using ConstIterator = IteratorTemplate< const Renderer, const Renderer *, const Renderer & >
 
- Protected Attributes inherited from Graphics::Renderer
Location location
 

Detailed Description

Draws a filled circle.

Code based on https://github.com/adafruit/Adafruit-GFX-Library

Constructor & Destructor Documentation

◆ FilledCircleRenderer() [1/2]

Graphics::FilledCircleRenderer::FilledCircleRenderer ( const Location location,
const FilledCircleObject object 
)
inline

◆ FilledCircleRenderer() [2/2]

Graphics::FilledCircleRenderer::FilledCircleRenderer ( const Location location,
const Brush brush,
Point  centre,
uint16_t  radius,
uint16_t  delta,
uint8_t  quadrants 
)
inline

Used to draw rounded parts of a rounded rectangle These are handled by drawing lines between the left/right corners.

Member Function Documentation

◆ execute()

bool Graphics::FilledCircleRenderer::execute ( Surface surface)
overridevirtual

Called to do some writing to the surface.

Return values
booltrue when rendering is complete, false if more work to be done

Implements Graphics::Renderer.


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