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