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

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

Wumpus.Drawing.Shapes.Diamond

Description

Diamond (rhombus).

Synopsis

Documentation

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

diamond : half_width * half_height -> shape

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