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.
| TGDimension() | |
| TGDimension(const TGDimension& d) | |
| TGDimension(UInt_t width, UInt_t height) | |
| virtual | ~TGDimension() |
| static TClass* | Class() |
| virtual TClass* | IsA() const |
| TGDimension | operator+(const TGDimension& b) const |
| TGDimension | operator-(const TGDimension& b) const |
| TGDimension& | operator=(const TGDimension&) |
| Bool_t | operator==(const TGDimension& b) const |
| virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
| virtual void | Streamer(TBuffer& b) |
| void | StreamerNVirtual(TBuffer& b) |

{ return TGDimension(fWidth - b.fWidth, fHeight - b.fHeight); }{ return TGDimension(fWidth + b.fWidth, fHeight + b.fHeight); }