MCPcopy Create free account
hub / github.com/VictorGordan/opengl-tutorials / FindGlyphNoFallback

Method FindGlyphNoFallback

ImGUI GLFW Tutorial/imgui/imgui_draw.cpp:3291–3299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3289}
3290
3291const ImFontGlyph* ImFont::FindGlyphNoFallback(ImWchar c) const
3292{
3293 if (c >= (size_t)IndexLookup.Size)
3294 return NULL;
3295 const ImWchar i = IndexLookup.Data[c];
3296 if (i == (ImWchar)-1)
3297 return NULL;
3298 return &Glyphs.Data[i];
3299}
3300
3301const char* ImFont::CalcWordWrapPositionA(float scale, const char* text, const char* text_end, float wrap_width) const
3302{

Callers 2

ImFontAtlasBuildFinishFunction · 0.45
NodeFontFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected