wumpus-basic-0.15.0: wumpus-basic.cabal
name: wumpus-basic
version: 0.15.0
license: BSD3
license-file: LICENSE
copyright: Stephen Tetley <stephen.tetley@gmail.com>
maintainer: Stephen Tetley <stephen.tetley@gmail.com>
homepage: http://code.google.com/p/copperbox/
category: Graphics
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.14.0 to v0.15.0:
.
* Split previous @Wumpus-Basic@ package into two packages:
@Wumpus-Basic@ and @Wumpus-Drawing@. This is a pratical move
to separate the developed (although not yet polished) @Kernel@
and @FontLoader@ code from the prototypical @Drawing@ code.
.
* Renamed the @Drawing@ object to @CtxPicture@. Although
@CtxPicture@ is a less pleasant name, it should be less
confusing. A @CtxPicture@ is the essentially the @Picture@
type from Wumpus-Core with an implicit context -
@ContextPicture@ is simply too long and @CtxPicture@ is
almost jibberish but the previous unrelated name @Drawing@
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 the @DrawingContext@ - Wumpus-Drawing
can now calculate more appealing bounding boxes for text.
.
build-type: Simple
stability: highly unstable
cabal-version: >= 1.2
extra-source-files:
CHANGES,
LICENSE,
demo/FontDeltaPic.hs
library
hs-source-dirs: src
build-depends: 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.42.0 && < 0.43.0
exposed-modules:
Wumpus.Basic.Kernel,
Wumpus.Basic.Kernel.Base.Anchors,
Wumpus.Basic.Kernel.Base.BaseDefs,
Wumpus.Basic.Kernel.Base.ContextFun,
Wumpus.Basic.Kernel.Base.DrawingContext,
Wumpus.Basic.Kernel.Base.GlyphMetrics,
Wumpus.Basic.Kernel.Base.QueryDC,
Wumpus.Basic.Kernel.Base.ScalingContext,
Wumpus.Basic.Kernel.Base.UpdateDC,
Wumpus.Basic.Kernel.Base.WrappedPrimitive,
Wumpus.Basic.Kernel.Objects.AdvanceGraphic,
Wumpus.Basic.Kernel.Objects.BaseObjects,
Wumpus.Basic.Kernel.Objects.Bounded,
Wumpus.Basic.Kernel.Objects.Connector,
Wumpus.Basic.Kernel.Objects.CtxPicture,
Wumpus.Basic.Kernel.Objects.Graphic,
Wumpus.Basic.Kernel.Objects.TraceDrawing,
Wumpus.Basic.System.FontLoader.Afm,
Wumpus.Basic.System.FontLoader.GhostScript,
Wumpus.Basic.System.FontLoader.Base.AfmParserBase,
Wumpus.Basic.System.FontLoader.Base.AfmV2Parser,
Wumpus.Basic.System.FontLoader.Base.AfmV4Dot1Parser,
Wumpus.Basic.System.FontLoader.Base.Datatypes,
Wumpus.Basic.System.FontLoader.Base.FontLoadMonad,
Wumpus.Basic.System.FontLoader.Base.GSFontMap,
Wumpus.Basic.Utils.HList,
Wumpus.Basic.Utils.FormatCombinators,
Wumpus.Basic.Utils.JoinList,
Wumpus.Basic.Utils.ParserCombinators,
Wumpus.Basic.Utils.TokenParsers,
Wumpus.Basic.VersionNumber
other-modules:
extensions:
ghc-options:
includes: