I haven’t used any, but there is one at http://www.angusj.com/delphi/clipper.php which also lists a bunch of others…
Leonard From: Christoph Bartoschek <[email protected]> Reply-To: Scribus List <[email protected]> Date: Tuesday, March 31, 2020 at 4:53 PM To: Scribus List <[email protected]> Subject: [scribus-dev] Path Clipping Library Hi, as you have seen in https://bugs.scribus.net/view.php?id=16073<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.scribus.net%2Fview.php%3Fid%3D16073&data=02%7C01%7Clrosenth%40adobe.com%7C775accd781e249a842be08d7d5b59e3a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637212848347191769&sdata=%2Fo466ikuHNNUXOFraCO80yL5rPqdqdgDha8xSsoackw%3D&reserved=0> 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
_______________________________________________ scribus-dev mailing list [email protected] http://lists.scribus.net/mailman/listinfo/scribus-dev
