MCPcopy Create free account
hub / github.com/clementgallet/libTAS / ClearOutputData

Method ClearOutputData

src/external/imgui/imgui_draw.cpp:3272–3284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3270}
3271
3272void ImFont::ClearOutputData()
3273{
3274 FontSize = 0.0f;
3275 FallbackAdvanceX = 0.0f;
3276 Glyphs.clear();
3277 IndexAdvanceX.clear();
3278 IndexLookup.clear();
3279 FallbackGlyph = NULL;
3280 ContainerAtlas = NULL;
3281 DirtyLookupTables = true;
3282 Ascent = Descent = 0.0f;
3283 MetricsTotalSurface = 0;
3284}
3285
3286static ImWchar FindFirstExistingGlyph(ImFont* font, const ImWchar* candidate_chars, int candidate_chars_count)
3287{

Callers 1

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected