On Mon, Aug 12, 2013 at 12:21 AM, Jasper van de Gronde <th.v.d.gronde@hccnet.nl> wrote:
On 2013-08-10 07:14, Auguste Pop wrote:
> ...
> Should I file a bug report? Please comment.
It is not entirely clear to me in what way the approximation is /wrong/.
It is impossible to represent a circular arc using a B├ęzier curve, and
there is thus not one best approximation. In my experience the curves
look pretty decent, if you have an example where the approximation is
clearly of very bad quality, that would be interesting.

As for the inconsistency, that could indeed be considered a bug.
(Although as long as both approximations are of sufficient quality, I
wouldn't be too worried.)

I said the approximation is "wrong" because there's no literature or resource that I am aware of comes up with this solution. I know an circular arc can not be represented by a cubic bezier curve losslessly. But with a certain criteria, there's certainly a "best" approximation. The "best" approximation may be very difficult to calculate, so we will finally use some "good" answers. The traditional approximation which puts the middle point of bezier curve on the arc is one of the "good" answers. In any case, the approximation used by "Edit path by nodes" is not "good" nor "best".

Of course, this can not be "wrong" as the error is still relatively slow to human eyes. When inkscape is treated as a design tool, this behavior is acceptable. But as a computer program, it is using the "wrong" equation mathematically.

Best regards,