31#include <SFML/Graphics/Export.h>
32#include <SFML/Graphics/FontInfo.h>
33#include <SFML/Graphics/Glyph.h>
34#include <SFML/Graphics/Types.h>
35#include <SFML/System/InputStream.h>
47CSFML_GRAPHICS_API sfFont* sfFont_createFromFile(
const char* filename);
58CSFML_GRAPHICS_API sfFont* sfFont_createFromMemory(
const void* data,
size_t sizeInBytes);
68CSFML_GRAPHICS_API sfFont* sfFont_createFromStream(
sfInputStream* stream);
78CSFML_GRAPHICS_API sfFont* sfFont_copy(
const sfFont* font);
86CSFML_GRAPHICS_API
void sfFont_destroy(sfFont* font);
100CSFML_GRAPHICS_API
sfGlyph sfFont_getGlyph(
const sfFont* font, sfUint32 codePoint,
unsigned int characterSize, sfBool bold,
float outlineThickness);
113CSFML_GRAPHICS_API
float sfFont_getKerning(
const sfFont* font, sfUint32 first, sfUint32 second,
unsigned int characterSize);
124CSFML_GRAPHICS_API
float sfFont_getLineSpacing(
const sfFont* font,
unsigned int characterSize);
138CSFML_GRAPHICS_API
float sfFont_getUnderlinePosition(
const sfFont* font,
unsigned int characterSize);
151CSFML_GRAPHICS_API
float sfFont_getUnderlineThickness(
const sfFont* font,
unsigned int characterSize);
162CSFML_GRAPHICS_API
const sfTexture* sfFont_getTexture(sfFont* font,
unsigned int characterSize);
176CSFML_GRAPHICS_API
sfFontInfo sfFont_getInfo(
const sfFont* font);
sfFontInfo holds various information about a font
sfGlyph describes a glyph (a visual character)