name: wumpus-drawing version: 0.2.0 license: BSD3 license-file: LICENSE copyright: Stephen Tetley maintainer: Stephen Tetley 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 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 techinal notes: . Core 14 AFM metrics: . 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.1.0 to 0.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/ClipPic.hs, demo/ColourCharts.hs, demo/ColourChartUtils.hs, demo/Connectors.hs demo/DotPic.hs, demo/FeatureModel.hs, demo/FontLoaderUtils.hs, demo/FontPic.hs, demo/LeftRightText.hs, demo/PetriNet.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.43.0 && < 0.44.0, wumpus-basic == 0.16.0 exposed-modules: Wumpus.Drawing.Arrows, Wumpus.Drawing.Arrows.Connectors, Wumpus.Drawing.Arrows.Tips, Wumpus.Drawing.Chains, Wumpus.Drawing.Chains.Base, Wumpus.Drawing.Chains.Derived, Wumpus.Drawing.Colour.SVGColours, Wumpus.Drawing.Colour.X11Colours, Wumpus.Drawing.Dots.AnchorDots, Wumpus.Drawing.Dots.Marks, Wumpus.Drawing.Grids, Wumpus.Drawing.Paths, Wumpus.Drawing.Paths.Base, Wumpus.Drawing.Paths.Connectors, Wumpus.Drawing.Paths.MonadicConstruction, Wumpus.Drawing.Paths.ControlPoints, 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, Wumpus.Drawing.Text.CatText, Wumpus.Drawing.Text.LRText, Wumpus.Drawing.Text.SafeFonts, Wumpus.Drawing.Turtle.TurtleClass, Wumpus.Drawing.Turtle.TurtleMonad, Wumpus.Drawing.VersionNumber other-modules: extensions: ghc-options: includes: