Improve getCurveIntersections() for use with neighboring curves.

As needed by bezier offsetting code.
This commit is contained in:
Jürg Lehni 2017-02-11 21:19:37 +01:00
parent 5736ebaa19
commit 1b50355585

View file

@ -2161,8 +2161,8 @@ new function() { // Scope for intersection using bezier fat-line clipping
// Do not compare indices to determine connection, since // Do not compare indices to determine connection, since
// one array of curves can contain curves from separate // one array of curves can contain curves from separate
// sup-paths of a compound path. // sup-paths of a compound path.
excludeStart: self && curve1.getPrevious() === curve2, excludeStart: curve1.getPrevious() === curve2,
excludeEnd: self && curve1.getNext() === curve2 excludeEnd: curve1.getNext() === curve2
} }
); );
} }