void setPosition(const agx::Vec2 &pos)
void setText(const std::string &text)
void drawImplementation(osg::RenderInfo &, const osg::Drawable *) const
Class for drawing simple/fast 2D text onto screen.
void setPosition(const agx::Vec2 &pos)
Set the position of the text.
TextDrawCallback * m_textDrawCallback
void setText(const std::string &text)
Set the text string.
void AGXOSG_EXPORT renderText(float x, float y, const char *s)
Render the bitmap text using previously created bitmap fonts.