Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:30

0001 // @(#)root/gpad:$Id$
0002 // Author: Rene Brun   12/12/94
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_TAttCanvas
0013 #define ROOT_TAttCanvas
0014 
0015 #include "Rtypes.h"
0016 
0017 class TAttCanvas {
0018 private:
0019    Float_t    fXBetween;        ///< X distance between pads
0020    Float_t    fYBetween;        ///< Y distance between pads
0021    Float_t    fTitleFromTop;    ///< Y distance of Global Title from top
0022    Float_t    fXdate;           ///< X position where to draw the date
0023    Float_t    fYdate;           ///< X position where to draw the date
0024    Float_t    fAdate;           ///< Alignment for the date
0025 
0026 public:
0027    TAttCanvas();
0028    virtual ~TAttCanvas();
0029    virtual void     Copy(TAttCanvas &attcanvas) const;
0030    Float_t          GetAdate() const { return fAdate;}
0031    Float_t          GetTitleFromTop() const { return fTitleFromTop;}
0032    Float_t          GetXBetween() const { return fXBetween;}
0033    Float_t          GetXdate() const { return fXdate;}
0034    Float_t          GetYBetween() const { return fYBetween;}
0035    Float_t          GetYdate() const { return fYdate;}
0036    virtual void     Print(Option_t *option="") const;
0037    virtual void     ResetAttCanvas(Option_t *option="");
0038    virtual void     SetAdate(Float_t adate) { fAdate=adate;}
0039    virtual void     SetTitleFromTop(Float_t titlefromtop)
0040                                         { fTitleFromTop=titlefromtop;}
0041    virtual void     SetXBetween(Float_t xbetween) { fXBetween=xbetween;}
0042    virtual void     SetXdate(Float_t xdate) { fXdate=xdate;}
0043    virtual void     SetYBetween(Float_t ybetween) { fYBetween=ybetween;}
0044    virtual void     SetYdate(Float_t ydate) { fYdate=ydate;}
0045 
0046    ClassDef(TAttCanvas,1)  //Canvas attributes
0047 };
0048 
0049 #endif
0050