wumpus-drawing-0.9.0: High-level drawing objects built on Wumpus-Basic.

PortabilityGHC
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>
Safe HaskellSafe-Infered

Wumpus.Drawing.Extras.Clip

Description

Clipping paths.

Note - at the moment there is nothing much to this module. Ideally, clipping would be defined in Wumpus-Basic, but clipping needs a higher level path object than Wumpus-Basic provides.

** WARNING ** names need improving.

Synopsis

Documentation

locClip :: InterpretUnit u => AbsPath u -> LocGraphic u -> LocGraphic uSource

Clip a LocGraphic.

** WARNING ** - AbsPath (coordinate-specific) is the wrong object to clip a LocGraphic (coordinate-free).