Graphics::FilledEllipseObject Class Reference

A filled ellipse. More...

#include <Object.h>

Inheritance diagram for Graphics::FilledEllipseObject:
Collaboration diagram for Graphics::FilledEllipseObject:

Public Member Functions

 FilledEllipseObject (const Brush &brush, const Rect &rect)
 
 FilledEllipseObject (const Brush &brush, Point centre, uint16_t a, uint16_t b)
 
void write (MetaWriter &meta) const override
 
RenderercreateRenderer (const Location &location) const override
 Create a software renderer for this object. More...
 
- Public Member Functions inherited from Graphics::ObjectTemplate< Object::Kind::FilledEllipse >
Kind kind () const override
 
- Public Member Functions inherited from Graphics::Object
virtual Kind kind () const =0
 
bool operator== (const Object &other) const
 
virtual String getTypeStr () const
 
- Public Member Functions inherited from LinkedObjectTemplate< Object >
Object * getNext () const
 
bool insertAfter (Object *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
 

Public Attributes

Brush brush
 
Rect rect
 

Additional Inherited Members

- Public Types inherited from Graphics::Object
enum  Kind { Kind::XX }
 
using List = LinkedObjectListTemplate< Object >
 
using OwnedList = OwnedLinkedObjectListTemplate< Object >
 
- Public Types inherited from LinkedObjectTemplate< Object >
using Iterator = IteratorTemplate< Object, Object *, Object & >
 
using ConstIterator = IteratorTemplate< const Object, const Object *, const Object & >
 

Detailed Description

A filled ellipse.

Constructor & Destructor Documentation

◆ FilledEllipseObject() [1/2]

Graphics::FilledEllipseObject::FilledEllipseObject ( const Brush brush,
const Rect rect 
)
inline

◆ FilledEllipseObject() [2/2]

Graphics::FilledEllipseObject::FilledEllipseObject ( const Brush brush,
Point  centre,
uint16_t  a,
uint16_t  b 
)
inline

Member Function Documentation

◆ createRenderer()

Renderer* Graphics::FilledEllipseObject::createRenderer ( const Location location) const
overridevirtual

Create a software renderer for this object.

Parameters
location
Return values
rendererReturned renderer object

Return nullptr if object cannot/should not be rendered

Implements Graphics::Object.

◆ write()

void Graphics::FilledEllipseObject::write ( MetaWriter meta) const
inlineoverridevirtual

Implements Graphics::Object.

Member Data Documentation

◆ brush

Brush Graphics::FilledEllipseObject::brush

◆ rect

Rect Graphics::FilledEllipseObject::rect

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