~alcinnz/Typograffiti

ref: 9b03b9d2b386b503a6401fb4a54c26c505cd220b Typograffiti/src/Typograffiti.hs -rw-r--r-- 933 bytes
9b03b9d2 — Adrian Cochrane Fix compilation issues with restructure back to Typograffiti's original. 1 year, 10 months ago
                                                                                
9b03b9d2 Adrian Cochrane
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
-- |
-- Module:     Typograffiti
-- Copyright:  (c) 2018 Schell Scivally
-- License:    MIT
-- Maintainer: Schell Scivally <schell@takt.com>
--
-- This module provides easy freetype2-based font rendering with a nice
-- Haskell interface.
module Typograffiti(
    TypograffitiError(..),
    allocAtlas, freeAtlas, stringTris, Atlas(..), GlyphMetrics(..),
    makeDrawGlyphs, AllocatedRendering(..), Layout(..),
    SpatialTransform(..), TextTransform(..), move, scale, rotate, color, alpha,
    withFontStore, newFontStore, FontStore(..), Font(..),
    makeDrawTextIndentedCached, makeDrawTextCached,
        makeDrawAsciiIndentedCached, makeDrawAsciiCached,
    makeDrawTextIndented, makeDrawTextIndented', makeDrawText, makeDrawText',
        makeDrawAsciiIndented, makeDrawAsciiIndented', makeDrawAscii, makeDrawAscii'
) where

import Typograffiti.Atlas
import Typograffiti.Cache
import Typograffiti.Store
import Typograffiti.Text