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

Method wrapString

src/OpenLoco/src/Graphics/TextRenderer.cpp:2107–2110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2105 }
2106
2107 std::pair<uint16_t, uint16_t> TextRenderer::wrapString(char* buffer, uint16_t stringWidth) const
2108 {
2109 return Impl::wrapString(_currentFontSpriteBase, buffer, stringWidth);
2110 }
2111
2112 std::pair<uint16_t, uint16_t> TextRenderer::wrapString(Font font, char* buffer, uint16_t stringWidth)
2113 {

Callers

nothing calls this directly

Calls 1

wrapStringFunction · 0.85

Tested by

no test coverage detected