Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b26f5 commit dc89454Copy full SHA for dc89454
1 file changed
src/_backend_agg.cpp
@@ -1304,7 +1304,7 @@ RendererAgg::draw_path(const Py::Tuple& args)
1304
1305
trans *= agg::trans_affine_scaling(1.0, -1.0);
1306
trans *= agg::trans_affine_translation(0.0, (double)height);
1307
- bool clip = !face.first && gc.hatchpath.isNone();
+ bool clip = !face.first && gc.hatchpath.isNone() && !path.has_curves();
1308
bool simplify = path.should_simplify() && clip;
1309
1310
transformed_path_t tpath(path, trans);
@@ -1498,7 +1498,7 @@ RendererAgg::_draw_path_collection_generic
1498
}
1499
1500
1501
- bool do_clip = !face.first && gc.hatchpath.isNone();
+ bool do_clip = !face.first && gc.hatchpath.isNone() && !has_curves;
1502
1503
if (check_snap)
1504
{
0 commit comments