|
ROOT 6.12/07 Reference Guide |
The default, linear min/max coordinate system for TPad, TCanvas.
Definition at line 33 of file TPadLinearUserCoord.hxx.
Public Member Functions | |
| TPadLinearUserCoord (const std::array< double, 2 > &min, const std::array< double, 2 > &max) | |
| Initialize a TPadLinearUserCoord. More... | |
| virtual | ~TPadLinearUserCoord () |
| Destructor to have a vtable. More... | |
| std::array< TPadCoord::Normal, 2 > | ToNormal (const std::array< TPadCoord::User, 2 > &pos) const override |
| Convert user coordinates to normal coordinates. More... | |
Public Member Functions inherited from ROOT::Experimental::Detail::TPadUserCoordBase | |
| virtual | ~TPadUserCoordBase () |
Private Member Functions | |
| double | GetDenominator (int idx) const |
| For (pos-min)/(max-min) calculations, return a sensible, div-by-0 protected denominator. More... | |
Private Attributes | |
| std::array< double, 2 > | fMax |
| (x,y) user coordinate of top-right corner More... | |
| std::array< double, 2 > | fMin |
| (x,y) user coordinate of bottom-left corner More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ROOT::Experimental::Detail::TPadUserCoordBase | |
| TPadUserCoordBase ()=default | |
| Allow derived classes to default construct a TPadUserCoordBase. More... | |
#include <ROOT/TPadLinearUserCoord.hxx>
|
inline |
Initialize a TPadLinearUserCoord.
Definition at line 48 of file TPadLinearUserCoord.hxx.
|
virtual |
Destructor to have a vtable.
Definition at line 10 of file TPadLinearUserCoord.cxx.
|
inlineprivate |
For (pos-min)/(max-min) calculations, return a sensible, div-by-0 protected denominator.
Definition at line 39 of file TPadLinearUserCoord.hxx.
|
inlineoverridevirtual |
Convert user coordinates to normal coordinates.
Implements ROOT::Experimental::Detail::TPadUserCoordBase.
Definition at line 54 of file TPadLinearUserCoord.hxx.
|
private |
(x,y) user coordinate of top-right corner
Definition at line 36 of file TPadLinearUserCoord.hxx.
|
private |
(x,y) user coordinate of bottom-left corner
Definition at line 35 of file TPadLinearUserCoord.hxx.