diff --git a/src/SFML/Graphics/Font.cpp b/src/SFML/Graphics/Font.cpp index 320c269..6f003e9 100644 --- a/src/SFML/Graphics/Font.cpp +++ b/src/SFML/Graphics/Font.cpp @@ -31,8 +31,6 @@ #include -//////////////////////////////////////////////////////////// -/// Create a new font from a file //////////////////////////////////////////////////////////// sfFont* sfFont_createFromFile(const char* filename) { @@ -47,8 +45,6 @@ sfFont* sfFont_createFromFile(const char* filename) } -//////////////////////////////////////////////////////////// -/// Create a new font from a file in memory //////////////////////////////////////////////////////////// sfFont* sfFont_createFromMemory(const void* data, size_t sizeInBytes) { @@ -63,8 +59,6 @@ sfFont* sfFont_createFromMemory(const void* data, size_t sizeInBytes) } -//////////////////////////////////////////////////////////// -/// Create a new font from a custom stream //////////////////////////////////////////////////////////// sfFont* sfFont_createFromStream(sfInputStream* stream) { @@ -82,8 +76,6 @@ sfFont* sfFont_createFromStream(sfInputStream* stream) } -//////////////////////////////////////////////////////////// -/// Copy an existing font //////////////////////////////////////////////////////////// sfFont* sfFont_copy(const sfFont* font) { @@ -93,8 +85,6 @@ sfFont* sfFont_copy(const sfFont* font) } -//////////////////////////////////////////////////////////// -/// Destroy an existing font //////////////////////////////////////////////////////////// void sfFont_destroy(sfFont* font) { @@ -102,8 +92,6 @@ void sfFont_destroy(sfFont* font) } -//////////////////////////////////////////////////////////// -/// Get a glyph in a font //////////////////////////////////////////////////////////// sfGlyph sfFont_getGlyph(sfFont* font, sfUint32 codePoint, unsigned int characterSize, sfBool bold) { @@ -126,8 +114,6 @@ sfGlyph sfFont_getGlyph(sfFont* font, sfUint32 codePoint, unsigned int character } -//////////////////////////////////////////////////////////// -/// Get the kerning value corresponding to a given pair of characters in a font //////////////////////////////////////////////////////////// float sfFont_getKerning(sfFont* font, sfUint32 first, sfUint32 second, unsigned int characterSize) { @@ -135,8 +121,6 @@ float sfFont_getKerning(sfFont* font, sfUint32 first, sfUint32 second, unsigned } -//////////////////////////////////////////////////////////// -/// Get the line spacing value //////////////////////////////////////////////////////////// float sfFont_getLineSpacing(sfFont* font, unsigned int characterSize) { @@ -144,8 +128,6 @@ float sfFont_getLineSpacing(sfFont* font, unsigned int characterSize) } -//////////////////////////////////////////////////////////// -/// Get the texture containing the glyphs of a given size in a font //////////////////////////////////////////////////////////// const sfTexture* sfFont_getTexture(sfFont* font, unsigned int characterSize) {