[reportlab-users] How to rotate a text object

Rüdiger Mähl reportlab-users@reportlab.com
Mon, 27 May 2002 08:57:48 +0200


Jerome Alet schrieb am 24.05.02:
> On Fri, May 24, 2002 at 11:53:07AM +0200, Rüdiger Mähl wrote:
> > I would like to write a text rotated by 90 degrees. 
> > 
> > I found in the user guide, that one can apply a 
> > textobject.setTextTransform(a,b,c,d,e,f).
> 
> why don't you do something like :
> 
> 	canv.saveState()
> 	canv.rotate(90)
> 	canv.drawText(yourtextobject)
> 	canv.restoreState()
> 
> ?

Yes, why don't I do that?

> hth.
> 
> Jerome Alet

Thanks a lot Jerome.

Rüdiger
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13