#include <TPaveText.h>
Inheritance diagram for TPaveText:
Public Member Functions | |
TPaveText () | |
TPaveText (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="br") | |
TPaveText (const TPaveText &pavetext) | |
virtual | ~TPaveText () |
TPaveText & | operator= (const TPaveText &) |
virtual TBox * | AddBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
virtual TLine * | AddLine (Double_t x1=0, Double_t y1=0, Double_t x2=0, Double_t y2=0) |
virtual TText * | AddText (Double_t x1, Double_t y1, const char *label) |
virtual TText * | AddText (const char *label) |
virtual void | Clear (Option_t *option="") |
virtual void | DeleteText () |
virtual void | Draw (Option_t *option="") |
virtual void | DrawFile (const char *filename, Option_t *option="") |
virtual void | EditText () |
const char * | GetLabel () const |
virtual TText * | GetLine (Int_t number) const |
virtual TText * | GetLineWith (const char *text) const |
virtual TList * | GetListOfLines () const |
Float_t | GetMargin () const |
virtual TObject * | GetObject (Double_t &ymouse, Double_t &yobj) const |
virtual Int_t | GetSize () const |
virtual void | InsertLine () |
virtual void | InsertText (const char *label) |
virtual void | Paint (Option_t *option="") |
virtual void | PaintPrimitives (Int_t mode) |
virtual void | Print (Option_t *option="") const |
virtual void | ReadFile (const char *filename, Option_t *option="", Int_t nlines=50, Int_t fromline=0) |
virtual void | SaveLines (ostream &out, const char *name) |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | SetAllWith (const char *text, Option_t *option, Double_t value) |
virtual void | SetLabel (const char *label) |
virtual void | SetMargin (Float_t margin=0.05) |
virtual void | UseCurrentStyle () |
TPaveText () | |
TPaveText (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option="br") | |
TPaveText (const TPaveText &pavetext) | |
virtual | ~TPaveText () |
TPaveText & | operator= (const TPaveText &) |
virtual TBox * | AddBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
virtual TLine * | AddLine (Double_t x1=0, Double_t y1=0, Double_t x2=0, Double_t y2=0) |
virtual TText * | AddText (Double_t x1, Double_t y1, const char *label) |
virtual TText * | AddText (const char *label) |
virtual void | Clear (Option_t *option="") |
virtual void | DeleteText () |
virtual void | Draw (Option_t *option="") |
virtual void | DrawFile (const char *filename, Option_t *option="") |
virtual void | EditText () |
const char * | GetLabel () const |
virtual TText * | GetLine (Int_t number) const |
virtual TText * | GetLineWith (const char *text) const |
virtual TList * | GetListOfLines () const |
Float_t | GetMargin () const |
virtual TObject * | GetObject (Double_t &ymouse, Double_t &yobj) const |
virtual Int_t | GetSize () const |
virtual void | InsertLine () |
virtual void | InsertText (const char *label) |
virtual void | Paint (Option_t *option="") |
virtual void | PaintPrimitives (Int_t mode) |
virtual void | Print (Option_t *option="") const |
virtual void | ReadFile (const char *filename, Option_t *option="", Int_t nlines=50, Int_t fromline=0) |
virtual void | SaveLines (ostream &out, const char *name) |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | SetAllWith (const char *text, Option_t *option, Double_t value) |
virtual void | SetLabel (const char *label) |
virtual void | SetMargin (Float_t margin=0.05) |
virtual void | UseCurrentStyle () |
Protected Attributes | |
TString | fLabel |
Int_t | fLongest |
Float_t | fMargin |
TList * | fLines |
TList * | fLines |
Definition at line 35 of file TPaveText.h.
TPaveText::TPaveText | ( | ) |
TPaveText::TPaveText | ( | const TPaveText & | pavetext | ) |
TPaveText::~TPaveText | ( | ) | [virtual] |
Definition at line 85 of file TPaveText.cxx.
References TList::Delete(), fLines, TObject::kNotDeleted, and TObject::TestBit().
TPaveText::TPaveText | ( | ) |
TPaveText::TPaveText | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | x2, | |||
Double_t | y2, | |||
Option_t * | option = "br" | |||
) |
TPaveText::TPaveText | ( | const TPaveText & | pavetext | ) |
virtual TPaveText::~TPaveText | ( | ) | [virtual] |
Definition at line 111 of file TPaveText.cxx.
References fLabel, fLines, fLongest, fMargin, and TBox::operator=().
Definition at line 126 of file TPaveText.cxx.
References TList::Add(), fLines, gPad, and TBox::TBox().
Referenced by TPad::DrawClassObject().
TLine * TPaveText::AddLine | ( | Double_t | x1 = 0 , |
|
Double_t | y1 = 0 , |
|||
Double_t | x2 = 0 , |
|||
Double_t | y2 = 0 | |||
) | [virtual] |
Definition at line 140 of file TPaveText.cxx.
References TList::Add(), fLines, gPad, and newline.
Referenced by TPad::DrawClassObject(), and InsertLine().
Definition at line 154 of file TPaveText.cxx.
References TList::Add(), fLines, fLongest, TAttText::SetTextAlign(), TAttText::SetTextColor(), TAttText::SetTextFont(), and TAttText::SetTextSize().
Referenced by AddText(), AddText(), arb8(), box(), canvas_write(), cernstaff(), complex_1(), composite(), cone(), coneseg(), ctub(), demoshelp(), TProofProgressDialog::DoPlotRateGraph(), TGenerator::Draw(), TPad::DrawClassObject(), DrawData(), StatDialogBDT::DrawTree(), eltu(), framework(), goftest(), gtra(), h1draw(), help(), hlabels1(), hlabels2(), hype(), ideal(), InsertText(), labels1(), labels2(), latex3(), memstat(), mp3player(), ntuple1(), TTreePerfStats::Paint(), TGraphPainter::PaintGraphPolar(), THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), TGraphPainter::PaintStats(), THistPainter::PaintTitle(), para(), parab(), pcon(), pgon(), plotNtuple(), ProofNtuple::PlotNtuple(), RadioNuclides(), ReadFile(), s_difference(), s_intersection(), s_union(), TMemStatShow::Show(), sphere(), statfitparam(), TestSPlot(), tlatex3(), torus(), trap(), trd1(), trd2(), tube(), tubeseg(), and xtru().
TText * TPaveText::AddText | ( | const char * | label | ) | [virtual] |
void TPaveText::Clear | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 182 of file TPaveText.cxx.
References TList::Delete(), fLines, and fLongest.
Referenced by THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), TGraphPainter::PaintStats(), and ReadFile().
void TPaveText::DeleteText | ( | ) | [virtual] |
Definition at line 193 of file TPaveText.cxx.
References xmlio::Class, fLines, GetObject(), gPad, and TList::Remove().
void TPaveText::Draw | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TPave.
Definition at line 209 of file TPaveText.cxx.
References TObject::AppendPad().
Referenced by canvas_write(), cernstaff(), complex_1(), composite(), demoshelp(), TProofProgressDialog::DoPlotRateGraph(), TGenerator::Draw(), TPad::DrawClassObject(), DrawData(), StatDialogBDT::DrawTree(), goftest(), h1draw(), help(), hlabels1(), hlabels2(), hype(), ideal(), labels1(), labels2(), latex3(), memstat(), mp3player(), ntuple1(), TGraphPainter::PaintGraphPolar(), THistPainter::PaintTitle(), parab(), plotNtuple(), ProofNtuple::PlotNtuple(), RadioNuclides(), s_difference(), s_intersection(), s_union(), TMemStatShow::Show(), statfitparam(), TestSPlot(), tlatex3(), and xtru().
void TPaveText::DrawFile | ( | const char * | filename, | |
Option_t * | option = "" | |||
) | [virtual] |
void TPaveText::EditText | ( | ) | [virtual] |
Definition at line 229 of file TPaveText.cxx.
References xmlio::Class, Form(), GetObject(), gPad, gROOT, TROOT::ProcessLine(), TROOT::SetSelectedPrimitive(), and text().
const char* TPaveText::GetLabel | ( | ) | const [inline] |
Definition at line 249 of file TPaveText.cxx.
References fLines, line, and nlines.
Referenced by TCutG::TCutG().
TText * TPaveText::GetLineWith | ( | const char * | text | ) | const [virtual] |
virtual TList* TPaveText::GetListOfLines | ( | ) | const [inline, virtual] |
Definition at line 63 of file TPaveText.h.
References fLines.
Referenced by memstat(), and TMemStatShow::Show().
Float_t TPaveText::GetMargin | ( | ) | const [inline] |
Definition at line 279 of file TPaveText.cxx.
References TMath::Abs(), xmlio::Class, fLines, TBox::fY1, TBox::fY2, GetSize(), TAttText::GetTextAlign(), TAttText::GetTextSize(), TText::GetY(), TLine::GetY1(), TBox::GetY1(), gPad, line, nlines, and y.
Referenced by DeleteText(), EditText(), InsertLine(), and InsertText().
Int_t TPaveText::GetSize | ( | ) | const [virtual] |
Definition at line 345 of file TPaveText.cxx.
References xmlio::Class, fLines, line, and nlines.
Referenced by GetObject(), TPaveStats::Paint(), PaintPrimitives(), and SaveLines().
void TPaveText::InsertLine | ( | ) | [virtual] |
Definition at line 360 of file TPaveText.cxx.
References TList::AddAfter(), TList::AddBefore(), AddLine(), fLines, TBox::fY1, TBox::fY2, GetObject(), gPad, newline, and TList::Remove().
void TPaveText::InsertText | ( | const char * | label | ) | [virtual] |
Definition at line 378 of file TPaveText.cxx.
References TList::AddAfter(), TList::AddBefore(), AddText(), fLines, GetObject(), gPad, and TList::Remove().
void TPaveText::Paint | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TPave.
Definition at line 395 of file TPaveText.cxx.
References TPave::ConvertNDCtoPad(), TBox::fX1, TBox::fX2, TBox::fY1, TBox::fY2, TPave::GetBorderSize(), kPaveText, TPave::PaintPave(), and PaintPrimitives().
Referenced by TPavesText::Paint(), TTreePerfStats::Paint(), TGraphPainter::PaintGraphPolar(), and THistPainter::PaintTitle().
void TPaveText::PaintPrimitives | ( | Int_t | mode | ) | [virtual] |
Definition at line 407 of file TPaveText.cxx.
References xmlio::Class, TString::Data(), fLabel, fLines, fMargin, TBox::fX1, TBox::fX2, TBox::fY1, TBox::fY2, TObject::GetDrawOption(), TAttFill::GetFillColor(), GetSize(), TAttText::GetTextAlign(), TAttText::GetTextColor(), TAttText::GetTextFont(), TAttText::GetTextSize(), TNamed::GetTitle(), TText::GetX(), TLine::GetX1(), TBox::GetX1(), TLine::GetX2(), TBox::GetX2(), TText::GetY(), TLine::GetY1(), TBox::GetY1(), TLine::GetY2(), TBox::GetY2(), gPad, kDiamond, latex(), TString::Length(), line, nlines, TBox::PaintBox(), TLine::PaintLine(), TText::PaintText(), TIter::Reset(), TAttText::SetTextAlign(), TAttText::SetTextColor(), TAttText::SetTextFont(), TAttText::SetTextSize(), title, w, x1, and x2.
Referenced by TDiamond::Paint(), and Paint().
void TPaveText::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TPave.
Definition at line 576 of file TPaveText.cxx.
References fLines, TPave::Print(), and TCollection::Print().
void TPaveText::ReadFile | ( | const char * | filename, | |
Option_t * | option = "" , |
|||
Int_t | nlines = 50 , |
|||
Int_t | fromline = 0 | |||
) | [virtual] |
Definition at line 586 of file TPaveText.cxx.
References AddText(), Clear(), TString::Contains(), TObject::Error(), fLines, fLongest, TList::Last(), s, TAttText::SetTextAlign(), TAttText::SetTextAngle(), TAttText::SetTextColor(), TAttText::SetTextFont(), TAttText::SetTextSize(), StrDup(), and val.
Referenced by DrawFile().
void TPaveText::SaveLines | ( | ostream & | out, | |
const char * | name | |||
) | [virtual] |
Definition at line 670 of file TPaveText.cxx.
References xmlio::Class, TROOT::ClassSaved(), fLines, TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), GetSize(), TAttText::GetTextAlign(), TAttText::GetTextAngle(), TAttText::GetTextColor(), TAttText::GetTextFont(), TAttText::GetTextSize(), TNamed::GetTitle(), TText::GetX(), TLine::GetX1(), TBox::GetX1(), TLine::GetX2(), TBox::GetX2(), TText::GetY(), TLine::GetY1(), TBox::GetY1(), TLine::GetY2(), TBox::GetY2(), gROOT, latex(), line, nlines, s, and TColor::SaveColor().
Referenced by SavePrimitive(), TPavesText::SavePrimitive(), TPaveStats::SavePrimitive(), and TDiamond::SavePrimitive().
void TPaveText::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TPave.
Definition at line 826 of file TPaveText.cxx.
References xmlio::Class, TObject::ClassName(), TROOT::ClassSaved(), TString::Contains(), TPave::fBorderSize, fLabel, TPave::fOption, TBox::fX1, TPave::fX1NDC, TBox::fX2, TPave::fX2NDC, TBox::fY1, TPave::fY1NDC, TBox::fY2, TPave::fY2NDC, TPave::GetName(), gPad, gROOT, TString::Length(), TAttFill::SaveFillAttributes(), TAttLine::SaveLineAttributes(), SaveLines(), and TAttText::SaveTextAttributes().
Definition at line 862 of file TPaveText.cxx.
References fLines, line, and TString::ToLower().
Referenced by complex_1(), composite(), demoshelp(), hype(), ideal(), parab(), s_difference(), s_intersection(), s_union(), and xtru().
virtual void TPaveText::SetLabel | ( | const char * | label | ) | [inline, virtual] |
virtual void TPaveText::SetMargin | ( | Float_t | margin = 0.05 |
) | [inline, virtual] |
void TPaveText::UseCurrentStyle | ( | ) | [virtual] |
Reimplemented from TObject.
Definition at line 913 of file TPaveText.cxx.
References TAttText::GetTextColor(), TAttText::GetTextFont(), TAttText::GetTextSize(), gStyle, TStyle::IsReading(), TAttText::SetTextColor(), TAttText::SetTextFont(), and TAttText::SetTextSize().
virtual TLine* TPaveText::AddLine | ( | Double_t | x1 = 0 , |
|
Double_t | y1 = 0 , |
|||
Double_t | x2 = 0 , |
|||
Double_t | y2 = 0 | |||
) | [virtual] |
virtual TText* TPaveText::AddText | ( | const char * | label | ) | [virtual] |
virtual void TPaveText::DeleteText | ( | ) | [virtual] |
virtual void TPaveText::DrawFile | ( | const char * | filename, | |
Option_t * | option = "" | |||
) | [virtual] |
virtual void TPaveText::EditText | ( | ) | [virtual] |
const char* TPaveText::GetLabel | ( | ) | const [inline] |
virtual TText* TPaveText::GetLineWith | ( | const char * | text | ) | const [virtual] |
virtual TList* TPaveText::GetListOfLines | ( | ) | const [inline, virtual] |
Float_t TPaveText::GetMargin | ( | ) | const [inline] |
virtual Int_t TPaveText::GetSize | ( | ) | const [virtual] |
virtual void TPaveText::InsertLine | ( | ) | [virtual] |
virtual void TPaveText::InsertText | ( | const char * | label | ) | [virtual] |
virtual void TPaveText::PaintPrimitives | ( | Int_t | mode | ) | [virtual] |
virtual void TPaveText::ReadFile | ( | const char * | filename, | |
Option_t * | option = "" , |
|||
Int_t | nlines = 50 , |
|||
Int_t | fromline = 0 | |||
) | [virtual] |
virtual void TPaveText::SaveLines | ( | ostream & | out, | |
const char * | name | |||
) | [virtual] |
virtual void TPaveText::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TPave.
virtual void TPaveText::SetAllWith | ( | const char * | text, | |
Option_t * | option, | |||
Double_t | value | |||
) | [virtual] |
virtual void TPaveText::SetLabel | ( | const char * | label | ) | [inline, virtual] |
virtual void TPaveText::SetMargin | ( | Float_t | margin = 0.05 |
) | [inline, virtual] |
virtual void TPaveText::UseCurrentStyle | ( | ) | [virtual] |
Reimplemented from TObject.
TString TPaveText::fLabel [protected] |
Definition at line 38 of file TPaveText.h.
Referenced by GetLabel(), operator=(), TPaveStats::Paint(), PaintPrimitives(), SavePrimitive(), TPavesText::SavePrimitive(), and SetLabel().
Int_t TPaveText::fLongest [protected] |
Definition at line 39 of file TPaveText.h.
Referenced by AddText(), Clear(), operator=(), ReadFile(), and TPaveText().
Float_t TPaveText::fMargin [protected] |
Definition at line 40 of file TPaveText.h.
Referenced by GetMargin(), operator=(), TPaveStats::Paint(), PaintPrimitives(), SetMargin(), and TPaveText().
TList* TPaveText::fLines [protected] |
Definition at line 41 of file TPaveText.h.
Referenced by AddBox(), AddLine(), AddText(), Clear(), DeleteText(), GetLine(), GetLineWith(), GetListOfLines(), GetObject(), GetSize(), InsertLine(), InsertText(), operator=(), TPaveStats::Paint(), PaintPrimitives(), Print(), ReadFile(), SaveLines(), SetAllWith(), TPaveText(), and ~TPaveText().
TList* TPaveText::fLines [protected] |
Definition at line 41 of file TPaveText.h.