[scribus-dev] Path Clipping Library

Christoph Bartoschek ponto at pontohonk.de
Tue Mar 31 20:53:08 UTC 2020


Hi,

as you have seen in https://bugs.scribus.net/view.php?id=16073
QPainterPath::intersected()
is buggy. Does Scribus already have or do you know a library that correctly
implements clipping?

For PDF import it is necessary that the library can set non-zero winding
rule or even-odd rule to each path and then compute the correct output.

I tried to look at some candidates:
Cairo: Not sure but it looks to me as if the fill rule cannot be set
independently between the current clip path and the new one.
lib2geom: Cannot find how to set the fill rule for a path.

Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus-dev/attachments/20200331/08fd51f9/attachment.htm>


More information about the scribus-dev mailing list