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

Method drawStringRightUnderline

src/OpenLoco/src/Graphics/TextRenderer.cpp:2064–2073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2062 }
2063
2064 Ui::Point TextRenderer::drawStringRightUnderline(Ui::Point origin, AdvancedColour colour, StringId stringId, FormatArgumentsView args /* = {}*/)
2065 {
2066 auto& rt = _ctx.currentRenderTarget();
2067
2068 TextDrawingState drawState;
2069 drawState.font = _currentFontSpriteBase;
2070 drawState.fontFlags = _currentFontFlags;
2071
2072 return Impl::drawStringRightUnderline(drawState, _ctx, rt, origin, colour, stringId, args);
2073 }
2074
2075 void TextRenderer::drawStringYOffsets(Ui::Point loc, AdvancedColour colour, const char* str, const int8_t* yOffsets)
2076 {

Callers 1

drawFinanceYearFunction · 0.80

Calls 1

drawStringRightUnderlineFunction · 0.85

Tested by

no test coverage detected