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
7
deps/agg/include/agg_path_storage.h
vendored
7
deps/agg/include/agg_path_storage.h
vendored
|
@ -981,11 +981,12 @@ 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
|
||||||
|
// bezier curves from accidentally assuming that the previous command
|
||||||
|
// was a bezier curve as well when calculating reflection points.
|
||||||
line_to(x, y);
|
line_to(x, y);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
move_to(x, y);
|
move_to(x, y);
|
||||||
|
|
Loading…
Reference in a new issue