library: libGpad #include "TUtilPad.h"

# TUtilPad

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

## class TUtilPad : public TVirtualUtilPad

| Inheritance Chart:
`TObject`
| <- | `TNamed`
| <- | `TVirtualUtilPad`
| <- | `TUtilPad` |

        public:

                          TUtilPad()
                          TUtilPad(const TUtilPad&)
                  virtual ~TUtilPad()
           static TClass* Class()
             virtual void DrawPanel(const TVirtualPad* pad, const TObject* obj)
             virtual void FitPanel(const TVirtualPad* pad, const TObject* obj)
             virtual void FitPanelGraph(const TVirtualPad* pad, const TObject* obj)
             virtual void InspectCanvas(const TObject* obj)
          virtual TClass* IsA() const
             virtual void MakeCanvas(const char* name, const char* title, Int_t wtopx, Int_t wtopy, Int_t ww, Int_t wh)
                TUtilPad& operator=(const TUtilPad&)
             virtual void RemoveObject(TObject* parent, const TObject* obj)
              static void SetPanelVersion(Int_t version = 0)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

          static Int_t fgPanelVersion  DrawPanel version (0=old, 1= new)

## Class Description

     misc. pad/canvas  utilities

     The functions in this class are called via the TPluginManager.
     see TVirtualUtilPad.h for more information .

TUtilPad() : TVirtualUtilPad()

     note that this object is automatically added to the gROOT list of specials
     in the TVirtualUtilPad constructor.

~TUtilPad()

void DrawPanel(const TVirtualPad *pad, const TObject *obj)

     interface to the TDrawPanelHist

void FitPanel(const TVirtualPad *pad, const TObject *obj)

     interface to the TFitPanel

void FitPanelGraph(const TVirtualPad *pad, const TObject *obj)

     interface to the TFitPanelGraph

void InspectCanvas(const TObject *obj)

     interface to the object inspector

void MakeCanvas(const char *name, const char *title, Int_t wtopx, Int_t wtopy, Int_t ww, Int_t wh)

     to create a general canvas with position and size

void RemoveObject(TObject *parent, const TObject *obj)

     to remove an object (eg a TF1) from the list of functions of parent.

void SetPanelVersion(Int_t version)

     static function to set teh DrawPanel version
       version = 0  (default) old DrawPanel
       version = 1  new prototype from Marek Biskup

### Inline Functions

                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
               TUtilPad TUtilPad(const TUtilPad&)
              TUtilPad& operator=(const TUtilPad&)

Author: Rene Brun 14/09/2002
Last update: root/gpad:$Name: $:$Id: TUtilPad.cxx,v 1.5 2005/02/04 13:07:16 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *