Removed excessive documentation to remain more consistant with the rest of the code base

This commit is contained in:
Zachariah Brown committed 2015-02-23 20:59:55 -05:00
1 parent 302048d29e
commit 6667deca6f
1 file changed
-18
-18
View File
@@ -31,8 +31,6 @@
#include <SFML/CallbackStream.h> #include <SFML/CallbackStream.h>
////////////////////////////////////////////////////////////
/// Create a new font from a file
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
sfFont* sfFont_createFromFile(const char* filename) 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) 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) sfFont* sfFont_createFromStream(sfInputStream* stream)
{ {
@@ -82,8 +76,6 @@ sfFont* sfFont_createFromStream(sfInputStream* stream)
} }
////////////////////////////////////////////////////////////
/// Copy an existing font
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
sfFont* sfFont_copy(const sfFont* 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) 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) 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) 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) 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) const sfTexture* sfFont_getTexture(sfFont* font, unsigned int characterSize)
{ {