library: libGui #include "TGDimension.h"

# TGDimension

class description - source file - inheritance tree (.pdf)

## class TGDimension

| Inheritance Chart:
`TGDimension` |

        public:

                          TGDimension()
                          TGDimension(UInt_t width, UInt_t height)
                          TGDimension(const TGDimension& d)
              TGDimension operator-(const TGDimension& b) const
              TGDimension operator+(const TGDimension& b) const
                  virtual ~TGDimension()
           static TClass* Class()
          virtual TClass* IsA() 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)

### Data Members

        public:

          UInt_t fWidth   width
          UInt_t fHeight  height

## Class Description

     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.

### Inline Functions

                    void ~TGDimension()
             TGDimension TGDimension()
             TGDimension TGDimension(UInt_t width, UInt_t height)
             TGDimension TGDimension(const TGDimension& d)
                  Bool_t operator==(const TGDimension& b) const
             TGDimension operator-(const TGDimension& b) const
             TGDimension operator+(const TGDimension& b) const
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
            TGDimension& operator=(const TGDimension&)

Author: Fons Rademakers 02/01/98
Last update: root/gui:$Name: $:$Id: TGDimension.cxx,v 1.3 2004/09/01 14:34:58 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *