W3C home > Mailing lists > Public > www-svg@w3.org > November 2011

Re: Correct usage of cubic Bézier curve command s/S

From: Satz Klauer <satzklauer@googlemail.com>
Date: Tue, 22 Nov 2011 19:27:54 +0100
Message-ID: <CAJoPetoXOdgHYoYC790jVMdJRYNEGzkm1e7_0TnF0pFJqr-KuA@mail.gmail.com>
To: Jasper van de Gronde <th.v.d.gronde@hccnet.nl>
Cc: www-svg@w3.org
On 11/22/11, Jasper van de Gronde <th.v.d.gronde@hccnet.nl> wrote:
> On 22-11-11 12:55, Satz Klauer wrote:
> You should indeed reflect in the "current" point, so I would
> double-check your implementation. Suppose the last control point of the
> previous curve was c1 and the "current" point is p1, then the first
> control point of the new curve is p1+(p1-c1)=2*p1-c1.

Thanks for confirming that. It was correct in my application but
stored values of the previous point have been wrong. So that hint
helped to find the reason, thanks for that!

Received on Tuesday, 22 November 2011 18:28:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:33 UTC