Skip to content

Commit 55bcac4

Browse files
committed
Added more related functions for the text engine API
1 parent 7af713a commit 55bcac4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

include/SDL3_ttf/SDL_ttf.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1726,6 +1726,8 @@ extern SDL_DECLSPEC void SDLCALL TTF_DestroySurfaceTextEngine(TTF_TextEngine *en
17261726
* \since This function is available since SDL_ttf 3.0.0.
17271727
*
17281728
* \sa TTF_DestroyRendererTextEngine
1729+
* \sa TTF_DrawRendererText
1730+
* \sa TTF_CreateRendererTextEngineWithProperties
17291731
*/
17301732
extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateRendererTextEngine(SDL_Renderer *renderer);
17311733

@@ -1749,7 +1751,9 @@ extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateRendererTextEngine(SDL_Re
17491751
*
17501752
* \since This function is available since SDL_ttf 3.0.0.
17511753
*
1754+
* \sa TTF_CreateRendererTextEngine
17521755
* \sa TTF_DestroyRendererTextEngine
1756+
* \sa TTF_DrawRendererText
17531757
*/
17541758
extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateRendererTextEngineWithProperties(SDL_PropertiesID props);
17551759

@@ -1812,7 +1816,9 @@ extern SDL_DECLSPEC void SDLCALL TTF_DestroyRendererTextEngine(TTF_TextEngine *e
18121816
*
18131817
* \since This function is available since SDL_ttf 3.0.0.
18141818
*
1819+
* \sa TTF_CreateGPUTextEngineWithProperties
18151820
* \sa TTF_DestroyGPUTextEngine
1821+
* \sa TTF_GetGPUTextDrawData
18161822
*/
18171823
extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateGPUTextEngine(SDL_GPUDevice *device);
18181824

@@ -1836,7 +1842,9 @@ extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateGPUTextEngine(SDL_GPUDevi
18361842
*
18371843
* \since This function is available since SDL_ttf 3.0.0.
18381844
*
1845+
* \sa TTF_CreateGPUTextEngine
18391846
* \sa TTF_DestroyGPUTextEngine
1847+
* \sa TTF_GetGPUTextDrawData
18401848
*/
18411849
extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateGPUTextEngineWithProperties(SDL_PropertiesID props);
18421850

@@ -1890,7 +1898,7 @@ typedef struct TTF_GPUAtlasDrawSequence
18901898
* \sa TTF_CreateGPUTextEngine
18911899
* \sa TTF_CreateText
18921900
*/
1893-
extern SDL_DECLSPEC TTF_GPUAtlasDrawSequence* SDLCALL TTF_GetGPUTextDrawData(TTF_Text *text);
1901+
extern SDL_DECLSPEC TTF_GPUAtlasDrawSequence * SDLCALL TTF_GetGPUTextDrawData(TTF_Text *text);
18941902

18951903
/**
18961904
* Destroy a text engine created for drawing text with the SDL GPU API.

0 commit comments

Comments
 (0)