packages feed

wumpus-drawing-0.7.0: wumpus-drawing.cabal

name:             wumpus-drawing
version:          0.7.0
license:          BSD3
license-file:     LICENSE
copyright:        Stephen Tetley <stephen.tetley@gmail.com>
maintainer:       Stephen Tetley <stephen.tetley@gmail.com>
homepage:         http://code.google.com/p/copperbox/
category:         Graphics
synopsis:         High-level drawing objects built on Wumpus-Basic.
description:
  .
  \*\* WARNING \*\* - this package is sub-alpha. Although many of 
  the drawing objects have been improved since the code was split 
  from Wumpus-Basic, the code is still prototypical. Essentially
  this package is a /technology preview/ and not yet a re-usable 
  library.
  .
  NOTE - many of the demos use font metrics. Font metrics for
  the \"Core 14\" PostScript fonts are distributed as @*.afm@ 
  files with GhostScript in the @fonts@ directory. Wumpus expects
  the GhostScript font metrics to be AFM version 2.0 files (this
  matches GhostScript 8.63). Alternatively, metrics for the Core 
  14 fonts are available from Adode (AFM version 4.1), see the 
  links below. To run the demos properly you will need one of 
  these sets of metrics.
  .
  Adobe Font technical notes:
  <https://www.adobe.com/devnet/font.html>
  .
  Core 14 AFM metrics:
  <https://www.adobe.com/content/dam/Adobe/en/devnet/font/pdfs/Core14_AFMs.tar>
  .
  Also note that Wumpus uses fallback metrics (derived from the
  monospaced Courier font) when font loading fails, rather than
  throwing a terminal error. Applications should ideally check
  the font loading log to ensure that fonts have loaded correctly
  (the demos print this log to standard out).
  .
  Changelog:
  .
  v0.6.0 to v0.7.0
  .
  * Changed paths - @RelPath@ has been removed and there are now 
    only absolute paths. @PathBuilder@ builds absolute paths.
    Pen updating in @PathBuilder@ now works like a State monad 
    rather than @local@ in a Reader monad.
  .
  * Changed argument order of the run functions to @monadLib@ 
    style (params * monadic action) rather than @MTL@ style 
    (monadic action * params).
  .
  * Added Symbols to Drawing.Basis.
  .
  * Added a tube box connector.
  .
  v0.5.0 to v0.6.0
  .
  * Removed @LocTrace@ and @RefTrace@ from @Wumpus.Drawing.Basis@,
    they are superseded by @LocDrawing@ in Wumpus-Basic.
  . 
  * Remaned path building operations in @RelPathBuilder@.
  .
  .
build-type:         Simple
stability:          highly unstable
cabal-version:      >= 1.2

extra-source-files:
  CHANGES,
  LICENSE,
  demo/ArrowCircuit.hs,
  demo/Arrowheads.hs,
  demo/Automata.hs,
  demo/ClipPic.hs,
  demo/ColourCharts.hs,
  demo/ColourChartUtils.hs,
  demo/Connectors.hs
  demo/DotPic.hs,
  demo/FeatureModel.hs,
  demo/FontPic.hs,
  demo/LeftRightText.hs,
  demo/PetriNet.hs,
  demo/SingleChar.hs,
  demo/SingleLine.hs,
  demo/SampleShapes.hs,
  demo/Symbols.hs

library
  hs-source-dirs:     src
  build-depends:      base            <  5, 
                      containers      >= 0.3     && <= 0.6,
                      vector-space    >= 0.6     && <  1.0,
                      wumpus-core     >= 0.52.0  && <  0.53.0,
                      wumpus-basic    == 0.22.0

  
  exposed-modules:
    Wumpus.Drawing.Basis.DrawingPrimitives,
    Wumpus.Drawing.Basis.Symbols,
    Wumpus.Drawing.Colour.SVGColours,
    Wumpus.Drawing.Colour.X11Colours,
    Wumpus.Drawing.Connectors,
    Wumpus.Drawing.Connectors.Arrowheads,
    Wumpus.Drawing.Connectors.Base,
    Wumpus.Drawing.Connectors.BoxConnectors,
    Wumpus.Drawing.Connectors.ConnectorPaths,
    Wumpus.Drawing.Connectors.ConnectorProps,
    Wumpus.Drawing.Dots.AnchorDots,
    Wumpus.Drawing.Dots.SimpleDots,
    Wumpus.Drawing.Extras.Axes,
    Wumpus.Drawing.Extras.Clip,
    Wumpus.Drawing.Extras.Grids,
    Wumpus.Drawing.Extras.Loop,
    Wumpus.Drawing.Paths,
    Wumpus.Drawing.Paths.Base,
    Wumpus.Drawing.Paths.PathBuilder,
    Wumpus.Drawing.Paths.Vamps,
    Wumpus.Drawing.Shapes,
    Wumpus.Drawing.Shapes.Base,
    Wumpus.Drawing.Shapes.Circle,
    Wumpus.Drawing.Shapes.Diamond,
    Wumpus.Drawing.Shapes.Ellipse,
    Wumpus.Drawing.Shapes.InvSemicircle,
    Wumpus.Drawing.Shapes.InvSemiellipse,
    Wumpus.Drawing.Shapes.InvTriangle,
    Wumpus.Drawing.Shapes.Parallelogram,
    Wumpus.Drawing.Shapes.Rectangle,
    Wumpus.Drawing.Shapes.Trapezium,
    Wumpus.Drawing.Shapes.Semicircle,
    Wumpus.Drawing.Shapes.Semiellipse,
    Wumpus.Drawing.Shapes.Triangle,
    Wumpus.Drawing.Text.Base.DocTextZero,
    Wumpus.Drawing.Text.Base.Label,
    Wumpus.Drawing.Text.DirectionZero,
    Wumpus.Drawing.Text.DocSymbols,
    Wumpus.Drawing.Text.StandardFontDefs,
    Wumpus.Drawing.VersionNumber

  other-modules:

  extensions:
    

  ghc-options:
  
  includes: