Added sfFont_hasGlyph

This commit is contained in:
Bruno Van de Velde authored and Lukas Dürrenberger committed 2024-02-19 16:20:12 +01:00
1 parent 8074b3a004
commit 0f4b9a4383
2 files changed
+26

No files matched your search

+7
View File
@@ -114,6 +114,13 @@ sfGlyph sfFont_getGlyph(const sfFont* font, sfUint32 codePoint, unsigned int cha
}
////////////////////////////////////////////////////////////
sfBool sfFont_hasGlyph(const sfFont* font, sfUint32 codePoint)
{
CSFML_CALL_RETURN(font, hasGlyph(codePoint), sfFalse);
}
////////////////////////////////////////////////////////////
float sfFont_getKerning(const sfFont* font, sfUint32 first, sfUint32 second, unsigned int characterSize)
{