wumpus-basic: Common drawing utilities built on wumpus-core.

[ bsd3, graphics, library ] [ Propose Tags ]

** 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:

  1. 8.0 to 0.9.0:

  • Re-worked Basic.Text.LRSymbol changed the type name and the types of the run functions. Added more symbols and a new demo Symbols.hs.

  • ScalingContext added to Basic.Graphic. Changed monoTextWidth to take a character count, the old behaviour is recreated by the new function monoTextLength.

  • Basic.Graphic.Chain removed. It is now superseded by Basic.Chains.

  • Added new property to DrawingContext for line spacing scaling factor, and added a new drawing primitive textlineMulti for multi-line, left justified labels.

  • Synthezied attribute getters such as textDimensions moved from Basic.Graphic.DrawingContext to the new module Basic.Graphic.Query. The type of all the functions has changed to DrawingF. lowerxHeight is renamed monoLowerxHeight emphasizing 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.

  1. 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 - DrawingObject renamed to DrawingF. HPrim wrapped as a newtype to support a Monoid instance. Removed appendGraphic and gcat as they can be achieved with mappend and mconcat. appendAt renamed to lgappend. PointT remaned to PointF.

  • Changes to Graphic.Basic.Drawing - drawAt, drawAtImg, drawConn, drawConnImg all removed. They are replaced by draw and drawi together with then new at and conn combinators.

  • Changes to Basic.Graphic.PrimGraphic - localDrawingContext renamed to localLG and moved to Basic.Graphic.BaseTypes.

  • Updates to Basic.SafeFonts to work with changes to Wumpus.Core.

Downloads

Maintainer's Corner

Package maintainers

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>
Category Graphics
Home page http://code.google.com/p/copperbox/
Uploaded by StephenTetley at 2010-10-02T17:26:08Z
Distributions
Reverse Dependencies 4 direct, 0 indirect [details]
Downloads 14074 total (53 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]