HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

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.

Contents
  1. General
  2. Loading fonts
  3. Font attributes
  4. Getting text size
  5. Rendering text
  6. Other
Synopsis
  • Packagesdl2-ttf-2.1.3
  • Exports63
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceFont.hsc

General

Loading fonts

datadata Font

The raw, underlying TTF_Font struct.

typetype Index = CLong

Indicates the font face we're loading. First face is always 0.

Font attributes

Getting text size

Rendering text

Other