From 35c58ed7d0f848ce01f04d8ccce23eacbeabf85b Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Thu, 9 May 2024 20:34:50 +0000 Subject: [PATCH] Sync SDL2_ttf wiki -> header --- SDL_ttf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SDL_ttf.h b/SDL_ttf.h index 2b327c90..e991a3c9 100644 --- a/SDL_ttf.h +++ b/SDL_ttf.h @@ -1618,6 +1618,9 @@ extern DECLSPEC SDL_Surface * SDLCALL TTF_RenderUNICODE_Blended(TTF_Font *font, * \param font the font to render with. * \param text text to render, in Latin1 encoding. * \param fg the foreground color for the text. + * \param wrapLength the text is wrapped to multiple lines on line endings and + * on word boundaries if it extends beyond this value in + * pixels. * \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.