call-0.1.4: The call game engine

Copyright(c) Fumiaki Kinoshita 2014
LicenseBSD3
MaintainerFumiaki Kinoshita <fumiexcel@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Call.Data.Font

Description

Font rendering

Synopsis

Documentation

data Font Source

Font object

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

Create a Font from the given file.

fontBoundingBox :: Font -> Box V2 Float Source

Get the font's bounding box.

metricsAscent :: Font -> Float Source

Get the font's metrics.

metricsDescent :: Font -> Float Source

Get the font's metrics.