| 2724 | } |
| 2725 | |
| 2726 | const ImFontGlyph* ImFont::FindGlyph(ImWchar c) const |
| 2727 | { |
| 2728 | if (c >= IndexLookup.Size) |
| 2729 | return FallbackGlyph; |
| 2730 | const ImWchar i = IndexLookup.Data[c]; |
| 2731 | if (i == (ImWchar)-1) |
| 2732 | return FallbackGlyph; |
| 2733 | return &Glyphs.Data[i]; |
| 2734 | } |
| 2735 | |
| 2736 | const ImFontGlyph* ImFont::FindGlyphNoFallback(ImWchar c) const |
| 2737 | { |
no outgoing calls
no test coverage detected