wumpus-basic: Basic objects and system code built on Wumpus-Core.
Kernel code for higher-level drawing built on Wumpus-Core. This package provides font loader code (limited to AFM font files) and a various drawing objects intended to be a higher-level basis to make vector drawings than the primitives (paths, text labels) provided by Wumpus-Core.
** WARNING ** - this package is alpha grade and it is
strongly coupled to the package Wumpus-Drawing
which is
sub-alpha grade. The packages are split as it is expected they
will have different development speeds - Wumpus-Basic
needs
polishing and refinement; Wumpus-Drawing
simply needs a lot of
work to move its components from proof-of-concept ideas to
being readily usable.
NOTE - the demos that were previously included are now in the
package Wumpus-Drawing
.
Changelog:
v0.16.0 to v0.17.0:
Changed representation of ContextFuns - context funs are no longer an arity family of newtypes. The new representation is simpler, but some of the opportunities for overloading have been lost.
Substantial round of renaming for the
DrawingContext
types an query and update functions.Re-worked the font metrics and font loader modules. The new names should be more systematic. Removed the need for the GhostScript font modules to match PostScript names to GhostScript font files.
Superceded the PointSupplyM class by adding snapping grid scaling to the DrawingContext.
Removed
ScalingContext
module.Made text colour a distinct property in the DrawingContext. Text is now drawn with the text colour rather than the stroke colour.
Added FontLoadLog to the DrawingContext - this allows access to the errors recorded during font loading.
v0.15.0 to v0.16.0:
Moved the Geometry modules from Wumpus-Drawing into Wumpus-Basic.
Re-worked the
CtxPicture
API, although the current naming scheme is not satisfactory.Added extra Anchor classes.
Added
PosImage
object - this is a rectangle-framed object that can be drawn from any of its corners or its center.Added
CF3
, an arity three ContextFunction.Added
Displacement
module. This defines thePointDisplace
type and provides a library ofPointDisplace
functions. Note - some of the new functions have taken names previously used for anchor projection functions (northwards
,southwards
, etc.), anchor projections are now build with the functionprojectAnchor
.Added the property
descender
to the font metrics.Split drawing primitives from type in
Objects.Graphic
, drawing primitives are now in the moduleObjects.DrawingPrimitives
.
v0.14.0 to v0.15.0:
Split previous
Wumpus-Basic
package into two packages:Wumpus-Basic
andWumpus-Drawing
. This is a pratical move to separate the developed (although not yet polished)Kernel
andFontLoader
code from the prototypicalDrawing
code.Renamed the
Drawing
object toCtxPicture
. AlthoughCtxPicture
is a less pleasant name, it should be less confusing. ACtxPicture
is the essentially thePicture
type from Wumpus-Core with an implicit context -ContextPicture
is simply too long andCtxPicture
is almost jibberish but the previous unrelated nameDrawing
was not helpful.Kernel.Base.ScalingContext
has been simplified. ScalingContexts are no longer manipulated via a custom Reader monad or transformer as the type signatures were too unwieldy.Added
TextMargin
to theDrawingContext
- Wumpus-Drawing can now calculate more appealing bounding boxes for text.
Modules
[Index]
- Wumpus
- Basic
- Wumpus.Basic.Geometry
- Wumpus.Basic.Kernel
- Base
- Objects
- Wumpus.Basic.Kernel.Objects.AdvObject
- Wumpus.Basic.Kernel.Objects.Anchors
- Wumpus.Basic.Kernel.Objects.Basis
- Wumpus.Basic.Kernel.Objects.Bounded
- Wumpus.Basic.Kernel.Objects.Chain
- Wumpus.Basic.Kernel.Objects.Concat
- Wumpus.Basic.Kernel.Objects.Connector
- Wumpus.Basic.Kernel.Objects.CtxPicture
- Wumpus.Basic.Kernel.Objects.Displacement
- Wumpus.Basic.Kernel.Objects.DrawingPrimitives
- Wumpus.Basic.Kernel.Objects.Image
- Wumpus.Basic.Kernel.Objects.LocImage
- Wumpus.Basic.Kernel.Objects.LocThetaImage
- Wumpus.Basic.Kernel.Objects.Orientation
- Wumpus.Basic.Kernel.Objects.PosObject
- Wumpus.Basic.Kernel.Objects.TraceDrawing
- System
- Utils
- Wumpus.Basic.VersionNumber
- Basic
Downloads
- wumpus-basic-0.17.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.6), directory (>=1.0 && <2.0), filepath (>=1.1 && <2.0), vector-space (>=0.6 && <1.0), wumpus-core (>=0.50.0 && <0.51.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 2011-04-19T19:15:56Z |
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] |