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

Method WordNode

samples/_timeline/VisualDictionary/src/WordNode.cpp:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14gl::TextureFontRef WordNode::sFont;
15
16WordNode::WordNode( const string &word )
17 : mWord( word ), mShouldBeDeleted( false ), mIsSelected( false )
18{
19 mWordPixelLength = sFont->measureString( mWord ).x;
20}
21
22bool WordNode::isPointInside( const vec2 &pt ) const
23{

Callers

nothing calls this directly

Calls 1

measureStringMethod · 0.80

Tested by

no test coverage detected