Re: [Inkscape-devel] [Lib2geom-devel] path parsing - nartbpath optimization?
-----Original Message----- From: njh [mailto:njh@...1927...] Sent: zondag 29 juni 2008 19:01 To: Engelen, J.B.C. (Johan) Cc: inkscape-devel@lists.sourceforge.net; lib2geom-devel@lists.sourceforge.net Subject: Re: [Lib2geom-devel] path parsing - nartbpath optimization?
On Sun, 29 Jun 2008 J.B.C.Engelen@...1578... wrote:
Hi all,
When parsing "M 0,0 1,0 1,1 0,1 0,0 z", the old nartbpath
optimizes it
and stores it like: "M 0,0 1,0 1,1 0,1 z". The 2geom path
parser does
not. So when writing the path back to svg, nartbpath and
2geom don't
match up.
Write a path optimiser function. If you're going to optimise this, why not consider more interesting optimisations like reparameterisation?
This may be a good idea for later, but for now I was interested in "the right"(TM) behavior. What Inkscape used to be doing.
:) Johan
participants (1)
-
unknown@example.com