wumpus-core-0.42.0: Pure Haskell PostScript and SVG generation.

MaintainerStephen Tetley <stephen.tetley@gmail.com>



Common interface to Wumpus.Core.

This is a shim module re-exporting types and functions from the exposed Wumpus-Core modules. In most cases, importing just this module should be sufficient to use Wumpus-Core.

Named colours ( black, white etc.) are hidden from the module Wumpus.Core.Colour to avoid collisions with modules that define colour sets (e.g. all the SVG colours). If named colours are needed, Wumpus.Core.Colour can be imported directly.

Courier metrics (charWidth, textHeight, etc.) are hidden from the module Wumpus.Core.FontSize. As these metrics are somewhat approximate, it is expected that if higher-level software needs these functionality it should define its own implementations. However the functions may be convenient and if they are needed, Wumpus.Core.FontSize can be imported directly.