Merge branch 'fix-svg-smooth-curve-after-arc' of github.com:kkaefer/mapnik into kkaefer-fix-svg-smooth-curve-after-arc

This commit is contained in:
Artem Pavlenko 2022-10-18 14:11:22 +01:00
commit 618ddef663

View file

@ -382,11 +382,13 @@ void path_adapter<VC>::arc_to(double rx,
{
join_path(a);
}
else
{
// We are adding an explicit line_to, even if we've already add the
// bezier arc to the current path. This is to prevent subsequent smooth
// bezier curves from accidentally assuming that the previous command
// was a bezier curve as well when calculating reflection points.
line_to(x, y);
}
}
else
{
move_to(x, y);