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:
commit
618ddef663
1 changed files with 6 additions and 4 deletions
|
@ -382,10 +382,12 @@ void path_adapter<VC>::arc_to(double rx,
|
|||
{
|
||||
join_path(a);
|
||||
}
|
||||
else
|
||||
{
|
||||
line_to(x, y);
|
||||
}
|
||||
|
||||
// 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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue