SDL-ttf-0.6.2: Binding to libSDL_ttf

Portability | portable
Stability | provisional
Maintainer | lemmih@gmail.com
Safe Haskell | None

Graphics.UI.SDL.TTF.Attributes

Description

# Documentation

getFontStyle :: Font -> IO [FontStyle]Source

setFontStyle :: Font -> [FontStyle] -> IO ()Source

fontHeight :: Font -> IO Int Source

fontAscent :: Font -> IO Int Source

fontDescent :: Font -> IO Int Source

fontLineSkip :: Font -> IO Int Source

fontFaces :: Font -> IO Int Source

fontFaceIsFixedWidth :: Font -> IO Int Source

fontFaceFamilyName :: Font -> IO String Source

fontFaceStyleName :: Font -> IO String Source

tryTextSize :: Font -> String -> IO (Maybe (Int, Int))Source

textSize :: Font -> String -> IO (Int, Int)Source

tryUTF8Size :: Font -> String -> IO (Maybe (Int, Int))Source

utf8Size :: Font -> String -> IO (Int, Int)Source

data FontStyle Source

Constructors

StyleBold |
StyleItalic |
StyleUnderline |

Instances

Bounded FontStyle |
Eq FontStyle |
Ord FontStyle |
Show FontStyle |
Enum FontStyle Int |