SDL-ttf-0.6.3.0: Binding to libSDL_ttf
Copyright(c) David Himmelstrup 2005
LicenseBSD-like
Maintainerlemmih@gmail.com
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Graphics.UI.SDL.TTF.Attributes

Description

 

Documentation

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 #

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 #

Instances

Instances details
Bounded FontStyle Source # 
Instance details

Defined in Graphics.UI.SDL.TTF.Attributes

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