MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / drawWrapped

Method drawWrapped

3ds/source/textpool.cpp:187–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void TextPool::drawWrapped(const std::string& s, float x, float y, float scale, u32 color, float maxWidth, float depth, u32 alignFlags)
188{
189 const C2D_Text* t = obtain(s, nullptr);
190 C2D_DrawText(t, C2D_WithColor | C2D_WordWrap | alignFlags, x, y, depth, scale, scale, color, maxWidth);
191}
192
193float TextPool::width(const std::string& s, float scale) const
194{

Callers 4

drawWrappedBodyMethod · 0.80
drawEmptyStateMethod · 0.80
drawTopMethod · 0.80
drawBottomMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected