Definition at line 98 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 |
UInt_t | fW |
Int_t | fX |
Int_t | fY |
#include <TGDimension.h>
|
inline |
Definition at line 106 of file TGDimension.h.
Definition at line 107 of file TGDimension.h.
|
inline |
Definition at line 109 of file TGDimension.h.
|
default |
|
inline |
Definition at line 123 of file TGDimension.h.
|
inline |
Definition at line 117 of file TGDimension.h.
Definition at line 114 of file TGDimension.h.
|
inline |
Definition at line 132 of file TGDimension.h.
|
inline |
Definition at line 120 of file TGDimension.h.
|
inline |
Definition at line 133 of file TGDimension.h.
|
inline |
Definition at line 127 of file TGDimension.h.
void TGRectangle::Merge | ( | const TGRectangle & | r | ) |
Definition at line 42 of file TGDimension.cxx.
|
inline |
Definition at line 129 of file TGDimension.h.
|
inline |
Definition at line 125 of file TGDimension.h.
UInt_t TGRectangle::fH |
Definition at line 103 of file TGDimension.h.
UInt_t TGRectangle::fW |
Definition at line 102 of file TGDimension.h.
Int_t TGRectangle::fX |
Definition at line 100 of file TGDimension.h.
Int_t TGRectangle::fY |
Definition at line 101 of file TGDimension.h.