MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / GetDefaultFont

Method GetDefaultFont

include/imgui/imgui.cpp:9030–9037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9028}
9029
9030ImFont* ImGui::GetDefaultFont()
9031{
9032 ImGuiContext& g = *GImGui;
9033 ImFontAtlas* atlas = g.IO.Fonts;
9034 if (atlas->Builder == NULL || atlas->Fonts.Size == 0)
9035 ImFontAtlasBuildMain(atlas);
9036 return g.IO.FontDefault ? g.IO.FontDefault : atlas->Fonts[0];
9037}
9038
9039// EXPERIMENTAL. Use ImTextureDataQueueUpload() to queue updates.
9040void ImGui::RegisterUserTexture(ImTextureData* tex)

Callers

nothing calls this directly

Calls 1

ImFontAtlasBuildMainFunction · 0.85

Tested by

no test coverage detected