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>
47 CSFML_GRAPHICS_API sfFont* sfFont_createFromFile(
const char* filename);
58 CSFML_GRAPHICS_API sfFont* sfFont_createFromMemory(
const void* data,
size_t sizeInBytes);
68 CSFML_GRAPHICS_API sfFont* sfFont_createFromStream(
sfInputStream* stream);
78 CSFML_GRAPHICS_API sfFont* sfFont_copy(
const sfFont* font);
86 CSFML_GRAPHICS_API
void sfFont_destroy(sfFont* font);
100 CSFML_GRAPHICS_API
sfGlyph sfFont_getGlyph(
const sfFont* font, sfUint32 codePoint,
unsigned int characterSize, sfBool bold,
float outlineThickness);
113 CSFML_GRAPHICS_API
float sfFont_getKerning(
const sfFont* font, sfUint32 first, sfUint32 second,
unsigned int characterSize);
124 CSFML_GRAPHICS_API
float sfFont_getLineSpacing(
const sfFont* font,
unsigned int characterSize);
138 CSFML_GRAPHICS_API
float sfFont_getUnderlinePosition(
const sfFont* font,
unsigned int characterSize);
151 CSFML_GRAPHICS_API
float sfFont_getUnderlineThickness(
const sfFont* font,
unsigned int characterSize);
162 CSFML_GRAPHICS_API
const sfTexture* sfFont_getTexture(sfFont* font,
unsigned int characterSize);
176 CSFML_GRAPHICS_API
sfFontInfo sfFont_getInfo(
const sfFont* font);
179 #endif // SFML_FONT_H