Virtual base class to manage rendering of various types of information to a surface. More...
#include <Object.h>
Public Types | |
using | List = LinkedObjectListTemplate< Renderer > |
using | OwnedList = OwnedLinkedObjectListTemplate< Renderer > |
![]() | |
using | Iterator = IteratorTemplate< Renderer, Renderer *, Renderer & > |
using | ConstIterator = IteratorTemplate< const Renderer, const Renderer *, const Renderer & > |
Public Member Functions | |
Renderer (const Location &location) | |
Constructor. More... | |
virtual | ~Renderer () |
virtual bool | execute (Surface &surface)=0 |
Called to do some writing to the surface. More... | |
![]() | |
Renderer * | getNext () const |
bool | insertAfter (Renderer *object) |
Iterator | begin () const |
Iterator | end () const |
Iterator | cbegin () const |
Iterator | cend () const |
![]() | |
virtual | ~LinkedObject () |
virtual LinkedObject * | next () const |
bool | insertAfter (LinkedObject *object) |
bool | operator== (const LinkedObject &other) const |
bool | operator!= (const LinkedObject &other) const |
Protected Attributes | |
Location | location |
Detailed Description
Virtual base class to manage rendering of various types of information to a surface.
Member Typedef Documentation
◆ List
◆ OwnedList
Constructor & Destructor Documentation
◆ Renderer()
|
inline |
Constructor.
- Parameters
-
location Location information
◆ ~Renderer()
|
inlinevirtual |
Member Function Documentation
◆ execute()
|
pure virtual |
Called to do some writing to the surface.
- Return values
-
bool true when rendering is complete, false if more work to be done
Implemented in Graphics::TextRenderer, Graphics::BlendRenderer, Graphics::ScrollRenderer, Graphics::CopyRenderer, Graphics::SurfaceRenderer, Graphics::ImageRenderer, Graphics::FilledArcRenderer, Graphics::ArcRenderer, Graphics::FilledEllipseRenderer, Graphics::EllipseRenderer, Graphics::FilledCircleRenderer, Graphics::CircleRenderer, Graphics::FilledRoundedRectRenderer, Graphics::RoundedRectRenderer, Graphics::FilledRectRenderer, Graphics::RectRenderer, Graphics::PolylineRenderer, Graphics::LineRenderer, Graphics::GfxLineRenderer, and Graphics::MultiRenderer.
Member Data Documentation
◆ location
|
protected |
The documentation for this class was generated from the following file: