179 #endif // SFML_FONT_H #define CSFML_GRAPHICS_API
CSFML_GRAPHICS_API sfGlyph sfFont_getGlyph(sfFont *font, sfUint32 codePoint, unsigned int characterSize, sfBool bold, float outlineThickness)
Get a glyph in a font.
CSFML_GRAPHICS_API float sfFont_getKerning(sfFont *font, sfUint32 first, sfUint32 second, unsigned int characterSize)
Get the kerning value corresponding to a given pair of characters in a font.
CSFML_GRAPHICS_API float sfFont_getLineSpacing(sfFont *font, unsigned int characterSize)
Get the line spacing value.
CSFML_GRAPHICS_API const sfTexture * sfFont_getTexture(sfFont *font, unsigned int characterSize)
Get the texture containing the glyphs of a given size in a font.
sfFontInfo holds various information about a font
CSFML_GRAPHICS_API void sfFont_destroy(sfFont *font)
Destroy an existing font.
CSFML_GRAPHICS_API float sfFont_getUnderlinePosition(sfFont *font, unsigned int characterSize)
Get the position of the underline.
CSFML_GRAPHICS_API sfFontInfo sfFont_getInfo(const sfFont *font)
Get the font information.
sfGlyph describes a glyph (a visual character)
CSFML_GRAPHICS_API sfFont * sfFont_createFromStream(sfInputStream *stream)
Create a new image font a custom stream.
CSFML_GRAPHICS_API sfFont * sfFont_createFromFile(const char *filename)
Create a new font from a file.
CSFML_GRAPHICS_API sfFont * sfFont_copy(const sfFont *font)
Copy an existing font.
struct sfTexture sfTexture
CSFML_GRAPHICS_API sfFont * sfFont_createFromMemory(const void *data, size_t sizeInBytes)
Create a new image font a file in memory.
CSFML_GRAPHICS_API float sfFont_getUnderlineThickness(sfFont *font, unsigned int characterSize)
Get the thickness of the underline.