name: wumpus-drawing
version: 0.4.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.3.0 to v0.4.0:
.
* Simplified Trapezium shape so it only produces isosceles
Trapeziums.
.
* Added Basis modules. These are \"mid-level\" modules similar
to ones in @Wumpus.Basic.Kernel.Objects@, however they are
considered less general so there are put here where they can
be imported individually (and so not pollute the namespace).
.
* Removed the Turtle modules. The new @LocTrace@ and @RefTrace@
modules supercede the Turtle modules.
.
.
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.51.0 && < 0.52.0,
wumpus-basic == 0.18.0
exposed-modules:
Wumpus.Drawing.Basis.DrawingPrimitives,
Wumpus.Drawing.Basis.TraceGraphic,
Wumpus.Drawing.Basis.LocTrace,
Wumpus.Drawing.Basis.RefTrace,
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.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.Absolute,
Wumpus.Drawing.Paths.Base.AbsPath,
Wumpus.Drawing.Paths.Base.PathBuilder,
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: