16 #ifndef ROOT7_TPadExtent 17 #define ROOT7_TPadExtent 24 namespace Experimental {
36 TPadHorizVert(
const std::array<TPadLength, 2> &hv): fHoriz(hv[0]), fVert(hv[1]) {}
double fHoriz
Horizontal scale factor.
TPadLength fVert
Vertical position.
TPadHorizVert(const std::array< TPadLength, 2 > &hv)
Namespace for new ROOT classes and functions.
friend TPadExtent operator+(TPadExtent lhs, const TPadExtent &rhs)
Add two TPadExtents.
TPadHorizVert(const TPadLength &horiz, const TPadLength &vert)
TPadLength fHoriz
Horizontal position.
TPadExtent & operator-=(const TPadExtent &rhs)
Subtract a TPadExtent.
double fVert
Vertical scale factor.
A scale factor (separate factors for horizontal and vertical) for scaling a TPadLength.
TPadExtent & operator*=(const ScaleFactor &scale)
Scale a TPadHorizVert horizonally and vertically.
An extent / size (horizontal and vertical) in a TPad.
TPadExtent & operator+=(const TPadExtent &rhs)
Add a TPadExtent.
friend TPadExtent operator-(TPadExtent lhs, const TPadExtent &rhs)
Subtract two TPadExtents.
void InitializeAttrFromString(const std::string &name, const std::string &attrStrVal, TPadExtent &val)
Initialize a TPadExtent from a style string.
A 2D (horizontal and vertical) combination of TPadLengths.