Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches

Manages default Pad attributes.

Referenced by TStyle.

Definition at line 19 of file TAttPad.h.

Public Member Functions

 TAttPad ()
 Constructor.
 
virtual ~TAttPad ()
 Destructor.
 
virtual void Copy (TAttPad &attpad) const
 copy function
 
Float_t GetAfile () const
 
Float_t GetAstat () const
 
Float_t GetBottomMargin () const
 
Int_t GetFrameBorderMode () const
 
Width_t GetFrameBorderSize () const
 
Color_t GetFrameFillColor () const
 
Style_t GetFrameFillStyle () const
 
Color_t GetFrameLineColor () const
 
Style_t GetFrameLineStyle () const
 
Width_t GetFrameLineWidth () const
 
Float_t GetLeftMargin () const
 
Float_t GetRightMargin () const
 
Float_t GetTopMargin () const
 
Float_t GetXfile () const
 
Float_t GetXstat () const
 
Float_t GetYfile () const
 
Float_t GetYstat () const
 
virtual TClassIsA () const
 
virtual void Print (Option_t *option="") const
 Print function.
 
virtual void ResetAttPad (Option_t *option="")
 Reset pad attributes.
 
virtual void SetAfile (Float_t afile)
 
virtual void SetAstat (Float_t astat)
 
virtual void SetBottomMargin (Float_t bottommargin)
 Set Pad bottom margin in fraction of the pad height.
 
void SetFrameBorderMode (Int_t mode=1)
 
void SetFrameBorderSize (Width_t size=1)
 
void SetFrameFillColor (Color_t color=1)
 
void SetFrameFillStyle (Style_t styl=0)
 
void SetFrameLineColor (Color_t color=1)
 
void SetFrameLineStyle (Style_t styl=0)
 
void SetFrameLineWidth (Width_t width=1)
 
virtual void SetLeftMargin (Float_t leftmargin)
 Set Pad left margin in fraction of the pad width.
 
virtual void SetMargin (Float_t left, Float_t right, Float_t bottom, Float_t top)
 Set all margins.
 
virtual void SetRightMargin (Float_t rightmargin)
 Set Pad right margin in fraction of the pad width.
 
virtual void SetTopMargin (Float_t topmargin)
 Set Pad top margin in fraction of the pad height.
 
virtual void SetXfile (Float_t xfile)
 
virtual void SetXstat (Float_t xstat)
 
virtual void SetYfile (Float_t yfile)
 
virtual void SetYstat (Float_t ystat)
 
virtual void Streamer (TBuffer &)
 Stream an object of class TAttPad.
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Attributes

Float_t fAfile
 Alignment for the file name.
 
Float_t fAstat
 Alignment for the statistics.
 
Float_t fBottomMargin
 BottomMargin.
 
Int_t fFrameBorderMode
 Pad frame border mode.
 
Width_t fFrameBorderSize
 Pad frame border size.
 
Color_t fFrameFillColor
 Pad frame fill color.
 
Style_t fFrameFillStyle
 Pad frame fill style.
 
Color_t fFrameLineColor
 Pad frame line color.
 
Style_t fFrameLineStyle
 Pad frame line style.
 
Width_t fFrameLineWidth
 Pad frame line width.
 
Float_t fLeftMargin
 LeftMargin.
 
Float_t fRightMargin
 RightMargin.
 
Float_t fTopMargin
 TopMargin.
 
Float_t fXfile
 X position where to draw the file name.
 
Float_t fXstat
 X position where to draw the statistics.
 
Float_t fYfile
 Y position where to draw the file name.
 
Float_t fYstat
 Y position where to draw the statistics.
 

#include <TAttPad.h>

Inheritance diagram for TAttPad:
[legend]

Constructor & Destructor Documentation

◆ TAttPad()

TAttPad::TAttPad ( )

Constructor.

Definition at line 29 of file TAttPad.cxx.

◆ ~TAttPad()

TAttPad::~TAttPad ( )
virtual

Destructor.

Definition at line 37 of file TAttPad.cxx.

Member Function Documentation

◆ Class()

static TClass * TAttPad::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TAttPad::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TAttPad::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 81 of file TAttPad.h.

◆ Copy()

void TAttPad::Copy ( TAttPad attpad) const
virtual

copy function

Definition at line 44 of file TAttPad.cxx.

◆ DeclFileName()

static const char * TAttPad::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 81 of file TAttPad.h.

◆ GetAfile()

Float_t TAttPad::GetAfile ( ) const
inline

Definition at line 47 of file TAttPad.h.

◆ GetAstat()

Float_t TAttPad::GetAstat ( ) const
inline

Definition at line 50 of file TAttPad.h.

◆ GetBottomMargin()

Float_t TAttPad::GetBottomMargin ( ) const
inline

Definition at line 43 of file TAttPad.h.

◆ GetFrameBorderMode()

Int_t TAttPad::GetFrameBorderMode ( ) const
inline

Definition at line 59 of file TAttPad.h.

◆ GetFrameBorderSize()

Width_t TAttPad::GetFrameBorderSize ( ) const
inline

Definition at line 58 of file TAttPad.h.

◆ GetFrameFillColor()

Color_t TAttPad::GetFrameFillColor ( ) const
inline

Definition at line 53 of file TAttPad.h.

◆ GetFrameFillStyle()

Style_t TAttPad::GetFrameFillStyle ( ) const
inline

Definition at line 55 of file TAttPad.h.

◆ GetFrameLineColor()

Color_t TAttPad::GetFrameLineColor ( ) const
inline

Definition at line 54 of file TAttPad.h.

◆ GetFrameLineStyle()

Style_t TAttPad::GetFrameLineStyle ( ) const
inline

Definition at line 56 of file TAttPad.h.

◆ GetFrameLineWidth()

Width_t TAttPad::GetFrameLineWidth ( ) const
inline

Definition at line 57 of file TAttPad.h.

◆ GetLeftMargin()

Float_t TAttPad::GetLeftMargin ( ) const
inline

Definition at line 44 of file TAttPad.h.

◆ GetRightMargin()

Float_t TAttPad::GetRightMargin ( ) const
inline

Definition at line 45 of file TAttPad.h.

◆ GetTopMargin()

Float_t TAttPad::GetTopMargin ( ) const
inline

Definition at line 46 of file TAttPad.h.

◆ GetXfile()

Float_t TAttPad::GetXfile ( ) const
inline

Definition at line 48 of file TAttPad.h.

◆ GetXstat()

Float_t TAttPad::GetXstat ( ) const
inline

Definition at line 51 of file TAttPad.h.

◆ GetYfile()

Float_t TAttPad::GetYfile ( ) const
inline

Definition at line 49 of file TAttPad.h.

◆ GetYstat()

Float_t TAttPad::GetYstat ( ) const
inline

Definition at line 52 of file TAttPad.h.

◆ IsA()

virtual TClass * TAttPad::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented in TVirtualPad, TButton, TCanvas, TDialogCanvas, TGroupButton, TInspectCanvas, TPad, and TSlider.

Definition at line 81 of file TAttPad.h.

◆ Print()

void TAttPad::Print ( Option_t option = "") const
virtual

Print function.

Reimplemented in TPad, and TVirtualPad.

Definition at line 68 of file TAttPad.cxx.

◆ ResetAttPad()

void TAttPad::ResetAttPad ( Option_t option = "")
virtual

Reset pad attributes.

Definition at line 75 of file TAttPad.cxx.

◆ SetAfile()

virtual void TAttPad::SetAfile ( Float_t  afile)
inlinevirtual

Definition at line 67 of file TAttPad.h.

◆ SetAstat()

virtual void TAttPad::SetAstat ( Float_t  astat)
inlinevirtual

Definition at line 70 of file TAttPad.h.

◆ SetBottomMargin()

void TAttPad::SetBottomMargin ( Float_t  bottommargin)
virtual

Set Pad bottom margin in fraction of the pad height.

Definition at line 99 of file TAttPad.cxx.

◆ SetFrameBorderMode()

void TAttPad::SetFrameBorderMode ( Int_t  mode = 1)
inline

Definition at line 79 of file TAttPad.h.

◆ SetFrameBorderSize()

void TAttPad::SetFrameBorderSize ( Width_t  size = 1)
inline

Definition at line 78 of file TAttPad.h.

◆ SetFrameFillColor()

void TAttPad::SetFrameFillColor ( Color_t  color = 1)
inline

Definition at line 73 of file TAttPad.h.

◆ SetFrameFillStyle()

void TAttPad::SetFrameFillStyle ( Style_t  styl = 0)
inline

Definition at line 75 of file TAttPad.h.

◆ SetFrameLineColor()

void TAttPad::SetFrameLineColor ( Color_t  color = 1)
inline

Definition at line 74 of file TAttPad.h.

◆ SetFrameLineStyle()

void TAttPad::SetFrameLineStyle ( Style_t  styl = 0)
inline

Definition at line 76 of file TAttPad.h.

◆ SetFrameLineWidth()

void TAttPad::SetFrameLineWidth ( Width_t  width = 1)
inline

Definition at line 77 of file TAttPad.h.

◆ SetLeftMargin()

void TAttPad::SetLeftMargin ( Float_t  leftmargin)
virtual

Set Pad left margin in fraction of the pad width.

Definition at line 109 of file TAttPad.cxx.

◆ SetMargin()

void TAttPad::SetMargin ( Float_t  left,
Float_t  right,
Float_t  bottom,
Float_t  top 
)
virtual

Set all margins.

Definition at line 139 of file TAttPad.cxx.

◆ SetRightMargin()

void TAttPad::SetRightMargin ( Float_t  rightmargin)
virtual

Set Pad right margin in fraction of the pad width.

Definition at line 119 of file TAttPad.cxx.

◆ SetTopMargin()

void TAttPad::SetTopMargin ( Float_t  topmargin)
virtual

Set Pad top margin in fraction of the pad height.

Definition at line 129 of file TAttPad.cxx.

◆ SetXfile()

virtual void TAttPad::SetXfile ( Float_t  xfile)
inlinevirtual

Definition at line 68 of file TAttPad.h.

◆ SetXstat()

virtual void TAttPad::SetXstat ( Float_t  xstat)
inlinevirtual

Definition at line 71 of file TAttPad.h.

◆ SetYfile()

virtual void TAttPad::SetYfile ( Float_t  yfile)
inlinevirtual

Definition at line 69 of file TAttPad.h.

◆ SetYstat()

virtual void TAttPad::SetYstat ( Float_t  ystat)
inlinevirtual

Definition at line 72 of file TAttPad.h.

◆ Streamer()

void TAttPad::Streamer ( TBuffer R__b)
virtual

Stream an object of class TAttPad.

Reimplemented in TVirtualPad, TButton, TCanvas, TDialogCanvas, TGroupButton, TInspectCanvas, TPad, and TSlider.

Definition at line 150 of file TAttPad.cxx.

◆ StreamerNVirtual()

void TAttPad::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 81 of file TAttPad.h.

Member Data Documentation

◆ fAfile

Float_t TAttPad::fAfile
protected

Alignment for the file name.

Definition at line 27 of file TAttPad.h.

◆ fAstat

Float_t TAttPad::fAstat
protected

Alignment for the statistics.

Definition at line 30 of file TAttPad.h.

◆ fBottomMargin

Float_t TAttPad::fBottomMargin
protected

BottomMargin.

Definition at line 23 of file TAttPad.h.

◆ fFrameBorderMode

Int_t TAttPad::fFrameBorderMode
protected

Pad frame border mode.

Definition at line 37 of file TAttPad.h.

◆ fFrameBorderSize

Width_t TAttPad::fFrameBorderSize
protected

Pad frame border size.

Definition at line 36 of file TAttPad.h.

◆ fFrameFillColor

Color_t TAttPad::fFrameFillColor
protected

Pad frame fill color.

Definition at line 31 of file TAttPad.h.

◆ fFrameFillStyle

Style_t TAttPad::fFrameFillStyle
protected

Pad frame fill style.

Definition at line 33 of file TAttPad.h.

◆ fFrameLineColor

Color_t TAttPad::fFrameLineColor
protected

Pad frame line color.

Definition at line 32 of file TAttPad.h.

◆ fFrameLineStyle

Style_t TAttPad::fFrameLineStyle
protected

Pad frame line style.

Definition at line 34 of file TAttPad.h.

◆ fFrameLineWidth

Width_t TAttPad::fFrameLineWidth
protected

Pad frame line width.

Definition at line 35 of file TAttPad.h.

◆ fLeftMargin

Float_t TAttPad::fLeftMargin
protected

LeftMargin.

Definition at line 21 of file TAttPad.h.

◆ fRightMargin

Float_t TAttPad::fRightMargin
protected

RightMargin.

Definition at line 22 of file TAttPad.h.

◆ fTopMargin

Float_t TAttPad::fTopMargin
protected

TopMargin.

Definition at line 24 of file TAttPad.h.

◆ fXfile

Float_t TAttPad::fXfile
protected

X position where to draw the file name.

Definition at line 25 of file TAttPad.h.

◆ fXstat

Float_t TAttPad::fXstat
protected

X position where to draw the statistics.

Definition at line 28 of file TAttPad.h.

◆ fYfile

Float_t TAttPad::fYfile
protected

Y position where to draw the file name.

Definition at line 26 of file TAttPad.h.

◆ fYstat

Float_t TAttPad::fYstat
protected

Y position where to draw the statistics.

Definition at line 29 of file TAttPad.h.

  • core/base/inc/TAttPad.h
  • core/base/src/TAttPad.cxx