Erase parts of a path

18 views
Skip to first unread message

Michael Maier

unread,
Mar 2, 2014, 7:31:15 AM3/2/14
to pdfhummus-in...@googlegroups.com
Hi,
I'm playing with the drawing functions of PDFHummus at the moment and wondered if it is possible to erase some parts of my drawings. I have the globalCompositeOperation property of HTML5 Canvas in mind. You can use destination-out to erase some parts of drawings you painted with source-over. Is there anything similar in PDFHummus?

Thanks,
Michael

Gal Kahana

unread,
Mar 3, 2014, 1:34:22 AM3/3/14
to pdfhummus-in...@googlegroups.com
Hi Michael,
Nope.
PDFHummus uses the natural graphics model of PDF, which does not propose such a functionality.
My suggestion is to either erase by using a background color, or recreate the original graphics without the desired cut out area.

Regards,
Gal.
Reply all
Reply to author
Forward
0 new messages