library: libGui #include "TGDimension.h" |
Inheritance Chart: | |||||
|
public:
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() Int_t Area() const static TClass* Class() Bool_t Contains(Int_t px, Int_t py) const Bool_t Contains(const TGPosition& p) 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& insp, char* parent) TGDimension Size() const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)
public:
Int_t fX x position Int_t fY y position UInt_t fW width UInt_t fH height
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.