free-game-0.9.4.1: Cross-platform GUI library based on free monads

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

Graphics.UI.FreeGame.Data.Font

Description

Rendering characters

Synopsis

Documentation

data Font Source

Font object

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

Create a Font from the given file.

fontBoundingBox :: Font -> BoundingBox FloatSource

Get the font's boundingbox.

metricsAscent :: Font -> FloatSource

Get the font's metrics.

metricsDescent :: Font -> FloatSource

Get the font's metrics.