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.Diamond

Description

Simple shapes - rectangle, circle diamond, ellipse.

Synopsis

Documentation

diamond :: (Real u, Floating u, FromPtSize u) => u -> u -> LocShape u (Diamond u)Source

diamond : half_width * half_height -> shape

Note - args might change to tull_width and full_height...