SDL-ttf-0.6.2: Binding to libSDL_ttf

Copyright | (c) David Himmelstrup 2005
License | BSD-like
Maintainer | lemmih@gmail.com
Stability | provisional
Portability | portable
Safe Haskell | Safe
Language | Haskell98

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 Source |
Eq FontStyle Source |
Ord FontStyle Source |
Show FontStyle Source |
Enum FontStyle Int Source |