MCPcopy Create free account
hub / github.com/cinder/Cinder / addRightLine

Method addRightLine

src/cinder/Text.cpp:431–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431void 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
440void TextLayout::append( const string &str )
441{

Callers 3

drawMethod · 0.80
drawMethod · 0.80
setupMethod · 0.80

Calls 3

RunClass · 0.85
addRunMethod · 0.80
push_backMethod · 0.45

Tested by 1

setupMethod · 0.64