free-game-0.3.2.0: Create graphical applications for free.

Portabilitynon-portable
Stabilityprovisional
MaintainerFumiaki Kinsohita <fumiexcel@gmail.com>
Safe HaskellNone

Graphics.FreeGame.Data.Font

Description

Rendering characters

Synopsis

Documentation

data Font Source

Font object

loadFont :: FilePath -> IO FontSource

Create a Font from the given file.

data Metrics Source

Constructors

Metrics 

metrics :: Font -> MetricsSource

Get the font's metrics.

text :: Font -> Float -> String -> PictureSource

Render a text by the specified Font.