52 :
TAttText(0,0,0,0,0),
TAttLine(1,1,1),
TAttFill(0,0),
TAttMarker(1,21,1)
98 std::cout <<
"TLegendEntry: Object ";
101 std::cout <<
output <<
" Label ";
104 std::cout <<
output <<
" Option ";
107 std::cout <<
output << std::endl;
120 out <<
" TLegendEntry *entry=";
127 out <<
name <<
"->AddEntry("<<quote<<objname<<quote<<
","<<quote<<
152 TList* padprimitives =
gPad->GetListOfPrimitives();
153 if (padprimitives) obj = padprimitives->
FindObject( objectName );
Fill Area Attributes class.
void Copy(TAttFill &attfill) const
Copy this fill attributes to a new TAttFill.
virtual void SaveFillAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
Save fill attributes as C++ statement(s) on output stream out.
void Copy(TAttLine &attline) const
Copy this line attributes to a new TAttLine.
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
Save line attributes as C++ statement(s) on output stream out.
virtual void SaveMarkerAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1)
Save line attributes as C++ statement(s) on output stream out.
void Copy(TAttMarker &attmarker) const
Copy this marker attributes to a new TAttMarker.
virtual void SaveTextAttributes(std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1)
Save text attributes as C++ statement(s) on output stream out.
void Copy(TAttText &atttext) const
Copy this text attributes to a new TAttText.
Storage class for one entry of a TLegend.
virtual ~TLegendEntry()
TLegendEntry default destructor.
TObject * fObject
pointer to object being represented by this entry
virtual void Print(Option_t *option="") const
dump this TLegendEntry to std::cout
TLegendEntry()
TLegendEntry do-nothing default constructor.
virtual void SaveEntry(std::ostream &out, const char *name)
Save this TLegendEntry as C++ statements on output stream out to be used with the SaveAs ....
TString fLabel
Text associated with the entry, will become latex.
virtual void Copy(TObject &obj) const
copy this TLegendEntry into obj
virtual void SetObject(TObject *obj)
(re)set the obj pointed to by this entry
TString fOption
Options associated with this entry.
virtual TObject * FindObject(const char *name) const
Find an object in this list using its name.
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual void Copy(TObject &object) const
Copy this to obj.
virtual const char * GetTitle() const
Returns title of object.
const char * Data() const
TString & ReplaceAll(const TString &s1, const TString &s2)
static void output(int code)