133 if (flag.
Length() == 0) flag =
"TGXYLayoutHints::kLRubberX";
134 else flag +=
" | TGXYLayoutHints::kLRubberX";
137 if (flag.
Length() == 0) flag =
"TGXYLayoutHints::kLRubberY";
138 else flag +=
" | TGXYLayoutHints::kLRubberY";
141 if (flag.
Length() == 0) flag =
"TGXYLayoutHints::kLRubberW";
142 else flag +=
" | TGXYLayoutHints::kLRubberW";
145 if (flag.
Length() == 0) flag =
"TGXYLayoutHints::kLRubberH";
146 else flag +=
" | TGXYLayoutHints::kLRubberH";
149 out <<
", new TGXYLayoutHints(" <<
GetX() <<
", " <<
GetY() <<
", "
155 out <<
", " << flag <<
")";
195 fFirstWidth(xyl.fFirstWidth),
196 fFirstHeight(xyl.fFirstHeight),
197 fTWidth(xyl.fTWidth),
198 fTHeight(xyl.fTHeight)
245 if (xFactor < 1.0) xFactor = 1.0;
247 if (yFactor < 1.0) yFactor = 1.0;
261 newX = (
Int_t)(temp + 0.5);
266 newY = (
Int_t)(temp + 0.5);
271 newW = (
UInt_t)(temp + 0.5);
276 newH = (
UInt_t)(temp + 0.5);
static RooMathCoreReg dummy
include TDocParser_001 C image html pict1_TDocParser_001 png width
virtual void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
Move and/or resize the frame.
static FontStruct_t GetDefaultFontStruct()
Static returning label default font struct.
virtual const char * GetName() const
Return unique name, used in SavePrimitive methods.
virtual void SavePrimitive(std::ostream &out, Option_t *="")
Save XY layout hints as a C++ statement(s) on output stream.
TGXYLayoutHints(Double_t x, Double_t y, Double_t w, Double_t h, UInt_t rubberFlag=kLRubberX|kLRubberY)
Constructor.
TGXYLayout(const TGXYLayout &)
copy constructor
TGXYLayout & operator=(const TGXYLayout &)
assignment operator
virtual TGDimension GetDefaultSize() const
Returns the original size of the frame.
virtual void Layout()
Recalculates the postion and the size of all widgets.
virtual void SavePrimitive(std::ostream &out, Option_t *="")
Save XY layout manager as a C++ statement(s) on output stream.
TObject & operator=(const TObject &rhs)
TObject assignment operator.
int main(int argc, char **argv)