#include <OSGTextLayoutResult.h>
Public Member Functions | |
| TextLayoutResult () | |
| void | clear () |
| UInt32 | getNumGlyphs () const |
Public Attributes | |
| std::vector< TextGlyph::Index > | indices |
| std::vector< Vec2f > | positions |
| std::vector< Vec2f > | lineBounds |
| Vec2f | textBounds |
Definition at line 63 of file OSGTextLayoutResult.h.
|
|
Creates a new TextLayoutResult object. Definition at line 43 of file OSGTextLayoutResult.inl. 00044 : indices(), positions(), lineBounds(), textBounds() 00045 {}
|
|
|
Clears the TextLayoutResult object. Definition at line 56 of file OSGTextLayoutResult.cpp. References indices, lineBounds, positions, osg::VecStorage2< ValueTypeT >::setValues(), and textBounds. 00057 { 00058 indices.clear(); 00059 positions.clear(); 00060 lineBounds.clear(); 00061 textBounds.setValues(0.f, 0.f); 00062 }
|
|
|
Returns the number of glyph indices that have a corresponding position.
Definition at line 48 of file OSGTextLayoutResult.inl. References indices, and positions. Referenced by osg::TextTXFFace::addToGeom(), osg::TextFace::calculateBoundingBox(), osg::SimpleStatisticsForeground::draw(), osg::GraphicStatisticsForeground::drawString(), osg::TextVectorFace::fillGeo(), and osg::TextPixmapFace::makeImage().
|
|
|
The glyph indices Definition at line 75 of file OSGTextLayoutResult.h. Referenced by osg::TextTXFFace::addToGeom(), osg::TextFace::calculateBoundingBox(), clear(), osg::SimpleStatisticsForeground::draw(), osg::GraphicStatisticsForeground::drawString(), osg::TextVectorFace::fillGeo(), getNumGlyphs(), and osg::TextPixmapFace::makeImage(). |
|
|
The positions of the glyphs Definition at line 78 of file OSGTextLayoutResult.h. Referenced by osg::TextTXFFace::addToGeom(), osg::TextFace::adjustLineOrigin(), osg::TextFace::calculateBoundingBox(), clear(), osg::SimpleStatisticsForeground::draw(), osg::GraphicStatisticsForeground::drawString(), osg::TextVectorFace::fillGeo(), getNumGlyphs(), and osg::TextPixmapFace::makeImage(). |
|
|
The line bounds Definition at line 88 of file OSGTextLayoutResult.h. Referenced by clear(). |
|
|
The text bounds Definition at line 91 of file OSGTextLayoutResult.h. Referenced by clear(). |
1.4.3