Visual Computing Library
Loading...
Searching...
No Matches
vcl::TextDrawer< DerivedRenderApp > Class Template Reference
Inheritance diagram for vcl::TextDrawer< DerivedRenderApp >:

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)
 
- Public Member Functions inherited from vcl::PlainDrawer< DerivedRenderApp >
 PlainDrawer (uint, uint)
 
virtual void onInit (uint viewId)
 
virtual void onDrawContent (uint viewId)
 
virtual void onPostDraw ()
 

Private Member Functions

autoderived ()
 
const autoderived () const
 

Private Attributes

TextView mTextView
 

Additional Inherited Members

- Protected Types inherited from vcl::PlainDrawer< DerivedRenderApp >
using DRT = DerivedRenderApp
 
- Protected Member Functions inherited from vcl::PlainDrawer< DerivedRenderApp >
autoderived ()
 
const autoderived () const
 

Member Function Documentation

◆ onDraw()

void vcl::TextDrawer< DerivedRenderApp >::onDraw ( uint  viewId)
inlinefinaloverridevirtual

◆ onResize()

void vcl::TextDrawer< DerivedRenderApp >::onResize ( uint  width,
uint  height 
)
inlinefinaloverridevirtual

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