[reportlab-users] diagonal ShadedRect and Clipping ?

Robin Becker reportlab-users@reportlab.com
Tue, 6 Aug 2002 10:09:28 +0100


In article <3D49FF140017C039@mel-rta7.wanadoo.fr>, Romuald Texier
<romuald.texier@elikya.com> writes
>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,
>
as done in ShadedRect even the PDF is simulated with multiple
Rectangles.
-- 
Robin Becker