Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TGPicture Class Reference

#include <TGPicture.h>

Inheritance diagram for TGPicture:

Inheritance graph
[legend]
Collaboration diagram for TGPicture:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual ~TGPicture ()
const char * GetName () const
UInt_t GetWidth () const
UInt_t GetHeight () const
Pixmap_t GetPicture () const
Pixmap_t GetMask () const
Bool_t IsScaled () const
ULong_t Hash () const
virtual void Draw (Handle_t id, GContext_t gc, Int_t x, Int_t y) const
void Print (Option_t *option="") const

Protected Methods

 TGPicture (const char *name, Bool_t scaled=kFALSE)
void Draw (Option_t *="")

Static Protected Methods

const char * HashName (const char *name, Int_t width, Int_t height)

Protected Attributes

TString fName
Bool_t fScaled
Pixmap_t fPic
Pixmap_t fMask
PictureAttributes_t fAttributes

Friends

class TGPicturePool

Constructor & Destructor Documentation

TGPicture::TGPicture const char *    name,
Bool_t    scaled = kFALSE
[protected]
 

Definition at line 57 of file TGPicture.h.

References fAttributes, fMask, fPic, fScaled, and TRefCnt::SetRefCount().

virtual TGPicture::~TGPicture   [virtual]
 


Member Function Documentation

void TGPicture::Draw Option_t *    = "" [protected, virtual]
 

Reimplemented from TObject.

Definition at line 67 of file TGPicture.h.

References TObject::MayNotUse().

const char* TGPicture::HashName const char *    name,
Int_t    width,
Int_t    height
[static, protected]
 

const char* TGPicture::GetName   const [virtual]
 

Reimplemented from TObject.

Definition at line 74 of file TGPicture.h.

References TString::Data().

UInt_t TGPicture::GetWidth   const
 

Definition at line 75 of file TGPicture.h.

References fAttributes.

UInt_t TGPicture::GetHeight   const
 

Definition at line 76 of file TGPicture.h.

References fAttributes.

Pixmap_t TGPicture::GetPicture   const
 

Definition at line 77 of file TGPicture.h.

References fPic.

Pixmap_t TGPicture::GetMask   const
 

Definition at line 78 of file TGPicture.h.

References fMask.

Bool_t TGPicture::IsScaled   const
 

Definition at line 79 of file TGPicture.h.

References fScaled.

ULong_t TGPicture::Hash   const [virtual]
 

Reimplemented from TObject.

Definition at line 80 of file TGPicture.h.

References TString::Hash().

virtual void TGPicture::Draw Handle_t    id,
GContext_t    gc,
Int_t    x,
Int_t    y
const [virtual]
 

void TGPicture::Print Option_t *    option = "" const [virtual]
 

Reimplemented from TObject.


Friends And Related Function Documentation

friend class TGPicturePool [friend]
 

Definition at line 48 of file TGPicture.h.


Member Data Documentation

TString TGPicture::fName [protected]
 

Definition at line 51 of file TGPicture.h.

Bool_t TGPicture::fScaled [protected]
 

Definition at line 52 of file TGPicture.h.

Referenced by IsScaled(), and TGPicture().

Pixmap_t TGPicture::fPic [protected]
 

Definition at line 53 of file TGPicture.h.

Referenced by GetPicture(), and TGPicture().

Pixmap_t TGPicture::fMask [protected]
 

Definition at line 54 of file TGPicture.h.

Referenced by GetMask(), and TGPicture().

PictureAttributes_t TGPicture::fAttributes [protected]
 

Definition at line 55 of file TGPicture.h.

Referenced by GetHeight(), GetWidth(), and TGPicture().


The documentation for this class was generated from the following file:
Generated on Thu Dec 18 15:01:19 2003 for ROOT by doxygen1.2.16