|
OpenSceneGraph
3.0.1
|

Public Member Functions | |
| QFontImplementation (const QFont &font) | |
| virtual | ~QFontImplementation () |
| virtual std::string | getFileName () const |
| virtual bool | supportsMultipleFontResolutions () const |
| virtual osgText::Glyph * | getGlyph (const osgText::FontResolution &fontRes, unsigned int charcode) |
| Get a Glyph for specified charcode, and the font size nearest to the current font size hint. | |
| virtual osgText::Glyph3D * | getGlyph3D (unsigned int charcode) |
| Get a Glyph3D for specified charcode. | |
| virtual osg::Vec2 | getKerning (unsigned int leftcharcode, unsigned int rightcharcode, osgText::KerningType kerningType) |
| 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 |
| Return true if this font provides vertical alignments and spacing or glyphs. | |
Protected Attributes | |
| std::string | _filename |
| QFont | _font |
| osgQt::QFontImplementation::QFontImplementation | ( | const QFont & | font | ) |
| virtual osgQt::QFontImplementation::~QFontImplementation | ( | ) | [virtual] |
| virtual std::string osgQt::QFontImplementation::getFileName | ( | ) | const [virtual] |
Implements osgText::Font::FontImplementation.
| virtual osgText::Glyph* osgQt::QFontImplementation::getGlyph | ( | const osgText::FontResolution & | fontRes, |
| unsigned int | charcode | ||
| ) | [virtual] |
Get a Glyph for specified charcode, and the font size nearest to the current font size hint.
Implements osgText::Font::FontImplementation.
| virtual osgText::Glyph3D* osgQt::QFontImplementation::getGlyph3D | ( | unsigned int | charcode | ) | [inline, virtual] |
Get a Glyph3D for specified charcode.
Implements osgText::Font::FontImplementation.
| virtual osg::Vec2 osgQt::QFontImplementation::getKerning | ( | unsigned int | leftcharcode, |
| unsigned int | rightcharcode, | ||
| osgText::KerningType | kerningType | ||
| ) | [virtual] |
Get a kerning (adjustment of spacing of two adjacent character) for specified charcodes, w.r.t the current font size hint.
Implements osgText::Font::FontImplementation.
| virtual bool osgQt::QFontImplementation::hasVertical | ( | ) | const [virtual] |
Return true if this font provides vertical alignments and spacing or glyphs.
Implements osgText::Font::FontImplementation.
| virtual bool osgQt::QFontImplementation::supportsMultipleFontResolutions | ( | ) | const [inline, virtual] |
Implements osgText::Font::FontImplementation.
std::string osgQt::QFontImplementation::_filename [protected] |
QFont osgQt::QFontImplementation::_font [protected] |
| Generated at Thu Sep 27 2012 17:03:21 for the OpenSceneGraph by doxygen 1.7.6.1. |