@@ -187,11 +187,11 @@ extern SDL_DECLSPEC TTF_Font * SDLCALL TTF_OpenFontIO(SDL_IOStream *src, bool cl
187
187
* - `TTF_PROP_FONT_CREATE_FILENAME_STRING`: the font file to open, if an
188
188
* SDL_IOStream isn't being used. This is required if
189
189
* `TTF_PROP_FONT_CREATE_IOSTREAM_POINTER` and
190
- * `TTF_PROP_FONT_CREATE_EXISTING_FONT ` aren't set.
190
+ * `TTF_PROP_FONT_CREATE_EXISTING_FONT_POINTER ` aren't set.
191
191
* - `TTF_PROP_FONT_CREATE_IOSTREAM_POINTER`: an SDL_IOStream containing the
192
192
* font to be opened. This should not be closed until the font is closed.
193
193
* This is required if `TTF_PROP_FONT_CREATE_FILENAME_STRING` and
194
- * `TTF_PROP_FONT_CREATE_EXISTING_FONT ` aren't set.
194
+ * `TTF_PROP_FONT_CREATE_EXISTING_FONT_POINTER ` aren't set.
195
195
* - `TTF_PROP_FONT_CREATE_IOSTREAM_OFFSET_NUMBER`: the offset in the iostream
196
196
* for the beginning of the font, defaults to 0.
197
197
* - `TTF_PROP_FONT_CREATE_IOSTREAM_AUTOCLOSE_BOOLEAN`: true if closing the
@@ -208,7 +208,7 @@ extern SDL_DECLSPEC TTF_Font * SDLCALL TTF_OpenFontIO(SDL_IOStream *src, bool cl
208
208
* - `TTF_PROP_FONT_CREATE_VERTICAL_DPI_NUMBER`: the vertical DPI to use for
209
209
* font rendering, defaults to `TTF_PROP_FONT_CREATE_HORIZONTAL_DPI_NUMBER`
210
210
* if set, or 72 otherwise.
211
- * - `TTF_PROP_FONT_CREATE_EXISTING_FONT `: an optional TTF_Font that, if set,
211
+ * - `TTF_PROP_FONT_CREATE_EXISTING_FONT_POINTER `: an optional TTF_Font that, if set,
212
212
* will be used as the font data source and the initial size and style of
213
213
* the new font.
214
214
*
@@ -232,7 +232,7 @@ extern SDL_DECLSPEC TTF_Font * SDLCALL TTF_OpenFontWithProperties(SDL_Properties
232
232
#define TTF_PROP_FONT_CREATE_FACE_NUMBER "SDL_ttf.font.create.face"
233
233
#define TTF_PROP_FONT_CREATE_HORIZONTAL_DPI_NUMBER "SDL_ttf.font.create.hdpi"
234
234
#define TTF_PROP_FONT_CREATE_VERTICAL_DPI_NUMBER "SDL_ttf.font.create.vdpi"
235
- #define TTF_PROP_FONT_CREATE_EXISTING_FONT "SDL_ttf.font.create.existing_font"
235
+ #define TTF_PROP_FONT_CREATE_EXISTING_FONT_POINTER "SDL_ttf.font.create.existing_font"
236
236
237
237
/**
238
238
* Create a copy of an existing font.
@@ -1813,9 +1813,9 @@ extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateRendererTextEngine(SDL_Re
1813
1813
*
1814
1814
* These are the supported properties:
1815
1815
*
1816
- * - `TTF_PROP_RENDERER_TEXT_ENGINE_RENDERER `: the renderer to use for
1816
+ * - `TTF_PROP_RENDERER_TEXT_ENGINE_RENDERER_POINTER `: the renderer to use for
1817
1817
* creating textures and drawing text
1818
- * - `TTF_PROP_RENDERER_TEXT_ENGINE_ATLAS_TEXTURE_SIZE `: the size of the
1818
+ * - `TTF_PROP_RENDERER_TEXT_ENGINE_ATLAS_TEXTURE_SIZE_NUMBER `: the size of the
1819
1819
* texture atlas
1820
1820
*
1821
1821
* \param props the properties to use.
@@ -1833,8 +1833,8 @@ extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateRendererTextEngine(SDL_Re
1833
1833
*/
1834
1834
extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateRendererTextEngineWithProperties (SDL_PropertiesID props );
1835
1835
1836
- #define TTF_PROP_RENDERER_TEXT_ENGINE_RENDERER "SDL_ttf.renderer_text_engine.create.renderer"
1837
- #define TTF_PROP_RENDERER_TEXT_ENGINE_ATLAS_TEXTURE_SIZE "SDL_ttf.renderer_text_engine.create.atlas_texture_size"
1836
+ #define TTF_PROP_RENDERER_TEXT_ENGINE_RENDERER_POINTER "SDL_ttf.renderer_text_engine.create.renderer"
1837
+ #define TTF_PROP_RENDERER_TEXT_ENGINE_ATLAS_TEXTURE_SIZE_NUMBER "SDL_ttf.renderer_text_engine.create.atlas_texture_size"
1838
1838
1839
1839
/**
1840
1840
* Draw text to an SDL renderer.
@@ -1904,9 +1904,9 @@ extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateGPUTextEngine(SDL_GPUDevi
1904
1904
*
1905
1905
* These are the supported properties:
1906
1906
*
1907
- * - `TTF_PROP_GPU_TEXT_ENGINE_DEVICE `: the SDL_GPUDevice to use for creating
1907
+ * - `TTF_PROP_GPU_TEXT_ENGINE_DEVICE_POINTER `: the SDL_GPUDevice to use for creating
1908
1908
* textures and drawing text.
1909
- * - `TTF_PROP_GPU_TEXT_ENGINE_ATLAS_TEXTURE_SIZE `: the size of the texture
1909
+ * - `TTF_PROP_GPU_TEXT_ENGINE_ATLAS_TEXTURE_SIZE_NUMBER `: the size of the texture
1910
1910
* atlas
1911
1911
*
1912
1912
* \param props the properties to use.
@@ -1924,8 +1924,8 @@ extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateGPUTextEngine(SDL_GPUDevi
1924
1924
*/
1925
1925
extern SDL_DECLSPEC TTF_TextEngine * SDLCALL TTF_CreateGPUTextEngineWithProperties (SDL_PropertiesID props );
1926
1926
1927
- #define TTF_PROP_GPU_TEXT_ENGINE_DEVICE "SDL_ttf.gpu_text_engine.create.device"
1928
- #define TTF_PROP_GPU_TEXT_ENGINE_ATLAS_TEXTURE_SIZE "SDL_ttf.gpu_text_engine.create.atlas_texture_size"
1927
+ #define TTF_PROP_GPU_TEXT_ENGINE_DEVICE_POINTER "SDL_ttf.gpu_text_engine.create.device"
1928
+ #define TTF_PROP_GPU_TEXT_ENGINE_ATLAS_TEXTURE_SIZE_NUMBER "SDL_ttf.gpu_text_engine.create.atlas_texture_size"
1929
1929
1930
1930
/**
1931
1931
* Draw sequence returned by TTF_GetGPUTextDrawData
0 commit comments