Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TCreatePrimitives.h
Go to the documentation of this file.
1 // @(#)root/gpad:$Id: TCreatePrimitives.h,v 1.0
2 
3 /*************************************************************************
4  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
5  * All rights reserved. *
6  * *
7  * For the licensing terms see $ROOTSYS/LICENSE. *
8  * For the list of contributors see $ROOTSYS/README/CREDITS. *
9  *************************************************************************/
10 
11 #ifndef ROOT_TCreatePrimitives
12 #define ROOT_TCreatePrimitives
13 
14 
15 #include "Rtypes.h"
16 
17 #include "TLatex.h"
18 #include "TCurlyArc.h"
19 #include "TArrow.h"
20 #include "TArc.h"
21 #include "TPavesText.h"
22 #include "TPaveLabel.h"
23 #include "TDiamond.h"
24 #include "TGraph.h"
25 
26 class TCreatePrimitives {
27 
28 private:
29 
30  static TLine *fgLine;
31  static TLatex *fgText;
32  static TCurlyLine *fgCLine;
33  static TArrow *fgArrow;
34  static TCurlyArc *fgCArc;
35  static TArc *fgArc;
36  static TEllipse *fgEllipse;
37  static TPave *fgPave;
38  static TPaveText *fgPaveText;
39  static TPavesText *fgPavesText;
40  static TDiamond *fgDiamond;
41  static TPaveLabel *fgPaveLabel;
42  static TGraph *fgPolyLine;
43  static TBox *fgPadBBox;
44 
45 public:
46 
47  TCreatePrimitives();
48  virtual ~TCreatePrimitives();
49  static void Ellipse(Int_t event, Int_t px, Int_t py,Int_t mode);
50  static void Line(Int_t event, Int_t px, Int_t py, Int_t mode);
51  static void Pad(Int_t event, Int_t px, Int_t py, Int_t);
52  static void Pave(Int_t event, Int_t px, Int_t py, Int_t mode);
53  static void PolyLine(Int_t event, Int_t px, Int_t py, Int_t mode);
54  static void Text(Int_t event, Int_t px, Int_t py, Int_t mode);
55 };
56 
57 #endif