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 "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
27
28private:
29
30 static TLine *fgLine;
31 static TLatex *fgText;
33 static TArrow *fgArrow;
35 static TArc *fgArc;
37 static TPave *fgPave;
43 static TBox *fgPadBBox;
44
45public:
46
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
Create an Arc.
Definition: TArc.h:28
Draw all kinds of Arrows.
Definition: TArrow.h:29
Create a Box.
Definition: TBox.h:24
Creates new primitives.
static void Pave(Int_t event, Int_t px, Int_t py, Int_t mode)
Create a new pavetext in gPad.
static TPavesText * fgPavesText
static TPave * fgPave
static TLatex * fgText
static TCurlyLine * fgCLine
static TArrow * fgArrow
static void Line(Int_t event, Int_t px, Int_t py, Int_t mode)
Create a new line/arrow in this gPad.
static TEllipse * fgEllipse
static void PolyLine(Int_t event, Int_t px, Int_t py, Int_t mode)
Create a new PolyLine in gPad.
static TArc * fgArc
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.
virtual ~TCreatePrimitives()
TCreatePrimitives destructor.
static void Ellipse(Int_t event, Int_t px, Int_t py, Int_t mode)
Create a new arc/ellipse in this gPad.
static TBox * fgPadBBox
static TCurlyArc * fgCArc
static TGraph * fgPolyLine
static TPaveText * fgPaveText
static TPaveLabel * fgPaveLabel
static TLine * fgLine
TCreatePrimitives()
TCreatePrimitives default constructor.
static void Pad(Int_t event, Int_t px, Int_t py, Int_t)
Create a new pad in gPad.
static TDiamond * fgDiamond
Implements curly or wavy arcs used to draw Feynman diagrams.
Definition: TCurlyArc.h:20
Implements curly or wavy polylines used to draw Feynman diagrams.
Definition: TCurlyLine.h:21
Draw a Diamond.
Definition: TDiamond.h:17
Draw Ellipses.
Definition: TEllipse.h:24
A TGraph is an object made of two arrays X and Y with npoints each.
Definition: TGraph.h:41
To draw Mathematical Formula.
Definition: TLatex.h:18
A simple line.
Definition: TLine.h:23
A Pave (see TPave) with a text centered in the Pave.
Definition: TPaveLabel.h:20
A Pave (see TPave) with text, lines or/and boxes inside.
Definition: TPaveText.h:21
A TBox with a bordersize and a shadow option.
Definition: TPave.h:19
A PaveText (see TPaveText) with several stacked paves.
Definition: TPavesText.h:18