| 3310 | } |
| 3311 | |
| 3312 | const ImFontGlyph* ImFont::FindGlyph(ImWchar c) const |
| 3313 | { |
| 3314 | if (c >= (size_t)IndexLookup.Size) |
| 3315 | return FallbackGlyph; |
| 3316 | const ImWchar i = IndexLookup.Data[c]; |
| 3317 | if (i == (ImWchar)-1) |
| 3318 | return FallbackGlyph; |
| 3319 | return &Glyphs.Data[i]; |
| 3320 | } |
| 3321 | |
| 3322 | const ImFontGlyph* ImFont::FindGlyphNoFallback(ImWchar c) const |
| 3323 | { |
no outgoing calls
no test coverage detected