33 #ifndef ROOT_TAttBBox2D
void Copy(TObject &box) const
Copy a Box.
virtual Rectangle_t GetBBox()
Return the "bounding Box" of the Box.
TBox & operator=(const TBox &)
Assignment operator.
virtual void SetBBoxCenter(const TPoint &p)
Set center of the Box.
virtual TBox * DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this box with new coordinates.
virtual void ls(Option_t *option="") const
List this box with its attributes.
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.
virtual TPoint GetBBoxCenter()
Return the center of the Box as TPoint in pixels.
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)
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.
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 fX1
tool tip associated with box
virtual void SetBBoxCenterX(const Int_t x)
Set X coordinate of the center of the Box.
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 Print(Option_t *option="") const
Dump this box with its attributes.
virtual void PaintBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="")
Draw this box with new coordinates.
Bool_t IsBeingResized() const
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.
Abstract base class for elements drawn in the editor.
virtual void SetY1(Double_t y1)