Apply fix from #4357 to agg_path_storage

This commit is contained in:
Artem Pavlenko 2022-10-18 14:13:35 +01:00
parent 618ddef663
commit 02af1f606c

View file

@ -981,10 +981,11 @@ namespace agg
{ {
join_path(a); 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
line_to(x, y); // bezier curves from accidentally assuming that the previous command
} // was a bezier curve as well when calculating reflection points.
line_to(x, y);
} }
else else
{ {