
Hi,
I am in need some advice and suggestions from an extensions expert..
I would like to improve the pdf exporter by handle clippaths (and maybe later masks), but I am having a hard time figuring out how I best can go about to add such features. ( There is no code for this in the postscript exporter that I can copy :-)
Should it be possible to continue using a "print" extension or do I need to start use an "output" extension for this? I understand that an output extension is handed the full document tree at once. A print extension on the other hand is given a single path at a time together with the needed style, transformation matrix, bounding box, and so on. But I don't see if and how a print extension can get information about the needed clipping path.
If there is no information about the clippath available for print extensions would it be okay to add this (by changing the interface)? Is it then better with a new set_clippath method or an extra clippath parameter for the fill and stroke methods?
Ulf