96 if (strstr(opt,
"l")) signx = -1;
98 if (strstr(opt,
"b")) signy = -1;
122 if (!strcmp(
GetName(),
"stats"))
return;
123 if (!strcmp(
GetName(),
"title"))
return;
130 out<<
" TPavesText *";
132 out<<
"pst = new TPavesText("<<
fX1<<
","<<
fY1<<
","<<
fX2<<
","<<
fY2
135 if (strcmp(
GetName(),
"TPave")) {
136 out<<
" pst->SetName("<<quote<<
GetName()<<quote<<
");"<<std::endl;
139 out<<
" pst->SetLabel("<<quote<<
fLabel<<quote<<
");"<<std::endl;
142 out<<
" pst->SetBorderSize("<<
fBorderSize<<
");"<<std::endl;
148 out<<
" pst->Draw();"<<std::endl;
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint TPoint const char y1
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.
void Paint(Option_t *option="") override
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.
const char * GetName() const override
Returns name of object.
Int_t fBorderSize
window box bordersize in pixels
virtual void SetBorderSize(Int_t bordersize=4)
Sets the border size of the TPave box and shadow.
TString fOption
Pave style.
Option_t * GetOption() const override
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.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
void Paint(Option_t *option="") override
Paint this pavestext with its current attributes.
~TPavesText() override
Pavestext default destructor.
void Streamer(TBuffer &) override
Stream an object of class TPave.
void Draw(Option_t *option="") override
Draw this pavestext with its current attributes.
Int_t fNpaves
Number of stacked paves.
TPavesText()
Pavestext default constructor.
void Streamer(TBuffer &) override
Stream an object of class TObject.