Inheritance:
Public Methods
-
Font()
-
Font(const Font& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
-
virtual bool isSameKindAs(const osg::Object* obj) const
-
virtual const char* className() const
-
bool open(const char* font)
-
bool open(const std::string& font)
-
virtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
-
virtual bool create(osg::State& state)
-
virtual void output(osg::State& state, const char* text)
-
virtual bool isOk(void) const
-
virtual bool isCreated(void) const
-
virtual float getWidth(const char* text) const
-
virtual int getHeight() const
-
virtual int getDescender() const
-
virtual int getAscender() const
-
int getPointSize(void) const
-
int getTextureSize(void) const
-
const std::string& getFontName()
-
FTFont* getFont(void)
Protected Fields
-
bool _init
-
bool _created
-
FTFont* _font
-
std::string _fontName
-
int _pointSize
-
int _res
-
int _textureSize
Protected Methods
-
virtual ~Font()
-
virtual void clear()
-
virtual FTFont* createFontObj(void) = 0
-
bool init(const std::string& font)
Documentation
- Font()
- Font(const Font& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
- virtual bool isSameKindAs(const osg::Object* obj) const
- virtual const char* className() const
- bool open(const char* font)
- bool open(const std::string& font)
- virtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
- virtual bool create(osg::State& state)
- virtual void output(osg::State& state, const char* text)
- virtual bool isOk(void) const
- virtual bool isCreated(void) const
- virtual float getWidth(const char* text) const
- virtual int getHeight() const
- virtual int getDescender() const
- virtual int getAscender() const
- int getPointSize(void) const
- int getTextureSize(void) const
- const std::string& getFontName()
- FTFont* getFont(void)
- virtual ~Font()
- virtual void clear()
- virtual FTFont* createFontObj(void) = 0
- bool init(const std::string& font)
- bool _init
- bool _created
- FTFont* _font
- std::string _fontName
- int _pointSize
- int _res
- int _textureSize
- Direct child classes:
- VectorFont
RasterFont
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.