12    c1 = 
new TCanvas(
"c1",
"ROOT Environment Canvas",720,840);
    13    c1->Range(0,-0.25,19,29);
    14    TPaveLabel title(3,27.1,15,28.7,
"ROOT Environment and Tools");
    15    title.SetFillColor(42);
    16    title.SetTextColor(5);
    17    title.SetTextFont(62);
    21    TArrow ardash(2,15,2,3.5,0.015,
"|>");
    22    ardash.SetLineStyle(2);
    23    ardash.SetFillColor(1);
    25    TLine l1(2.5,4.5,15.5,4.5);
    27    l1.DrawLine(4.5,15,4.5,11);
    28    l1.DrawLine(13,10,13,15.5);
    29    l1.DrawLine(14,10,13,10);
    30    l1.DrawLine(14,15.5,13,15.5);
    31    TArrow ar(9,23,9,21.6,0.015,
"|>");
    35    UserChtml.AddText(
"Files with hyperlinks");
    36    TText *
t1=UserChtml.AddText(
"*User.C.html");
    37    TText *t2=UserChtml.AddText(
"*User.mac.html");
    41    ar.DrawArrow(2.5,4.5,2.5,3.5,0.015,
"|>");
    44    UserTree.AddText(
"Dictionary");
    45    UserTree.AddText(
"Inheritance graphs");
    46    TText *t3=UserTree.AddText(
"*User_Tree.ps");
    49    ar.DrawArrow(9,5.5,9,3.5,0.015,
"|>");
    52    Userhtml.AddText(
"Class Description");
    53    Userhtml.AddText(
"with references");
    54    TText *t4=Userhtml.AddText(
"*User.html");
    57    ar.DrawArrow(15.5,4.5,15.5,3.5,0.015,
"|>");
    60    Macros.AddText(
"Macros");
    61    Macros.AddText(
"Log files");
    62    TText *t5=Macros.AddText(
"*User.mac");
    63    TText *t5a=Macros.AddText(
"*User.log");
    69    UserC.AddText(
"C++ application");
    70    UserC.AddText(
"source code");
    71    TText *t6=UserC.AddText(
"*User.C");
    74    ar.DrawArrow(4.5,11,5.8,11,0.015,
"|>");
    77    Userh.AddText(
"C++ header files");
    78    TText *t7=Userh.AddText(
"*User.h");
    80    Userh.SetFillColor(11);
    82    ar.DrawArrow(9,23,9,21.6,0.015,
"|>");
    85    UserUI.AddText(
"C++ code for");
    86    UserUI.AddText(
"User Interface and I/O");
    87    TText *t8=UserUI.AddText(
"*UserUI.C");
    90    ar.DrawArrow(9,18.5,9,17.3,0.015,
"|>");
    91    ar.DrawArrow(9,14,9,12.6,0.015,
"|>");
    94    Usersl.AddText(
"User");
    95    Usersl.AddText(
"Libraries");
    96    TText *t9=Usersl.AddText(
"*User.sl");
    99    ar.DrawArrow(13,11,12.1,11,0.015,
"|>");
   102    Rootlib.AddText(
"Root Library");
   103    Rootlib.AddText(
"and Includes");
   104    TText *t10=Rootlib.AddText(
"Root.sl");
   105    TText *t11=Rootlib.AddText(
"Root/include");
   111    dict.SetFillColor(43);
   112    dict.SetFillStyle(1001);
   113    dict.SetLineColor(1);
   114    dict.SetLineWidth(3);
   116    TText gen(9,20.7,
"rootcint");
   117    gen.SetTextAlign(22);
   118    gen.SetTextSize(0.025);
   120    gen.DrawText(9,19.5,
"ROOT compiler");
   121    ar.DrawArrow(9,18.5,9,17.3,0.015,
"|>");
   124    compiler.SetFillColor(43);
   125    compiler.SetFillStyle(1001);
   126    compiler.SetLineColor(1);
   127    compiler.SetLineWidth(3);
   129    TText gen2(9,11.4,
"C++ compiler");
   130    gen2.SetTextAlign(22);
   131    gen2.SetTextSize(0.025);
   133    gen2.DrawText(9,10.3,
"and Linker");
   134    ar.DrawArrow(9,9.5,9,8.2,0.015,
"|>");
   137    exe.SetFillColor(41);
   138    exe.AddText(
"ROOT-based Application");
   139    exe.AddText(
"Interactive or Batch");
   140    TText *t12=exe.AddText(
"User.exe");
   145    c1->Print(
"rootenv.ps");
 
Base class for several text objects. 
 
A Pave (see TPave) with a text centered in the Pave. 
 
A Pave (see TPave) with text, lines or/and boxes inside. 
 
virtual void SetTextColor(Color_t tcolor=1)
Set the text color. 
 
Draw all kinds of Arrows. 
 
A PaveText (see TPaveText) with several stacked paves.