class OSGTEXT_EXPORT osgText::RasterFont


Inheritance:


Public Methods

[more] RasterFont()
[more] RasterFont(const RasterFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
[more] RasterFont(const std::string& )
[more]virtual bool isSameKindAs(const osg::Object* obj) const
[more]virtual 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()
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()
ovirtual FTFont* createFontObj(void)
obool init(const std::string& font)


Documentation

o RasterFont()

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

o RasterFont(const std::string& )

ovirtual bool isSameKindAs(const osg::Object* obj) const

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