Hi Steffen,
Rotating text was not possible in a TPaveText.
I have implemented this feature in the development version in CVS
Rene Brun
On Wed, 20 Mar 2002, Steffen Grohmann wrote:
> Hello,
>
> I am trying to create muliple vertical text lines in TPaveText. As long as
> the TextAngle is "0" it works fine. If I want to rotate the entire text by
> say TextAngle(90), text1 and text2 are ploted vertically side by side
> instead of having two vertical text lines. Changing TextAlign(xx) doesn't
> solve the problem. Is there any solution?
>
> Steffen
>
> TPaveText *pt = new TPaveText(0,0,1,1,"blNDC");
> TText *text1 = pt->AddText("Line 1");
> text1->SetTextAngle(0);
> text1->SetTextAlign(22);
> TText *text2 = pt->AddText("Line 2");
> text2->SetTextAngle(0);
> text2->SetTextAlign(22);
> pt->Draw();
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:46 MET