wumpus-drawing: High-level drawing objects built on Wumpus-Basic.
** 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.4.0 to v0.5.0
Re-implemented Text drawing. Some functionality moved to Wumpus-Basic.
Re-implemented monadic Path Builder.
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
andRefTrace
modules supercede the Turtle modules.
Modules
[Index]
- Wumpus
- Drawing
- Basis
- Colour
- Wumpus.Drawing.Connectors
- Dots
- Extras
- Paths
- 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.Semicircle
- Wumpus.Drawing.Shapes.Semiellipse
- Wumpus.Drawing.Shapes.Trapezium
- Wumpus.Drawing.Shapes.Triangle
- Text
- Wumpus.Drawing.VersionNumber
- Drawing
Downloads
- wumpus-drawing-0.5.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.9.0 |
---|---|
Change log | CHANGES |
Dependencies | base (<5), containers (>=0.3 && <=0.6), vector-space (>=0.6 && <1.0), wumpus-basic (==0.20.0), wumpus-core (>=0.51.0 && <0.52.0) [details] |
License | BSD-3-Clause |
Copyright | Stephen Tetley <stephen.tetley@gmail.com> |
Author | |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Category | Graphics |
Home page | http://code.google.com/p/copperbox/ |
Uploaded | by StephenTetley at 2011-08-10T16:55:11Z |
Distributions | |
Reverse Dependencies | 3 direct, 0 indirect [details] |
Downloads | 5559 total (17 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |