Package SDL3_ttf-devel

Development files for SDL3_ttf

https://github.com/libsdl-org/SDL_ttf

The SDL3_ttf-devel package contains libraries and header files for
developing applications that use SDL3_ttf.

Version: 3.2.2

Library Functions

SDL_TTF_MAJOR_VERSION Printable format: "%d.%d.%d", MAJOR, MINOR, MICRO
SDL_TTF_VERSION This is the version number macro for the current SDL_ttf version.
SDL_TTF_VERSION_ATLEAST This macro will evaluate to true if compiled with SDL_ttf at least X.Y.Z.
TTF_AddFallbackFont Add a fallback font.
TTF_AppendTextString Append UTF-8 text to a text object.
TTF_ClearFallbackFonts Remove all fallback fonts.
TTF_CloseFont Dispose of a previously-created font.
TTF_CopyFont Create a copy of an existing font.
TTF_CreateGPUTextEngine Create a text engine for drawing text with the SDL GPU API.
TTF_CreateGPUTextEngineWithProperties Create a text engine for drawing text with the SDL GPU API, with the specified properties.
TTF_CreateRendererTextEngine Create a text engine for drawing text on an SDL renderer.
TTF_CreateRendererTextEngineWithProperties Create a text engine for drawing text on an SDL renderer, with the specified properties.
TTF_CreateSurfaceTextEngine Create a text engine for drawing text on SDL surfaces.
TTF_CreateText Create a text object from UTF-8 text and a text engine.
TTF_DeleteTextString Delete UTF-8 text from a text object.
TTF_DestroyGPUTextEngine Destroy a text engine created for drawing text with the SDL GPU API.
TTF_DestroyRendererTextEngine Destroy a text engine created for drawing text on an SDL renderer.
TTF_DestroySurfaceTextEngine Destroy a text engine created for drawing text on SDL surfaces.
TTF_DestroyText Destroy a text object created by a text engine.
TTF_Direction.3type Direction flags
TTF_DrawRendererText Draw text to an SDL renderer.
TTF_DrawSurfaceText Draw text to an SDL surface.
TTF_Font.3type The internal structure containing font information.
TTF_FontHasGlyph Check whether a glyph is provided by the font for a UNICODE codepoint.
TTF_FontIsFixedWidth Query whether a font is fixed-width.
TTF_FontIsScalable Query whether a font is scalable or not.
TTF_FontStyleFlags.3type Font style flags for TTF_Font
TTF_GPUAtlasDrawSequence.3type Draw sequence returned by TTF_GetGPUTextDrawData
TTF_GPUTextEngineWinding.3type The winding order of the vertices returned by TTF_GetGPUTextDrawData
TTF_GetFontAscent Query the offset from the baseline to the top of a font.
TTF_GetFontDPI Get font target resolutions, in dots per inch.
TTF_GetFontDescent Query the offset from the baseline to the bottom of a font.
TTF_GetFontDirection Get the direction to be used for text shaping by a font.
TTF_GetFontFamilyName Query a font's family name.
TTF_GetFontGeneration Get the font generation.
TTF_GetFontHeight Query the total height of a font.
TTF_GetFontHinting Query a font's current FreeType hinter setting.
TTF_GetFontKerning Query whether or not kerning is enabled for a font.
TTF_GetFontLineSkip Query the spacing between lines of text for a font.
TTF_GetFontOutline Query a font's current outline.
TTF_GetFontProperties Get the properties associated with a font.
TTF_GetFontSDF Query whether Signed Distance Field rendering is enabled for a font.
TTF_GetFontScript Get the script used for text shaping a font.
TTF_GetFontSize Get the size of a font.
TTF_GetFontStyle Query a font's current style.
TTF_GetFontStyleName Query a font's style name.
TTF_GetFontWeight Query a font's weight, in terms of the lightness/heaviness of the strokes.
TTF_GetFontWrapAlignment Query a font's current wrap alignment option.
TTF_GetFreeTypeVersion Query the version of the FreeType library in use.
TTF_GetGPUTextDrawData Get the geometry data needed for drawing the text.
TTF_GetGPUTextEngineWinding
TTF_GetGlyphImage Get the pixel image for a UNICODE codepoint.
TTF_GetGlyphImageForIndex Get the pixel image for a character index.
TTF_GetGlyphKerning Query the kerning size between the glyphs of two UNICODE codepoints.
TTF_GetGlyphMetrics Query the metrics (dimensions) of a font's glyph for a UNICODE codepoint.
TTF_GetGlyphScript Get the script used by a 32-bit codepoint.
TTF_GetHarfBuzzVersion Query the version of the HarfBuzz library in use.
TTF_GetNextTextSubString Get the next substring in a text object
TTF_GetNumFontFaces Query the number of faces of a font.
TTF_GetPreviousTextSubString Get the previous substring in a text object
TTF_GetStringSize Calculate the dimensions of a rendered string of UTF-8 text.
TTF_GetStringSizeWrapped Calculate the dimensions of a rendered string of UTF-8 text.
TTF_GetTextColor Get the color of a text object.
TTF_GetTextColorFloat Get the color of a text object.
TTF_GetTextDirection Get the direction to be used for text shaping a text object.
TTF_GetTextEngine Get the text engine used by a text object.
TTF_GetTextFont Get the font used by a text object.
TTF_GetTextPosition Get the position of a text object.
TTF_GetTextProperties Get the properties associated with a text object.
TTF_GetTextScript Get the script used for text shaping a text object.
TTF_GetTextSize Get the size of a text object.
TTF_GetTextSubString Get the substring of a text object that surrounds a text offset.
TTF_GetTextSubStringForLine Get the substring of a text object that contains the given line.
TTF_GetTextSubStringForPoint Get the portion of a text string that is closest to a point.
TTF_GetTextSubStringsForRange Get the substrings of a text object that contain a range of text.
TTF_GetTextWrapWidth Get whether wrapping is enabled on a text object.
TTF_HintingFlags.3type Hinting flags for TTF (TrueType Fonts)
TTF_HorizontalAlignment.3type The horizontal alignment used when rendering wrapped text.
TTF_ImageType.3type The type of data in a glyph image
TTF_Init Initialize SDL_ttf.
TTF_InsertTextString Insert UTF-8 text into a text object.
TTF_MeasureString Calculate how much of a UTF-8 string will fit in a given width.
TTF_OpenFont Create a font from a file, using a specified point size.
TTF_OpenFontIO Create a font from an SDL_IOStream, using a specified point size.
TTF_OpenFontWithProperties Create a font with the specified properties.
TTF_Quit Deinitialize SDL_ttf.
TTF_RemoveFallbackFont Remove a fallback font.
TTF_RenderGlyph_Blended Render a single UNICODE codepoint at high quality to a new ARGB surface.
TTF_RenderGlyph_LCD Render a single UNICODE codepoint at LCD subpixel quality to a new ARGB surface.
TTF_RenderGlyph_Shaded Render a single UNICODE codepoint at high quality to a new 8-bit surface.
TTF_RenderGlyph_Solid Render a single 32-bit glyph at fast quality to a new 8-bit surface.
TTF_RenderText_Blended Render UTF-8 text at high quality to a new ARGB surface.
TTF_RenderText_Blended_Wrapped Render word-wrapped UTF-8 text at high quality to a new ARGB surface.
TTF_RenderText_LCD Render UTF-8 text at LCD subpixel quality to a new ARGB surface.
TTF_RenderText_LCD_Wrapped Render word-wrapped UTF-8 text at LCD subpixel quality to a new ARGB surface.
TTF_RenderText_Shaded Render UTF-8 text at high quality to a new 8-bit surface.
TTF_RenderText_Shaded_Wrapped Render word-wrapped UTF-8 text at high quality to a new 8-bit surface.
TTF_RenderText_Solid Render UTF-8 text at fast quality to a new 8-bit surface.
TTF_RenderText_Solid_Wrapped Render word-wrapped UTF-8 text at fast quality to a new 8-bit surface.
TTF_SetFontDirection Set the direction to be used for text shaping by a font.
TTF_SetFontHinting Set a font's current hinter setting.
TTF_SetFontKerning Set if kerning is enabled for a font.
TTF_SetFontLanguage Set language to be used for text shaping by a font.
TTF_SetFontLineSkip Set the spacing between lines of text for a font.
TTF_SetFontOutline Set a font's current outline.
TTF_SetFontSDF Enable Signed Distance Field rendering for a font.
TTF_SetFontScript Set the script to be used for text shaping by a font.
TTF_SetFontSize Set a font's size dynamically.
TTF_SetFontSizeDPI Set font size dynamically with target resolutions, in dots per inch.
TTF_SetFontStyle Set a font's current style.
TTF_SetFontWrapAlignment Set a font's current wrap alignment option.
TTF_SetGPUTextEngineWinding
TTF_SetTextColor Set the color of a text object.
TTF_SetTextColorFloat Set the color of a text object.
TTF_SetTextDirection Set the direction to be used for text shaping a text object.
TTF_SetTextEngine Set the text engine used by a text object.
TTF_SetTextFont Set the font used by a text object.
TTF_SetTextPosition Set the position of a text object.
TTF_SetTextScript Set the script to be used for text shaping a text object.
TTF_SetTextString Set the UTF-8 text used by a text object.
TTF_SetTextWrapWhitespaceVisible Set whether whitespace should be visible when wrapping a text object.
TTF_SetTextWrapWidth Set whether wrapping is enabled on a text object.
TTF_StringToTag Convert from a 4 character string to a 32-bit tag.
TTF_SubString.3type The representation of a substring within text.
TTF_SubStringFlags.3type Flags for TTF_SubString
TTF_TagToString Convert from a 32-bit tag to a 4 character string.
TTF_Text.3type Text created with TTF_CreateText ()
TTF_TextData.3type Internal data for TTF_Text
TTF_TextEngine.3type A text engine used to create text objects.
TTF_TextWrapWhitespaceVisible Return whether whitespace is shown when wrapping a text object.
TTF_UpdateText Update the layout of a text object.
TTF_Version This function gets the version of the dynamically linked SDL_ttf library.
TTF_WasInit Check if SDL_ttf is initialized.