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.LRSymbol
changed the type name and the types of the run functions. Added more symbols and a new demoSymbols.hs
.ScalingContext
added toBasic.Graphic
. ChangedmonoTextWidth
to take a character count, the old behaviour is recreated by the new functionmonoTextLength
.Basic.Graphic.Chain
removed. It is now superseded byBasic.Chains
.Added new property to
DrawingContext
for line spacing scaling factor, and added a new drawing primitivetextlineMulti
for multi-line, left justified labels.Synthezied attribute getters such as
textDimensions
moved fromBasic.Graphic.DrawingContext
to the new moduleBasic.Graphic.Query
. The type of all the functions has changed to DrawingF.lowerxHeight
is renamedmonoLowerxHeight
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.
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 toDrawingF
.HPrim
wrapped as a newtype to support a Monoid instance. RemovedappendGraphic
andgcat
as they can be achieved withmappend
andmconcat
.appendAt
renamed tolgappend
.PointT
remaned toPointF
.Changes to
Graphic.Basic.Drawing
-drawAt
,drawAtImg
,drawConn
,drawConnImg
all removed. They are replaced bydraw
anddrawi
together with then newat
andconn
combinators.Changes to
Basic.Graphic.PrimGraphic
-localDrawingContext
renamed tolocalLG
and moved toBasic.Graphic.BaseTypes
.Updates to
Basic.SafeFonts
to 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> |
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 | 14471 total (1 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] |