OpenSceneGraph  3.0.1
Public Member Functions | Protected Attributes
osgQt::QFontImplementation Class Reference
Inheritance diagram for osgQt::QFontImplementation:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 QFontImplementation (const QFont &font)
virtual ~QFontImplementation ()
virtual std::string getFileName () const
virtual bool supportsMultipleFontResolutions () const
virtual osgText::GlyphgetGlyph (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::Glyph3DgetGlyph3D (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

Constructor & Destructor Documentation

osgQt::QFontImplementation::QFontImplementation ( const QFont &  font)
virtual osgQt::QFontImplementation::~QFontImplementation ( ) [virtual]

Member Function Documentation

virtual std::string osgQt::QFontImplementation::getFileName ( ) const [virtual]
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]

Member Data Documentation

std::string osgQt::QFontImplementation::_filename [protected]

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

osg logo
Generated at Mon Oct 3 2011 12:39:48 for the OpenSceneGraph by doxygen 1.7.5.