Added support for handling of wordwrap in osgText::Text, so that whole words

are cut in two, but rather moved completely to the next line.
This commit is contained in:
Robert Osfield
2003-09-15 21:43:54 +00:00
parent 79b87c933e
commit a2f9222753
4 changed files with 439 additions and 108 deletions

View File

@@ -285,6 +285,7 @@ protected:
Font* getActiveFont();
const Font* getActiveFont() const;
String::iterator computeLastCharacterOnLine(osg::Vec2 cursor, String::iterator first,String::iterator last);
// members which have public access.
osg::ref_ptr<Font> _font;