OpenSceneGraph 2.8.3

osgText::Font::FontImplementation Class Reference

Inheritance diagram for osgText::Font::FontImplementation:

List of all members.

Public Member Functions

 FontImplementation ()
virtual std::string getFileName () const =0
virtual GlyphgetGlyph (const FontResolution &fontRes, 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 (const FontResolution &fontRes, 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.
void addGlyph (const FontResolution &fontRes, unsigned int charcode, Glyph *glyph)

Public Attributes

Font_facade

Constructor & Destructor Documentation

osgText::Font::FontImplementation::FontImplementation ( ) [inline]

Member Function Documentation

void osgText::Font::FontImplementation::addGlyph ( const FontResolution fontRes,
unsigned int  charcode,
Glyph glyph 
) [inline]
virtual std::string osgText::Font::FontImplementation::getFileName ( ) const [pure virtual]
virtual Glyph* osgText::Font::FontImplementation::getGlyph ( const FontResolution fontRes,
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::Font::FontImplementation::getKerning ( const FontResolution fontRes,
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 bool osgText::Font::FontImplementation::hasVertical ( ) const [pure virtual]

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


Member Data Documentation


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

osg logo
Generated at Tue Mar 22 2011 13:20:29 for the OpenSceneGraph by doxygen 1.7.3.