Show
Ignore:
Timestamp:
06/24/03 17:39:59 (11 years ago)
Author:
don
Message:

Updating 5/27/03 backup with 6/20/03 tarball

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgautotransform/osgautotransform.cpp

    r1936 r1982  
    6161        text->setFontResolution(40,40); 
    6262        text->setCharacterSize(size); 
     63        text->setCharacterSizeMode(osgText::Text::SCREEN_COORDS); 
    6364        text->setAlignment(osgText::Text::CENTER_CENTER); 
    6465        text->setAutoRotateToScreen(true); 
    65         text->setAutoScaleToLimitScreenSizeToFontResolution(true); 
    6666        text->setDrawMode(osgText::Text::TEXT_PIXMAP); 
    6767        text->setText(label); 
     
    8888        text->setAlignment(osgText::Text::CENTER_CENTER); 
    8989        text->setAutoRotateToScreen(true); 
    90         text->setAutoScaleToLimitScreenSizeToFontResolution(true); 
     90        text->setCharacterSizeMode(osgText::Text::OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT); 
    9191        text->setText(label); 
    9292