TGPicture


class description - source file - inheritance tree

class TGPicture : public TObject, public TRefCnt


    protected:
TGPicture TGPicture(char* name, Bool_t scaled = kFALSE) virtual void Draw(Option_t*) const char* HashName(char* name, Int_t width, Int_t height) public:
TGPicture TGPicture(TGPicture&) virtual void ~TGPicture() TClass* Class() virtual void Draw(Handle_t id, GContext_t gc, Int_t x, Int_t y) UInt_t GetHeight() Pixmap_t GetMask() virtual const char* GetName() Pixmap_t GetPicture() UInt_t GetWidth() virtual ULong_t Hash() virtual TClass* IsA() Bool_t IsScaled() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
TString fName name of picture Bool_t fScaled kTRUE if picture is scaled Pixmap_t fPic picture pixmap Pixmap_t fMask picture mask pixmap PictureAttributes_t fAttributes picture attributes


See also

TGSelectedPicture

Class Description

                                                                      
 TGPicture & TGPicturePool                                            
                                                                      
 The TGPicture class implements pictures and icons used in the        
 different GUI elements and widgets. The TGPicturePool class          
 implements a TGPicture cache. TGPictures are created, managed and    
 destroyed by the TGPicturePool.                                      
                                                                      


void Draw(Handle_t id, GContext_t gc, Int_t x, Int_t y) const
 Draw a picture.

~TGPicture()
 Delete picture object.

const char* HashName(const char *name, Int_t width, Int_t height)
 Static function returning a unique name used to look up a picture.
 The unique name has the form "name__widthxheight".



Inline Functions


          TGPicture TGPicture(char* name, Bool_t scaled = kFALSE)
        const char* GetName()
             UInt_t GetWidth()
             UInt_t GetHeight()
           Pixmap_t GetPicture()
           Pixmap_t GetMask()
             Bool_t IsScaled()
            ULong_t Hash()
               void Draw(Handle_t id, GContext_t gc, Int_t x, Int_t y)
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
          TGPicture TGPicture(TGPicture&)


Author: Fons Rademakers 01/01/98
Last update: 2.00/07 18/05/98 21.06.58 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - 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.