ROOT  6.06/09
Reference Guide
TAttCanvas.cxx
Go to the documentation of this file.
1 // @(#)root/gpad:$Id$
2 // Author: Rene Brun 12/12/94
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 #include "Strlen.h"
13 #include "TAttCanvas.h"
14 
16 
17 /** \class TAttCanvas
18 \ingroup gpad
19 
20 Manages canvas attributes. Referenced by TStyle.
21 */
22 
23 ////////////////////////////////////////////////////////////////////////////////
24 /// Default constructor.
25 
27 {
28  ResetAttCanvas();
29 }
30 
31 ////////////////////////////////////////////////////////////////////////////////
32 /// Destructor.
33 
35 {
36 }
37 
38 ////////////////////////////////////////////////////////////////////////////////
39 /// Copy constructor.
40 
41 void TAttCanvas::Copy(TAttCanvas &attcanvas) const
42 {
43  attcanvas.fXBetween = fXBetween;
44  attcanvas.fYBetween = fYBetween;
45  attcanvas.fTitleFromTop = fTitleFromTop;
46  attcanvas.fXdate = fXdate;
47  attcanvas.fYdate = fYdate;
48  attcanvas.fAdate = fAdate;
49 }
50 
51 ////////////////////////////////////////////////////////////////////////////////
52 /// Print canvas attributes.
53 
55 {
56 }
57 
58 ////////////////////////////////////////////////////////////////////////////////
59 /// Print canvas attributes.
60 
62 {
63  fXBetween = 2;
64  fYBetween = 2;
65  fTitleFromTop = 1.2;
66  fXdate = 0.2;
67  fYdate = 0.3;
68  fAdate = 1;
69 }
virtual void Copy(TAttCanvas &attcanvas) const
Copy constructor.
Definition: TAttCanvas.cxx:41
Float_t fYBetween
Definition: TAttCanvas.h:31
Float_t fYdate
Definition: TAttCanvas.h:34
virtual void Print(Option_t *option="") const
Print canvas attributes.
Definition: TAttCanvas.cxx:54
const char Option_t
Definition: RtypesCore.h:62
virtual ~TAttCanvas()
Destructor.
Definition: TAttCanvas.cxx:34
Float_t fXdate
Definition: TAttCanvas.h:33
Manages canvas attributes.
Definition: TAttCanvas.h:28
Float_t fXBetween
Definition: TAttCanvas.h:30
virtual void ResetAttCanvas(Option_t *option="")
Print canvas attributes.
Definition: TAttCanvas.cxx:61
#define ClassImp(name)
Definition: Rtypes.h:279
Float_t fAdate
Definition: TAttCanvas.h:35
Float_t fTitleFromTop
Definition: TAttCanvas.h:32