OpenSceneGraph 2.8.4
Public Member Functions | Public Attributes
osgText::Font3D::Font3DImplementation Class Reference
Inheritance diagram for osgText::Font3D::Font3DImplementation:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Font3DImplementation ()
virtual std::string getFileName () const =0
virtual Glyph3DgetGlyph (unsigned int charcode)=0
 Get a Glyph for specified charcode, and the font size nearest to the current font size hint.
virtual osg::Vec2 getKerning (unsigned int leftcharcode, unsigned int rightcharcode, KerningType kerningType)=0
 Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint.
virtual bool hasVertical () const =0
 Return true if this font provides vertical alignments and spacing or glyphs.
virtual float getScale () const =0
void setFontWidth (unsigned int width)
void setFontHeight (unsigned int height)
void setFontDepth (unsigned int depth)

Public Attributes

Font3D_facade

Constructor & Destructor Documentation

osgText::Font3D::Font3DImplementation::Font3DImplementation ( ) [inline]

Member Function Documentation

virtual std::string osgText::Font3D::Font3DImplementation::getFileName ( ) const [pure virtual]
virtual Glyph3D* osgText::Font3D::Font3DImplementation::getGlyph ( unsigned int  charcode) [pure virtual]

Get a Glyph for specified charcode, and the font size nearest to the current font size hint.

virtual osg::Vec2 osgText::Font3D::Font3DImplementation::getKerning ( unsigned int  leftcharcode,
unsigned int  rightcharcode,
KerningType  kerningType 
) [pure virtual]

Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint.

virtual float osgText::Font3D::Font3DImplementation::getScale ( ) const [pure virtual]
virtual bool osgText::Font3D::Font3DImplementation::hasVertical ( ) const [pure virtual]

Return true if this font provides vertical alignments and spacing or glyphs.

void osgText::Font3D::Font3DImplementation::setFontDepth ( unsigned int  depth) [inline]
void osgText::Font3D::Font3DImplementation::setFontHeight ( unsigned int  height) [inline]
void osgText::Font3D::Font3DImplementation::setFontWidth ( unsigned int  width) [inline]

Member Data Documentation


The documentation for this class was generated from the following file:

osg logo
Generated at Sun Jan 8 2012 13:16:55 for the OpenSceneGraph by doxygen 1.7.4.