class OSGTEXT_EXPORT osgText::BitmapFont


Inheritance:


Public Methods

[more] BitmapFont()
[more] BitmapFont(const BitmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
[more] BitmapFont(const std::string& font, int point_size)
[more] META_Font(osgText, BitmapFont)

Protected Methods

[more]virtual FTFont* createFontObj(void)


Inherited from RasterFont:

Public Methods

ovirtual bool isSameKindAs(const osg::Object* obj) const
ovirtual const char* libraryName() const
ovirtual const char* className() const


Inherited from Font:

Public Methods

obool open(const char* font)
obool open(const std::string& font)
ovirtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
ovirtual bool create(osg::State& state)
ovirtual void output(osg::State& state, const char* text)
ovirtual bool isOk(void) const
ovirtual bool isCreated(void) const
ovirtual float getWidth(const char* text) const
ovirtual int getHeight() const
ovirtual int getDescender() const
ovirtual int getAscender() const
oint getPointSize(void) const
oint getTextureSize(void) const
oconst std::string& getFontName() const
ovoid copyAndInvalidate(Font &dest)
oFTFont* getFont(void)

Protected Fields

obool _init
obool _created
oFTFont* _font
ostd::string _fontName
oint _pointSize
oint _res
oint _textureSize

Protected Methods

ovirtual void clear()
obool init(const std::string& font)


Documentation

o BitmapFont()

o BitmapFont(const BitmapFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

o BitmapFont(const std::string& font, int point_size)

o META_Font(osgText, BitmapFont)

ovirtual FTFont* createFontObj(void)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.