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

Description

Diamond (rhombus).

Synopsis

Documentation

diamond :: (Real u, Floating u, InterpretUnit u, Tolerance u) => u -> u -> Shape Diamond uSource

diamond : half_width * half_height -> shape

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