package vendor:sdl2/ttf
⌘K
Ctrl+K
or
/
Index
Variables (0)
This section is empty.
Procedures (74)
- CloseFont
- FontAscent
- FontDescent
- FontFaceFamilyName
- FontFaceIsFixedWidth
- FontFaceStyleName
- FontFaces
- FontHeight
- FontLineSkip
- GetFontHinting
- GetFontKerning
- GetFontKerningSizeGlyphs
- GetFontKerningSizeGlyphs32
- GetFontOutline
- GetFontSDF
- GetFontStyle
- GlyphIsProvided
- GlyphIsProvided32
- GlyphMetrics
- GlyphMetrics32
- Init
- Linked_Version
- MeasureText
- MeasureUNICODE
- MeasureUTF8
- OpenFont
- OpenFontDPI
- OpenFontDPIRW
- OpenFontIndex
- OpenFontIndexDPI
- OpenFontIndexDPIRW
- OpenFontIndexRW
- OpenFontRW
- Quit
- RenderGlyph32_Blended
- RenderGlyph32_Shaded
- RenderGlyph32_Solid
- RenderGlyph_Blended
- RenderGlyph_Shaded
- RenderGlyph_Solid
- RenderText
- RenderText_Blended
- RenderText_Blended_Wrapped
- RenderText_Shaded
- RenderText_Shaded_Wrapped
- RenderText_Solid
- RenderText_Solid_Wrapped
- RenderUNICODE
- RenderUNICODE_Blended
- RenderUNICODE_Blended_Wrapped
- RenderUNICODE_Shaded
- RenderUNICODE_Shaded_Wrapped
- RenderUNICODE_Solid
- RenderUNICODE_Solid_Wrapped
- RenderUTF8
- RenderUTF8_Blended
- RenderUTF8_Blended_Wrapped
- RenderUTF8_Shaded
- RenderUTF8_Shaded_Wrapped
- RenderUTF8_Solid
- RenderUTF8_Solid_Wrapped
- SetDirection
- SetFontHinting
- SetFontKerning
- SetFontOutline
- SetFontSDF
- SetFontSize
- SetFontSizeDPI
- SetFontStyle
- SetScript
- SizeText
- SizeUNICODE
- SizeUTF8
- WasInit
Procedure Groups (0)
This section is empty.
Types
Font ¶
Font :: struct {}
Related Procedures With Parameters
- CloseFont
- FontAscent
- FontDescent
- FontFaceFamilyName
- FontFaceIsFixedWidth
- FontFaceStyleName
- FontFaces
- FontHeight
- FontLineSkip
- GetFontHinting
- GetFontKerning
- GetFontKerningSizeGlyphs
- GetFontKerningSizeGlyphs32
- GetFontOutline
- GetFontSDF
- GetFontStyle
- GlyphIsProvided
- GlyphIsProvided32
- GlyphMetrics
- GlyphMetrics32
- MeasureText
- MeasureUNICODE
- MeasureUTF8
- RenderGlyph32_Blended
- RenderGlyph32_Shaded
- RenderGlyph32_Solid
- RenderGlyph_Blended
- RenderGlyph_Shaded
- RenderGlyph_Solid
- RenderText
- RenderText_Blended
- RenderText_Blended_Wrapped
- RenderText_Shaded
- RenderText_Shaded_Wrapped
- RenderText_Solid
- RenderText_Solid_Wrapped
- RenderUNICODE
- RenderUNICODE_Blended
- RenderUNICODE_Blended_Wrapped
- RenderUNICODE_Shaded
- RenderUNICODE_Shaded_Wrapped
- RenderUNICODE_Solid
- RenderUNICODE_Solid_Wrapped
- RenderUTF8
- RenderUTF8_Blended
- RenderUTF8_Blended_Wrapped
- RenderUTF8_Shaded
- RenderUTF8_Shaded_Wrapped
- RenderUTF8_Solid
- RenderUTF8_Solid_Wrapped
- SetFontHinting
- SetFontKerning
- SetFontOutline
- SetFontSDF
- SetFontSize
- SetFontSizeDPI
- SetFontStyle
- SizeText
- SizeUNICODE
- SizeUTF8
Related Procedures With Returns
Hinting ¶
Hinting :: enum i32 { NORMAL = 0, LIGHT = 1, MONO = 2, NONE = 3, LIGHT_SUBPIXEL = 4, }
Related Procedures With Parameters
Related Procedures With Returns
Related Constants
StyleFlag ¶
StyleFlag :: enum i32 { BOLD = 0, ITALIC = 1, UNDERLINE = 2, STRIKETHROUGH = 3, }
Constants
HINTING_LIGHT ¶
HINTING_LIGHT :: Hinting.LIGHT
HINTING_LIGHT_SUBPIXEL ¶
HINTING_LIGHT_SUBPIXEL :: Hinting.LIGHT_SUBPIXEL
HINTING_MONO ¶
HINTING_MONO :: Hinting.MONO
HINTING_NONE ¶
HINTING_NONE :: Hinting.NONE
HINTING_NORMAL ¶
HINTING_NORMAL :: Hinting.NORMAL
MAJOR_VERSION ¶
MAJOR_VERSION :: 2
MINOR_VERSION ¶
MINOR_VERSION :: 0
PATCHLEVEL ¶
PATCHLEVEL :: 18
STYLE_BOLD ¶
STYLE_BOLD :: Style{.BOLD}
STYLE_ITALIC ¶
STYLE_ITALIC :: Style{.ITALIC}
STYLE_NORMAL ¶
STYLE_NORMAL :: Style{}
STYLE_STRIKETHROUGH ¶
STYLE_STRIKETHROUGH :: Style{.STRIKETHROUGH}
STYLE_UNDERLINE ¶
STYLE_UNDERLINE :: Style{.UNDERLINE}
UNICODE_BOM_NATIVE ¶
UNICODE_BOM_NATIVE :: 0xFEFF
UNICODE_BOM_SWAPPED ¶
UNICODE_BOM_SWAPPED :: 0xFFFE
Variables
This section is empty.
Procedures
CloseFont ¶
CloseFont :: proc "c" (font: ^Font) ---
Linked_Version ¶
Linked_Version :: proc "c" () -> ^sdl2.version ---
RenderText ¶
For compatibility with previous versions, here are the old functions
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2024-12 (vendor "odin") Windows_amd64 @ 2024-12-20 21:10:47.871154300 +0000 UTC