Logo ROOT  
Reference Guide
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 "TLatex.h"
16 #include "TCurlyArc.h"
17 #include "TArrow.h"
18 #include "TArc.h"
19 #include "TPavesText.h"
20 #include "TPaveLabel.h"
21 #include "TDiamond.h"
22 #include "TGraph.h"
23 
25 
26 private:
27 
28  static TLine *fgLine;
29  static TLatex *fgText;
30  static TCurlyLine *fgCLine;
31  static TArrow *fgArrow;
32  static TCurlyArc *fgCArc;
33  static TArc *fgArc;
35  static TPave *fgPave;
40  static TGraph *fgPolyLine;
41  static TBox *fgPadBBox;
42 
43 public:
44 
46  virtual ~TCreatePrimitives();
47  static void Ellipse(Int_t event, Int_t px, Int_t py,Int_t mode);
48  static void Line(Int_t event, Int_t px, Int_t py, Int_t mode);
49  static void Pad(Int_t event, Int_t px, Int_t py, Int_t);
50  static void Pave(Int_t event, Int_t px, Int_t py, Int_t mode);
51  static void PolyLine(Int_t event, Int_t px, Int_t py, Int_t mode);
52  static void Text(Int_t event, Int_t px, Int_t py, Int_t mode);
53 };
54 
55 #endif
TArrow.h
TCurlyArc.h
TArc
Definition: TArc.h:26
TLine
Definition: TLine.h:22
TDiamond
Definition: TDiamond.h:17
TCreatePrimitives::fgPolyLine
static TGraph * fgPolyLine
Definition: TCreatePrimitives.h:46
TCurlyLine
Definition: TCurlyLine.h:19
TGraph.h
TArc.h
TEllipse
Definition: TEllipse.h:23
TCreatePrimitives::fgCLine
static TCurlyLine * fgCLine
Definition: TCreatePrimitives.h:36
TCreatePrimitives::fgEllipse
static TEllipse * fgEllipse
Definition: TCreatePrimitives.h:40
TCreatePrimitives::fgText
static TLatex * fgText
Definition: TCreatePrimitives.h:35
TLatex
Definition: TLatex.h:18
TPaveLabel.h
TCreatePrimitives::~TCreatePrimitives
virtual ~TCreatePrimitives()
TCreatePrimitives destructor.
Definition: TCreatePrimitives.cxx:58
TCreatePrimitives::fgDiamond
static TDiamond * fgDiamond
Definition: TCreatePrimitives.h:44
TCreatePrimitives::Text
static void Text(Int_t event, Int_t px, Int_t py, Int_t mode)
Create a new TLatex at the cursor position in gPad.
Definition: TCreatePrimitives.cxx:659
TCreatePrimitives::fgArrow
static TArrow * fgArrow
Definition: TCreatePrimitives.h:37
TCreatePrimitives::fgPadBBox
static TBox * fgPadBBox
Definition: TCreatePrimitives.h:47
TPavesText
Definition: TPavesText.h:18
TCreatePrimitives::fgArc
static TArc * fgArc
Definition: TCreatePrimitives.h:39
TPave
Definition: TPave.h:19
TPavesText.h
TCreatePrimitives::fgPavesText
static TPavesText * fgPavesText
Definition: TCreatePrimitives.h:43
TCreatePrimitives::Pad
static void Pad(Int_t event, Int_t px, Int_t py, Int_t)
Create a new pad in gPad.
Definition: TCreatePrimitives.cxx:272
TCreatePrimitives::fgPaveText
static TPaveText * fgPaveText
Definition: TCreatePrimitives.h:42
TCreatePrimitives::fgCArc
static TCurlyArc * fgCArc
Definition: TCreatePrimitives.h:38
TPaveLabel
Definition: TPaveLabel.h:20
TCreatePrimitives
Definition: TCreatePrimitives.h:24
TBox
Definition: TBox.h:22
TCreatePrimitives::fgPaveLabel
static TPaveLabel * fgPaveLabel
Definition: TCreatePrimitives.h:45
TCreatePrimitives::fgLine
static TLine * fgLine
Definition: TCreatePrimitives.h:34
TGraph
Definition: TGraph.h:41
TCreatePrimitives::Line
static void Line(Int_t event, Int_t px, Int_t py, Int_t mode)
Create a new line/arrow in this gPad.
Definition: TCreatePrimitives.cxx:156
TLatex.h
TCurlyArc
Definition: TCurlyArc.h:18
TArrow
Definition: TArrow.h:29
TCreatePrimitives::Pave
static void Pave(Int_t event, Int_t px, Int_t py, Int_t mode)
Create a new pavetext in gPad.
Definition: TCreatePrimitives.cxx:354
TCreatePrimitives::Ellipse
static void Ellipse(Int_t event, Int_t px, Int_t py, Int_t mode)
Create a new arc/ellipse in this gPad.
Definition: TCreatePrimitives.cxx:68
TPaveText
Definition: TPaveText.h:21
TCreatePrimitives::PolyLine
static void PolyLine(Int_t event, Int_t px, Int_t py, Int_t mode)
Create a new PolyLine in gPad.
Definition: TCreatePrimitives.cxx:570
TCreatePrimitives::fgPave
static TPave * fgPave
Definition: TCreatePrimitives.h:41
TDiamond.h
TCreatePrimitives::TCreatePrimitives
TCreatePrimitives()
TCreatePrimitives default constructor.
Definition: TCreatePrimitives.cxx:51
int