135 if (flag.
Length() == 0) flag =
"TGXYLayoutHints::kLRubberX";
136 else flag +=
" | TGXYLayoutHints::kLRubberX";
139 if (flag.
Length() == 0) flag =
"TGXYLayoutHints::kLRubberY";
140 else flag +=
" | TGXYLayoutHints::kLRubberY";
143 if (flag.
Length() == 0) flag =
"TGXYLayoutHints::kLRubberW";
144 else flag +=
" | TGXYLayoutHints::kLRubberW";
147 if (flag.
Length() == 0) flag =
"TGXYLayoutHints::kLRubberH";
148 else flag +=
" | TGXYLayoutHints::kLRubberH";
151 out <<
", new TGXYLayoutHints(" <<
GetX() <<
", " <<
GetY() <<
", "
157 out <<
", " << flag <<
")";
197 fFirstWidth(xyl.fFirstWidth),
198 fFirstHeight(xyl.fFirstHeight),
199 fTWidth(xyl.fTWidth),
200 fTHeight(xyl.fTHeight)
247 if (xFactor < 1.0) xFactor = 1.0;
249 if (yFactor < 1.0) yFactor = 1.0;
263 newX = (
Int_t)(temp + 0.5);
268 newY = (
Int_t)(temp + 0.5);
273 newW = (
UInt_t)(temp + 0.5);
278 newH = (
UInt_t)(temp + 0.5);
Handle_t FontStruct_t
Pointer to font structure.
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.