Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
OnDraw
Method · 0.45
Init
Method · 0.45
TriAssertTextFits
Function · 0.45
TriAssertCsvTextFits
Function · 0.45
Calls
1
Load
Method · 0.45
Tested by
2
TriAssertTextFits
Function · 0.36
TriAssertCsvTextFits
Function · 0.36