~alcinnz/Typograffiti

ref: 1a43ae6f85287fda4ca442b338313c60ee176a85 Typograffiti/src/Typograffiti.hs -rw-r--r-- 674 bytes
1a43ae6f — Schell Scivally word cache 6 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{-# LANGUAGE LambdaCase      #-}
{-# LANGUAGE RecordWildCards #-}
-- |
-- Module:     Gelatin.FreeType2
-- Copyright:  (c) 2017 Schell Scivally
-- License:    MIT
-- Maintainer: Schell Scivally <schell@takt.com>
--
-- This module provides easy freetype2 font rendering using gelatin's
-- graphics primitives.
--
module Typograffiti
  ( allocAtlas
  , GlyphSize (..)
  , CharSize (..)
  , TypograffitiError (..)
  , Atlas (..)
  , WordCache (..)
  , AllocatedRendering (..)
  , Layout (..)
  , asciiChars
  , stringTris
  , loadText
  , unloadMissingWords
  ) where

import           Typograffiti.Atlas
import           Typograffiti.Cache
import           Typograffiti.Glyph