library: libGui
#include "TGDimension.h"

TGRectangle


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

class TGRectangle

Inheritance Chart:
TGRectangle

    public:
TGRectangle() TGRectangle(Int_t rx, Int_t ry, UInt_t rw, UInt_t rh) TGRectangle(const TGPosition& p, const TGDimension& d) TGRectangle(const TGRectangle& r) virtual ~TGRectangle() Int_t Area() const static TClass* Class() Bool_t Contains(Int_t px, Int_t py) const Bool_t Contains(const TGPosition& p) const void Empty() Bool_t Intersects(const TGRectangle& r) const virtual TClass* IsA() const Bool_t IsEmpty() const TGPosition LeftTop() const void Merge(const TGRectangle& r) TGRectangle& operator=(const TGRectangle&) TGPosition RightBottom() const virtual void ShowMembers(TMemberInspector& insp, char* parent) TGDimension Size() const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    public:
Int_t fX x position Int_t fY y position UInt_t fW width UInt_t fH 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 ~TGRectangle()
         TGRectangle TGRectangle()
         TGRectangle TGRectangle(Int_t rx, Int_t ry, UInt_t rw, UInt_t rh)
         TGRectangle TGRectangle(const TGPosition& p, const TGDimension& d)
         TGRectangle TGRectangle(const TGRectangle& r)
              Bool_t Contains(Int_t px, Int_t py) const
              Bool_t Contains(const TGPosition& p) const
              Bool_t Intersects(const TGRectangle& r) const
               Int_t Area() const
         TGDimension Size() const
          TGPosition LeftTop() const
          TGPosition RightBottom() const
                void Merge(const TGRectangle& r)
                void Empty()
              Bool_t IsEmpty() const
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
        TGRectangle& operator=(const TGRectangle&)


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


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.