class OSGTEXT_EXPORT osgText::PolygonFont


Inheritance:


Public Methods

[more] PolygonFont()
[more] PolygonFont(const PolygonFont& font, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
[more] PolygonFont(const std::string& font, int point_size, double precision)
[more] PolygonFont(const char* font, int point_size, double precision)
[more] META_Font(PolygonFont)

Protected Methods

[more]virtual FTFont* createFontObj(void)


Inherited from VectorFont:

Public Methods

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

Protected Fields

odouble _precision


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()
obool init(const std::string& font)


Documentation

o PolygonFont()

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

o PolygonFont(const std::string& font, int point_size, double precision)

o PolygonFont(const char* font, int point_size, double precision)

o META_Font(PolygonFont)

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