MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / LoadFont

Method LoadFont

engine/Poseidon/Graphics/Rendering/Draw/Font.cpp:398–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396 return font;
397 }
398 }
399 // add new font
400 Font* font = new Font;
401 PoseidonAssert(font);
402 font->Load(lowName);
403 font->SetLangID(id.langID);
404 _fonts.Add(font);
405 return font;

Callers 4

OnDrawMethod · 0.45
InitMethod · 0.45
TriAssertTextFitsFunction · 0.45
TriAssertCsvTextFitsFunction · 0.45

Calls 1

LoadMethod · 0.45

Tested by 2

TriAssertTextFitsFunction · 0.36
TriAssertCsvTextFitsFunction · 0.36