diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2015-04-29 01:25:47 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2015-04-29 01:25:47 +0000 |
| commit | 658291159764636339acd95389827eb8ae159ecb (patch) | |
| tree | a8b7c637dbc71ca4a4d783129dee9d9fc7d7573f /src | |
| parent | Catch more intersections (can still be improved somewhat I think) (diff) | |
| download | inkscape-658291159764636339acd95389827eb8ae159ecb.tar.gz inkscape-658291159764636339acd95389827eb8ae159ecb.zip | |
Increase precision (long thin paths had a ton of width variance), fix logic error
(bzr r14070)
Diffstat (limited to 'src')
| -rw-r--r-- | src/helper/geom-pathstroke.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/helper/geom-pathstroke.cpp b/src/helper/geom-pathstroke.cpp index a33fb005b..292ba3044 100644 --- a/src/helper/geom-pathstroke.cpp +++ b/src/helper/geom-pathstroke.cpp @@ -427,8 +427,6 @@ void join_inside(join_data jd) } else { res.appendNew<Geom::LineSegment>(temp.initialPoint()); res.append(temp); - // add the rest of the path - res.insert(res.end(), ++jd.outgoing.begin(), jd.outgoing.end()); } } @@ -607,7 +605,7 @@ void offset_quadratic(Geom::Path& p, Geom::QuadraticBezier const& bez, double wi void offset_curve(Geom::Path& res, Geom::Curve const* current, double width) { - double const tolerance = 0.005; + double const tolerance = 0.0025; size_t levels = 8; if (current->isDegenerate()) return; // don't do anything |
