| 3322 | } |
| 3323 | |
| 3324 | const ImFontGlyph* ImFont::FindGlyph(ImWchar c) const |
| 3325 | { |
| 3326 | if (c >= (size_t)IndexLookup.Size) |
| 3327 | return FallbackGlyph; |
| 3328 | const ImWchar i = IndexLookup.Data[c]; |
| 3329 | if (i == (ImWchar)-1) |
| 3330 | return FallbackGlyph; |
| 3331 | return &Glyphs.Data[i]; |
| 3332 | } |
| 3333 | |
| 3334 | const ImFontGlyph* ImFont::FindGlyphNoFallback(ImWchar c) const |
| 3335 | { |
no outgoing calls
no test coverage detected