Graphics::TextObject::FontElement Class Reference

#include <Object.h>

Inheritance diagram for Graphics::TextObject::FontElement:
Collaboration diagram for Graphics::TextObject::FontElement:

Public Member Functions

 FontElement (const TypeFace &typeface, Scale scale, FontStyles style)
 
void write (MetaWriter &meta) const override
 
uint16_t height () const
 
- Public Member Functions inherited from Graphics::TextObject::Element
 Element (Kind kind)
 
String getTypeStr () const
 
- Public Member Functions inherited from LinkedObjectTemplate< Element >
Element * getNext () const
 
bool insertAfter (Element *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

Scale scale
 
FontStyles style
 
const TypeFacetypeface
 
- Public Attributes inherited from Graphics::TextObject::Element
Kind kind
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ FontElement()

Graphics::TextObject::FontElement::FontElement ( const TypeFace typeface,
Scale  scale,
FontStyles  style 
)
inline

Member Function Documentation

◆ height()

uint16_t Graphics::TextObject::FontElement::height ( ) const
inline

◆ write()

void Graphics::TextObject::FontElement::write ( MetaWriter meta) const
inlineoverridevirtual

Member Data Documentation

◆ scale

Scale Graphics::TextObject::FontElement::scale

◆ style

FontStyles Graphics::TextObject::FontElement::style

◆ typeface

const TypeFace& Graphics::TextObject::FontElement::typeface

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