[ROOT] TText Angle

From: Musinsky J. (mucha@sunhe.jinr.ru)
Date: Fri Aug 06 2004 - 11:47:32 MEST


  Hi rooters,
plese help me with this simple problem:

{
 t = new TText(0.5,0.5,"-0-1-2-3-4-5-6-7-8-9-");
 t->SetTextAlign(22); // middle, middle
 t->SetTextAngle(45);
 t->Draw();
 l = new TLine(0,0,1,1); // 45 DEG
 l->Draw();
}

why t(text) and l(line) are not parallel ? (in to same NDC system)

Thanks, Jan



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET