free-game-0.9.3.1: Create graphical applications for free

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 :: FilePath -> IO 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.