Base class for text rendering (don't use this for high-quality text rendering).
Definition textrendererbase.h:25
void Close()
close the text renderer
Definition textrendererbase.cc:51
void AddTextElement(const CoreGraphics::TextElement &textElement)
add text element for rendering
Definition textrendererbase.cc:62
bool IsOpen() const
check if text renderer open
Definition textrendererbase.h:59
void AddTextElements(const Util::Array< CoreGraphics::TextElement > &textElement)
add multiple text elements for rendering
Definition textrendererbase.cc:72
TextRendererBase()
constructor
Definition textrendererbase.cc:22
void Open()
open the the text renderer
Definition textrendererbase.cc:41
void DrawTextElements()
draw the accumulated text
Definition textrendererbase.cc:101
void DeleteTextElementsByThreadId(Threading::ThreadId threadId)
delete added text by thread id
Definition textrendererbase.cc:82
virtual ~TextRendererBase()
destructor
Definition textrendererbase.cc:31
__DeclareSingleton(TextRendererBase)
__DeclareClass(TextRendererBase)
bool isOpen
Definition textrendererbase.h:52
Util::Array< CoreGraphics::TextElement > textElements
Definition textrendererbase.h:51
Describes a text element for the text renderer.
Definition textelement.h:21