Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RPave Class Reference

Base class for paves with text, statistic, legends, placed relative to RFrame position and adjustable height.

Author
Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
Date
2020-06-18
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 31 of file RPave.hxx.

Public Member Functions

 RPave (const std::string &csstype="pave")
 
RAttrLineAttrBorder ()
 
RAttrFillAttrFill ()
 
RAttrTextAttrText ()
 
const RAttrLineGetAttrBorder () const
 
const RAttrFillGetAttrFill () const
 
const RAttrTextGetAttrText () const
 
RPadLength GetCornerX () const
 
RPadLength GetCornerY () const
 
RPadLength GetHeight () const
 
RPadLength GetWidth () const
 
RPaveSetAttrBorder (const RAttrLine &border)
 
RPaveSetAttrFill (const RAttrFill &fill)
 
RPaveSetAttrText (const RAttrText &attr)
 
RPaveSetCornerX (const RPadLength &pos)
 
RPaveSetCornerY (const RPadLength &pos)
 
RPaveSetHeight (const RPadLength &height)
 
RPaveSetWidth (const RPadLength &width)
 
- Public Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const std::string &type)
 
virtual ~RDrawable ()
 
void ClearStyle ()
 
const std::string & GetCssClass () const
 
const std::string & GetCssType () const
 
const std::string & GetId () const
 
void SetCssClass (const std::string &cl)
 
void SetId (const std::string &id)
 
virtual void UseStyle (const std::shared_ptr< RStyle > &style)
 

Private Attributes

RAttrLine fAttrBorder {this, "border"}
 ! border attributes
 
RAttrFill fAttrFill {this, "fill"}
 ! line attributes
 
RAttrText fAttrText {this, "text"}
 ! text attributes
 
RAttrValue< RPadLengthfCornerX {this, "cornerx", 0.02}
 ! X corner
 
RAttrValue< RPadLengthfCornerY {this, "cornery", 0.02}
 ! Y corner
 
RAttrValue< RPadLengthfHeight {this, "height", 0.2}
 ! pave height
 
RAttrValue< RPadLengthfWidth {this, "width", 0.4}
 ! pave width
 

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::RDrawable
using Version_t = uint64_t
 
- Protected Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const RDrawable &)=delete
 
virtual void CollectShared (Internal::RIOSharedVector_t &)
 
virtual std::unique_ptr< RDisplayItemDisplay (const RDisplayContext &)
 Creates display item for drawable By default item contains drawable data itself.
 
virtual void Execute (const std::string &)
 
RAttrMapGetAttrMap ()
 
const RAttrMapGetAttrMap () const
 
Version_t GetVersion () const
 
virtual bool IsFrameRequired () const
 
bool MatchSelector (const std::string &selector) const
 Preliminary method which checks if drawable matches with given selector Following selector are allowed: "type" or "#id" or ".class_name" Here type is drawable kind like 'rect' or 'pad' id is drawable identifier, specified with RDrawable::SetId() method class_name is drawable class name, specified with RDrawable::SetCssClass() method.
 
virtual void OnDisplayItemDestroyed (RDisplayItem *) const
 
RDrawableoperator= (const RDrawable &)=delete
 
virtual void PopulateMenu (RMenuItems &)
 
virtual void SetDrawableVersion (Version_t vers)
 

#include <ROOT/RPave.hxx>

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

Constructor & Destructor Documentation

◆ RPave()

ROOT::Experimental::RPave::RPave ( const std::string &  csstype = "pave")
inline

Definition at line 43 of file RPave.hxx.

Member Function Documentation

◆ AttrBorder()

RAttrLine & ROOT::Experimental::RPave::AttrBorder ( )
inline

Definition at line 63 of file RPave.hxx.

◆ AttrFill()

RAttrFill & ROOT::Experimental::RPave::AttrFill ( )
inline

Definition at line 67 of file RPave.hxx.

◆ AttrText()

RAttrText & ROOT::Experimental::RPave::AttrText ( )
inline

Definition at line 59 of file RPave.hxx.

◆ GetAttrBorder()

const RAttrLine & ROOT::Experimental::RPave::GetAttrBorder ( ) const
inline

Definition at line 61 of file RPave.hxx.

◆ GetAttrFill()

const RAttrFill & ROOT::Experimental::RPave::GetAttrFill ( ) const
inline

Definition at line 65 of file RPave.hxx.

◆ GetAttrText()

const RAttrText & ROOT::Experimental::RPave::GetAttrText ( ) const
inline

Definition at line 57 of file RPave.hxx.

◆ GetCornerX()

RPadLength ROOT::Experimental::RPave::GetCornerX ( ) const
inline

Definition at line 46 of file RPave.hxx.

◆ GetCornerY()

RPadLength ROOT::Experimental::RPave::GetCornerY ( ) const
inline

Definition at line 49 of file RPave.hxx.

◆ GetHeight()

RPadLength ROOT::Experimental::RPave::GetHeight ( ) const
inline

Definition at line 55 of file RPave.hxx.

◆ GetWidth()

RPadLength ROOT::Experimental::RPave::GetWidth ( ) const
inline

Definition at line 52 of file RPave.hxx.

◆ SetAttrBorder()

RPave & ROOT::Experimental::RPave::SetAttrBorder ( const RAttrLine border)
inline

Definition at line 62 of file RPave.hxx.

◆ SetAttrFill()

RPave & ROOT::Experimental::RPave::SetAttrFill ( const RAttrFill fill)
inline

Definition at line 66 of file RPave.hxx.

◆ SetAttrText()

RPave & ROOT::Experimental::RPave::SetAttrText ( const RAttrText attr)
inline

Definition at line 58 of file RPave.hxx.

◆ SetCornerX()

RPave & ROOT::Experimental::RPave::SetCornerX ( const RPadLength pos)
inline

Definition at line 45 of file RPave.hxx.

◆ SetCornerY()

RPave & ROOT::Experimental::RPave::SetCornerY ( const RPadLength pos)
inline

Definition at line 48 of file RPave.hxx.

◆ SetHeight()

RPave & ROOT::Experimental::RPave::SetHeight ( const RPadLength height)
inline

Definition at line 54 of file RPave.hxx.

◆ SetWidth()

RPave & ROOT::Experimental::RPave::SetWidth ( const RPadLength width)
inline

Definition at line 51 of file RPave.hxx.

Member Data Documentation

◆ fAttrBorder

RAttrLine ROOT::Experimental::RPave::fAttrBorder {this, "border"}
private

! border attributes

Definition at line 34 of file RPave.hxx.

◆ fAttrFill

RAttrFill ROOT::Experimental::RPave::fAttrFill {this, "fill"}
private

! line attributes

Definition at line 35 of file RPave.hxx.

◆ fAttrText

RAttrText ROOT::Experimental::RPave::fAttrText {this, "text"}
private

! text attributes

Definition at line 33 of file RPave.hxx.

◆ fCornerX

RAttrValue<RPadLength> ROOT::Experimental::RPave::fCornerX {this, "cornerx", 0.02}
private

! X corner

Definition at line 36 of file RPave.hxx.

◆ fCornerY

RAttrValue<RPadLength> ROOT::Experimental::RPave::fCornerY {this, "cornery", 0.02}
private

! Y corner

Definition at line 37 of file RPave.hxx.

◆ fHeight

RAttrValue<RPadLength> ROOT::Experimental::RPave::fHeight {this, "height", 0.2}
private

! pave height

Definition at line 39 of file RPave.hxx.

◆ fWidth

RAttrValue<RPadLength> ROOT::Experimental::RPave::fWidth {this, "width", 0.4}
private

! pave width

Definition at line 38 of file RPave.hxx.

Libraries for ROOT::Experimental::RPave:

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