MCPcopy Create free account
hub / github.com/SFML/SFML / hasGlyph

Method hasGlyph

src/SFML/Graphics/Font.cpp:276–279  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

274
275////////////////////////////////////////////////////////////
276bool Font::hasGlyph(char32_t codePoint) const
277{
278 return FT_Get_Char_Index(m_fontHandles ? m_fontHandles->face : nullptr, codePoint) != 0;
279}
280
281
282////////////////////////////////////////////////////////////

Callers 1

Font.test.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected