|
definition: |
bezBowSvg :: Point -> Point -> Float -> XmlExp
bezBowSvg from to dir = let bOffset = dir * (snd nodeSize) * 0.7
in XElem "path"
[ ( "d", unwords ["M", (svgCoord from),
"C", (svgCoord (movePoint from (0, bOffset))),
(svgCoord (movePoint to (0, bOffset))),
(svgCoord to)] ),
( "stroke", "black" ),
( "fill", "none" ) ]
[]
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
draws a 180° turn Bezier curve |
|
failfree: |
(_, _, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_,_) |-> {XElem}}
|
|
name: |
bezBowSvg |
|
precedence: |
no precedence defined |
|
result-values: |
{XElem}
|
|
signature: |
(Prelude.Float, Prelude.Float) -> (Prelude.Float, Prelude.Float) -> Prelude.Float -> XML.XmlExp |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |