Definition at line 89 of file TGDimension.h.
Public Member Functions | |
TGRectangle () | |
TGRectangle (const TGPosition &p, const TGDimension &d) | |
TGRectangle (Int_t rx, Int_t ry, UInt_t rw, UInt_t rh) | |
~TGRectangle ()=default | |
Int_t | Area () const |
Bool_t | Contains (const TGPosition &p) const |
Bool_t | Contains (Int_t px, Int_t py) const |
void | Empty () |
Bool_t | Intersects (const TGRectangle &r) const |
Bool_t | IsEmpty () const |
TGPosition | LeftTop () const |
void | Merge (const TGRectangle &r) |
TGPosition | RightBottom () const |
TGDimension | Size () const |
Public Attributes | |
UInt_t | fH |
height | |
UInt_t | fW |
width | |
Int_t | fX |
x position | |
Int_t | fY |
y position | |
#include <TGDimension.h>
|
inline |
Definition at line 97 of file TGDimension.h.
Definition at line 98 of file TGDimension.h.
|
inline |
Definition at line 100 of file TGDimension.h.
|
default |
|
inline |
Definition at line 114 of file TGDimension.h.
|
inline |
Definition at line 108 of file TGDimension.h.
Definition at line 105 of file TGDimension.h.
|
inline |
Definition at line 123 of file TGDimension.h.
|
inline |
Definition at line 111 of file TGDimension.h.
|
inline |
Definition at line 124 of file TGDimension.h.
|
inline |
Definition at line 118 of file TGDimension.h.
void TGRectangle::Merge | ( | const TGRectangle & | r | ) |
Definition at line 49 of file TGDimension.cxx.
|
inline |
Definition at line 120 of file TGDimension.h.
|
inline |
Definition at line 116 of file TGDimension.h.
UInt_t TGRectangle::fH |
height
Definition at line 94 of file TGDimension.h.
UInt_t TGRectangle::fW |
width
Definition at line 93 of file TGDimension.h.
Int_t TGRectangle::fX |
x position
Definition at line 91 of file TGDimension.h.
Int_t TGRectangle::fY |
y position
Definition at line 92 of file TGDimension.h.