packages feed

wumpus-drawing-0.3.0: wumpus-drawing.cabal

name:             wumpus-drawing
version:          0.3.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.2.0 to v0.3.0:
  .
  * Moved Turtle and Grids into the @Wumpus.Drawing.Extras@
    name-space. Modules here are considered sketches.
  .
  * Re-implemented arrowheads and connectors.
  .
  * Re-implemented monadic path construction. This is now 
    essentially \"turtle drawing\" with a path trace.
  .
  * Removed chains - a simplified implementation is now 
    provided by Wumpus-Basic.
  .
  * Re-implemented and expanded Text.  
  .
  v0.1.0 to v0.2.0:
  .
  * Added new Shapes.
  .
  * Move Geometry modules to Wumpus-Basic.
  .
  * Re-implemented Chains.
  .
  * Re-implemented LR-Text. Added CatText.
  .
  v0.1.0:
  .
  * Initial release - this is a split from @Wumpus-Basic@ making 
    the (very prototypical - read sub-alpha, unstable...) modules 
    in the @Drawing@ hierarchy a separate package.
  .
  * Simplified Chains - chains are now regular lists (though often
    infinite). Drawings are made with chains using new zip-like
    functions.
  .
  * Re-worked Shapes.
  .
  * Re-worked Arrow and Arrow Tip types.
  .
  * Re-worked ConnectorPaths.
  .
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,
  demo/TableChains.hs

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

  
  exposed-modules:
    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.Loop,
    Wumpus.Drawing.Dots.AnchorDots,
    Wumpus.Drawing.Dots.Marks,
    Wumpus.Drawing.Extras.Axes,
    Wumpus.Drawing.Extras.Grids,
    Wumpus.Drawing.Extras.Turtle.TurtleClass,
    Wumpus.Drawing.Extras.Turtle.TurtleMonad,
    Wumpus.Drawing.Paths.Absolute,
    Wumpus.Drawing.Paths.Base.AbsBuilder,
    Wumpus.Drawing.Paths.Base.AbsPath,
    Wumpus.Drawing.Paths.Base.BuildCommon,
    Wumpus.Drawing.Paths.Base.RelBuilder,
    Wumpus.Drawing.Paths.Base.RelPath,
    Wumpus.Drawing.Paths.Relative,
    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.Common,
    Wumpus.Drawing.Text.Base.DocTextZero,
    Wumpus.Drawing.Text.Base.Label,
    Wumpus.Drawing.Text.Base.PosChar,
    Wumpus.Drawing.Text.Base.RotTextZero,
    Wumpus.Drawing.Text.DirectionZero,
    Wumpus.Drawing.Text.StandardFontDefs,
    Wumpus.Drawing.VersionNumber

  other-modules:

  extensions:
    

  ghc-options:
  
  includes: