{-# OPTIONS -Wall #-} -------------------------------------------------------------------------------- -- | -- Module : Wumpus.Core.WumpusTypes -- Copyright : (c) Stephen Tetley 2009-2010 -- License : BSD3 -- -- Maintainer : Stephen Tetley -- Stability : unstable -- Portability : GHC -- -- This module re-exports types and functions from -- "Wumpus.Core.PictureInternal" but makes them opaque. -- Contructors are provided by "Wumpus.Core.Picture". -- -- Note - whilst the Picture types support the Eq class the -- implementations are not efficient, e.g. In the case of -- Primitive, one of the constructors has to unwind a functional -- \Hughes list\. The Eq instance is considered a legacy -- /feature/ (or burden) as the types have expanded. -- -------------------------------------------------------------------------------- -- Having this module just re-exporting types should make -- the Haddock documentation more cohesive. Modules -- in wumpus-core should not use this module. -- -- Note - XLink only exports the NoLink constructors. module Wumpus.Core.WumpusTypes ( -- * Picture types Picture , DPicture , FontCtx , Primitive , DPrimitive , XLink , PrimPath , DPrimPath , PrimPathSegment , DPrimPathSegment , PrimLabel , DPrimLabel , KerningChar , DKerningChar -- * Printable unit for PostScript , PSUnit(..) ) where import Wumpus.Core.PictureInternal import Wumpus.Core.Utils.Common ( PSUnit(..) )