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

Method AddText

Source/Graphics/text.cpp:240–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240void TextCanvasTexture::AddText(const char* str, int length, const CanvasTextStyle& style, uint32_t char_limit) {
241 TextMetrics metrics;
242 RenderText(str, length, style, metrics, TMF_DRAW, char_limit);
243}
244
245void TextCanvasTexture::AddTextMultiline(const char* str, int length, const CanvasTextStyle& style, uint32_t char_limit) {
246 TextMetrics metrics;

Callers 8

drawVisualizationMethod · 0.45
ASAddTextFunction · 0.45
ASDrawTextAtlas2Method · 0.45
DrawLoadScreenMethod · 0.45
DrawNametagMethod · 0.45
DrawEditorLabelMethod · 0.45
ASDebugDrawTextFunction · 0.45
AS_ImDrawList_AddTextFunction · 0.45

Calls 6

GetKerningMethod · 0.80
utf8to32Function · 0.50
whatMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected