summaryrefslogtreecommitdiff
path: root/src/Graphics/Fountainhead/Type.hs
blob: 2493157b6b9970fd60478ddedcadca8d62d795e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{- This Source Code Form is subject to the terms of the Mozilla Public License,
   v. 2.0. If a copy of the MPL was not distributed with this file, You can
   obtain one at https://mozilla.org/MPL/2.0/. -}

-- | Generic font types.
module Graphics.Fountainhead.Type
    ( F2Dot14(..)
    , Fixed32(..)
    ) where

import Data.Int (Int16)
import Data.Word (Word32)

newtype Fixed32 = Fixed32 Word32
    deriving (Eq, Show)

newtype F2Dot14 = F2Dot14 Int16
    deriving (Eq, Show)