Inheritance:
Public Methods
-
RasterFont()
-
RasterFont(const RasterFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
-
RasterFont(const std::string& )
-
virtual bool isSameKindAs(const osg::Object* obj) const
-
virtual const char* className() const
Inherited from Font:
Public Methods
-
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 void clear()
-
virtual FTFont* createFontObj(void)
-
bool init(const std::string& font)
Documentation
- RasterFont()
- RasterFont(const RasterFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
- RasterFont(const std::string& )
- virtual bool isSameKindAs(const osg::Object* obj) const
- virtual const char* className() const
- Direct child classes:
- TextureFont
PixmapFont
BitmapFont
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.