osgText::Font::Font::FontImplementation Class Reference

Inheritance diagram for osgText::Font::Font::FontImplementation:

Inheritance graph
[legend]

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::Font::FontImplementation::FontImplementation (  )  [inline]


Member Function Documentation

void osgText::Font::Font::FontImplementation::addGlyph ( const FontResolution fontRes,
unsigned int  charcode,
Glyph glyph 
) [inline]

virtual std::string osgText::Font::Font::FontImplementation::getFileName (  )  const [pure virtual]

virtual Glyph* osgText::Font::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::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::Font::FontImplementation::hasVertical (  )  const [pure virtual]

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


Member Data Documentation

Font* osgText::Font::Font::FontImplementation::_facade


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

osg logo
Generated at Thu Mar 19 23:40:34 2009 for the OpenSceneGraph by doxygen 1.5.8.