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).
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:
9.0 to 0.10.0:
Basic.Graphic.BaseClasses
andBasic.Graphic.BaseTypes
merged into same module so they can depend on each other without orphans instances.DrawingF
renamed toDrawingR
, the related type synonyms have also been changed, e.g.LocDrawingF
is nowLocDrawingR
.Method names in the
DrawingCtxM
class changed -askCtx
is nowaskDC
,localCtx
is nowlocalize
. Removed the functionsaskDF
,asksDF
,pureDF
that worked forDrawingF
(nowDrawingR
),DrawingR
now uses the Applicative'spure
and theDrawingCtxM
class for these functionalities.Basic.Graphic.DrawingContext
- renamedprimary_colour
tostroke_colour
andsecondary_colour
tofill_colour
. The setter functions has been similarly renamed.Added the type synonym
DrawingContextF
toBasic.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
fromBasic.Anchors
. This was a left-over from a previous implementation of Shapes and is not relevant to the current implementation.Added
DirectionContext
toBasic.Graphic
.localLG
removed it can be acheived with composition -localize upd . loc_graphic_function
.lgappend
is also removed - it can be recreated applicatively.
Modules
[Index]
Downloads
- wumpus-basic-0.10.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.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 (55 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] |