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

Method AddTextMultiline

Source/Graphics/text.cpp:245–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void TextCanvasTexture::AddTextMultiline(const char* str, int length, const CanvasTextStyle& style, uint32_t char_limit) {
246 TextMetrics metrics;
247 RenderText(str, length, style, metrics, TMF_DRAW | TMF_AUTO_NEWLINE, char_limit);
248}
249
250void TextCanvasTexture::GetTextMetricsInfo(const char* str, int length, const CanvasTextStyle& style, TextMetrics& metrics, uint32_t char_limit) {
251 RenderText(str, length, style, metrics, TMF_METRICS, char_limit);

Callers 1

ASAddTextMultilineFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected