Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Experimental::TPadDrawable Class Reference

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

'

Definition at line 268 of file TPad.hxx.

Public Member Functions

 TPadDrawable (std::shared_ptr< TPad > pPad, const TPadDrawingOpts &opts={})
 Move a sub-pad into this (i.e. parent's) list of drawables. More...
 
TPadGet () const
 
TPadDrawingOptsGetOptions ()
 Drawing options. More...
 
void Paint (Internal::TPadPainter &) final
 Paint primitives from the pad. More...
 
- Public Member Functions inherited from ROOT::Experimental::TDrawableBase< TPadDrawable >
TDrawingOptsBase & GetOptionsBase () override
 Get the reference to the drawing options as TDrawingOptsBase. More...
 
- Public Member Functions inherited from ROOT::Experimental::TDrawable
virtual ~TDrawable ()
 
virtual void Execute (const std::string &)
 
std::string GetId () const
 
virtual void PopulateMenu (TMenuItems &)
 Method can be used to provide menu items for the drawn object. More...
 

Private Attributes

TPadDrawingOpts fOpts
 The drawing options. More...
 
const std::shared_ptr< TPadfPad
 The pad to be painted. More...
 

#include <ROOT/TPad.hxx>

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

Constructor & Destructor Documentation

◆ TPadDrawable()

ROOT::Experimental::TPadDrawable::TPadDrawable ( std::shared_ptr< TPad pPad,
const TPadDrawingOpts opts = {} 
)

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

Definition at line 213 of file TPad.cxx.

Member Function Documentation

◆ Get()

TPad* ROOT::Experimental::TPadDrawable::Get ( ) const
inline

Definition at line 280 of file TPad.hxx.

◆ GetOptions()

TPadDrawingOpts& ROOT::Experimental::TPadDrawable::GetOptions ( )
inline

Drawing options.

Definition at line 283 of file TPad.hxx.

◆ Paint()

void ROOT::Experimental::TPadDrawable::Paint ( Internal::TPadPainter toppad)
finalvirtual

Paint primitives from the pad.

Paint the pad.

Implements ROOT::Experimental::TDrawable.

Definition at line 219 of file TPad.cxx.

Member Data Documentation

◆ fOpts

TPadDrawingOpts ROOT::Experimental::TPadDrawable::fOpts
private

The drawing options.

Definition at line 271 of file TPad.hxx.

◆ fPad

const std::shared_ptr<TPad> ROOT::Experimental::TPadDrawable::fPad
private

The pad to be painted.

Definition at line 270 of file TPad.hxx.

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

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