Graphic container for RDrawable-s. 
- Authors
 - Axel Naumann axel@.nosp@m.cern.nosp@m..ch Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de 
 
- Date
 - 2017-07-06 
 
- Warning
 - This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome! 
 
Definition at line 25 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...
  | 
|   | 
| RAttrLine &  | AttrLine () | 
|   | 
| const RAttrLine &  | GetAttrLine () const | 
|   | 
| 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...
  | 
|   | 
| 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...
  | 
|   | 
| RPad &  | SetAttrLine (const RAttrLine &attr) | 
|   | 
| void  | SetPos (const RPadPos &p) | 
|   | Set position.  More...
  | 
|   | 
| void  | SetSize (const RPadExtent &sz) | 
|   | Set the size of the pad in parent (!) coordinates.  More...
  | 
|   | 
| std::array< RPadLength::Normal, 2 >  | ToNormal (const RPadPos &pos) const | 
|   | Convert a RPadPos to [x, y] of normalized coordinates.  More...
  | 
|   | 
| virtual  | ~RPadBase () | 
|   | 
| void  | AssignAutoColors () | 
|   | Method collect existing colors and assign new values if required.  More...
  | 
|   | 
| void  | CreateFrameIfNeeded () | 
|   | 
| std::vector< std::vector< std::shared_ptr< 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 (ARGS... args) | 
|   | Create drawable of specified class T.  More...
  | 
|   | 
| template<class T , class... ARGS>  | 
| auto  | Draw (const std::shared_ptr< T > &what, ARGS... args) | 
|   | Add something to be painted.  More...
  | 
|   | 
| auto  | Draw (std::shared_ptr< RDrawable > &&drawable) | 
|   | Add existing drawable instance to canvas.  More...
  | 
|   | 
| std::shared_ptr< RDrawable >  | FindPrimitive (const std::string &id) const | 
|   | Find primitive with specified id.  More...
  | 
|   | 
| std::shared_ptr< RDrawable >  | FindPrimitiveByDisplayId (const std::string &display_id) const | 
|   | Find primitive with unique id, produce for RDisplayItem Such id used for client-server identification of objects.  More...
  | 
|   | 
| 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 () | 
|   | 
| std::shared_ptr< RDrawable >  | GetPrimitive (unsigned num) const | 
|   | returns primitive of given number  More...
  | 
|   | 
| auto  | GetPrimitives () const | 
|   | Get all primitives contained in the pad.  More...
  | 
|   | 
| unsigned  | NumPrimitives () const | 
|   | returns number of primitives in the pad  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 (const std::shared_ptr< RDrawable > &drawable) | 
|   | Remove drawable from list of primitives.  More...
  | 
|   | 
| bool  | Remove (const std::string &id) | 
|   | Remove an object from the list of primitives.  More...
  | 
|   | 
| bool  | RemoveAt (unsigned indx) | 
|   | Remove drawable at specified position.  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  | UseStyle (const std::shared_ptr< RStyle > &style) override | 
|   | Use provided style for pad and all primitives inside.  More...
  | 
|   | 
| void  | Wipe () | 
|   | Wipe the pad by clearing the list of primitives.  More...
  | 
|   | 
|   | RDrawable (const std::string &type) | 
|   | 
| virtual  | ~RDrawable () | 
|   | 
| void  | ClearStyle () | 
|   | 
| virtual void  | Execute (const std::string &) | 
|   | 
| const std::string &  | GetCssClass () const | 
|   | 
| const std::string &  | GetCssType () const | 
|   | 
| const std::string &  | GetId () const | 
|   | 
| virtual void  | PopulateMenu (RMenuItems &) | 
|   | Method can be used to provide menu items for the drawn object.  More...
  | 
|   | 
| void  | SetCssClass (const std::string &cl) | 
|   | 
| void  | SetId (const std::string &id) | 
|   | 
| virtual void  | UseStyle (const std::shared_ptr< RStyle > &style) | 
|   |