class OSGTEXT_EXPORT osgText::TextureFont


Inheritance:


Public Methods

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

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, unsigned int res = 72 )
ovirtual bool create(osg::State& state)
ovirtual void output(osg::State& state, const EncodedText* text) const
ovirtual bool isOk(void) const
ovirtual bool isCreated(void) const
ovirtual float getWidth(const EncodedText* 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 TextureFont()

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

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

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

o META_Font(osgText, TextureFont)

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++.