SDL-ttf-0.6.3.0: 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

Instances details

Bounded FontStyle Source # |
Instance details Defined in Graphics.UI.SDL.TTF.Attributes Methods minBound :: FontStyle maxBound :: FontStyle
Eq FontStyle Source # |
Instance details Defined in Graphics.UI.SDL.TTF.Attributes Methods (==) :: FontStyle -> FontStyle -> Bool (/=) :: FontStyle -> FontStyle -> Bool
Ord FontStyle Source # |
Instance details Defined in Graphics.UI.SDL.TTF.Attributes 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 # |
Instance details Defined in Graphics.UI.SDL.TTF.Attributes Methods showsPrec :: Int -> FontStyle -> ShowS show :: FontStyle -> String showList :: [FontStyle] -> ShowS
Enum FontStyle Int Source # |
Instance details Defined in Graphics.UI.SDL.TTF.Attributes Methods succ :: FontStyle -> FontStyle Source # pred :: FontStyle -> FontStyle Source # toEnum :: Int -> FontStyle Source # fromEnum :: FontStyle -> Int Source # enumFromTo :: FontStyle -> FontStyle -> [FontStyle] Source #