library: libCore #include "TAttPad.h"

# TAttPad

class description - source file - inheritance tree (.pdf)

## class TAttPad

| Inheritance Chart:

`TAttPad`

<-

`TVirtualPad`

<-

`TPad`

<-

`TButton`

<-

`TGroupButton` |

`TCanvas`

<-

`TDialogCanvas`

<-

`TAttFillCanvas` |

`TAttLineCanvas` |

`TAttMarkerCanvas` |

`TAttTextCanvas` |

[more...]

        public:

                          TAttPad()
                          TAttPad(const TAttPad&)
                  virtual ~TAttPad()
           static TClass* Class()
             virtual void Copy(TAttPad& attpad) const
                  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 TClass* IsA() const
                 TAttPad& operator=(const TAttPad&)
             virtual void Print(Option_t* option = "") const
             virtual void ResetAttPad(Option_t* option = "")
             virtual void SetAfile(Float_t afile)
             virtual void SetAstat(Float_t astat)
             virtual void SetBottomMargin(Float_t bottommargin)
                     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)
             virtual void SetRightMargin(Float_t rightmargin)
             virtual void SetTopMargin(Float_t topmargin)
             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 ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

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

## Class Description

      Manages default Pad attributes. Referenced by TStyle.

TAttPad()

~TAttPad()

void Copy(TAttPad &attpad) const

void Print(Option_t *) const

void ResetAttPad(Option_t *)

void SetBottomMargin(Float_t margin)

    *-*-*-*-*-*-*-*-*Set Pad bottom margin in fraction of the pad height*-*-*-*
    *-*              ===================================================

void SetLeftMargin(Float_t margin)

    *-*-*-*-*-*-*-*-*Set Pad left margin in fraction of the pad width*-*-*-*-*
    *-*              ================================================

void SetRightMargin(Float_t margin)

    *-*-*-*-*-*-*-*-*Set Pad right margin in fraction of the pad width*-*-*-*-*
    *-*              =================================================

void SetTopMargin(Float_t margin)

    *-*-*-*-*-*-*-*-*Set Pad top margin in fraction of the pad height*-*-*-*-*
    *-*              ================================================

void Streamer(TBuffer &R__b)

     Stream an object of class TAttPad.

### Inline Functions

                Float_t GetBottomMargin() const
                Float_t GetLeftMargin() const
                Float_t GetRightMargin() const
                Float_t GetTopMargin() const
                Float_t GetAfile() const
                Float_t GetXfile() const
                Float_t GetYfile() const
                Float_t GetAstat() const
                Float_t GetXstat() const
                Float_t GetYstat() const
                Color_t GetFrameFillColor() const
                Color_t GetFrameLineColor() const
                Style_t GetFrameFillStyle() const
                Style_t GetFrameLineStyle() const
                Width_t GetFrameLineWidth() const
                Width_t GetFrameBorderSize() const
                  Int_t GetFrameBorderMode() const
                   void SetAfile(Float_t afile)
                   void SetXfile(Float_t xfile)
                   void SetYfile(Float_t yfile)
                   void SetAstat(Float_t astat)
                   void SetXstat(Float_t xstat)
                   void SetYstat(Float_t ystat)
                   void SetFrameFillColor(Color_t color = 1)
                   void SetFrameLineColor(Color_t color = 1)
                   void SetFrameFillStyle(Style_t styl = 0)
                   void SetFrameLineStyle(Style_t styl = 0)
                   void SetFrameLineWidth(Width_t width = 1)
                   void SetFrameBorderSize(Width_t size = 1)
                   void SetFrameBorderMode(Int_t mode = 1)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void StreamerNVirtual(TBuffer& b)
                TAttPad TAttPad(const TAttPad&)
               TAttPad& operator=(const TAttPad&)

Author: Rene Brun 04/01/95
Last update: root/base:$Name: $:$Id: TAttPad.cxx,v 1.6 2004/12/21 17:52:20 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *