virtual Rectangle_t GetBBox()
Return the "bounding Box" of the Box.
void Copy(TObject &box) const
Copy a Box.
TBox & operator=(const TBox &)
Assignment operator.
virtual void SetBBoxCenter(const TPoint &p)
Set center of the Box.
TBox()
Box default constructor.
virtual TBox * DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this box with new coordinates.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
virtual void SetBBoxY1(const Int_t y)
Set top of BoundingBox to a value (resize in y direction on top)
virtual void SetToolTipText(const char *text, Long_t delayms=1000)
Set tool tip text associated with this box.
Double_t fY2
Y of 2nd point.
virtual TPoint GetBBoxCenter()
Return the center of the Box as TPoint in pixels.
virtual Int_t IsInside(Double_t x, Double_t y) const
Function which returns 1 if point x,y lies inside the box, 0 otherwise.
virtual void ls(Option_t *option="") const
List this box with its attributes.
virtual void SetX1(Double_t x1)
virtual void SetX2(Double_t x2)
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Double_t fY1
Y of 1st point.
virtual void SetBBoxY2(const Int_t y)
Set bottom of BoundingBox to a value (resize in y direction on bottom)
static const double x2[5]
Fill Area Attributes class.
Bool_t fResizing
! True if box is being resized
#define ClassDef(name, id)
virtual void HideToolTip(Int_t event)
Hide tool tip depending on the event type.
virtual void SetBBoxX2(const Int_t x)
Set right hand side of BoundingBox to a value (resize in x direction on right)
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a box.
virtual ~TBox()
Box destructor.
Double_t fX2
X of 2nd point.
virtual void Print(Option_t *option="") const
Dump this box with its attributes.
Double_t fX1
X of 1st point.
virtual void SetBBoxCenterX(const Int_t x)
Set X coordinate of the center of the Box.
virtual void PaintBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="")
Draw this box with new coordinates.
virtual void SetY2(Double_t y2)
virtual void SetBBoxCenterY(const Int_t y)
Set Y coordinate of the center of the Box.
static const double x1[5]
virtual void Paint(Option_t *option="")
Paint this box with its current attributes.
virtual void SetBBoxX1(const Int_t x)
Set left hand side of BoundingBox to a value (resize in x direction on left)
virtual void Draw(Option_t *option="")
Draw this box with its current attributes.
Mother of all ROOT objects.
Bool_t IsBeingResized() const
TObject * fTip
! tool tip associated with box
Abstract base class for elements drawn in the editor.
virtual void SetY1(Double_t y1)