TGRectangle Class Reference

#include <TGDimension.h>

List of all members.

Public Member Functions

 TGRectangle ()
 TGRectangle (Int_t rx, Int_t ry, UInt_t rw, UInt_t rh)
 TGRectangle (const TGPosition &p, const TGDimension &d)
 TGRectangle (const TGRectangle &r)
virtual ~TGRectangle ()
Bool_t Contains (Int_t px, Int_t py) const
Bool_t Contains (const TGPosition &p) const
Bool_t Intersects (const TGRectangle &r) const
Int_t Area () const
TGDimension Size () const
TGPosition LeftTop () const
TGPosition RightBottom () const
void Merge (const TGRectangle &r)
void Empty ()
Bool_t IsEmpty () const
 TGRectangle ()
 TGRectangle (Int_t rx, Int_t ry, UInt_t rw, UInt_t rh)
 TGRectangle (const TGPosition &p, const TGDimension &d)
 TGRectangle (const TGRectangle &r)
virtual ~TGRectangle ()
Bool_t Contains (Int_t px, Int_t py) const
Bool_t Contains (const TGPosition &p) const
Bool_t Intersects (const TGRectangle &r) const
Int_t Area () const
TGDimension Size () const
TGPosition LeftTop () const
TGPosition RightBottom () const
void Merge (const TGRectangle &r)
void Empty ()
Bool_t IsEmpty () const

Public Attributes

Int_t fX
Int_t fY
UInt_t fW
UInt_t fH


Detailed Description

Definition at line 113 of file TGDimension.h.


Constructor & Destructor Documentation

TGRectangle::TGRectangle (  )  [inline]

Definition at line 121 of file TGDimension.h.

References Empty().

TGRectangle::TGRectangle ( Int_t  rx,
Int_t  ry,
UInt_t  rw,
UInt_t  rh 
) [inline]

Definition at line 122 of file TGDimension.h.

TGRectangle::TGRectangle ( const TGPosition p,
const TGDimension d 
) [inline]

Definition at line 124 of file TGDimension.h.

TGRectangle::TGRectangle ( const TGRectangle r  )  [inline]

Definition at line 126 of file TGDimension.h.

virtual TGRectangle::~TGRectangle (  )  [inline, virtual]

Definition at line 128 of file TGDimension.h.

TGRectangle::TGRectangle (  )  [inline]

Definition at line 121 of file TGDimension.h.

References Empty().

TGRectangle::TGRectangle ( Int_t  rx,
Int_t  ry,
UInt_t  rw,
UInt_t  rh 
) [inline]

Definition at line 122 of file TGDimension.h.

TGRectangle::TGRectangle ( const TGPosition p,
const TGDimension d 
) [inline]

Definition at line 124 of file TGDimension.h.

TGRectangle::TGRectangle ( const TGRectangle r  )  [inline]

Definition at line 126 of file TGDimension.h.

virtual TGRectangle::~TGRectangle (  )  [inline, virtual]

Definition at line 128 of file TGDimension.h.


Member Function Documentation

Bool_t TGRectangle::Contains ( Int_t  px,
Int_t  py 
) const [inline]

Definition at line 131 of file TGDimension.h.

References fH, fW, fX, and fY.

Referenced by TGToolTip::HandleTimer().

Bool_t TGRectangle::Contains ( const TGPosition p  )  const [inline]

Definition at line 134 of file TGDimension.h.

References fH, fW, fX, fY, and p.

Bool_t TGRectangle::Intersects ( const TGRectangle r  )  const [inline]

Definition at line 137 of file TGDimension.h.

References fH, fW, fX, and fY.

Int_t TGRectangle::Area (  )  const [inline]

Definition at line 140 of file TGDimension.h.

References fH, and fW.

TGDimension TGRectangle::Size (  )  const [inline]

Definition at line 142 of file TGDimension.h.

References fH, and fW.

TGPosition TGRectangle::LeftTop (  )  const [inline]

Definition at line 144 of file TGDimension.h.

References fX, and fY.

Referenced by TGMdiContainer::GetDefaultSize().

TGPosition TGRectangle::RightBottom (  )  const [inline]

Definition at line 146 of file TGDimension.h.

References fH, fW, fX, and fY.

Referenced by TGMdiContainer::GetDefaultSize(), and TGMdiContainer::HandleConfigureNotify().

void TGRectangle::Merge ( const TGRectangle r  ) 

Referenced by TGMdiMainFrame::GetBBox(), TGMdiMainFrame::GetMinimizedBBox(), TGView::HandleExpose(), TGContainer::HandleExpose(), and TGView::UpdateRegion().

void TGRectangle::Empty (  )  [inline]

Definition at line 149 of file TGDimension.h.

References fH, fW, fX, and fY.

Referenced by TGView::DoRedraw(), TGContainer::DoRedraw(), TGRectangle(), and TGTextView::Update().

Bool_t TGRectangle::IsEmpty (  )  const [inline]

Definition at line 150 of file TGDimension.h.

References fH, and fW.

Referenced by TGView::DoRedraw(), TGContainer::DoRedraw(), TGView::HandleExpose(), TGContainer::HandleExpose(), and TGView::UpdateRegion().

Bool_t TGRectangle::Contains ( Int_t  px,
Int_t  py 
) const [inline]

Definition at line 131 of file TGDimension.h.

References fH, fW, fX, and fY.

Bool_t TGRectangle::Contains ( const TGPosition p  )  const [inline]

Definition at line 134 of file TGDimension.h.

References fH, fW, fX, fY, and p.

Bool_t TGRectangle::Intersects ( const TGRectangle r  )  const [inline]

Definition at line 137 of file TGDimension.h.

References fH, fW, fX, and fY.

Int_t TGRectangle::Area (  )  const [inline]

Definition at line 140 of file TGDimension.h.

References fH, and fW.

TGDimension TGRectangle::Size (  )  const [inline]

Definition at line 142 of file TGDimension.h.

References fH, and fW.

TGPosition TGRectangle::LeftTop (  )  const [inline]

Definition at line 144 of file TGDimension.h.

References fX, and fY.

TGPosition TGRectangle::RightBottom (  )  const [inline]

Definition at line 146 of file TGDimension.h.

References fH, fW, fX, and fY.

void TGRectangle::Merge ( const TGRectangle r  ) 

void TGRectangle::Empty (  )  [inline]

Definition at line 149 of file TGDimension.h.

References fH, fW, fX, and fY.

Bool_t TGRectangle::IsEmpty (  )  const [inline]

Definition at line 150 of file TGDimension.h.

References fH, and fW.


Member Data Documentation

Int_t TGRectangle::fX

Definition at line 115 of file TGDimension.h.

Referenced by TGContainer::ClearViewPort(), TGMdiMainFrame::ConfigureWindow(), Contains(), TGView::DoRedraw(), TGContainer::DoRedraw(), Empty(), TGMdiMainFrame::GetWindowGeometry(), TGView::HandleExpose(), TGTextEdit::HandleSelection(), Intersects(), LeftTop(), TGHtml::Redraw(), RightBottom(), and TGView::UpdateRegion().

Int_t TGRectangle::fY

Definition at line 116 of file TGDimension.h.

Referenced by TGContainer::ClearViewPort(), TGMdiMainFrame::ConfigureWindow(), Contains(), TGView::DoRedraw(), TGContainer::DoRedraw(), Empty(), TGMdiMainFrame::GetWindowGeometry(), TGView::HandleExpose(), TGTextEdit::HandleSelection(), Intersects(), LeftTop(), TGHtml::Redraw(), RightBottom(), and TGView::UpdateRegion().

UInt_t TGRectangle::fW

Definition at line 117 of file TGDimension.h.

Referenced by Area(), TGContainer::ClearViewPort(), TGMdiMainFrame::ConfigureWindow(), Contains(), TGView::DoRedraw(), TGContainer::DoRedraw(), Empty(), TGMdiMainFrame::GetWindowGeometry(), TGView::HandleExpose(), TGTextEdit::HandleSelection(), Intersects(), IsEmpty(), TGHtml::Redraw(), RightBottom(), Size(), and TGView::UpdateRegion().

UInt_t TGRectangle::fH

Definition at line 118 of file TGDimension.h.

Referenced by Area(), TGMdiMainFrame::ArrangeFrames(), TGContainer::ClearViewPort(), TGMdiMainFrame::ConfigureWindow(), Contains(), TGView::DoRedraw(), TGContainer::DoRedraw(), Empty(), TGMdiMainFrame::GetWindowGeometry(), TGView::HandleExpose(), TGTextEdit::HandleSelection(), Intersects(), IsEmpty(), TGHtml::Redraw(), RightBottom(), Size(), and TGView::UpdateRegion().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:47 2011 for ROOT_528-00b_version by  doxygen 1.5.1