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

PortabilityGHC
Stabilityhighly unstable
Maintainerstephen.tetley@gmail.com
Safe HaskellSafe-Infered

Wumpus.Drawing.Basis.ShapeTrails

Description

 

Synopsis

Documentation

ellipse_trail :: (Real u, Floating u) => u -> u -> AnaTrail uSource

rellipse_trail :: (Real u, Floating u) => u -> u -> Radian -> AnaTrail uSource

rectangle_trail :: (Real u, Floating u) => u -> u -> AnaTrail uSource

rrectangle_trail :: (Real u, Floating u) => u -> u -> Radian -> AnaTrail uSource

diamond_trail :: (Real u, Floating u) => u -> u -> AnaTrail uSource

rdiamond_trail :: (Real u, Floating u) => u -> u -> Radian -> AnaTrail uSource

risosceles_triangle_trail :: (Real u, Floating u) => u -> u -> Radian -> AnaTrail uSource

Drawn at the centroid (1/3 * h).

parallelogram_trail :: Floating u => u -> u -> Radian -> AnaTrail uSource

Note - bottom left angle must be smaller than 180deg, otherwise a runtime error is thrown.

rparallelogram_trail :: Floating u => u -> u -> Radian -> Radian -> AnaTrail uSource

Note - bottom left angle must be smaller than 180deg, otherwise a runtime error is thrown.

trapezium_trail :: Floating u => u -> u -> Radian -> AnaTrail uSource

Note - bottom left angle must be smaller than 180deg, otherwise a runtime error is thrown.

Also, no checking is perfomed on the relation between height and bottom_left ang. Out of range values will draw "twisted" trapezoids.

rtrapezium_trail :: Floating u => u -> u -> Radian -> Radian -> AnaTrail uSource

Note - bottom left angle must be smaller than 180deg, otherwise a runtime error is thrown.