Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Experimental::RPadDrawable Class Reference

Draw a RPad, by drawing its contained graphical elements at the pad offset in the parent pad.

'

Definition at line 268 of file RPad.hxx.

Public Member Functions

 RPadDrawable (std::shared_ptr< RPad > pPad, const RPadDrawingOpts &opts={})
 Move a sub-pad into this (i.e. parent's) list of drawables. More...
 
RPadGet () const
 
RPadDrawingOptsGetOptions ()
 Drawing options. More...
 
void Paint (Internal::RPadPainter &) final
 Paint primitives from the pad. More...
 
- Public Member Functions inherited from ROOT::Experimental::RDrawableBase< RPadDrawable >
RDrawingOptsBase & GetOptionsBase () override
 Get the reference to the drawing options as RDrawingOptsBase. More...
 
- Public Member Functions inherited from ROOT::Experimental::RDrawable
virtual ~RDrawable ()
 
virtual void Execute (const std::string &)
 
std::string GetId () const
 
virtual RDrawingOptsBase & GetOptionsBase ()=0
 Get the reference to the drawing options as RDrawingOptsBase. More...
 
virtual void Paint (Internal::RPadPainter &onPad)=0
 
virtual void PopulateMenu (RMenuItems &)
 Method can be used to provide menu items for the drawn object. More...
 

Private Attributes

RPadDrawingOpts fOpts
 The drawing options. More...
 
const std::shared_ptr< RPadfPad
 The pad to be painted. More...
 

#include <ROOT/RPad.hxx>

Inheritance diagram for ROOT::Experimental::RPadDrawable:
[legend]

Constructor & Destructor Documentation

◆ RPadDrawable()

ROOT::Experimental::RPadDrawable::RPadDrawable ( std::shared_ptr< RPad pPad,
const RPadDrawingOpts opts = {} 
)

Move a sub-pad into this (i.e. parent's) list of drawables.

Definition at line 213 of file RPad.cxx.

Member Function Documentation

◆ Get()

RPad * ROOT::Experimental::RPadDrawable::Get ( ) const
inline

Definition at line 280 of file RPad.hxx.

◆ GetOptions()

RPadDrawingOpts & ROOT::Experimental::RPadDrawable::GetOptions ( )
inline

Drawing options.

Definition at line 283 of file RPad.hxx.

◆ Paint()

void ROOT::Experimental::RPadDrawable::Paint ( Internal::RPadPainter toppad)
finalvirtual

Paint primitives from the pad.

Paint the pad.

Implements ROOT::Experimental::RDrawable.

Definition at line 219 of file RPad.cxx.

Member Data Documentation

◆ fOpts

RPadDrawingOpts ROOT::Experimental::RPadDrawable::fOpts
private

The drawing options.

Definition at line 271 of file RPad.hxx.

◆ fPad

const std::shared_ptr<RPad> ROOT::Experimental::RPadDrawable::fPad
private

The pad to be painted.

Definition at line 270 of file RPad.hxx.

Libraries for ROOT::Experimental::RPadDrawable:
[legend]

The documentation for this class was generated from the following files: