MCPcopy Create free account
hub / github.com/FlagBrew/PKSM / parseText

Method parseText

3ds/source/gui/gui.cpp:871–877  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

869}
870
871std::shared_ptr<TextParse::Text> Gui::parseText(
872 const std::string& str, FontSize size, float maxWidth)
873{
874 static_assert(std::is_same<FontSize, float>::value);
875 maxWidth /= size;
876 return textBuffer->parse(str, maxWidth);
877}
878
879void Gui::text(std::shared_ptr<TextParse::Text> text, float x, float y, FontSize sizeX,
880 FontSize sizeY, PKSM_Color color, TextPosX positionX, TextPosY positionY)

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected