diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2015-04-28 23:02:19 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2015-04-28 23:02:19 +0000 |
| commit | cfa7054c950050095e596edd18fedad53e7ed636 (patch) | |
| tree | 2142ac03239c40a4af6b367754ddf3421e337577 /src/2geom/path.h | |
| parent | 2Geom sync - initial commit (diff) | |
| download | inkscape-cfa7054c950050095e596edd18fedad53e7ed636.tar.gz inkscape-cfa7054c950050095e596edd18fedad53e7ed636.zip | |
Fix calls to Geom::cross() - sign change.
(bzr r14059.2.2)
Diffstat (limited to 'src/2geom/path.h')
| -rw-r--r-- | src/2geom/path.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/2geom/path.h b/src/2geom/path.h index 1940aa580..8d585cd57 100644 --- a/src/2geom/path.h +++ b/src/2geom/path.h @@ -749,6 +749,10 @@ public: do_append(new CurveType(finalPoint(), a, b, c, d, e, f, g, h, i)); } + /** @brief Reduce the closing segment to a point if it's shorter than precision. + * Do this by moving the final point. */ + void snapEnds(Coord precision = EPSILON); + /// Append a stitching segment ending at the specified point. void stitchTo(Point const &p); |
