Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
15
16/** \class TAttCanvas
17\ingroup gpad
18\ingroup GraphicsAtt
19
20Manages canvas attributes. Referenced by TStyle.
21*/
22
23////////////////////////////////////////////////////////////////////////////////
24/// Default constructor.
25
30
31////////////////////////////////////////////////////////////////////////////////
32/// Destructor.
33
37
38////////////////////////////////////////////////////////////////////////////////
39/// Copy constructor.
40
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}
const char Option_t
Option string (const char)
Definition RtypesCore.h:80
Manages canvas attributes.
Definition TAttCanvas.h:17
Float_t fYBetween
Y distance between pads.
Definition TAttCanvas.h:20
Float_t fXdate
X position where to draw the date.
Definition TAttCanvas.h:22
virtual void Copy(TAttCanvas &attcanvas) const
Copy constructor.
TAttCanvas()
Default constructor.
virtual void Print(Option_t *option="") const
Print canvas attributes.
virtual ~TAttCanvas()
Destructor.
virtual void ResetAttCanvas(Option_t *option="")
Print canvas attributes.
Float_t fYdate
X position where to draw the date.
Definition TAttCanvas.h:23
Float_t fTitleFromTop
Y distance of Global Title from top.
Definition TAttCanvas.h:21
Float_t fXBetween
X distance between pads.
Definition TAttCanvas.h:19
Float_t fAdate
Alignment for the date.
Definition TAttCanvas.h:24