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).

Some of the modules (SafeFonts, SVGColours, X11Colours) are relatively stable. The core modules of Basic.Graphic (Base, PrimGraphic, DrawingContext) are quite weather-beaten if not exactly stable, although the newer modules (ScalingContext, DirectionContext) are still quite green. Other modules (Paths, Chains, Shapes) are essentially sketches and may be radically different in subsequent updates.

Changelog:

  1. 9.0 to 0.10.0:

  • Basic.Graphic.BaseClasses and Basic.Graphic.BaseTypes merged into same module so they can depend on each other without orphans instances.

  • DrawingF renamed to DrawingR, the related type synonyms have also been changed, e.g. LocDrawingF is now LocDrawingR.

  • Method names in the DrawingCtxM class changed - askCtx is now askDC, localCtx is now localize. Removed the functions askDF, asksDF, pureDF that worked for DrawingF (now DrawingR), DrawingR now uses the Applicative's pure and the DrawingCtxM class for these functionalities.

  • Basic.Graphic.DrawingContext - renamed primary_colour to stroke_colour and secondary_colour to fill_colour. The setter functions has been similarly renamed.

  • Added the type synonym DrawingContextF to Basic.Graphic.DrawingContext. Changed relevant function signatures to use it.

  • Re-worked the Path modules - base types entirely different, connectors entirely different, monadic path construction largely the same.

  • Initial work on round cornered paths.

  • Removed the type class TextAnchor from Basic.Anchors. This was a left-over from a previous implementation of Shapes and is not relevant to the current implementation.

  • Added DirectionContext to Basic.Graphic.

  • localLG removed it can be acheived with composition - localize upd . loc_graphic_function. lgappend is also removed - it can be recreated applicatively.

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.35.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-06T17:07:15Z
Distributions
Reverse Dependencies 4 direct, 0 indirect [details]
Downloads 14080 total (57 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]