| 3279 | } |
| 3280 | |
| 3281 | const ImFontGlyph* ImFont::FindGlyph(ImWchar c) const |
| 3282 | { |
| 3283 | if (c >= (size_t)IndexLookup.Size) |
| 3284 | return FallbackGlyph; |
| 3285 | const ImWchar i = IndexLookup.Data[c]; |
| 3286 | if (i == (ImWchar)-1) |
| 3287 | return FallbackGlyph; |
| 3288 | return &Glyphs.Data[i]; |
| 3289 | } |
| 3290 | |
| 3291 | const ImFontGlyph* ImFont::FindGlyphNoFallback(ImWchar c) const |
| 3292 | { |
no outgoing calls
no test coverage detected