Revision 022486c0898d6a1f04c0ef2d13c0218422ef0b04 authored by Rene Brun on 01 October 2006, 16:53:42 UTC, committed by Rene Brun on 01 October 2006, 16:53:42 UTC
// if the box has no fill style (ie fill style=0), the box contour is drawn // if the box has a fill style, the box contour is not drawn by default. // to force the contour to be drawn, specify option "l" git-svn-id: http://root.cern.ch/svn/root/trunk@16391 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 3d66a9c
framework.C
{
// An example with basic graphics illustrating the Object Oriented
// User Interface of ROOT. The begin_html <a href="gif/framework.gif">picture</a> end_html
// produced is the one shown in begin_html<a href="../../Mission.html">Mission Statement.</a> end_html
//
gROOT->Reset();
c1 = new TCanvas("c1","The ROOT Framework",200,10,700,500);
c1->Range(0,0,19,12);
//
TPavesText rootf(0.4,0.6,18,2.3,20,"tr");
rootf.AddText("ROOT Framework");
rootf.SetFillColor(42);
rootf.Draw();
//
TPavesText eventg(0.99,2.66,3.29,5.67,4,"tr");
eventg.SetFillColor(38);
eventg.AddText("Event");
eventg.AddText("Generators");
eventg.Draw();
//
TPavesText simul(3.62,2.71,6.15,7.96,7,"tr");
simul.SetFillColor(41);
simul.AddText("Detector");
simul.AddText("Simulation");
simul.Draw();
//
TPavesText recon(6.56,2.69,10.07,10.15,11,"tr");
recon.SetFillColor(48);
recon.AddText("Event");
recon.AddText("Reconstruction");
recon.Draw();
//
TPavesText daq(10.43,2.74,14.0,10.81,11,"tr");
daq.AddText("Data");
daq.AddText("Acquisition");
daq.Draw();
//
TPavesText anal(14.55,2.72,17.9,10.31,11,"tr");
anal.SetFillColor(42);
anal.AddText("Data");
anal.AddText("Analysis");
anal.Draw();
c1->Update();
}
Computing file changes ...