16#ifndef ROOT7_RPadExtent
17#define ROOT7_RPadExtent
25namespace Experimental {
std::string ToAttributeString(const RColor &val)
Return a std::string representation of a RColor, suitable as input to ColorFromString().
RColor FromAttributeString(const std::string &str, const std::string &name, RColor *)
Initialize a RColor from a string value.
Namespace for new ROOT classes and functions.
A 2D (horizontal and vertical) combination of RPadLengths.
void SetFromAttrString(const std::string &val, const std::string &name)
Initialize a RPadHorizVert from a style string.
RPadHorizVert(const RPadLength &horiz, const RPadLength &vert)
RPadHorizVert(const std::array< RPadLength, 2 > &hv)
RPadLength fHoriz
Horizontal position.
RPadLength fVert
Vertical position.
A scale factor (separate factors for horizontal and vertical) for scaling a RPadLength.
double fHoriz
Horizontal scale factor.
double fVert
Vertical scale factor.
An extent / size (horizontal and vertical) in a RPad.
friend RPadExtent operator-(RPadExtent lhs, const RPadExtent &rhs)
Subtract two RPadExtents.
RPadExtent & operator*=(const ScaleFactor &scale)
Scale a RPadHorizVert horizonally and vertically.
RPadExtent & operator-=(const RPadExtent &rhs)
Subtract a RPadExtent.
RPadExtent & operator+=(const RPadExtent &rhs)
Add a RPadExtent.
friend RPadExtent operator+(RPadExtent lhs, const RPadExtent &rhs)
Add two RPadExtents.