94 if (strstr(opt,
"l")) signx = -1;
96 if (strstr(opt,
"b")) signy = -1;
120 if (!strcmp(
GetName(),
"stats"))
return;
121 if (!strcmp(
GetName(),
"title"))
return;
122 Bool_t saved =
gROOT->ClassSaved(TPavesText::Class());
128 out<<
" TPavesText *";
130 out<<
"pst = new TPavesText("<<
fX1<<
","<<
fY1<<
","<<
fX2<<
","<<
fY2
133 if (strcmp(
GetName(),
"TPave")) {
134 out<<
" pst->SetName("<<quote<<
GetName()<<quote<<
");"<<std::endl;
137 out<<
" pst->SetLabel("<<quote<<
fLabel<<quote<<
");"<<std::endl;
140 out<<
" pst->SetBorderSize("<<
fBorderSize<<
");"<<std::endl;
146 out<<
" pst->Draw();"<<std::endl;
static const double x2[5]
static const double x1[5]
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 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 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.
Double_t fX1
X of 1st point.
Double_t fY2
Y of 2nd point.
Double_t fX2
X of 2nd point.
Double_t fY1
Y of 1st point.
The concrete implementation of TBuffer for writing/reading to/from a ROOT file or socket.
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
A Pave (see TPave) with text, lines or/and boxes inside.
virtual void SaveLines(std::ostream &out, const char *name, Bool_t saved)
Save lines of this pavetext as C++ statements on output stream out.
virtual void Paint(Option_t *option="")
Paint this pavetext with its current attributes.
TString fLabel
Label written at the top of the pavetext.
Int_t GetBorderSize() const
virtual void ConvertNDCtoPad()
Convert pave coordinates from NDC to Pad coordinates.
Int_t fBorderSize
window box bordersize in pixels
Option_t * GetOption() const
Option_t * GetName() const
Returns name of object.
virtual void SetBorderSize(Int_t bordersize=4)
TString fOption
Pave style.
virtual void PaintPave(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Int_t bordersize=4, Option_t *option="br")
Draw this pave with new coordinates.
A PaveText (see TPaveText) with several stacked paves.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual ~TPavesText()
Pavestext default destructor.
virtual void Paint(Option_t *option="")
Paint this pavestext with its current attributes.
Int_t fNpaves
Number of stacked paves.
virtual void Draw(Option_t *option="")
Draw this pavestext with its current attributes.
TPavesText()
Pavestext default constructor.