wumpus-basic: Common drawing utilities built on wumpus-core.
** WARNING ** - this package is sub-alpha. It was released to Hackage prematurely - designing a higher-level drawing library turns out to be much more demanding than designing a low-level one (Wumpus-Core).
A few of the modules (SafeFonts, SVGColours, X11Colours) are fairly stable others simply aren't and may even disappear in subsequent updates.
Changelog:
8.0 to 0.9.0:
Re-worked
Basic.Text.LRSymbolchanged the type name and the types of the run functions. Added more symbols and a new demoSymbols.hs.ScalingContextadded toBasic.Graphic. ChangedmonoTextWidthto take a character count, the old behaviour is recreated by the new functionmonoTextLength.Basic.Graphic.Chainremoved. It is now superseded byBasic.Chains.Added new property to
DrawingContextfor line spacing scaling factor, and added a new drawing primitivetextlineMultifor multi-line, left justified labels.Synthezied attribute getters such as
textDimensionsmoved fromBasic.Graphic.DrawingContextto the new moduleBasic.Graphic.Query. The type of all the functions has changed to DrawingF.lowerxHeightis renamedmonoLowerxHeightemphasizing that the metrics pertain to monospaced Courier font.Added Shapes modules.
TurtleMonad module - the TurtleDrawing type and run functions have been removed and the internals have been reworked. Turtle is now run solely as a local effect within the Drawing monad.
7.0 to 0.8.0:
Re-introduced LRText and LRSymbol - they now work with Wumpus-Core's kerning support.
Changes to
Graphic.Basic.BaseTypes-DrawingObjectrenamed toDrawingF.HPrimwrapped as a newtype to support a Monoid instance. RemovedappendGraphicandgcatas they can be achieved withmappendandmconcat.appendAtrenamed tolgappend.PointTremaned toPointF.Changes to
Graphic.Basic.Drawing-drawAt,drawAtImg,drawConn,drawConnImgall removed. They are replaced bydrawanddrawitogether with then newatandconncombinators.Changes to
Basic.Graphic.PrimGraphic-localDrawingContextrenamed tolocalLGand moved toBasic.Graphic.BaseTypes.Updates to
Basic.SafeFontsto work with changes toWumpus.Core.
Modules
[Index]
Downloads
- wumpus-basic-0.9.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.1, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.18.0, 0.20.0, 0.21.0, 0.22.0, 0.24.0 |
|---|---|
| Change log | CHANGES |
| Dependencies | base (<5), containers (>=0.3 && <=0.4), vector-space (>=0.6), wumpus-core (==0.34.0) [details] |
| License | BSD-3-Clause |
| Copyright | Stephen Tetley <stephen.tetley@gmail.com> |
| Author | |
| Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
| Uploaded | by StephenTetley at 2010-10-02T17:26:08Z |
| Category | Graphics |
| Home page | http://code.google.com/p/copperbox/ |
| Distributions | |
| Reverse Dependencies | 4 direct, 0 indirect [details] |
| Downloads | 14765 total (76 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] |