Apply fix from #4357 to agg_path_storage
This commit is contained in:
parent
618ddef663
commit
02af1f606c
1 changed files with 5 additions and 4 deletions
9
deps/agg/include/agg_path_storage.h
vendored
9
deps/agg/include/agg_path_storage.h
vendored
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue