MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / drawStringLeftUnderline

Method drawStringLeftUnderline

src/OpenLoco/src/Graphics/TextRenderer.cpp:1987–1996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1985 }
1986
1987 Ui::Point TextRenderer::drawStringLeftUnderline(Ui::Point origin, AdvancedColour colour, StringId stringId, FormatArgumentsView args /* = {}*/)
1988 {
1989 auto& rt = _ctx.currentRenderTarget();
1990
1991 TextDrawingState drawState;
1992 drawState.font = _currentFontSpriteBase;
1993 drawState.fontFlags = _currentFontFlags;
1994
1995 return Impl::drawStringLeftUnderline(drawState, _ctx, rt, origin, colour, stringId, args);
1996 }
1997
1998 Ui::Point TextRenderer::drawStringLeftWrapped(Ui::Point origin, uint16_t width, AdvancedColour colour, StringId stringId, FormatArgumentsView args /* = {}*/)
1999 {

Callers 1

drawFunction · 0.80

Calls 1

drawStringLeftUnderlineFunction · 0.85

Tested by

no test coverage detected