https://bugs.freedesktop.org/show_bug.cgi?id=44731

--- Comment #8 from [email protected] ---
Created attachment 98040
  --> https://bugs.freedesktop.org/attachment.cgi?id=98040&action=edit
Clipping patch (experimental)

Clipping must be performed without modifying of source objects.
But there is no such feature in LibreOffice Draw.
I have tried to implement modifying clipping.
But I was faced with two problems:
1. Radial gradients rendered by poppler as 256 polygons with 400 points.
That is bad for performance, but when clip is applied, situation becomes even
worse.
2. Function basegfx::tools::clipPolyPolygonOnPolyPolygon() behaves badly in
border cases. With my test file it fails 2 times: with radial gradient clipping
and with pattern fill clipping.
Here is my experimental patch file.
Maybe it will be useful for someone.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to