ROOT 6.18/05 Reference Guide |
A 2D (horizontal and vertical) combination of RPadLength
s.
Definition at line 32 of file RPadExtent.hxx.
Public Member Functions | |
RPadHorizVert ()=default | |
RPadHorizVert (const RPadLength &horiz, const RPadLength &vert) | |
RPadHorizVert (const std::array< RPadLength, 2 > &hv) | |
void | SetFromAttrString (const std::string &val, const std::string &name) |
Initialize a RPadHorizVert from a style string. More... | |
Public Attributes | |
RPadLength | fHoriz |
Horizontal position. More... | |
RPadLength | fVert |
Vertical position. More... | |
#include <ROOT/RPadExtent.hxx>
|
default |
|
inline |
Definition at line 37 of file RPadExtent.hxx.
|
inline |
Definition at line 38 of file RPadExtent.hxx.
void ROOT::Experimental::Internal::RPadHorizVert::SetFromAttrString | ( | const std::string & | val, |
const std::string & | name | ||
) |
Initialize a RPadHorizVert from a style string.
Syntax: X, Y where X and Y are a series of numbers separated by "+", where each number is followed by one of px
, user
, normal
to specify an extent in pixel, user or normal coordinates. Spaces between any part is allowed. Example: 100 px + 0.1 user, 0.5 normal
is a RPadExtent{100_px + 0.1_user, 0.5_normal}
.
Definition at line 55 of file RPadExtent.cxx.
RPadLength ROOT::Experimental::Internal::RPadHorizVert::fHoriz |
Horizontal position.
Definition at line 33 of file RPadExtent.hxx.
RPadLength ROOT::Experimental::Internal::RPadHorizVert::fVert |
Vertical position.
Definition at line 34 of file RPadExtent.hxx.