52 :
TAttText(0,0,0,0,0),
TAttLine(1,1,1),
TAttFill(0,0),
TAttMarker(1,21,1)
98 std::cout <<
"TLegendEntry: Object ";
100 else output =
"NULL";
101 std::cout << output <<
" Label ";
103 else output =
"NULL";
104 std::cout << output <<
" Option ";
106 else output =
"NULL";
107 std::cout << output << std::endl;
120 out <<
" TLegendEntry *entry=";
124 out << name <<
"->AddEntry("<<quote<<objname<<quote<<
","<<quote<<
149 TList* padprimitives =
gPad->GetListOfPrimitives();
150 if (padprimitives) obj = padprimitives->
FindObject( objectName );
Storage class for one entry of a TLegend.
void Copy(TAttMarker &attmarker) const
Copy this marker attributes to a new TAttMarker.
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 ...
virtual TObject * FindObject(const char *name) const
Find an object in this list using its name.
virtual void SetObject(TObject *obj)
(re)set the obj pointed to by this entry
Fill Area Attributes class.
void Copy(TAttLine &attline) const
Copy this line attributes to a new TAttLine.
virtual void Copy(TObject &object) const
Copy this to obj.
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.
TLegendEntry()
TLegendEntry do-nothing default constructor.
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.
TString fLabel
Text associated with the entry, will become latex.
virtual void Print(Option_t *option="") const
dump this TLegendEntry to std::cout
void Copy(TAttText &atttext) const
Copy this text attributes to a new TAttText.
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.
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.
virtual ~TLegendEntry()
TLegendEntry default destructor.
Mother of all ROOT objects.
virtual const char * GetTitle() const
Returns title of object.
TObject * fObject
pointer to object being represented by this entry
TString fOption
Options associated with this entry.
virtual void Copy(TObject &obj) const
copy this TLegendEntry into obj
virtual const char * GetName() const
Returns name of object.
void Copy(TAttFill &attfill) const
Copy this fill attributes to a new TAttFill.
const char * Data() const