| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Resource.Font.EvanW
Description
JSON font loader for bitmaps and SDFs
Generator: https://evanw.github.io/font-texture-generator/
Usage (WebGL): https://evanw.github.io/font-texture-generator/example-webgl/
Documentation
load :: (MonadIO m, MonadReader env m, HasLogFunc env, HasCallStack) => Source -> m Container Source #
Constructors
| Container | |
Instances
Constructors
| Character | |
Instances
putLine :: ("WH" ::: Vec2) -> ("XY" ::: Vec2) -> ("Alignment" ::: Alignment) -> ("Size" ::: Float) -> ("Font" ::: Container) -> ("Line" ::: [Char]) -> ("scale" ::: Float, [PutChar]) Source #
Instances
| Storable PutChar Source # | |
| Show PutChar Source # | |