~alcinnz/Typograffiti

ref: 6b33114535991e9cf0c71bfe32a0cf85a59e1bb1 Typograffiti/src/Typograffiti.hs -rw-r--r-- 752 bytes
6b331145 — Schell Scivally default alloc word function 6 years ago
                                                                                
45905aa7 Schell Scivally
132be4fb Schell Scivally
45905aa7 Schell Scivally
1a43ae6f Schell Scivally
45905aa7 Schell Scivally
1a43ae6f Schell Scivally
6b331145 Schell Scivally
45905aa7 Schell Scivally
1a43ae6f Schell Scivally
45905aa7 Schell Scivally
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
30
31
32
33
34
35
{-# 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
  , makeDefaultAllocateWord
  , move
  , scale
  , rotate
  , color
  , alpha
  ) where

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