TGDimension, TGPosition, TGLongPosition, TGInsets and TGRectangle Several small geometry classes that implement dimensions (width and height), positions (x and y), insets and rectangles. They are trivial and their members are public.
TGRectangle() | |
TGRectangle(const TGRectangle& r) | |
TGRectangle(const TGPosition& p, const TGDimension& d) | |
TGRectangle(Int_t rx, Int_t ry, UInt_t rw, UInt_t rh) | |
virtual | ~TGRectangle() |
Int_t | Area() const |
static TClass* | Class() |
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 |
virtual TClass* | IsA() const |
Bool_t | IsEmpty() const |
TGPosition | LeftTop() const |
void | Merge(const TGRectangle& r) |
TGRectangle& | operator=(const TGRectangle&) |
TGPosition | RightBottom() const |
virtual void | ShowMembers(TMemberInspector&) |
TGDimension | Size() const |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |