[pstricks] mixing colours of overlapping objects while disregarding paper background colour

Alexander Grahn A.Grahn at fzd.de
Wed Jun 10 14:53:57 CEST 2009


I wish it were possible to mix the colour of overlapping objects but,
at the same time, to prevent the background colour from being mixed in.

Consider the example below where I have a red (rgb=1 0 0) circle and a
blue (rgb=0 0 1) ellipse, overlapping each other. It would be extremely
nice to have the overlapping region to be filled with colour rgb=1 0 1
and the non-overlapping regions to be filled with fully saturated red
and blue colours.

Unfortunately, neither black nor white backgrounds give the desired

Is there a way to achieve this in the final ps2pdf generated PDF?

Thanks for your suggestions!








More information about the PSTricks mailing list