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 # |
Methods minBound :: FontStyle # maxBound :: FontStyle #
Eq FontStyle Source # |
Methods (==) :: FontStyle -> FontStyle -> Bool # (/=) :: FontStyle -> FontStyle -> Bool #
Ord FontStyle Source # |
Methods compare :: FontStyle -> FontStyle -> Ordering # (<) :: FontStyle -> FontStyle -> Bool # (<=) :: FontStyle -> FontStyle -> Bool # (>) :: FontStyle -> FontStyle -> Bool # (>=) :: FontStyle -> FontStyle -> Bool # max :: FontStyle -> FontStyle -> FontStyle # min :: FontStyle -> FontStyle -> FontStyle #
Show FontStyle Source # |
Methods showsPrec :: Int -> FontStyle -> ShowS # show :: FontStyle -> String # showList :: [FontStyle] -> ShowS #
Enum FontStyle Int Source # |
Methods succ :: FontStyle -> FontStyle pred :: FontStyle -> FontStyle toEnum :: Int -> FontStyle fromEnum :: FontStyle -> Int enumFromTo :: FontStyle -> FontStyle -> [FontStyle]