[reportlab-users] diagonal ShadedRect and Clipping ?
Romuald Texier
reportlab-users@reportlab.com
Tue, 6 Aug 2002 11:04:41 +0200
Le Lundi 05 Août 2002 22:00, vous avez écrit :
> Hi,
>
> I'm writing a ShadedRect version with rotated shading area.
> I attached an example png and a sample code (diagonal ShadedRect).
>
> Question:
>
> How can I use Path (which has isClipPath) for the right clipping ?
> Where should I add the clip object ?
> Can I do this with one clip object or do I need more than one ?
It looks like emulated shading. I know PDF supports true shading but maybe
renderPM does not ?
Sincerely,
--
Romuald Texier