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.
TGPosition() | |
TGPosition(const TGPosition& p) | |
TGPosition(Int_t xc, Int_t yc) | |
virtual | ~TGPosition() |
static TClass* | Class() |
virtual TClass* | IsA() const |
TGPosition | operator+(const TGPosition& b) const |
TGPosition | operator-(const TGPosition& b) const |
TGPosition& | operator=(const TGPosition&) |
Bool_t | operator==(const TGPosition& b) const |
virtual void | ShowMembers(TMemberInspector&) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
{ return ((fWidth == b.fWidth) && (fHeight == b.fHeight)); }
{ return TGDimension(fWidth - b.fWidth, fHeight - b.fHeight); }
{ return TGDimension(fWidth + b.fWidth, fHeight + b.fHeight); }