18 while ((o = (
TObject *)next())) {
22 gStyle->SetImageScaling(1.);
33 TIter next(C->GetListOfPrimitives());
34 while ((o = (
TObject *)next())) {
38 gStyle->SetImageScaling(1.);
46void makeimage(
const char *MacroName,
const char *ImageName,
const char *OutDir,
bool cp,
bool py)
66 FILE *
s = fopen(
"ImagesSizes.dat",
"w");
71 gStyle->SetImageScaling(3.);
74 cw =
canvas->GetWindowWidth();
80 FILE *
f = fopen(
"NumberOfImages.dat",
"w");
81 fprintf(
f,
"%d\n",ImageNum);
int Int_t
Signed integer 4 bytes (int).
Mother of all ROOT objects.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
The most important graphics class in the ROOT system.
TList * GetListOfPrimitives() const override
const char * Data() const
TString & Remove(Ssiz_t pos)
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const
void FindImageInCanvas(TCanvas *C)
void FindImageInPad(TPad *P)
Generates the ImageName output of the macro MacroName.