Revision 1ff8cfc023263a593b0e186877352756557e2553 authored by Rene Brun on 19 November 2004, 06:46:19 UTC, committed by Rene Brun on 19 November 2004, 06:46:19 UTC
# Default 3d Viewer
# by default 3-D views are shown in the pad.
# if the next line is activated, the default viewer will be OpenGL
#Viewer3D.DefaultDrawOption:   ogl


git-svn-id: http://root.cern.ch/svn/root/trunk@10564 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 8524938
Raw File
compile.C
{
   //
   // This macro produces the flowchart of TFormula::Compile
   //
   gROOT->Reset();
   c1 = new TCanvas("c1");
   c1->Range(0,0,1,1);
   TPaveLabel ptc(0.02,0.42,0.2,0.58,"Compile");
   ptc.SetTextSize(0.40);
   ptc.SetFillColor(32);
   ptc.Draw();
   TPaveText psub(0.28,0.4,0.65,0.6);
   psub.Draw();
   TText *t2=psub.AddText("Substitute some operators");
   TText *t3=psub.AddText("to C++ style");
   TPaveLabel panal(0.73,0.42,0.98,0.58,"Analyze");
   panal.SetTextSize(0.40);
   panal.SetFillColor(42);
   panal.Draw();
   TArrow ar1(0.2,0.5,0.27,0.5,0.02,"|>");
   ar1.SetLineWidth(6);
   ar1.SetLineColor(4);
   ar1.Draw();
   TArrow ar2(0.65,0.5,0.72,0.5,0.02,"|>");
   ar2.SetLineWidth(6);
   ar2.SetLineColor(4);
   ar2.Draw();
}
back to top