83 if (!
gPad->IsEditable())
return;
102 if (leftMargin < 0) leftMargin = 0;
103 if (topMargin < 0) topMargin = 0;
104 if (rightMargin < 0) rightMargin = 0;
105 if (bottomMargin < 0) bottomMargin = 0;
106 gPad->SetLeftMargin(leftMargin);
107 gPad->SetRightMargin(rightMargin);
108 gPad->SetBottomMargin(bottomMargin);
109 gPad->SetTopMargin(topMargin);
115 gPad->Range(xmin - dxr*
gPad->GetLeftMargin(),
116 ymin - dyr*
gPad->GetBottomMargin(),
117 xmax + dxr*
gPad->GetRightMargin(),
118 ymax + dyr*
gPad->GetTopMargin());
119 gPad->RangeAxis(xmin, ymin, xmax, ymax);
134 if (!
gPad->PadInHighlightMode() || (
gPad->PadInHighlightMode() &&
this ==
gPad->GetSelected())) {
Style_t GetFrameLineStyle() const
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
void SetFrameBorderMode(Int_t mode=1)
virtual void SetBorderMode(Short_t bordermode)
virtual void UseCurrentStyle()
Replace current frame attributes by current style.
void Copy(TObject &wbox) const
Copy this wbox to wbox.
R__EXTERN TStyle * gStyle
Double_t fY2
Y of 2nd point.
void SetFrameLineWidth(Width_t width=1)
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
Color_t GetFrameLineColor() const
void SetFrameLineStyle(Style_t styl=0)
Color_t GetFrameFillColor() const
virtual Width_t GetLineWidth() const
Return the line width.
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
Double_t fY1
Y of 1st point.
virtual Style_t GetLineStyle() const
Return the line style.
static const double x2[5]
void SetFrameFillColor(Color_t color=1)
Short_t GetBorderSize() const
virtual ~TFrame()
Frame default destructor.
virtual void Draw(Option_t *option="")
Draw this frame with its current attributes.
Int_t GetFrameBorderMode() const
virtual void SetBorderSize(Short_t bordersize)
A TBox with a bordersize and a bordermode.
Width_t GetFrameBorderSize() const
virtual void SetLineColor(Color_t lcolor)
Set the line color.
Short_t GetBorderMode() const
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
void SetFrameLineColor(Color_t color=1)
Double_t fX2
X of 2nd point.
Style_t GetFrameFillStyle() const
Double_t fX1
X of 1st point.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
void SetFrameFillStyle(Style_t styl=0)
virtual Color_t GetLineColor() const
Return the line color.
static const double x1[5]
virtual Color_t GetFillColor() const
Return the fill area color.
void Copy(TObject &frame) const
Copy this frame to frame.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
Mother of all ROOT objects.
Width_t GetFrameLineWidth() const
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual void Paint(Option_t *option="")
Paint this wbox with its current attributes.
TFrame()
Frame default constructor.
virtual void Paint(Option_t *option="")
Paint this wbox with its current attributes.
virtual Style_t GetFillStyle() const
Return the fill area style.
virtual void Pop()
Do not pop frame's, if allowed they would cover the picture they frame.
void SetFrameBorderSize(Width_t size=1)