87 TString ext = strrchr(pname,
'.');
144 TString ext = strrchr(pname,
'.');
186 img->
Scale(new_width, new_height);
242 while (isspace((
int)*ptr)) ++ptr;
245 while (isspace((
int)*ptr)) ++ptr;
310 Info(
"Print",
"no pictures in picture pool");
378 return hashName.
Data();
const Mask_t kGCClipXOrigin
const Mask_t kPACloseness
const Mask_t kGCClipYOrigin
include TDocParser_001 C image html pict1_TDocParser_001 png width
void Printf(const char *fmt,...)
R__EXTERN TSystem * gSystem
const TGWindow * GetDefaultRoot() const
Returns the root (i.e.
Colormap_t GetDefaultColormap() const
void SetFillStyle(Int_t v)
Set fill style (kFillSolid, kFillTiled, kFillStippled, kFillOpaeueStippled).
void SetForeground(Pixel_t v)
Set foreground color.
void SetClipMask(Pixmap_t v)
Bitmap for clipping.
void SetAttributes(GCValues_t *values)
Set attributes as specified in the values structure.
void SetBackground(Pixel_t v)
Set background color.
void SetStipple(Pixmap_t v)
Set 1 plane pixmap for stippling.
virtual ~TGPicturePool()
Delete picture cache.
void Print(Option_t *option="") const
List all pictures in the pool.
TGPicturePool(const TGPicturePool &)
copy constructor
void FreePicture(const TGPicture *pic)
Remove picture from cache if nobody is using it anymore.
const TGPicture * GetPicture(const char *name)
Get a picture from the picture pool.
TGPicturePool & operator=(const TGPicturePool &)
assignment operator
PictureAttributes_t fAttributes
static const char * HashName(const char *name, Int_t width, Int_t height)
Static function returning a unique name used to look up a picture.
const char * GetName() const
Returns name of object.
TGPicture(const char *name, Bool_t scaled=kFALSE)
void Draw(Option_t *="")
Default Draw method for all objects.
Pixmap_t GetPicture() const
virtual ~TGPicture()
Delete picture object.
void Print(Option_t *option="") const
Print picture info.
static TGGC & GetSelectedGC()
Return selection graphics context in use.
static TGGC * fgSelectedGC
TGSelectedPicture(const TGSelectedPicture &gp)
virtual ~TGSelectedPicture()
Delete selected picture.
THashTable implements a hash table to store TObject's.
TObject * Remove(TObject *obj)
Remove object from the hashtable.
void Add(TObject *obj)
Add object to the hash table.
void Print(Option_t *option, Int_t recurse) const
Print the collection header and its elements.
TObject * FindObject(const char *name) const
Find object using its name.
void Delete(Option_t *option="")
Remove all objects from the table AND delete all heap based objects.
An abstract interface to image processing library.
static TImage * Open(const char *file, EImageFileTypes type=kUnknown)
Open a specified image file.
virtual void Scale(UInt_t, UInt_t)
virtual Pixmap_t GetPixmap()
virtual Pixmap_t GetMask()
Mother of all ROOT objects.
TObject & operator=(const TObject &rhs)
TObject assignment operator.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
void SetRefCount(UInt_t r)
UInt_t References() const
void ToLower()
Change string to lower-case.
TSubString Strip(EStripType s=kTrailing, char c=' ') const
Return a substring of self stripped at beginning and/or end.
const char * Data() const
void Form(const char *fmt,...)
Formats a string using a printf style format descriptor.
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
virtual const char * UnixPathName(const char *unixpathname)
Convert from a local pathname to a Unix pathname.
virtual char * Which(const char *search, const char *file, EAccessMode mode=kFileExists)
Find location of file in a search path.
void CallRecursiveRemoveIfNeeded(TObject &obj)
call RecursiveRemove for obj if gROOT is valid and obj.TestBit(kMustCleanup) is true.