Skip to content
Snippets Groups Projects
Commit 6b4fdf08 authored by Olivier Couet's avatar Olivier Couet
Browse files

- Return the canvas to produce picture for the documentation.

git-svn-id: http://root.cern.ch/svn/root/trunk@18123 27541ba8-7e3a-0410-8455-c3a389f83636
parent 7a56218d
No related branches found
No related tags found
No related merge requests found
//Draw arrows //Draw arrows
//Author: Rene Brun //Author: Rene Brun
{ {
gROOT->Reset();
c1 = new TCanvas("c1"); c1 = new TCanvas("c1");
c1->Range(0,0,1,1); c1->Range(0,0,1,1);
TPaveLabel par(0.1,0.8,0.9,0.95,"Examples of various arrow formats"); TPaveLabel par(0.1,0.8,0.9,0.95,"Examples of various arrow formats");
...@@ -29,4 +28,5 @@ ...@@ -29,4 +28,5 @@
ar5.SetFillStyle(3008); ar5.SetFillStyle(3008);
ar5.SetFillColor(2); ar5.SetFillColor(2);
ar5.Draw(); ar5.Draw();
return c1;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment