ROOT
6.07/01
Reference Guide
|
An abstract interface to image processing library.
It allows for the reading and writing of images in different formats, several image manipulations (scaling, tiling, merging, etc.) and displaying in pads.
The concrete implementation of this class is done by the TASImage class. The methods are documented in that class.
Public Member Functions | |
TImage (const TImage &img) | |
TImage & | operator= (const TImage &img) |
TImage (UInt_t, UInt_t) | |
virtual | ~TImage () |
virtual TObject * | Clone (const char *) const |
Make a clone of an object using the Streamer facility. More... | |
virtual void | ReadImage (const char *, EImageFileTypes=TImage::kUnknown) |
virtual void | WriteImage (const char *, EImageFileTypes=TImage::kUnknown) |
virtual void | SetImage (const Double_t *, UInt_t, UInt_t, TImagePalette *=0) |
virtual void | SetImage (const TArrayD &, UInt_t, TImagePalette *=0) |
virtual void | SetImage (const TVectorD &, UInt_t, TImagePalette *=0) |
virtual void | SetImage (Pixmap_t, Pixmap_t=0) |
virtual void | FromPad (TVirtualPad *, Int_t=0, Int_t=0, UInt_t=0, UInt_t=0) |
virtual void | UnZoom () |
virtual void | Zoom (UInt_t, UInt_t, UInt_t, UInt_t) |
virtual void | Flip (Int_t=180) |
virtual void | Gray (Bool_t=kTRUE) |
virtual Bool_t | IsGray () const |
virtual void | Mirror (Bool_t=kTRUE) |
virtual void | Scale (UInt_t, UInt_t) |
virtual void | Slice (UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t) |
virtual void | Tile (UInt_t, UInt_t) |
virtual void | Crop (Int_t=0, Int_t=0, UInt_t=0, UInt_t=0) |
virtual void | Pad (const char *="#FFFFFFFF", UInt_t=0, UInt_t=0, UInt_t=0, UInt_t=0) |
virtual void | Blur (Double_t=3, Double_t=3) |
virtual Double_t * | Vectorize (UInt_t=256, UInt_t=4, Int_t=0) |
virtual void | HSV (UInt_t=0, UInt_t=360, Int_t=0, Int_t=0, Int_t=0, Int_t=0, Int_t=0, UInt_t=0, UInt_t=0) |
virtual void | Gradient (UInt_t=0, const char *="#FFFFFF #000000", const char *=0, Int_t=0, Int_t=0, UInt_t=0, UInt_t=0) |
virtual void | Merge (const TImage *, const char *="alphablend", Int_t=0, Int_t=0) |
virtual void | Append (const TImage *, const char *="+", const char *="#00000000") |
virtual void | Bevel (Int_t=0, Int_t=0, UInt_t=0, UInt_t=0, const char *="#ffdddddd", const char *="#ff555555", UShort_t=1, Bool_t=kFALSE) |
virtual void | BeginPaint (Bool_t=kTRUE) |
virtual void | EndPaint () |
virtual void | DrawLine (UInt_t, UInt_t, UInt_t, UInt_t, const char *="#000000", UInt_t=1) |
virtual void | DrawDashLine (UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, const char *, const char *="#000000", UInt_t=1) |
virtual void | DrawBox (Int_t, Int_t, Int_t, Int_t, const char *="#000000", UInt_t=1, Int_t=0) |
virtual void | DrawRectangle (UInt_t, UInt_t, UInt_t, UInt_t, const char *="#000000", UInt_t=1) |
virtual void | FillRectangle (const char *=0, Int_t=0, Int_t=0, UInt_t=0, UInt_t=0) |
virtual void | DrawPolyLine (UInt_t, TPoint *, const char *="#000000", UInt_t=1, TImage::ECoordMode=kCoordModeOrigin) |
virtual void | PutPixel (Int_t, Int_t, const char *="#000000") |
virtual void | PolyPoint (UInt_t, TPoint *, const char *="#000000", TImage::ECoordMode=kCoordModeOrigin) |
virtual void | DrawSegments (UInt_t, Segment_t *, const char *="#000000", UInt_t=1) |
virtual void | DrawText (Int_t=0, Int_t=0, const char *="", Int_t=12, const char *=0, const char *="fixed", EText3DType=TImage::kPlain, const char *=0, Float_t=0) |
virtual void | DrawText (TText *, Int_t=0, Int_t=0) |
virtual void | FillPolygon (UInt_t, TPoint *, const char *="#000000", const char *=0, UInt_t=16, UInt_t=16) |
virtual void | FillPolygon (UInt_t, TPoint *, TImage *) |
virtual void | CropPolygon (UInt_t, TPoint *) |
virtual void | DrawFillArea (UInt_t, TPoint *, const char *="#000000", const char *=0, UInt_t=16, UInt_t=16) |
virtual void | DrawFillArea (UInt_t, TPoint *, TImage *) |
virtual void | FillSpans (UInt_t, TPoint *, UInt_t *, const char *="#000000", const char *=0, UInt_t=16, UInt_t=16) |
virtual void | FillSpans (UInt_t, TPoint *, UInt_t *, TImage *) |
virtual void | CropSpans (UInt_t, TPoint *, UInt_t *) |
virtual void | CopyArea (TImage *, Int_t, Int_t, UInt_t, UInt_t, Int_t=0, Int_t=0, Int_t=3, EColorChan=kAllChan) |
virtual void | DrawCellArray (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, UInt_t *) |
virtual void | FloodFill (Int_t, Int_t, const char *, const char *, const char *=0) |
virtual void | DrawCubeBezier (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, const char *="#000000", UInt_t=1) |
virtual void | DrawStraightEllips (Int_t, Int_t, Int_t, Int_t, const char *="#000000", Int_t=1) |
virtual void | DrawCircle (Int_t, Int_t, Int_t, const char *="#000000", Int_t=1) |
virtual void | DrawEllips (Int_t, Int_t, Int_t, Int_t, Int_t, const char *="#000000", Int_t=1) |
virtual void | DrawEllips2 (Int_t, Int_t, Int_t, Int_t, Int_t, const char *="#000000", Int_t=1) |
virtual void | SetEditable (Bool_t=kTRUE) |
virtual Bool_t | IsEditable () const |
virtual UInt_t | GetWidth () const |
virtual UInt_t | GetHeight () const |
virtual Bool_t | IsValid () const |
virtual TImage * | GetScaledImage () const |
virtual TArrayL * | GetPixels (Int_t=0, Int_t=0, UInt_t=0, UInt_t=0) |
virtual TArrayD * | GetArray (UInt_t=0, UInt_t=0, TImagePalette *=gWebImagePalette) |
virtual Pixmap_t | GetPixmap () |
virtual Pixmap_t | GetMask () |
virtual UInt_t * | GetArgbArray () |
virtual UInt_t * | GetRgbaArray () |
virtual Double_t * | GetVecArray () |
virtual UInt_t * | GetScanline (UInt_t) |
virtual void | GetImageBuffer (char **, int *, EImageFileTypes=TImage::kPng) |
virtual Bool_t | SetImageBuffer (char **, EImageFileTypes=TImage::kPng) |
virtual void | PaintImage (Drawable_t, Int_t, Int_t, Int_t=0, Int_t=0, UInt_t=0, UInt_t=0, Option_t *="") |
virtual void | FromWindow (Drawable_t, Int_t=0, Int_t=0, UInt_t=0, UInt_t=0) |
virtual void | FromGLBuffer (UChar_t *, UInt_t, UInt_t) |
TImage & | operator+= (const TImage &i) |
TImage & | operator/= (const TImage &i) |
Public Member Functions inherited from TNamed | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TString &name, const TString &title) | |
TNamed (const TNamed &named) | |
TNamed & | operator= (const TNamed &rhs) |
TNamed assignment operator. More... | |
virtual | ~TNamed () |
virtual void | Clear (Option_t *option="") |
Set name and title to empty strings (""). More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare two TNamed objects. More... | |
virtual void | Copy (TObject &named) const |
Copy this to obj. More... | |
virtual void | FillBuffer (char *&buffer) |
Encode TNamed into output buffer. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
virtual Bool_t | IsSortable () const |
virtual void | SetName (const char *name) |
Change (i.e. More... | |
virtual void | SetNameTitle (const char *name, const char *title) |
Change (i.e. set) all the TNamed parameters (name and title). More... | |
virtual void | SetTitle (const char *title="") |
Change (i.e. set) the title of the TNamed. More... | |
virtual void | ls (Option_t *option="") const |
List TNamed name and title. More... | |
virtual void | Print (Option_t *option="") const |
Print TNamed name and title. More... | |
virtual Int_t | Sizeof () const |
Return size of the TNamed part of the TObject. More... | |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. More... | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current pad. More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
Execute method on this object with the given parameter string, e.g. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual Option_t * | GetOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
Bool_t | IsOnHeap () const |
Bool_t | IsZombie () const |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
void * | operator new (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz, void *vp) |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
void | ResetBit (UInt_t f) |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
void | InvertBit (UInt_t f) |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
Public Member Functions inherited from TAttImage | |
TAttImage () | |
kTRUE - palette is drawn on the image More... | |
TAttImage (EImageQuality lquality, UInt_t lcompression, Bool_t constRatio) | |
TAttImage normal constructor. More... | |
virtual | ~TAttImage () |
TAttImage destructor. More... | |
void | Copy (TAttImage &attline) const |
Copy this image attributes to a new attimage. More... | |
Bool_t | GetConstRatio () const |
UInt_t | GetImageCompression () const |
EImageQuality | GetImageQuality () const |
virtual const TImagePalette & | GetPalette () const |
virtual void | ResetAttImage (Option_t *option="") |
Reset this image attributes to default values. More... | |
virtual void | SaveImageAttributes (std::ostream &out, const char *name, EImageQuality qualdef=kImgDefault, UInt_t comprdef=0, Bool_t constRatiodef=kTRUE) |
Save image attributes as C++ statement(s) on output stream, but not the palette. More... | |
virtual void | SetConstRatio (Bool_t constRatio=kTRUE) |
Set (constRatio = kTRUE) or unset (constRadio = kFALSE) the ratio flag. More... | |
virtual void | SetPaletteEnabled (Bool_t on=kTRUE) |
virtual void | SetImageCompression (UInt_t lcompression) |
virtual void | SetImageQuality (EImageQuality lquality) |
virtual void | SetPalette (const TImagePalette *palette) |
Set a new palette for the image. More... | |
virtual void | StartPaletteEditor () |
Opens a GUI to edit the color palette. More... | |
virtual void | EditorClosed () |
Bool_t | IsPaletteEnabled () const |
Static Public Member Functions | |
static EImageFileTypes | GetImageFileTypeFromFilename (const char *opt) |
Return the image type for the extension specified in filename. More... | |
static TImage * | Create () |
static TImage * | Open (const char *file, EImageFileTypes type=kUnknown) |
Open a specified image file. More... | |
static TImage * | Open (char **data) |
Create image from XPM data array. More... | |
static TImage * | Open (const char *name, const Double_t *imageData, UInt_t width, UInt_t height, TImagePalette *palette) |
Open an image with the specified data in a Double_t array. More... | |
static TImage * | Open (const char *name, const TArrayD &imageData, UInt_t width, TImagePalette *palette=0) |
Open an image with the specified data in a TArrayD. More... | |
static TImage * | Open (const char *name, const TVectorD &imageData, UInt_t width, TImagePalette *palette=0) |
Open an image with the specified data in a TVectorD. More... | |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
Protected Member Functions | |
TImage (const char *file) | |
TImage () | |
Protected Member Functions inherited from TObject | |
void | MakeZombie () |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
Friends | |
TImage | operator+ (const TImage &i1, const TImage &s2) |
TImage | operator/ (const TImage &i1, const TImage &s2) |
Additional Inherited Members | |
Protected Attributes inherited from TNamed | |
TString | fName |
TString | fTitle |
Protected Attributes inherited from TAttImage | |
EImageQuality | fImageQuality |
UInt_t | fImageCompression |
Bool_t | fConstRatio |
TImagePalette | fPalette |
TPaletteEditor * | fPaletteEditor |
Bool_t | fPaletteEnabled |
GUI to edit the color palette. More... | |
#include <TImage.h>
enum TImage::ECharType |
enum TImage::EColorChan |
enum TImage::ECoordMode |
enum TImage::EText3DType |
enum TImage::ETileType |
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 191 of file TImage.h.
Referenced by operator+(), operator+=(), operator/(), operator/=(), and TRootSniffer::ProduceImage().
Reimplemented in TASImage.
Definition at line 198 of file TImage.h.
Referenced by TImageDump::CellArrayBegin(), TImageDump::CellArrayEnd(), TImageDump::CellArrayFill(), TASImage::CopyArea(), TImageDump::DrawBox(), TImageDump::DrawFrame(), TImageDump::DrawPolyMarker(), TImageDump::DrawPS(), and TImageDump::Text().
|
inlinevirtual |
Make a clone of an object using the Streamer facility.
If newname is specified, this will be the name of the new object.
Reimplemented from TNamed.
Reimplemented in TASImage.
Definition at line 127 of file TImage.h.
Referenced by TGSpeedo::DoRedraw(), TGSpeedo::DrawNeedle(), and TGSpeedo::DrawText().
|
static |
Referenced by TASImage::Clone(), TRootCanvas::CreateCanvas(), TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TRootBrowserLite::ExecuteDefaultAction(), TGFileContainer::GetFilePictures(), TGFileBrowser::GetObjPicture(), TGLViewer::GetPictureUsingBB(), TGLViewer::GetPictureUsingFBO(), if(), MakeLinkPic(), TImageDump::Open(), Open(), TASImage::Paint(), TRootSniffer::ProduceImage(), TFITSHDU::ReadAsImage(), TGuiBldDragManager::Save(), TGuiBldDragManager::SaveFrame(), TGMainFrame::SaveFrameAsCodeOrImage(), TPadPainter::SaveImage(), TGLPadPainter::SaveImage(), TGLViewer::SavePictureUsingBB(), TGLViewer::SavePictureUsingFBO(), TRootGuiBuilder::SaveProject(), TGScrollBarElement::SetEnabled(), and TGMainFrame::SetIconPixmap().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 204 of file TImage.h.
Referenced by TImageDump::DrawBox(), TImageDump::DrawFrame(), and TRootBrowserLite::ExecuteDefaultAction().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 233 of file TImage.h.
Referenced by TImageDump::CellArrayEnd().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 237 of file TImage.h.
Referenced by TImageDump::DrawPolyMarker().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 202 of file TImage.h.
Referenced by TImageDump::DrawDashPolyLine(), and TImageDump::DrawPS().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 224 of file TImage.h.
Referenced by TImageDump::DrawFrame(), TImageDump::DrawPolyMarker(), and TImageDump::DrawPS().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 200 of file TImage.h.
Referenced by TGSpeedo::DoRedraw(), TGSpeedo::DrawNeedle(), TImageDump::DrawPolyMarker(), and TImageDump::DrawPS().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 210 of file TImage.h.
Referenced by TImageDump::DrawPolyMarker(), and TImageDump::DrawPS().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 206 of file TImage.h.
Referenced by TImageDump::DrawPolyMarker(), TImageDump::NewPage(), TPadPainter::SaveImage(), and TGLPadPainter::SaveImage().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 216 of file TImage.h.
Referenced by TGSpeedo::Build(), TGSpeedo::DoRedraw(), TGSpeedo::DrawText(), and TImageDump::Text().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 220 of file TImage.h.
Referenced by TImageDump::DrawPolyMarker(), and TImageDump::DrawPS().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 208 of file TImage.h.
Referenced by TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TImageDump::DrawPolyMarker(), and TGScrollBarElement::SetEnabled().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 138 of file TImage.h.
Referenced by TRootBrowserLite::ExecuteDefaultAction(), TRootSniffer::ProduceImage(), and TPadPainter::SaveImage().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 260 of file TImage.h.
Referenced by if(), TGuiBldDragManager::Save(), TGuiBldDragManager::SaveFrame(), TGMainFrame::SaveFrameAsCodeOrImage(), and TRootGuiBuilder::SaveProject().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 253 of file TImage.h.
Referenced by TASImage::FillSpans(), TPadPainter::SaveImage(), and TGLPadPainter::SaveImage().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 245 of file TImage.h.
Referenced by TRootGuiBuilder::AddMacro(), TASImage::Append(), TGHtml::DrawTableBgnd(), TRootBrowserLite::ExecuteDefaultAction(), TASImage::FillSpans(), TGHtml::GetImage(), TGFileBrowser::GetObjPicture(), TGHtml::LoadImage(), TASImage::Merge(), TMVA::TMVAGlob::plot_logo(), TGIcon::SetImage(), and TGHtml::Sizer().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 257 of file TImage.h.
Referenced by TRootSniffer::ProduceImage().
|
static |
Return the image type for the extension specified in filename.
Case of the extension is ignored. E.g. for a filename "myimg.GIF", kGif is returned. kAnimGif is returned if the file extension is ".anim.gif".
Definition at line 60 of file TImage.cxx.
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 252 of file TImage.h.
Referenced by TRootGuiBuilder::AddMacro(), TGSpeedo::Build(), TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TGFileContainer::GetFilePictures(), TGFileBrowser::GetObjPicture(), TGPicturePool::GetPicture(), MakeLinkPic(), TGIcon::Resize(), and TGScrollBarElement::SetEnabled().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 251 of file TImage.h.
Referenced by TRootGuiBuilder::AddMacro(), TGHtml::AddStyle(), TGSpeedo::Build(), TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TGHtml::DrawTableBgnd(), TRootBrowserLite::ExecuteDefaultAction(), TGFileContainer::GetFilePictures(), TGFileBrowser::GetObjPicture(), TGPicturePool::GetPicture(), MakeLinkPic(), TGIcon::Resize(), TGScrollBarElement::SetEnabled(), and TGMainFrame::SetIconPixmap().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 244 of file TImage.h.
Referenced by TRootGuiBuilder::AddMacro(), TASImage::Append(), TGHtml::DrawTableBgnd(), TRootBrowserLite::ExecuteDefaultAction(), TASImage::FillSpans(), TGHtml::GetImage(), TGFileBrowser::GetObjPicture(), TGHtml::LoadImage(), TASImage::Merge(), TMVA::TMVAGlob::plot_logo(), TGIcon::SetImage(), and TGHtml::Sizer().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 246 of file TImage.h.
Referenced by TGSpeedo::Build(), TGSpeedo::DoRedraw(), TImageDump::DrawFrame(), TGSpeedo::DrawNeedle(), TGSpeedo::DrawText(), TRootBrowserLite::ExecuteDefaultAction(), TGSpeedo::Glow(), TGHtml::LoadImage(), ReadRemoteImage(), TGSpeedo::SetLabelText(), TGSpeedo::SetMinMaxScale(), TGSpeedo::TGSpeedo(), and TGSpeedo::~TGSpeedo().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 188 of file TImage.h.
Referenced by TRootGuiBuilder::AddMacro(), TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TRootBrowserLite::ExecuteDefaultAction(), TGFileContainer::GetFilePictures(), TGSpeedo::Glow(), MakeLinkPic(), TASImage::Paint(), and TGScrollBarElement::SetEnabled().
|
static |
Open a specified image file.
Definition at line 110 of file TImage.cxx.
Referenced by TGuiBldDragManager::ChangeImage(), ClassImp(), TMVA::TMVAGlob::findImage(), TGFileContainer::GetFilePictures(), TGPicturePool::GetPicture(), TGSpeedo::Glow(), TRootEmbeddedCanvas::HandleDNDDrop(), TRootCanvas::HandleDNDDrop(), TGHtml::LoadImage(), MakeLinkPic(), ReadRemoteImage(), TGIcon::SetImage(), TGSpeedo::SetLabelText(), TGSpeedo::SetMinMaxScale(), and TGSpeedo::TGSpeedo().
|
static |
Create image from XPM data array.
Definition at line 171 of file TImage.cxx.
|
static |
Open an image with the specified data in a Double_t array.
Definition at line 126 of file TImage.cxx.
|
static |
Open an image with the specified data in a TArrayD.
Definition at line 141 of file TImage.cxx.
|
static |
Open an image with the specified data in a TVectorD.
Definition at line 156 of file TImage.cxx.
Definition at line 120 of file TImage.h.
Referenced by TASImage::operator=().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 259 of file TImage.h.
Referenced by TGSpeedo::DoRedraw(), TGHtml::DrawImage(), and TGSpeedo::DrawNeedle().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 212 of file TImage.h.
Referenced by TImageDump::DrawPolyMarker(), and TImageDump::DrawPS().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 157 of file TImage.h.
Referenced by TRootGuiBuilder::AddMacro(), TRootBrowserLite::ExecuteDefaultAction(), TGFileBrowser::GetObjPicture(), TGPicturePool::GetPicture(), TGHtml::LoadImage(), and TGIcon::Resize().
Reimplemented in TASImage.
Definition at line 241 of file TImage.h.
Referenced by TRootEmbeddedCanvas::HandleDNDDrop(), and TRootCanvas::HandleDNDDrop().
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 132 of file TImage.h.
Referenced by TGSlider::CreateDisabledPicture(), TGPictureButton::CreateDisabledPicture(), TGFileContainer::GetFilePictures(), MakeLinkPic(), Open(), TFITSHDU::ReadAsImage(), and TGScrollBarElement::SetEnabled().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 258 of file TImage.h.
Referenced by TGFileBrowser::GetObjPicture(), Open(), and TGMainFrame::SetIconPixmap().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in TASImage.
Definition at line 131 of file TImage.h.
Referenced by TImageDump::Close(), if(), TGMainFrame::SaveFrameAsCodeOrImage(), TPadPainter::SaveImage(), and TGLPadPainter::SaveImage().
Definition at line 183 of file TImage.cxx.
Definition at line 184 of file TImage.cxx.