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