Visual Computing Library
|
Public Member Functions | |
TextDrawer (uint width, uint height) | |
void | onResize (uint width, uint height) override final |
void | onDraw (uint viewId) override final |
void | enableText (bool b=true) |
bool | isTextEnabled () const |
void | setTextFont (VclFont::Enum font, uint fontSize) |
void | setTextFont (const std::string &fontName, uint fontSize) |
void | clearText () |
void | appendStaticText (const Point2f &pos, const std::string &text, const Color &color=Color::Black) |
void | appendTransientText (const Point2f &pos, const std::string &text, const Color &color=Color::Black) |
![]() | |
PlainDrawer (uint, uint) | |
virtual void | onInit (uint viewId) |
virtual void | onDrawContent (uint viewId) |
virtual void | onPostDraw () |
Private Member Functions | |
auto * | derived () |
const auto * | derived () const |
Private Attributes | |
TextView | mTextView |
Additional Inherited Members | |
![]() | |
using | DRT = DerivedRenderApp |
![]() | |
auto * | derived () |
const auto * | derived () const |
|
inlinefinaloverridevirtual |
Reimplemented from vcl::PlainDrawer< DerivedRenderApp >.
|
inlinefinaloverridevirtual |
Reimplemented from vcl::PlainDrawer< DerivedRenderApp >.