OpenSceneGraph
3.0.1
|
Public Member Functions | |
FontImplementation () | |
virtual std::string | getFileName () const =0 |
virtual bool | supportsMultipleFontResolutions () const =0 |
virtual Glyph * | getGlyph (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 Glyph3D * | getGlyph3D (unsigned int charcode)=0 |
Get a Glyph3D for specified charcode. | |
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. | |
void | addGlyph (const FontResolution &fontRes, unsigned int charcode, Glyph *glyph) |
Public Attributes | |
Font * | _facade |
osgText::Font::FontImplementation::FontImplementation | ( | ) | [inline] |
void osgText::Font::FontImplementation::addGlyph | ( | const FontResolution & | fontRes, |
unsigned int | charcode, | ||
Glyph * | glyph | ||
) | [inline] |
virtual std::string osgText::Font::FontImplementation::getFileName | ( | ) | const [pure virtual] |
Implemented in osgQt::QFontImplementation.
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.
Implemented in osgQt::QFontImplementation.
virtual Glyph3D* osgText::Font::FontImplementation::getGlyph3D | ( | unsigned int | charcode | ) | [pure virtual] |
Get a Glyph3D for specified charcode.
Implemented in osgQt::QFontImplementation.
virtual osg::Vec2 osgText::Font::FontImplementation::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.
Implemented in osgQt::QFontImplementation.
virtual bool osgText::Font::FontImplementation::hasVertical | ( | ) | const [pure virtual] |
Return true if this font provides vertical alignments and spacing or glyphs.
Implemented in osgQt::QFontImplementation.
virtual bool osgText::Font::FontImplementation::supportsMultipleFontResolutions | ( | ) | const [pure virtual] |
Implemented in osgQt::QFontImplementation.
![]() | Generated at Mon Oct 3 2011 12:39:49 for the OpenSceneGraph by doxygen 1.7.5. |