On Sat, 2008-07-19 at 03:57 -0300, bulia byak wrote:
On Sat, Jul 19, 2008 at 3:45 AM, MenTaLguY <mental@...3...> wrote:
Hm, wouldn't the merging make sense to do at serialization time then? (since only the fancy optimization code knows exactly what it will keep and what it won't?)
No, because I may have introduced them intentionally, for any number of reasons, and don't want to lose them. It would be a bad kind of surprise if I now have two nodes, save and reopen the file and suddenly there's only one.
As I said, these 'stitches' introduced at intersections by boolops are a distinct 2geom curve/segment type; they are distinguishable from regular line segments. I wasn't suggesting indiscriminately collapsing all short line segments.
Pretty much all which would need to be done is to simply skip outputting segments of type Geom::Path::StitchSegment to SVG.
-mental