free-game-1.0.2: Create games for free

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

FreeGame.Data.Font

Description

Rendering characters

Synopsis

Documentation

data Font Source

Font object

loadFontFromFile :: MonadIO m => FilePath -> m FontSource

Create a Font from the given file.

fontBoundingBox :: Font -> BoundingBox DoubleSource

Get the font's boundingbox.

metricsAscent :: Font -> DoubleSource

Get the font's metrics.

metricsDescent :: Font -> DoubleSource

Get the font's metrics.