Public Member Functions | Public Attributes

osgText::Font3D::Font3DImplementation Class Reference

Inheritance diagram for osgText::Font3D::Font3DImplementation:
osg::Referenced

List of all members.

Public Member Functions

 Font3DImplementation ()
virtual std::string getFileName () const =0
virtual Glyph3DgetGlyph (unsigned int charcode)=0
virtual osg::Vec2 getKerning (unsigned int leftcharcode, unsigned int rightcharcode, KerningType kerningType)=0
virtual bool hasVertical () const =0
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: