| 2029 | } |
| 2030 | |
| 2031 | Ui::Point TextRenderer::drawStringCentredRaw(Ui::Point origin, uint16_t linebreakCount, AdvancedColour colour, const char* wrappedStr) |
| 2032 | { |
| 2033 | auto& rt = _ctx.currentRenderTarget(); |
| 2034 | |
| 2035 | TextDrawingState drawState; |
| 2036 | drawState.font = _currentFontSpriteBase; |
| 2037 | drawState.fontFlags = _currentFontFlags; |
| 2038 | |
| 2039 | return Impl::drawStringCentredRaw(drawState, _ctx, rt, origin, linebreakCount, colour, wrappedStr); |
| 2040 | } |
| 2041 | |
| 2042 | Ui::Point TextRenderer::drawStringCentredWrapped(Ui::Point origin, uint16_t width, AdvancedColour colour, StringId stringId, FormatArgumentsView args /* = {}*/) |
| 2043 | { |
no test coverage detected