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