MCPcopy Create free account
hub / github.com/cinder/Cinder / ImFontAtlasFontSourceInit

Function ImFontAtlasFontSourceInit

src/imgui/imgui_draw.cpp:3601–3607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3599//-----------------------------------------------------------------------------------------------------------------------------
3600
3601bool ImFontAtlasFontSourceInit(ImFontAtlas* atlas, ImFontConfig* src)
3602{
3603 const ImFontLoader* loader = src->FontLoader ? src->FontLoader : atlas->FontLoader;
3604 if (loader->FontSrcInit != NULL && !loader->FontSrcInit(atlas, src))
3605 return false;
3606 return true;
3607}
3608
3609void ImFontAtlasFontSourceAddToFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* src)
3610{

Callers 3

AddFontMethod · 0.85
ImFontAtlasBuildClearFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected