Commit ef15849c authored by Sharaf Zaman's avatar Sharaf Zaman

Use fillPath to set clipping region

This prevents meshgradient being rendered outside the
clipped region, because it was based on boundingRect
parent 0a829ca0
......@@ -65,7 +65,7 @@ void KoMeshGradientBackground::paint(QPainter &painter,
// d->renderer->patchImage()->save("mesh-patch.png");
// patch is to be drawn wrt. to "user" coordinates
painter.drawImage(meshBoundingRect, *d->renderer->patchImage());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment