- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWrappers/deprecated-dotosg/osgText/IO_TextBase.cpp
r12292 r13041 138 138 itAdvanced = true; 139 139 } 140 140 141 141 if (fr.matchSequence("axisAlignment %w")) 142 142 { … … 329 329 fw.indent() << "maximumWidth " << text.getMaximumWidth() << std::endl; 330 330 } 331 331 332 332 if (text.getMaximumHeight()>0.0f) 333 333 { … … 339 339 fw.indent() << "lineSpacing " << text.getLineSpacing() << std::endl; 340 340 } 341 341 342 342 // alignment 343 343 fw.indent() << "alignment "; … … 347 347 case osgText::Text::LEFT_CENTER : fw << "LEFT_CENTER" << std::endl; break; 348 348 case osgText::Text::LEFT_BOTTOM : fw << "LEFT_BOTTOM" << std::endl; break; 349 349 350 350 case osgText::Text::CENTER_TOP: fw << "CENTER_TOP" << std::endl; break; 351 351 case osgText::Text::CENTER_CENTER: fw << "CENTER_CENTER" << std::endl; break; 352 352 case osgText::Text::CENTER_BOTTOM: fw << "CENTER_BOTTOM" << std::endl; break; 353 353 354 354 case osgText::Text::RIGHT_TOP: fw << "RIGHT_TOP" << std::endl; break; 355 355 case osgText::Text::RIGHT_CENTER: fw << "RIGHT_CENTER" << std::endl; break; 356 356 case osgText::Text::RIGHT_BOTTOM: fw << "RIGHT_BOTTOM" << std::endl; break; 357 357 358 358 case osgText::Text::LEFT_BASE_LINE: fw << "LEFT_BASE_LINE" << std::endl; break; 359 359 case osgText::Text::CENTER_BASE_LINE:fw << "CENTER_BASE_LINE" << std::endl; break; 360 360 case osgText::Text::RIGHT_BASE_LINE: fw << "RIGHT_BASE_LINE" << std::endl; break; 361 361 362 362 case osgText::Text::LEFT_BOTTOM_BASE_LINE: fw << "LEFT_BOTTOM_BASE_LINE" << std::endl; break; 363 363 case osgText::Text::CENTER_BOTTOM_BASE_LINE:fw << "CENTER_BOTTOM_BASE_LINE" << std::endl; break; … … 427 427 428 428 //std::copy(textstring.begin(),textstring.end(),std::back_inserter(str)); 429 429 430 430 fw.indent() << "text " << fw.wrapString(str) << std::endl; 431 431 }
