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;
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;
void SetBufferOffset(Int_t offset=0)
Option_t * GetOption() const
The concrete implementation of TBuffer for writing/reading to/from a ROOT file or socket...
Double_t fY2
Y of 2nd point.
TPavesText()
Pavestext default constructor.
virtual void Draw(Option_t *option="")
Draw this pavestext with its current attributes.
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
virtual void ConvertNDCtoPad()
Convert pave coordinates from NDC to Pad coordinates.
Double_t fY1
Y of 1st point.
static const double x2[5]
virtual void Paint(Option_t *option="")
Paint this pavetext with its current attributes.
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.
TString fLabel
Label written at the top of the pavetext.
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 fX2
X of 2nd point.
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.
Double_t fX1
X of 1st point.
void SetReadMode()
Set buffer in read mode.
virtual void Paint(Option_t *option="")
Paint this pavestext with its current attributes.
Option_t * GetName() const
Returns name of object.
Int_t fBorderSize
window box bordersize in pixels
virtual ~TPavesText()
Pavestext default destructor.
static const double x1[5]
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.
Int_t fNpaves
Number of stacked paves.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
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.
TString fOption
Pave style.
A PaveText (see TPaveText) with several stacked paves.
virtual void SetBorderSize(Int_t bordersize=4)
Int_t GetBorderSize() const