free-game-1.1.81: Create games for free

Copyright(C) 2013 Fumiaki Kinoshita
LicenseBSD-style (see the file LICENSE)
MaintainerFumiaki Kinoshita <fumiexcel@gmail.com>
Stabilityprovisional
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

FreeGame.Data.Font

Description

Rendering characters

Synopsis

Documentation

data Font Source

Font object

loadFontFromFile :: MonadIO m => FilePath -> m Font Source

Create a Font from the given file.

fontBoundingBox :: Font -> Box V2 Double Source

Get the font's boundingbox.

metricsAscent :: Font -> Double Source

Get the font's metrics.

metricsDescent :: Font -> Double Source

Get the font's metrics.