- Timestamp:
- 06/24/03 17:39:59 (10 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgautotransform/osgautotransform.cpp
r1936 r1982 61 61 text->setFontResolution(40,40); 62 62 text->setCharacterSize(size); 63 text->setCharacterSizeMode(osgText::Text::SCREEN_COORDS); 63 64 text->setAlignment(osgText::Text::CENTER_CENTER); 64 65 text->setAutoRotateToScreen(true); 65 text->setAutoScaleToLimitScreenSizeToFontResolution(true);66 66 text->setDrawMode(osgText::Text::TEXT_PIXMAP); 67 67 text->setText(label); … … 88 88 text->setAlignment(osgText::Text::CENTER_CENTER); 89 89 text->setAutoRotateToScreen(true); 90 text->set AutoScaleToLimitScreenSizeToFontResolution(true);90 text->setCharacterSizeMode(osgText::Text::OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT); 91 91 text->setText(label); 92 92
