Modulesdl2-ttf-2.1.3Haskell2010
SDL.Raw.Font
Raw bindings to the SDL2_ttf library. No error-handling is done here. For more
information about specific function behaviour, see the SDL2_ttf documentation.
Synopsis
- value init
- value wasInit
- value quit
- value getVersion
- data Font
- type FontPath
- type PointSize
- value openFont
- type Free
- value openFont_RW
- type Index
- value openFontIndex
- value openFontIndex_RW
- value closeFont
- value getFontStyle
- value setFontStyle
- pattern TTF_STYLE_NORMAL
- pattern TTF_STYLE_BOLD
- pattern TTF_STYLE_ITALIC
- pattern TTF_STYLE_UNDERLINE
- pattern TTF_STYLE_STRIKETHROUGH
- value getFontOutline
- value setFontOutline
- value getFontHinting
- value setFontHinting
- pattern TTF_HINTING_NORMAL
- pattern TTF_HINTING_LIGHT
- pattern TTF_HINTING_MONO
- pattern TTF_HINTING_NONE
- value getFontKerning
- value setFontKerning
- value fontHeight
- value fontAscent
- value fontDescent
- value fontLineSkip
- value fontFaces
- value fontFaceIsFixedWidth
- value fontFaceFamilyName
- value fontFaceStyleName
- value glyphIsProvided
- value glyphMetrics
- value getFontKerningSize
- value sizeText
- value sizeUTF8
- value sizeUNICODE
- value renderText_Solid
- value renderText_Shaded
- value renderText_Blended
- value renderText_Blended_Wrapped
- value renderUTF8_Solid
- value renderUTF8_Shaded
- value renderUTF8_Blended
- value renderUTF8_Blended_Wrapped
- value renderUNICODE_Solid
- value renderUNICODE_Shaded
- value renderUNICODE_Blended
- value renderUNICODE_Blended_Wrapped
- value renderGlyph_Solid
- value renderGlyph_Shaded
- value renderGlyph_Blended
- value byteSwappedUNICODE
- pattern UNICODE_BOM_NATIVE
- pattern UNICODE_BOM_SWAPPED
- Packagesdl2-ttf-2.1.3
- Exports63
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceFont.hsc
General
Loading fonts
The raw, underlying TTF_Font struct.
A path to a font file.
Point size (based on 72DPI). Translates to pixel height.
Indicates the font face we're loading. First face is always 0.