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

Function TextBox

include/cinder/Text.h:96–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 enum { GROW = 0 };
95
96 TextBox() : mAlign( LEFT ), mSize( GROW, GROW ), mFont( Font::getDefault() ), mInvalid( true ), mColor( 1, 1, 1, 1 ), mBackgroundColor( 0, 0, 0, 0 ), mPremultiplied( false ), mLigate( true ) {}
97
98 TextBox& size( ivec2 sz ) { setSize( sz ); return *this; }
99 TextBox& size( int width, int height ) { setSize( ivec2( width, height ) ); return *this; }

Callers 15

ItemMethod · 0.85
makeTextMethod · 0.85
processNumericalMethod · 0.85
drawTextViewMethod · 0.85
renderMethod · 0.85
renderTweetMethod · 0.85
drawTextSpanMethod · 0.85
renderSnapshotMethod · 0.85
drawMethod · 0.85
drawStringMethod · 0.85
drawStringWrappedMethod · 0.85
measureStringMethod · 0.85

Calls

no outgoing calls

Tested by 2

renderSnapshotMethod · 0.68
drawMethod · 0.68