Logo ROOT   6.18/05
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 283 of file RPad.hxx.

Public Member Functions

 RPadDrawable (const std::shared_ptr< RPad > &pPad, const RPad::DrawingOpts &opts={})
 Move a sub-pad into this (i.e. parent's) list of drawables. More...
 
RPadGet () const
 
RPad::DrawingOptsGetOptions ()
 Drawing options. More...
 
void Paint (Internal::RPadPainter &) final
 Paint primitives from the pad. More...
 
- Public Member Functions inherited from ROOT::Experimental::RDrawableBase< RPadDrawable >
RDrawingOptsBaseGetOptionsBase () 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 RDrawingOptsBaseGetOptionsBase ()=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

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 ( const std::shared_ptr< RPad > &  pPad,
const RPad::DrawingOpts opts = {} 
)

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

Definition at line 210 of file RPad.cxx.

Member Function Documentation

◆ Get()

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

Definition at line 294 of file RPad.hxx.

◆ GetOptions()

RPad::DrawingOpts & ROOT::Experimental::RPadDrawable::GetOptions ( )
inline

Drawing options.

Definition at line 297 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 218 of file RPad.cxx.

Member Data Documentation

◆ fPad

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

The pad to be painted.

Definition at line 285 of file RPad.hxx.

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

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