15 printf(
"Could not create an image... exit\n");
22 c->SetFixedAspectRatio();
25 img->
Draw(
"T100,100,#ffff00");
virtual void SetConstRatio(Bool_t constRatio=kTRUE)
Set (constRatio = kTRUE) or unset (constRadio = kFALSE) the ratio flag.
An abstract interface to image processing library.
static TImage * Open(const char *file, EImageFileTypes type=kUnknown)
Open a specified image file.
virtual UInt_t GetWidth() const
virtual void Mirror(Bool_t=kTRUE)
virtual void Flip(Int_t=180)
virtual UInt_t GetHeight() const
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
The most important graphics class in the ROOT system.
TObject * FindObject(const char *name) const override
Search if object named name is inside this pad or in pads inside this pad.
TVirtualPad * cd(Int_t subpadnumber=0) override
Set Current pad.
void Draw(Option_t *option="") override
Draw Pad in Current pad (re-parent pad if necessary).