| 287 | } |
| 288 | |
| 289 | gfx::Size Graphics::fitString(const std::string& str, int maxWidth, int align) |
| 290 | { |
| 291 | return doUIStringAlgorithm(str, gfx::ColorNone, gfx::ColorNone, gfx::Rect(0, 0, maxWidth, 0), align, false); |
| 292 | } |
| 293 | |
| 294 | gfx::Size Graphics::doUIStringAlgorithm(const std::string& str, gfx::Color fg, gfx::Color bg, const gfx::Rect& rc, int align, bool draw) |
| 295 | { |
no outgoing calls
no test coverage detected