class OSGTEXT_EXPORT osgText::Font


Inheritance:


Public Methods

[more] Font()
[more] Font(const Font& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
[more]virtual bool isSameKindAs(const osg::Object* obj) const
[more]virtual const char* className() const
[more]bool open(const char* font)
[more]bool open(const std::string& font)
[more]virtual bool create(osg::State& state, int pointSize, const unsigned int res = 72 )
[more]virtual bool create(osg::State& state)
[more]virtual void output(osg::State& state, const char* text)
[more]virtual bool isOk(void) const
[more]virtual bool isCreated(void) const
[more]virtual float getWidth(const char* text) const
[more]virtual int getHeight() const
[more]virtual int getDescender() const
[more]virtual int getAscender() const
[more]int getPointSize(void) const
[more]int getTextureSize(void) const
[more]const std::string& getFontName()
[more]FTFont* getFont(void)

Protected Fields

[more]bool _init
[more]bool _created
[more]FTFont* _font
[more]std::string _fontName
[more]int _pointSize
[more]int _res
[more]int _textureSize

Protected Methods

[more]virtual ~Font()
[more]virtual void clear()
[more]virtual FTFont* createFontObj(void) = 0
[more]bool init(const std::string& font)


Documentation

o Font()

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

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

ovirtual const char* className() const

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)

ovirtual ~Font()

ovirtual void clear()

ovirtual FTFont* createFontObj(void) = 0

obool init(const std::string& font)

obool _init

obool _created

oFTFont* _font

ostd::string _fontName

oint _pointSize

oint _res

oint _textureSize


Direct child classes:
VectorFont
RasterFont

Alphabetic index HTML hierarchy of classes or Java



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