library: libRGL
#include "TGLUtil.h"

TGLRect


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

class TGLRect

Inheritance Chart:
TGLRect

    public:
TGLRect() TGLRect(Int_t x, Int_t y, UInt_t width, UInt_t height) TGLRect(const TGLRect&) virtual ~TGLRect() Double_t Aspect() const Int_t Bottom() const Int_t CenterX() const Int_t CenterY() const static TClass* Class() UInt_t Diagonal() const void Expand(Int_t x, Int_t y) UInt_t Height() const UInt_t& Height() virtual TClass* IsA() const Int_t Left() const UInt_t Longest() const void Offset(Int_t dX, Int_t dY) TGLRect& operator=(const TGLRect&) EOverlap Overlap(const TGLRect& other) const Int_t Right() const void Set(Int_t x, Int_t y, UInt_t width, UInt_t height) void SetCorner(Int_t x, Int_t y) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) Int_t Top() const UInt_t Width() const UInt_t& Width() Int_t X() const Int_t& X() Int_t Y() const Int_t& Y()

Data Members

    private:
Int_t fX Int_t fY ! Corner UInt_t fWidth UInt_t fHeight ! Positive width/height

Class Description


TGLRect() : fX(0), fY(0), fWidth(0), fHeight(0)

TGLRect(Int_t x, Int_t y, UInt_t width, UInt_t height) : fX(x), fY(y), fWidth(width), fHeight(height)

~TGLRect()

void Expand(Int_t x, Int_t y)

Double_t Aspect() const

EOverlap Overlap(const TGLRect & other) const



Inline Functions


               void Set(Int_t x, Int_t y, UInt_t width, UInt_t height)
               void SetCorner(Int_t x, Int_t y)
               void Offset(Int_t dX, Int_t dY)
              Int_t X() const
             Int_t& X()
              Int_t Y() const
             Int_t& Y()
             UInt_t Width() const
            UInt_t& Width()
             UInt_t Height() const
            UInt_t& Height()
              Int_t CenterX() const
              Int_t CenterY() const
              Int_t Left() const
              Int_t Right() const
              Int_t Top() const
              Int_t Bottom() const
             UInt_t Diagonal() const
             UInt_t Longest() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
            TGLRect TGLRect(const TGLRect&)
           TGLRect& operator=(const TGLRect&)


Author: Richard Maunder 25/05/2005
Last update: root/gl:$Name: $:$Id: TGLUtil.cxx,v 1.9 2005/08/10 16:26:35 brun 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.