#include <SFML/Config.h>
Go to the source code of this file.
Typedefs | |
typedef sfFont | sfFont |
sfFont is the low-level class for loading and manipulating character fonts (see sfString) | |
Functions | |
CSFML_API sfFont * | sfFont_Create () |
Create a new empty font. | |
CSFML_API sfFont * | sfFont_CreateFromFile (const char *Filename, unsigned int CharSize, const wchar_t *Charset) |
Create a new font from a file. | |
CSFML_API sfFont * | sfFont_CreateFromMemory (const char *Data, size_t SizeInBytes, unsigned int CharSize, const wchar_t *Charset) |
Create a new image font a file in memory. | |
CSFML_API void | sfFont_Destroy (sfFont *Font) |
Destroy an existing font. | |
CSFML_API sfFont * | sfFont_GetDefaultFont () |
Get the built-in default font (Arial). |
CSFML_API sfFont* sfFont_Create | ( | ) |
Create a new empty font.
CSFML_API sfFont* sfFont_CreateFromFile | ( | const char * | Filename, | |
unsigned int | CharSize, | |||
const wchar_t * | Charset | |||
) |
Create a new font from a file.
Filename | : Path of the font file to load | |
CharSize | : Size of characters in bitmap - the bigger, the higher quality | |
Charset | : Characters set to generate (just pass L"" to get the default charset) |
CSFML_API sfFont* sfFont_CreateFromMemory | ( | const char * | Data, | |
size_t | SizeInBytes, | |||
unsigned int | CharSize, | |||
const wchar_t * | Charset | |||
) |
Create a new image font a file in memory.
Data | : Pointer to the file data in memory | |
SizeInBytes | : Size of the data to load, in bytes | |
CharSize | : Size of characters in bitmap - the bigger, the higher quality | |
Charset | : Characters set to generate (just pass L"" to get the default charset) |
CSFML_API void sfFont_Destroy | ( | sfFont * | Font | ) |
Destroy an existing font.
Font | : Font to delete |
CSFML_API sfFont* sfFont_GetDefaultFont | ( | ) |
Get the built-in default font (Arial).