summaryrefslogtreecommitdiff
path: root/src/Graphics/Fountainhead/Type.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Graphics/Fountainhead/Type.hs')
-rw-r--r--src/Graphics/Fountainhead/Type.hs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Graphics/Fountainhead/Type.hs b/src/Graphics/Fountainhead/Type.hs
new file mode 100644
index 0000000..3dc2a3f
--- /dev/null
+++ b/src/Graphics/Fountainhead/Type.hs
@@ -0,0 +1,14 @@
+-- | 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)