99 if (margin < 0 || margin >=1) margin = 0.1;
100 if (margin + fTopMargin >= 1)
return;
101 fBottomMargin = margin;
109 if (margin < 0 || margin >=1) margin = 0.1;
110 if (margin + fRightMargin >= 1)
return;
111 fLeftMargin = margin;
119 if (margin < 0 || margin >=1) margin = 0.1;
120 if (margin + fLeftMargin >= 1)
return;
121 fRightMargin = margin;
129 if (margin < 0 || margin >=1) margin = 0.1;
130 if (margin + fBottomMargin >= 1)
return;
148 void TAttPad::Streamer(
TBuffer &R__b)
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
Width_t GetFrameBorderSize() const
virtual void Copy(TAttPad &attpad) const
copy function
Int_t GetFrameBorderMode() const
Manages default Pad attributes.
Color_t GetFrameFillColor() const
R__EXTERN TStyle * gStyle
Buffer base class used for serializing objects.
Style_t GetFrameLineStyle() const
virtual void ResetAttPad(Option_t *option="")
Reset pad attributes.
virtual void SetTopMargin(Float_t topmargin)
Set Pad top margin in fraction of the pad height.
Float_t GetPadBottomMargin() const
Style_t GetFrameFillStyle() const
Float_t GetPadRightMargin() const
virtual void SetBottomMargin(Float_t bottommargin)
Set Pad bottom margin in fraction of the pad height.
virtual ~TAttPad()
Destructor.
Float_t GetPadLeftMargin() const
virtual void Print(Option_t *option="") const
Print function.
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=0)=0
virtual void SetMargin(Float_t left, Float_t right, Float_t bottom, Float_t top)
Set all margins.
Width_t GetFrameLineWidth() const
virtual void SetRightMargin(Float_t rightmargin)
Set Pad right margin in fraction of the pad width.
Color_t GetFrameLineColor() const
Float_t GetPadTopMargin() const
virtual Version_t ReadVersion(UInt_t *start=0, UInt_t *bcnt=0, const TClass *cl=0)=0
virtual void SetLeftMargin(Float_t leftmargin)
Set Pad left margin in fraction of the pad width.