Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TPavesText.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/graf:$Id$
0002 // Author: Rene Brun   19/11/95
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TPavesText
0013 #define ROOT_TPavesText
0014 
0015 
0016 #include "TPaveText.h"
0017 
0018 class TPavesText : public TPaveText {
0019 
0020 protected:
0021    Int_t      fNpaves;        ///< Number of stacked paves
0022 
0023 public:
0024    TPavesText();
0025    TPavesText(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2, Int_t npaves=5, Option_t *option="br");
0026    TPavesText(const TPavesText &pavestext);
0027    ~TPavesText() override;
0028 
0029    void          Draw(Option_t *option="") override;
0030    virtual Int_t GetNpaves() {return fNpaves;}
0031    void          Paint(Option_t *option="") override;
0032    void          SavePrimitive(std::ostream &out, Option_t *option = "") override;
0033    virtual void  SetNpaves(Int_t npaves=5) {fNpaves=npaves;} // *MENU*
0034 
0035    ClassDefOverride(TPavesText,1)  //Stacked Paves with text strings
0036 };
0037 
0038 #endif
0039