wumpus-basic
Version 0.16.0 revision 0 uploaded by StephenTetley.
Package meta
- Synopsis
- Basic objects and system code built on Wumpus-Core.
- Description
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.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
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.
- Author
- n/a
- Bug reports
- n/a
- Category
- Graphics
- Copyright
- Stephen Tetley <stephen.tetley@gmail.com>
- Homepage
- http://code.google.com/p/copperbox/
- Maintainer
- Stephen Tetley <stephen.tetley@gmail.com>
- Package URL
- n/a
- Stability
- highly unstable