MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ASAddText

Function ASAddText

Source/Graphics/text.cpp:597–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597static void ASAddText(TextCanvasTexture* tct, const std::string& str, const CanvasTextStyle& style, uint32_t char_count_output) {
598 tct->AddText(str.c_str(), str.length(), style, char_count_output);
599}
600static void ASAddTextMultiline(TextCanvasTexture* tct, const std::string& str, const CanvasTextStyle& style, uint32_t char_count_output) {
601 tct->AddTextMultiline(str.c_str(), str.length(), style, char_count_output);
602}

Callers

nothing calls this directly

Calls 3

AddTextMethod · 0.45
c_strMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected