StaticText rotation to vertical position

is it possible to display a text vertically, say rotate a

> StaticText clockwise by 90 degrees?

Sure. See the demo:

dc.DrawRotatedText("Rotated text...", 300, 300, angle)

However, I read somewhere it is only feasible on win32; not so
sure about that point.

Jean-Michel Fauth, Switzerland

Rotated text like this works on Mac OS X and Linux as well as Windows.

David

···

-----Original Message-----
From: jmf [mailto:jfauth@bluewin.ch]
Sent: Thursday, September 08, 2005 11:28 AM
To: wxPython-users@lists.wxwindows.org
Subject: RE: [wxPython-users] StaticText rotation to vertical position

> is it possible to display a text vertically, say rotate a
> StaticText clockwise by 90 degrees?

Sure. See the demo:

dc.DrawRotatedText("Rotated text...", 300, 300, angle)

However, I read somewhere it is only feasible on win32; not
so sure about that point.

Jean-Michel Fauth, Switzerland

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org

Appears to work on Linux just as well (see printer example in the demo)

Horst

···

On Thu, 8 Sep 2005 16:28, jmf wrote:

dc.DrawRotatedText("Rotated text...", 300, 300, angle)

However, I read somewhere it is only feasible on win32; not so
sure about that point.