[reportlab-users] wouldn't it be interesting...

Jerome Alet reportlab-users@reportlab.com
Tue, 11 Feb 2003 23:07:05 +0100


Hi there,

wouldn't it be interesting to make all canvas methods which
currently return nothing (None) return self instead ?

this would allow things like

canvas.saveState().scale(0.5,0.5).drawString(10,10, "Hello").restoreState()
 
well, it's probably a bad example but you get the point,
this would work ad nauseam.

I don't need this. It's only for fun, but maybe this could
prove to be useful, and I can dedicate the time to do the
modifications.

Any comments ?

Jerome Alet