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;
127 out<<
" TPavesText *";
129 out<<
"pst = new TPavesText("<<
fX1<<
","<<
fY1<<
","<<
fX2<<
","<<
fY2
132 if (strcmp(
GetName(),
"TPave")) {
133 out<<
" pst->SetName("<<quote<<
GetName()<<quote<<
");"<<std::endl;
136 out<<
" pst->SetLabel("<<quote<<
fLabel<<quote<<
");"<<std::endl;
139 out<<
" pst->SetBorderSize("<<
fBorderSize<<
");"<<std::endl;
145 out<<
" pst->Draw();"<<std::endl;
void SetBufferOffset(Int_t offset=0)
The concrete implementation of TBuffer for writing/reading to/from a ROOT file or socket...
Int_t GetBorderSize() const
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.
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.
Option_t * GetOption() const
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.
Double_t fX1
tool tip associated with box
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.
virtual ~TPavesText()
Pavestext default destructor.
static const double x1[5]
A Pave (see TPave) with text, lines or/and boxes inside.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
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 SetBorderSize(Int_t bordersize=4)
virtual void SaveLines(std::ostream &out, const char *name)
Save lines of this pavetext as C++ statements on output stream out.