19 Jul
2008
19 Jul
'08
6:45 a.m.
On Sat, 2008-07-19 at 03:15 -0300, bulia byak wrote:
And that is great, I remember how I cursed Xara for its ugly linear segments it inserted at path intersections. So, kudos for the achievement, but please remember we're creating a practical tool, not a mathematical demo :) so I think you should merge any nodes that will end up in the exact same position anyway after serializing to SVG.
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?)
The introduced line segments are marked by having a special curve type Geom::Path::StitchSegment (which is a subclass of Geom::LineSegment), so it is fairly easy to know which to merge.
-mental