library: libGui #include "TGDimension.h"

# TGPosition

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

## class TGPosition

| Inheritance Chart:
`TGPosition` |

        public:

                          TGPosition()
                          TGPosition(Int_t xc, Int_t yc)
                          TGPosition(const TGPosition& p)
               TGPosition operator-(const TGPosition& b) const
               TGPosition operator+(const TGPosition& b) const
                  virtual ~TGPosition()
           static TClass* Class()
          virtual TClass* IsA() const
              TGPosition& operator=(const TGPosition&)
                   Bool_t operator==(const TGPosition& b) const
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        public:

          Int_t fX  x position
          Int_t fY  y position

## 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 ~TGPosition()
             TGPosition TGPosition()
             TGPosition TGPosition(Int_t xc, Int_t yc)
             TGPosition TGPosition(const TGPosition& p)
                 Bool_t operator==(const TGPosition& b) const
             TGPosition operator-(const TGPosition& b) const
             TGPosition operator+(const TGPosition& b) const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
            TGPosition& operator=(const TGPosition&)

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. *