Graphic container for TDrawable
-s.
Definition at line 140 of file TPad.hxx.
|
| TPad (TPadBase &parent, const TPadExtent &size) |
| Create a child pad. More...
|
|
virtual | ~TPad () |
| Destructor to have a vtable. More...
|
|
const TCanvas & | GetCanvas () const override |
| Access to the top-most canvas (const version). More...
|
|
TCanvas & | GetCanvas () override |
| Access to the top-most canvas (non-const version). More...
|
|
const TPadBase & | GetParent () const |
| Access to the parent pad (const version). More...
|
|
TPadBase & | GetParent () |
| Access to the parent pad (non-const version). More...
|
|
const TPadExtent & | GetSize () const |
| Get the size of the pad in parent (!) coordinates. More...
|
|
std::array< TPadCoord::Normal, 2 > | PixelsToNormal (const std::array< TPadCoord::Pixel, 2 > &pos) const override |
| Convert a Pixel position to Canvas-normalized positions. More...
|
|
std::array< TPadCoord::Normal, 2 > | ToNormal (const Internal::TPadHorizVert &pos) const |
| Convert a TPadPos to [x, y] of normalized coordinates. More...
|
|
virtual | ~TPadBase () |
|
std::vector< std::vector< TPad * > > | Divide (int nHoriz, int nVert, const TPadExtent &padding={}) |
| Divide this pad into a grid of subpad with padding in between. More...
|
|
template<class T > |
auto & | Draw (const std::shared_ptr< T > &what) |
| Add something to be painted. More...
|
|
template<class T > |
auto & | Draw (std::unique_ptr< T > &&what) |
| Add something to be painted. The pad claims ownership. More...
|
|
template<class T , class = typename std::enable_if<!ROOT::TypeTraits::IsSmartOrDumbPtr<T>::value>::type> |
auto & | Draw (const T &what) |
| Add a copy of something to be painted. More...
|
|
const Primitives_t & | GetPrimitives () const |
| Get the elements contained in the canvas. More...
|
|
std::array< TPadCoord::Normal, 2 > | UserToNormal (const std::array< TPadCoord::User, 2 > &pos) const |
| Convert user coordinates to normal coordinates. More...
|
|
void | Wipe () |
| Remove an object from the list of primitives. More...
|
|