| 429 | } |
| 430 | |
| 431 | void TextLayout::addRightLine( const string &line ) |
| 432 | { |
| 433 | shared_ptr<Line> newLine( new Line() ); |
| 434 | newLine->addRun( Run( line, mCurrentFont, mCurrentColor ) ); |
| 435 | newLine->mJustification = Line::RIGHT; |
| 436 | newLine->mLeadingOffset = mCurrentLeadingOffset; |
| 437 | mLines.push_back( newLine ); |
| 438 | } |
| 439 | |
| 440 | void TextLayout::append( const string &str ) |
| 441 | { |