class OSGTEXT_EXPORT osgText::Font::Glyph


Inheritance:


Public Methods

[more] Glyph()
[more]virtual ~Glyph()
[more]unsigned int getGlyphCode() const
[more]void setHorizontalBearing(const osg::Vec2& bearing)
[more]const osg::Vec2& getHorizontalBearing() const
[more]void setHorizontalAdvance(float advance)
[more]float getHorizontalAdvance() const
[more]void setVerticalBearing(const osg::Vec2& bearing)
[more]const osg::Vec2& getVerticalBearing() const
[more]void setVerticalAdvance(float advance)
[more]float getVerticalAdvance() const
[more]void setTexture(GlyphTexture* texture)
[more]GlyphTexture* getTexture()
[more]const GlyphTexture* getTexture() const
[more]osg::StateSet* getStateSet()
[more]const osg::StateSet* getStateSet() const
[more]void setTexturePosition(int posX, int posY)
[more]int getTexturePositionX() const
[more]int getTexturePositionY() const
[more]void setMinTexCoord(const osg::Vec2& coord)
[more]const osg::Vec2& getMinTexCoord() const
[more]void setMaxTexCoord(const osg::Vec2& coord)
[more]const osg::Vec2& getMaxTexCoord() const
[more]void subload() const
[more]void draw(osg::State& state) const

Protected Fields

[more]Font* _font
[more]unsigned int _glyphCode
[more]osg::Vec2 _horizontalBearing
[more]float _horizontalAdvance
[more]osg::Vec2 _verticalBearing
[more]float _verticalAdvance
[more]GlyphTexture* _texture
[more]int _texturePosX
[more]int _texturePosY
[more]osg::Vec2 _minTexCoord
[more]osg::Vec2 _maxTexCoord
[more]mutable GLObjectList _globjList

Protected

[more]typedef osg::buffered_value<GLuint> GLObjectList


Documentation

o Glyph()

ovirtual ~Glyph()

ounsigned int getGlyphCode() const

ovoid setHorizontalBearing(const osg::Vec2& bearing)

oconst osg::Vec2& getHorizontalBearing() const

ovoid setHorizontalAdvance(float advance)

ofloat getHorizontalAdvance() const

ovoid setVerticalBearing(const osg::Vec2& bearing)

oconst osg::Vec2& getVerticalBearing() const

ovoid setVerticalAdvance(float advance)

ofloat getVerticalAdvance() const

ovoid setTexture(GlyphTexture* texture)

oGlyphTexture* getTexture()

oconst GlyphTexture* getTexture() const

oosg::StateSet* getStateSet()

oconst osg::StateSet* getStateSet() const

ovoid setTexturePosition(int posX, int posY)

oint getTexturePositionX() const

oint getTexturePositionY() const

ovoid setMinTexCoord(const osg::Vec2& coord)

oconst osg::Vec2& getMinTexCoord() const

ovoid setMaxTexCoord(const osg::Vec2& coord)

oconst osg::Vec2& getMaxTexCoord() const

ovoid subload() const

ovoid draw(osg::State& state) const

oFont* _font

ounsigned int _glyphCode

oosg::Vec2 _horizontalBearing

ofloat _horizontalAdvance

oosg::Vec2 _verticalBearing

ofloat _verticalAdvance

oGlyphTexture* _texture

oint _texturePosX

oint _texturePosY

oosg::Vec2 _minTexCoord

oosg::Vec2 _maxTexCoord

otypedef osg::buffered_value<GLuint> GLObjectList

omutable GLObjectList _globjList


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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