Graphic container for RDrawable-s.
Definition at line 182 of file RPad.hxx.
|
| | RPad ()=default |
| | Create a topmost, non-paintable pad. More...
|
| |
| | RPad (RPadBase &parent, const RPadPos &pos, const RPadExtent &size) |
| | Create a child pad. More...
|
| |
| virtual | ~RPad () |
| | Destructor to have a vtable. More...
|
| |
| const RCanvas * | GetCanvas () const override |
| | Access to the top-most canvas (const version). More...
|
| |
| RCanvas * | GetCanvas () override |
| | Access to the top-most canvas (non-const version). More...
|
| |
| DrawingOpts & | GetDrawingOpts () |
| | Drawing options. More...
|
| |
| RPadBase * | GetParent () |
| | Access to the parent pad (non-const version). More...
|
| |
| const RPadBase * | GetParent () const |
| | Access to the parent pad (const version). More...
|
| |
| const RPadPos & | GetPos () const |
| | Get the position of the pad in parent (!) coordinates. More...
|
| |
| const RPadExtent & | GetSize () const |
| | Get the size of the pad in parent (!) coordinates. More...
|
| |
| std::array< RPadLength::Normal, 2 > | PixelsToNormal (const std::array< RPadLength::Pixel, 2 > &pos) const override |
| | Convert a Pixel position to Canvas-normalized positions. More...
|
| |
| std::array< RPadLength::Normal, 2 > | ToNormal (const Internal::RPadHorizVert &pos) const |
| | Convert a RPadPos to [x, y] of normalized coordinates. More...
|
| |
| virtual | ~RPadBase () |
| |
| void | CreateFrameIfNeeded () |
| |
| std::vector< std::vector< RPad * > > | Divide (int nHoriz, int nVert, const RPadExtent &padding={}) |
| | Divide this pad into a grid of subpads with padding in between. More...
|
| |
| template<class T , class... ARGS> |
| auto | Draw (const std::shared_ptr< T > &what, ARGS... args) |
| | Add something to be painted. More...
|
| |
| template<class T , class... ARGS, class = typename std::enable_if<!ROOT::TypeTraits::IsSmartOrDumbPtr<T>::value>::type> |
| auto | Draw (const T &what, ARGS... args) |
| | Add a copy of something to be painted. More...
|
| |
| template<class T , class... ARGS> |
| auto | Draw (std::unique_ptr< T > &&what, ARGS... args) |
| | Add something to be painted. More...
|
| |
| std::shared_ptr< RDrawable > | FindDrawable (const std::string &id) const |
| |
| RPadUserAxisBase * | GetAxis (size_t dimension) const |
| | Get a pad axis from the RFrame. More...
|
| |
| virtual const RCanvas * | GetCanvas () const =0 |
| | Access to the top-most canvas, if any (const version). More...
|
| |
| virtual RCanvas * | GetCanvas ()=0 |
| | Access to the top-most canvas, if any (non-const version). More...
|
| |
| const RFrame * | GetFrame () const |
| |
| RPadUserAxisBase * | GetOrCreateAxis (size_t dimension) |
| | Get a pad axis from the RFrame. More...
|
| |
| RFrame * | GetOrCreateFrame () |
| |
| const Primitives_t & | GetPrimitives () const |
| | Get the elements contained in the canvas. More...
|
| |
| virtual std::array< RPadLength::Normal, 2 > | PixelsToNormal (const std::array< RPadLength::Pixel, 2 > &pos) const =0 |
| | Convert a Pixel position to Canvas-normalized positions. More...
|
| |
| bool | Remove (RDrawingOptsBase &opts) |
| | Remove an object from the list of primitives. More...
|
| |
| void | SetAllAxisAutoBounds () |
| | Set the range of an axis as bound kind and bound (up or down). More...
|
| |
| void | SetAllAxisBound (const std::vector< BoundKindAndValue > &vecBoundAndKind) |
| | Set the range of an axis as bound kind and bound (up or down). More...
|
| |
| void | SetAllAxisBounds (const std::vector< std::array< double, 2 > > &vecBeginAndEnd) |
| | Set the range of an axis as bound kind and bound (up or down). More...
|
| |
| void | SetAxisAutoBounds (int dimension) |
| | Set the range of an axis as bound kind and bound (up or down). More...
|
| |
| void | SetAxisBound (int dimension, RPadUserAxisBase::EAxisBoundsKind boundsKind, double bound) |
| | Set the range of an axis as bound kind and bound (up or down). More...
|
| |
| void | SetAxisBounds (int dimension, double begin, double end) |
| | Set the range of an axis as begin, end. More...
|
| |
| std::array< RPadLength::Normal, 2 > | UserToNormal (const std::array< RPadLength::User, 2 > &pos) const |
| | Convert user coordinates to normal coordinates. More...
|
| |
| void | Wipe () |
| | Wipe the pad by clearing the list of primitives. More...
|
| |