@hackage wumpus-basic0.18.0

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 (currently 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.17.0 to v0.18.0:

  • Major change - removed ContextFun from Kernel.Base. Now the drawing objects (Image, LocImage, Connector...) are newtype wrapped Reader-Writer monads rather than aliases to one of the arity family of ContextFuns. Being newtypes gives a lot better opportunities for overloading.

  • Changed Displacement API - it is smaller, and the function naming is more uniform.

  • Changed DrawingPimitives to use DrawStyle.

  • Moved vertices generating functions from Geometry.Path to Geometry.Vertices.