| 185 | } |
| 186 | |
| 187 | void 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 | |
| 193 | float TextPool::width(const std::string& s, float scale) const |
| 194 | { |
no outgoing calls
no test coverage detected