Re: rel and absolute.

DPawson@rnib.org.uk wrote:

> Resolved:
>    The two control points are relative to the startX and startY points,
>    not to the preceeding point.

... so it's

<svg viewBox="0 0 100 100">
<path
  style='stroke:black;fill:none'
       d="M 10 10 l 10,10  c 0,20   40,0  0,-20"/>
<path d="M 10 10 L 20,20  C 20,40  60,20  20,0"
  style="stroke: red; fill:none"/>
</svg>

In the second line, for the values after L, the values after the first M 
are added, because that's what the values after l are relative to.

For the values after C, the values of the last current point l are also 
added, because that's what the values after c are relative to (and l 
itself is relative to M in turn); so it's + 20 for each pair.

Is that correct?

Tobi

-- 
Neither simple nor complex matters are to be complicated.

Received on Tuesday, 9 April 2002 10:37:02 UTC