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

Public Member Functions

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)
 
void clearText ()
 
void enableText (bool b=true)
 
bool isTextEnabled () const
 
void onDraw (uint viewId) override final
 
void onResize (uint width, uint height) override final
 
void setTextFont (const std::string &fontName, uint fontSize)
 
void setTextFont (VclFont::Enum font, uint fontSize)
 
 TextDrawer (uint width, uint height)
 
- Public Member Functions inherited from vcl::PlainDrawer< DerivedRenderApp >
virtual void onDrawContent (uint viewId)
 
virtual void onDrawId (uint viewId)
 
virtual void onInit (uint viewId)
 
virtual void onPostDraw ()
 
 PlainDrawer (uint, uint)
 

Private Member Functions

autoderived ()
 
const autoderived () const
 

Private Attributes

TextView mTextView
 

Additional Inherited Members

- Protected Types inherited from vcl::PlainDrawer< DerivedRenderApp >
using DRA = 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: