Logo ROOT  
Reference Guide
TAttBBox2D Class Referenceabstract

Abstract base class for elements drawn in the editor.

Classes inheriting from TAttBBox2D implementing the TAttBBox2D virtual classes, and using TPad::ShowGuideLines in ExecuteEvent will automatically get the guide lines drawn when moved in the pad. All methods work with pixel coordinates.

Definition at line 19 of file TAttBBox2D.h.

Public Member Functions

virtual ~TAttBBox2D ()
 
virtual Rectangle_t GetBBox ()=0
 
virtual TPoint GetBBoxCenter ()=0
 
virtual void SetBBoxCenter (const TPoint &p)=0
 
virtual void SetBBoxCenterX (const Int_t x)=0
 
virtual void SetBBoxCenterY (const Int_t y)=0
 
virtual void SetBBoxX1 (const Int_t x)=0
 
virtual void SetBBoxX2 (const Int_t x)=0
 
virtual void SetBBoxY1 (const Int_t y)=0
 
virtual void SetBBoxY2 (const Int_t y)=0
 

#include <TAttBBox2D.h>

Inheritance diagram for TAttBBox2D:
[legend]

Constructor & Destructor Documentation

◆ ~TAttBBox2D()

TAttBBox2D::~TAttBBox2D ( )
virtual

Definition at line 30 of file TAttBBox2D.cxx.

Member Function Documentation

◆ GetBBox()

virtual Rectangle_t TAttBBox2D::GetBBox ( )
pure virtual

Implemented in TText, TMarker, TLine, TEllipse, TCurlyLine, TCurlyArc, TBox, and TPad.

◆ GetBBoxCenter()

virtual TPoint TAttBBox2D::GetBBoxCenter ( )
pure virtual

Implemented in TText, TMarker, TLine, TEllipse, TCurlyLine, TCurlyArc, TBox, and TPad.

◆ SetBBoxCenter()

virtual void TAttBBox2D::SetBBoxCenter ( const TPoint p)
pure virtual

Implemented in TText, TMarker, TLine, TEllipse, TCurlyLine, TCurlyArc, TBox, and TPad.

◆ SetBBoxCenterX()

virtual void TAttBBox2D::SetBBoxCenterX ( const Int_t  x)
pure virtual

Implemented in TText, TMarker, TLine, TEllipse, TCurlyLine, TCurlyArc, TBox, and TPad.

◆ SetBBoxCenterY()

virtual void TAttBBox2D::SetBBoxCenterY ( const Int_t  y)
pure virtual

Implemented in TText, TMarker, TLine, TEllipse, TCurlyLine, TCurlyArc, TBox, and TPad.

◆ SetBBoxX1()

virtual void TAttBBox2D::SetBBoxX1 ( const Int_t  x)
pure virtual

Implemented in TText, TMarker, TLine, TEllipse, TCurlyLine, TCurlyArc, TBox, and TPad.

◆ SetBBoxX2()

virtual void TAttBBox2D::SetBBoxX2 ( const Int_t  x)
pure virtual

Implemented in TText, TMarker, TLine, TEllipse, TCurlyLine, TCurlyArc, TBox, and TPad.

◆ SetBBoxY1()

virtual void TAttBBox2D::SetBBoxY1 ( const Int_t  y)
pure virtual

Implemented in TText, TMarker, TLine, TEllipse, TCurlyLine, TCurlyArc, TBox, and TPad.

◆ SetBBoxY2()

virtual void TAttBBox2D::SetBBoxY2 ( const Int_t  y)
pure virtual

Implemented in TText, TMarker, TLine, TEllipse, TCurlyLine, TCurlyArc, TBox, and TPad.


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