From fa9adea410b76ac48e038eaa19badd14139793eb Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 6 Jul 2022 11:20:24 +0300
Subject: [PATCH] fixed \since fields for several public procedures.
---
SDL_ttf.h | 130 ++++++++++++++++++++++++++++--------------------------
1 file changed, 67 insertions(+), 63 deletions(-)
diff --git a/SDL_ttf.h b/SDL_ttf.h
index c83bfc3..0ce2162 100644
--- a/SDL_ttf.h
+++ b/SDL_ttf.h
@@ -108,7 +108,7 @@ extern "C" {
*
* \returns a pointer to the version information.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC const SDL_version * SDLCALL TTF_Linked_Version(void);
@@ -154,7 +154,7 @@ extern DECLSPEC void SDLCALL TTF_GetHarfBuzzVersion(int *major, int *minor, int
*
* \param swapped boolean to indicate whether text is byteswapped
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC void SDLCALL TTF_ByteSwappedUNICODE(SDL_bool swapped);
@@ -179,7 +179,7 @@ typedef struct _TTF_Font TTF_Font;
*
* \returns 0 on success, -1 on error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_Quit
*/
@@ -198,7 +198,7 @@ extern DECLSPEC int SDLCALL TTF_Init(void);
* \param ptsize point size to use for the newly-opened font.
* \returns a valid TTF_Font, or NULL on error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_CloseFont
*/
@@ -222,7 +222,7 @@ extern DECLSPEC TTF_Font * SDLCALL TTF_OpenFont(const char *file, int ptsize);
* \param index index of the face in the font file.
* \returns a valid TTF_Font, or NULL on error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_CloseFont
*/
@@ -247,7 +247,7 @@ extern DECLSPEC TTF_Font * SDLCALL TTF_OpenFontIndex(const char *file, int ptsiz
* \param ptsize point size to use for the newly-opened font.
* \returns a valid TTF_Font, or NULL on error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_CloseFont
*/
@@ -277,7 +277,7 @@ extern DECLSPEC TTF_Font * SDLCALL TTF_OpenFontRW(SDL_RWops *src, int freesrc, i
* \param index index of the face in the font file.
* \returns a valid TTF_Font, or NULL on error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_CloseFont
*/
@@ -448,7 +448,7 @@ extern DECLSPEC int SDLCALL TTF_SetFontSizeDPI(TTF_Font *font, int ptsize, unsig
* \param font the font to query.
* \returns the current font style, as a set of bit flags.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_SetFontStyle
*/
@@ -470,7 +470,7 @@ extern DECLSPEC int SDLCALL TTF_GetFontStyle(const TTF_Font *font);
* \param font the font to set a new style on.
* \param style the new style values to set, OR'd together.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_GetFontStyle
*/
@@ -482,7 +482,7 @@ extern DECLSPEC void SDLCALL TTF_SetFontStyle(TTF_Font *font, int style);
* \param font the font to query.
* \returns the font's current outline value.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_SetFontOutline
*/
@@ -494,7 +494,7 @@ extern DECLSPEC int SDLCALL TTF_GetFontOutline(const TTF_Font *font);
* \param font the font to set a new outline on.
* \param outline positive outline value, 0 to default.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_GetFontOutline
*/
@@ -524,7 +524,7 @@ extern DECLSPEC void SDLCALL TTF_SetFontOutline(TTF_Font *font, int outline);
* \param font the font to query.
* \returns the font's current hinter value.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_SetFontHinting
*/
@@ -546,7 +546,7 @@ extern DECLSPEC int SDLCALL TTF_GetFontHinting(const TTF_Font *font);
* \param font the font to set a new hinter setting on.
* \param hinting the new hinter setting.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_GetFontHinting
*/
@@ -571,7 +571,7 @@ extern DECLSPEC void SDLCALL TTF_SetFontHinting(TTF_Font *font, int hinting);
* \param font the font to query.
* \returns the font's current wrap alignment option.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.20.0.
*
* \sa TTF_SetFontWrappedAlign
*/
@@ -589,7 +589,7 @@ extern DECLSPEC int SDLCALL TTF_GetFontWrappedAlign(const TTF_Font *font);
* \param font the font to set a new wrap alignment option on.
* \param align the new wrap alignment option.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.20.0.
*
* \sa TTF_GetFontWrappedAlign
*/
@@ -603,7 +603,7 @@ extern DECLSPEC void SDLCALL TTF_SetFontWrappedAlign(TTF_Font *font, int align);
* \param font the font to query.
* \returns the font's height.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC int SDLCALL TTF_FontHeight(const TTF_Font *font);
@@ -615,7 +615,7 @@ extern DECLSPEC int SDLCALL TTF_FontHeight(const TTF_Font *font);
* \param font the font to query.
* \returns the font's ascent.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC int SDLCALL TTF_FontAscent(const TTF_Font *font);
@@ -627,7 +627,7 @@ extern DECLSPEC int SDLCALL TTF_FontAscent(const TTF_Font *font);
* \param font the font to query.
* \returns the font's descent.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC int SDLCALL TTF_FontDescent(const TTF_Font *font);
@@ -637,7 +637,7 @@ extern DECLSPEC int SDLCALL TTF_FontDescent(const TTF_Font *font);
* \param font the font to query.
* \returns the font's recommended spacing.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC int SDLCALL TTF_FontLineSkip(const TTF_Font *font);
@@ -647,7 +647,7 @@ extern DECLSPEC int SDLCALL TTF_FontLineSkip(const TTF_Font *font);
* \param font the font to query.
* \returns non-zero if kerning is enabled, zero otherwise.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC int SDLCALL TTF_GetFontKerning(const TTF_Font *font);
@@ -662,7 +662,7 @@ extern DECLSPEC int SDLCALL TTF_GetFontKerning(const TTF_Font *font);
* \param font the font to set kerning on.
* \param allowed non-zero to allow kerning, zero to disallow.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC void SDLCALL TTF_SetFontKerning(TTF_Font *font, int allowed);
@@ -672,7 +672,7 @@ extern DECLSPEC void SDLCALL TTF_SetFontKerning(TTF_Font *font, int allowed);
* \param font the font to query.
* \returns the number of FreeType font faces.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC long SDLCALL TTF_FontFaces(const TTF_Font *font);
@@ -688,7 +688,7 @@ extern DECLSPEC long SDLCALL TTF_FontFaces(const TTF_Font *font);
* \param font the font to query.
* \returns non-zero if fixed-width, zero if not.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC int SDLCALL TTF_FontFaceIsFixedWidth(const TTF_Font *font);
@@ -704,7 +704,7 @@ extern DECLSPEC int SDLCALL TTF_FontFaceIsFixedWidth(const TTF_Font *font);
* \param font the font to query.
* \returns the font's family name.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC const char * SDLCALL TTF_FontFaceFamilyName(const TTF_Font *font);
@@ -720,7 +720,7 @@ extern DECLSPEC const char * SDLCALL TTF_FontFaceFamilyName(const TTF_Font *font
* \param font the font to query.
* \returns the font's style name.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC const char * SDLCALL TTF_FontFaceStyleName(const TTF_Font *font);
@@ -740,7 +740,7 @@ extern DECLSPEC const char * SDLCALL TTF_FontFaceStyleName(const TTF_Font *font)
* \param ch the character code to check.
* \returns non-zero if font provides a glyph for this character, zero if not.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_GlyphIsProvided32
*/
@@ -781,13 +781,13 @@ extern DECLSPEC int SDLCALL TTF_GlyphIsProvided32(TTF_Font *font, Uint32 ch);
* \param font the font to query.
* \param ch the character code to check.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_GlyphMetrics32
*/
extern DECLSPEC int SDLCALL TTF_GlyphMetrics(TTF_Font *font, Uint16 ch,
- int *minx, int *maxx,
- int *miny, int *maxy, int *advance);
+ int *minx, int *maxx,
+ int *miny, int *maxy, int *advance);
/**
* Query the metrics (dimensions) of a font's 32-bit glyph.
@@ -807,8 +807,8 @@ extern DECLSPEC int SDLCALL TTF_GlyphMetrics(TTF_Font *font, Uint16 ch,
* \since This function is available since SDL_ttf 2.0.18.
*/
extern DECLSPEC int SDLCALL TTF_GlyphMetrics32(TTF_Font *font, Uint32 ch,
- int *minx, int *maxx,
- int *miny, int *maxy, int *advance);
+ int *minx, int *maxx,
+ int *miny, int *maxy, int *advance);
/**
* Calculate the dimensions of a rendered string of Latin1 text.
@@ -829,7 +829,7 @@ extern DECLSPEC int SDLCALL TTF_GlyphMetrics32(TTF_Font *font, Uint32 ch,
* \param h will be filled with height, in pixels, on return.
* \returns 0 if successful, -1 on error.
*
- * \since This function is available since SDL_ttf 2.0.18.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_SizeUTF8
* \sa TTF_SizeUNICODE
@@ -850,7 +850,7 @@ extern DECLSPEC int SDLCALL TTF_SizeText(TTF_Font *font, const char *text, int *
* \param h will be filled with height, in pixels, on return.
* \returns 0 if successful, -1 on error.
*
- * \since This function is available since SDL_ttf 2.0.18.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_SizeUNICODE
*/
@@ -875,7 +875,7 @@ extern DECLSPEC int SDLCALL TTF_SizeUTF8(TTF_Font *font, const char *text, int *
* \param h will be filled with height, in pixels, on return.
* \returns 0 if successful, -1 on error.
*
- * \since This function is available since SDL_ttf 2.0.18.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_SizeUTF8
*/
@@ -990,7 +990,7 @@ extern DECLSPEC int SDLCALL TTF_MeasureUNICODE(TTF_Font *font, const Uint16 *tex
* \param fg the foreground color for the text.
* \returns a new 8-bit, palettized surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderUTF8_Solid
* \sa TTF_RenderUNICODE_Solid
@@ -1020,7 +1020,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderText_Solid(TTF_Font *font,
* \param fg the foreground color for the text.
* \returns a new 8-bit, palettized surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderUTF8_Shaded
* \sa TTF_RenderUTF8_Blended
@@ -1056,7 +1056,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUTF8_Solid(TTF_Font *font,
* \param fg the foreground color for the text.
* \returns a new 8-bit, palettized surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderUTF8_Solid
*/
@@ -1185,12 +1185,12 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_Solid_Wrapped(TTF_Font *
* \param fg the foreground color for the text.
* \returns a new 8-bit, palettized surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderGlyph32_Solid
*/
extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph_Solid(TTF_Font *font,
- Uint16 ch, SDL_Color fg);
+ Uint16 ch, SDL_Color fg);
/**
* Render a single 32-bit glyph at fast quality to a new 8-bit surface.
@@ -1222,7 +1222,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph_Solid(TTF_Font *font,
* \sa TTF_RenderGlyph32_LCD
*/
extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph32_Solid(TTF_Font *font,
- Uint32 ch, SDL_Color fg);
+ Uint32 ch, SDL_Color fg);
/**
* Render Latin1 text at high quality to a new 8-bit surface.
@@ -1252,7 +1252,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph32_Solid(TTF_Font *font,
* \param fg the foreground color for the text.
* \returns a new 8-bit, palettized surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderUTF8_Shaded
* \sa TTF_RenderUNICODE_Shaded
@@ -1283,7 +1283,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderText_Shaded(TTF_Font *font,
* \param fg the foreground color for the text.
* \returns a new 8-bit, palettized surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderUNICODE_Shaded
*/
@@ -1318,7 +1318,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUTF8_Shaded(TTF_Font *font,
* \param fg the foreground color for the text.
* \returns a new 8-bit, palettized surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderUTF8_Shaded
*/
@@ -1451,7 +1451,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_Shaded_Wrapped(TTF_Font
* \param fg the foreground color for the text.
* \returns a new 8-bit, palettized surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderGlyph32_Shaded
*/
@@ -1518,7 +1518,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph32_Shaded(TTF_Font *font,
* \param fg the foreground color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderUTF8_Shaded
* \sa TTF_RenderUNICODE_Shaded
@@ -1548,7 +1548,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderText_Blended(TTF_Font *font,
* \param fg the foreground color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderUNICODE_Blended
*/
@@ -1582,7 +1582,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUTF8_Blended(TTF_Font *font,
* \param fg the foreground color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderUTF8_Blended
*/
@@ -1711,12 +1711,12 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_Blended_Wrapped(TTF_Font
* \param fg the foreground color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_RenderGlyph32_Blended
*/
extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph_Blended(TTF_Font *font,
- Uint16 ch, SDL_Color fg);
+ Uint16 ch, SDL_Color fg);
/**
* Render a single 32-bit glyph at high quality to a new ARGB surface.
@@ -1748,7 +1748,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph_Blended(TTF_Font *font,
* \sa TTF_RenderGlyph32_LCD
*/
extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph32_Blended(TTF_Font *font,
- Uint32 ch, SDL_Color fg);
+ Uint32 ch, SDL_Color fg);
/**
* Render Latin1 text at LCD subpixel quality to a new ARGB surface.
@@ -1778,7 +1778,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph32_Blended(TTF_Font *font,
* \param bg the background color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.19.2.
+ * \since This function is available since SDL_ttf 2.20.0.
*
* \sa TTF_RenderUTF8_LCD
* \sa TTF_RenderUNICODE_LCD
@@ -1809,7 +1809,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderText_LCD(TTF_Font *font,
* \param bg the background color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.19.2.
+ * \since This function is available since SDL_ttf 2.20.0.
*
* \sa TTF_RenderUNICODE_LCD
*/
@@ -1844,7 +1844,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUTF8_LCD(TTF_Font *font,
* \param bg the background color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.19.2.
+ * \since This function is available since SDL_ttf 2.20.0.
*
* \sa TTF_RenderUTF8_LCD
*/
@@ -1878,7 +1878,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_LCD(TTF_Font *font,
* \param bg the background color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.19.2.
+ * \since This function is available since SDL_ttf 2.20.0.
*
* \sa TTF_RenderUTF8_LCD_Wrapped
* \sa TTF_RenderUNICODE_LCD_Wrapped
@@ -1908,7 +1908,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderText_LCD_Wrapped(TTF_Font *font,
* \param bg the background color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.19.2.
+ * \since This function is available since SDL_ttf 2.20.0.
*
* \sa TTF_RenderUTF8_Solid_Wrapped
* \sa TTF_RenderUTF8_Shaded_Wrapped
@@ -1945,7 +1945,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUTF8_LCD_Wrapped(TTF_Font *font,
* \param bg the background color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.19.2.
+ * \since This function is available since SDL_ttf 2.20.0.
*
* \sa TTF_RenderUTF8_LCD_Wrapped
*/
@@ -1980,7 +1980,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_LCD_Wrapped(TTF_Font *fo
* \param bg the background color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.19.2.
+ * \since This function is available since SDL_ttf 2.20.0.
*
* \sa TTF_RenderGlyph32_LCD
*/
@@ -2010,7 +2010,7 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph_LCD(TTF_Font *font,
* \param bg the background color for the text.
* \returns a new 32-bit, ARGB surface, or NULL if there was an error.
*
- * \since This function is available since SDL_ttf 2.0.18.
+ * \since This function is available since SDL_ttf 2.20.0.
*
* \sa TTF_RenderGlyph32_Solid
* \sa TTF_RenderGlyph32_Shaded
@@ -2041,6 +2041,8 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderGlyph32_LCD(TTF_Font *font,
*
* \param font the font to dispose of.
*
+ * \since This function is available since SDL_ttf 2.0.12.
+ *
* \sa TTF_OpenFontIndexDPIRW
* \sa TTF_OpenFontRW
* \sa TTF_OpenFontDPI
@@ -2068,7 +2070,7 @@ extern DECLSPEC void SDLCALL TTF_CloseFont(TTF_Font *font);
* deal with it. A well-written program should call TTF_CloseFont() on any
* open fonts before calling this function!
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*/
extern DECLSPEC void SDLCALL TTF_Quit(void);
@@ -2087,6 +2089,8 @@ extern DECLSPEC void SDLCALL TTF_Quit(void);
* \returns the current number of initialization calls, that need to
* eventually be paired with this many calls to TTF_Quit().
*
+ * \since This function is available since SDL_ttf 2.0.12.
+ *
* \sa TTF_Init
* \sa TTF_Quit
*/
@@ -2107,7 +2111,7 @@ extern DECLSPEC int SDLCALL TTF_WasInit(void);
* \param index the font index, NOT codepoint, of the current character.
* \returns The kerning size between the two specified characters, in pixels, or -1 on error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.12.
*
* \sa TTF_GetFontKerningSizeGlyphs
*/
@@ -2130,7 +2134,7 @@ extern SDL_DEPRECATED DECLSPEC int TTF_GetFontKerningSize(TTF_Font *font, int pr
* \param ch the current character's code, 16 bits.
* \returns The kerning size between the two specified characters, in pixels, or -1 on error.
*
- * \since This function is available since SDL_ttf 2.0.0.
+ * \since This function is available since SDL_ttf 2.0.14.
*
* \sa TTF_GetFontKerningSizeGlyphs32
*/
@@ -2278,7 +2282,7 @@ extern SDL_DEPRECATED DECLSPEC int SDLCALL TTF_SetScript(int script); /* hb_scri
* \param direction the new direction for text to flow.
* \returns 0 on success, or -1 on error.
*
- * \since This function is available since SDL_ttf 2.19.2.
+ * \since This function is available since SDL_ttf 2.20.0.
*/
extern DECLSPEC int SDLCALL TTF_SetFontDirection(TTF_Font *font, TTF_Direction direction);
@@ -2297,7 +2301,7 @@ extern DECLSPEC int SDLCALL TTF_SetFontDirection(TTF_Font *font, TTF_Direction d
* \param script null-terminated string of exactly 4 characters.
* \returns 0 on success, or -1 on error.
*
- * \since This function is available since SDL_ttf 2.19.2.
+ * \since This function is available since SDL_ttf 2.20.0.
*/
extern DECLSPEC int SDLCALL TTF_SetFontScriptName(TTF_Font *font, const char *script);