[reportlab-users] diagonal ShadedRect and Clipping ?

Dirk Datzert reportlab-users@reportlab.com
Sat, 10 Aug 2002 10:28:27 +0200


Hi Robin,

clipping works now fine for my diagonal ShadedRect. really cool.

Now I have to go on with the details for a ShadedRect with diagonal
Shading.

What will be fit best into your software philisophie ?

1. extending ShadedRect class to do new orientation =
'diagonal_leftup'/'diagonal_leftdown'/ 'angle' + and a new
angle-AttrMapValue
2. new class derived from ShadedRect with new orientation and
angle-AttrMapValue, I would call this class RotatedShadedRect.

Regards,
Dirk