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

Method GetDefaultFont

src/imgui/imgui.cpp:8803–8810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8801}
8802
8803ImFont* ImGui::GetDefaultFont()
8804{
8805 ImGuiContext& g = *GImGui;
8806 ImFontAtlas* atlas = g.IO.Fonts;
8807 if (atlas->Builder == NULL || atlas->Fonts.Size == 0)
8808 ImFontAtlasBuildMain(atlas);
8809 return g.IO.FontDefault ? g.IO.FontDefault : atlas->Fonts[0];
8810}
8811
8812// EXPERIMENTAL: DO NOT USE YET.
8813void ImGui::RegisterUserTexture(ImTextureData* tex)

Callers

nothing calls this directly

Calls 1

ImFontAtlasBuildMainFunction · 0.85

Tested by

no test coverage detected