Logo ROOT  
Reference Guide
TPavesText.h
Go to the documentation of this file.
1 // @(#)root/graf:$Id$
2 // Author: Rene Brun 19/11/95
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TPavesText
13 #define ROOT_TPavesText
14 
15 
16 #include "TPaveText.h"
17 
18 class TPavesText : public TPaveText {
19 
20 protected:
21  Int_t fNpaves; ///< Number of stacked paves
22 
23 public:
24  TPavesText();
25  TPavesText(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2, Int_t npaves=5, Option_t *option="br");
26  TPavesText(const TPavesText &pavestext);
27  virtual ~TPavesText();
28 
29  virtual void Draw(Option_t *option="");
30  virtual Int_t GetNpaves() {return fNpaves;}
31  virtual void Paint(Option_t *option="");
32  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
33  virtual void SetNpaves(Int_t npaves=5) {fNpaves=npaves;} // *MENU*
34 
35  ClassDef(TPavesText,1) //Stacked Paves with text strings
36 };
37 
38 #endif
39 
TPavesText::Paint
virtual void Paint(Option_t *option="")
Paint this pavestext with its current attributes.
Definition: TPavesText.cxx:87
Option_t
const char Option_t
Definition: RtypesCore.h:66
TPavesText::~TPavesText
virtual ~TPavesText()
Pavestext default destructor.
Definition: TPavesText.cxx:59
TPavesText::TPavesText
TPavesText()
Pavestext default constructor.
Definition: TPavesText.cxx:33
TPavesText::Draw
virtual void Draw(Option_t *option="")
Draw this pavestext with its current attributes.
Definition: TPavesText.cxx:79
TPaveText.h
x1
static const double x1[5]
Definition: RooGaussKronrodIntegrator1D.cxx:346
TPavesText
A PaveText (see TPaveText) with several stacked paves.
Definition: TPavesText.h:18
TPavesText::GetNpaves
virtual Int_t GetNpaves()
Definition: TPavesText.h:30
TPavesText::SavePrimitive
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Definition: TPavesText.cxx:118
Double_t
double Double_t
Definition: RtypesCore.h:59
TPavesText::fNpaves
Int_t fNpaves
Number of stacked paves.
Definition: TPavesText.h:21
TPavesText::SetNpaves
virtual void SetNpaves(Int_t npaves=5)
Definition: TPavesText.h:33
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
x2
static const double x2[5]
Definition: RooGaussKronrodIntegrator1D.cxx:364
TPaveText
A Pave (see TPave) with text, lines or/and boxes inside.
Definition: TPaveText.h:21
int