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

Description

 

Synopsis

Documentation

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

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

Note - vector represents midpoint of the baseline to the tip. Angle is the ang of the tip.

This trail is primarily for drawing arrowheads.

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

Note - vector represents midpoint of the baseline to the tip. Angle is the ang of the tip.

This trail is primarily for drawing arrowheads. The resulting path is open.

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

v1 is the interior vector.

trail_diagh :: (Real u, Floating u) => u -> Vec2 u -> CatTrail uSource

Diagonal-horizontal trail.

    --@
   /
  o

trail_diagv :: (Real u, Floating u) => u -> Vec2 u -> CatTrail uSource

trail_hdiag :: (Real u, Floating u) => u -> Vec2 u -> CatTrail uSource

trail_vdiag :: (Real u, Floating u) => u -> Vec2 u -> CatTrail uSource

trail_hdiagh :: (Real u, Floating u) => u -> u -> Vec2 u -> CatTrail uSource

Horizontal-diagonal-horizontal trail.

      --@
     /
  o--

trail_vdiagv :: (Real u, Floating u) => u -> u -> Vec2 u -> CatTrail uSource

trail_perp_bar :: (Real u, Floating u) => ClockDirection -> u -> Vec2 u -> CatTrail uSource

Uniform leg size.

trail_perp_bar2 :: (Real u, Floating u) => ClockDirection -> u -> u -> Vec2 u -> CatTrail uSource

Bar connector - independent leg size, legs perpendicular.

  o    @ 
  |    |
  '----'  

The bar is drawn below the points.

trail_vflam :: (Real u, Floating u) => ClockDirection -> u -> u -> Vec2 u -> CatTrail uSource

Independent leg size.

trail_ortho_hbar :: (Real u, Floating u) => ClockDirection -> u -> Vec2 u -> CatTrail uSource

Height is minimum leg height. Ortho bar is horizontal.

trail_ortho_vbar :: (Real u, Floating u) => ClockDirection -> u -> Vec2 u -> CatTrail uSource

Width is minimum leg width. Ortho bar is vertical.

trail_hrr :: (Floating u, Ord u) => u -> Vec2 u -> CatTrail uSource

trail_vrr :: (Floating u, Ord u) => u -> Vec2 u -> CatTrail uSource

trail_rrh :: (Floating u, Ord u) => u -> Vec2 u -> CatTrail uSource

trail_rrv :: (Floating u, Ord u) => u -> Vec2 u -> CatTrail uSource

trail_rect_loop :: (Real u, Floating u) => ClockDirection -> u -> u -> u -> Vec2 u -> CatTrail uSource

vtriCurve :: (Real u, Floating u) => ClockDirection -> u -> Vec2 u -> CatTrail uSource

triCurve formulated with a base vector rather than base-width and angle of inclination.

vrectCurve :: (Real u, Floating u) => ClockDirection -> u -> Vec2 u -> CatTrail uSource

rectCurve formulated with a base vector rather than base-width and angle of inclination.

vtrapCurve :: (Real u, Floating u) => ClockDirection -> u -> Radian -> Vec2 u -> CatTrail uSource

trapCurve formulated with a base vector rather than base-width and angle of inclination.

vbowCurve :: (Real u, Floating u) => ClockDirection -> u -> Vec2 u -> CatTrail uSource

bowCurve formulated with a base vector rather than base-width and angle of inclination.

vwedgeCurve :: (Real u, Floating u) => ClockDirection -> u -> Vec2 u -> CatTrail uSource

wedgeCurve formulated with a base vector rather than base-width and angle of inclination.