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

Function ASAddTextMultiline

Source/Graphics/text.cpp:600–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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}
603
604static void ASGetTextMetricsInfo(TextCanvasTexture* tct, const std::string& str, const CanvasTextStyle& style, TextMetrics& metrics, uint32_t char_count_output) {
605 tct->GetTextMetricsInfo(str.c_str(), str.length(), style, metrics, char_count_output);

Callers

nothing calls this directly

Calls 3

AddTextMultilineMethod · 0.80
c_strMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected