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

PortabilityGHC
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>

Wumpus.Drawing.Shapes.Base

Description

Common core for shapes

Synopsis

Documentation

type LocShape u a = LocCF u (a, Path u)Source

intoLocShape :: LocCF u a -> LocCF u (Path u) -> LocCF u (a, Path u)Source

roundCornerShapePath :: (Real u, Floating u, FromPtSize u) => [Point2 u] -> CF (Path u)Source

Draw the shape path with round corners.

data ShapeCTM u Source

Instances

Eq u => Eq (ShapeCTM u) 
Ord u => Ord (ShapeCTM u) 
Show u => Show (ShapeCTM u) 
Rotate (ShapeCTM u) 
(Real u, Floating u) => RotateAbout (ShapeCTM u) 
Num u => Scale (ShapeCTM u) 
Num u => Translate (ShapeCTM u)