// @(#)root/gpad:$Id$
// Author: Rene Brun   12/12/94

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TAttCanvas
#define ROOT_TAttCanvas


//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TAttCanvas                                                           //
//                                                                      //
// Canvas attributes.                                                   //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif

class TAttCanvas {
private:
   Float_t    fXBetween;        //X distance between pads
   Float_t    fYBetween;        //Y distance between pads
   Float_t    fTitleFromTop;    //Y distance of Global Title from top
   Float_t    fXdate;           //X position where to draw the date
   Float_t    fYdate;           //X position where to draw the date
   Float_t    fAdate;           //Alignment for the date

public:
   TAttCanvas();
   virtual ~TAttCanvas();
   virtual void     Copy(TAttCanvas &attcanvas) const;
   Float_t          GetAdate() const { return fAdate;}
   Float_t          GetTitleFromTop() const { return fTitleFromTop;}
   Float_t          GetXBetween() const { return fXBetween;}
   Float_t          GetXdate() const { return fXdate;}
   Float_t          GetYBetween() const { return fYBetween;}
   Float_t          GetYdate() const { return fYdate;}
   virtual void     Print(Option_t *option="") const;
   virtual void     ResetAttCanvas(Option_t *option="");
   virtual void     SetAdate(Float_t adate) { fAdate=adate;}
   virtual void     SetTitleFromTop(Float_t titlefromtop)
                                        { fTitleFromTop=titlefromtop;}
   virtual void     SetXBetween(Float_t xbetween) { fXBetween=xbetween;}
   virtual void     SetXdate(Float_t xdate) { fXdate=xdate;}
   virtual void     SetYBetween(Float_t ybetween) { fYBetween=ybetween;}
   virtual void     SetYdate(Float_t ydate) { fYdate=ydate;}

   ClassDef(TAttCanvas,1)  //Canvas attributes
};

#endif

 TAttCanvas.h:1
 TAttCanvas.h:2
 TAttCanvas.h:3
 TAttCanvas.h:4
 TAttCanvas.h:5
 TAttCanvas.h:6
 TAttCanvas.h:7
 TAttCanvas.h:8
 TAttCanvas.h:9
 TAttCanvas.h:10
 TAttCanvas.h:11
 TAttCanvas.h:12
 TAttCanvas.h:13
 TAttCanvas.h:14
 TAttCanvas.h:15
 TAttCanvas.h:16
 TAttCanvas.h:17
 TAttCanvas.h:18
 TAttCanvas.h:19
 TAttCanvas.h:20
 TAttCanvas.h:21
 TAttCanvas.h:22
 TAttCanvas.h:23
 TAttCanvas.h:24
 TAttCanvas.h:25
 TAttCanvas.h:26
 TAttCanvas.h:27
 TAttCanvas.h:28
 TAttCanvas.h:29
 TAttCanvas.h:30
 TAttCanvas.h:31
 TAttCanvas.h:32
 TAttCanvas.h:33
 TAttCanvas.h:34
 TAttCanvas.h:35
 TAttCanvas.h:36
 TAttCanvas.h:37
 TAttCanvas.h:38
 TAttCanvas.h:39
 TAttCanvas.h:40
 TAttCanvas.h:41
 TAttCanvas.h:42
 TAttCanvas.h:43
 TAttCanvas.h:44
 TAttCanvas.h:45
 TAttCanvas.h:46
 TAttCanvas.h:47
 TAttCanvas.h:48
 TAttCanvas.h:49
 TAttCanvas.h:50
 TAttCanvas.h:51
 TAttCanvas.h:52
 TAttCanvas.h:53
 TAttCanvas.h:54
 TAttCanvas.h:55
 TAttCanvas.h:56
 TAttCanvas.h:57
 TAttCanvas.h:58
 TAttCanvas.h:59
 TAttCanvas.h:60
 TAttCanvas.h:61