MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / drawStringRawSprite

Function drawStringRawSprite

src/openrct2/drawing/Drawing.String.cpp:472–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470 }
471
472 static void drawStringRawSprite(RenderTarget& rt, std::string_view text, TextDrawInfo& info)
473 {
474 CodepointView codepoints(text);
475 for (auto codepoint : codepoints)
476 {
477 drawCharacterSprite(rt, codepoint, info);
478 }
479 }
480
481#ifndef DISABLE_TTF
482

Callers 2

drawStringRawTTFFunction · 0.85
processStringLiteralFunction · 0.85

Calls 1

drawCharacterSpriteFunction · 0.85

Tested by

no test coverage detected