16 #ifndef SURGSIM_GRAPHICS_OSGFONT_H 17 #define SURGSIM_GRAPHICS_OSGFONT_H 21 #include <osg/ref_ptr> 46 osg::ref_ptr<osgText::Font> getOsgFont()
const;
51 bool doLoad(
const std::string& filePath)
override;
Abstract base class for the Font Asset, fonts are typefaces that can be used to render text on screen...
Definition: Font.h:27
Definition: CompoundShapeToGraphics.cpp:29
#define SURGSIM_CLASSNAME(ClassName)
Declare the class name of a class with the appropriate function header, do not use quotes...
Definition: Macros.h:21
osg::ref_ptr< osgText::Font > m_font
Osg pointer to the font structure.
Definition: OsgFont.h:56
Osg specialization of the Font class, supports osgText::Font.
Definition: OsgFont.h:34