#include <TLatex.h>
Inheritance diagram for TLatex:
Definition at line 74 of file TLatex.h.
TLatex::TLatex | ( | ) |
Referenced by DrawLatex().
Definition at line 323 of file TLatex.cxx.
References fError, fFactorPos, fFactorSize, fItalic, fLimitFactorSize, fOriginSize, fPos, fShow, fTabMax, fTabSize, kFALSE, and TAttLine::SetLineWidth().
TLatex::TLatex | ( | const TLatex & | text | ) |
Definition at line 350 of file TLatex.cxx.
References fFactorPos, fFactorSize, fItalic, fLimitFactorSize, fOriginSize, fPos, fShow, fTabMax, kFALSE, and text().
TLatex::~TLatex | ( | ) | [virtual] |
Definition at line 343 of file TLatex.cxx.
TLatex::TLatex | ( | ) |
TLatex::TLatex | ( | const TLatex & | text | ) |
virtual TLatex::~TLatex | ( | ) | [virtual] |
Currently inside it operator.
Definition at line 366 of file TLatex.cxx.
References fError, fFactorPos, fFactorSize, fItalic, fLimitFactorSize, fOriginSize, fShow, fTabSize, and TNamed::operator=().
TLatexFormSize TLatex::Analyse | ( | Double_t | x, | |
Double_t | y, | |||
TextSpec_t | spec, | |||
const Char_t * | t, | |||
Int_t | length | |||
) | [protected] |
Definition at line 416 of file TLatex.cxx.
References a, TLatexFormSize::AddOver(), Anal1(), buf, TMath::Cos(), d, DrawCircle(), DrawLine(), DrawParenthesis(), TMath::Exp(), TextSpec_t::fColor, fError, fFactorPos, fFactorSize, TextSpec_t::fFont, fItalic, fLimitFactorSize, fOriginSize, fShow, TextSpec_t::fSize, TAttText::fTextAngle, TAttText::fTextColor, TAttText::fTextFont, TText::fX, TText::fY, GetHeight(), TAttLine::GetLineWidth(), TText::GetTextAscentDescent(), TText::GetTextExtent(), TAttText::GetTextFont(), gPad, gVirtualPS, h, TLatexFormSize::Height(), height, i, k, kFALSE, kPI, kTRUE, l, TMath::Log(), m, max, TMath::Max(), min, TMath::Min(), TAttText::Modify(), TLatexFormSize::Over(), p, TText::PaintText(), r1, Readfs(), result(), Savefs(), TLatexFormSize::Set(), TAttLine::SetLineWidth(), TAttText::SetTextAlign(), TAttText::SetTextAngle(), TAttText::SetTextColor(), TAttText::SetTextFont(), TAttText::SetTextSize(), TMath::Sin(), snprintf, spec, tab2, tab3, TVirtualPS::Text(), text(), TLatexFormSize::Under(), w, TLatexFormSize::Width(), width, x0, x1, x2, x3, and x4.
Referenced by Anal1(), and PaintLatex().
TLatexFormSize TLatex::Anal1 | ( | TextSpec_t | spec, | |
const Char_t * | t, | |||
Int_t | length | |||
) | [protected] |
Definition at line 407 of file TLatex.cxx.
References Analyse(), and spec.
Referenced by Analyse(), and FirstParse().
void TLatex::DrawLine | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | x2, | |||
Double_t | y2, | |||
TextSpec_t | spec | |||
) | [protected] |
Definition at line 1696 of file TLatex.cxx.
References TMath::Cos(), TText::fX, TText::fY, gPad, kPI, TAttLine::Modify(), TAttLine::SetLineColor(), TMath::Sin(), and spec.
Referenced by Analyse().
void TLatex::DrawCircle | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | r, | |||
TextSpec_t | spec | |||
) | [protected] |
Definition at line 1717 of file TLatex.cxx.
References TMath::Cos(), TText::fX, TText::fY, gPad, i, kPI, TAttLine::Modify(), TAttLine::SetLineColor(), TMath::Sin(), spec, x, and y.
Referenced by Analyse().
void TLatex::DrawParenthesis | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | r1, | |||
Double_t | r2, | |||
Double_t | phimin, | |||
Double_t | phimax, | |||
TextSpec_t | spec | |||
) | [protected] |
Definition at line 1747 of file TLatex.cxx.
References TMath::Cos(), TText::fX, TText::fY, gPad, i, kPI, TAttLine::Modify(), TAttLine::SetLineColor(), TMath::Sin(), spec, x, and y.
Referenced by Analyse().
TLatexFormSize TLatex::FirstParse | ( | Double_t | angle, | |
Double_t | size, | |||
const Char_t * | text | |||
) | [protected] |
Definition at line 2104 of file TLatex.cxx.
References Anal1(), fError, fOriginSize, fPos, fShow, fTabMax, fTabSize, TAttText::fTextAlign, TAttText::fTextFont, TAttLine::GetLineColor(), TAttLine::GetLineWidth(), TAttText::GetTextColor(), TAttText::GetTextFont(), gPad, kFALSE, TMath::Max(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttText::SetTextAlign(), TAttText::SetTextAngle(), TAttText::SetTextColor(), TAttText::SetTextFont(), TAttText::SetTextSize(), and spec.
Referenced by GetBoundingBox(), GetXsize(), GetYsize(), and PaintLatex().
void TLatex::Savefs | ( | TLatexFormSize * | fs | ) | [protected] |
Definition at line 2271 of file TLatex.cxx.
References FormSize_t::fOver, fPos, fTabMax, fTabSize, FormSize_t::fUnder, FormSize_t::fWidth, TLatexFormSize::Over(), TLatexFormSize::Under(), and TLatexFormSize::Width().
Referenced by Analyse().
TLatexFormSize TLatex::Readfs | ( | ) | [protected] |
Definition at line 1899 of file TLatex.cxx.
References buf, error, fError, i, k, kFALSE, kTRUE, length, TMath::Min(), and text().
Referenced by GetBoundingBox(), GetXsize(), GetYsize(), and PaintLatex().
void TLatex::Copy | ( | TObject & | text | ) | const [virtual] |
Reimplemented from TText.
Definition at line 387 of file TLatex.cxx.
References TText::Copy(), TAttLine::Copy(), fError, fFactorPos, fFactorSize, fItalic, fLimitFactorSize, fOriginSize, fPos, fShow, and fTabMax.
Definition at line 1681 of file TLatex.cxx.
References TObject::AppendPad(), TAttText::Copy(), TObject::kCanDelete, kTextNDC, TObject::SetBit(), TText::SetNDC(), TObject::TestBit(), and TLatex().
Referenced by StatDialogMVAEffs::DrawHistograms(), markerwarning(), mass_spectrum(), mp3player(), quarks(), regression_averagedevs(), and TCreatePrimitives::Text().
Double_t TLatex::GetHeight | ( | ) | const |
Double_t TLatex::GetXsize | ( | ) |
Definition at line 2163 of file TLatex.cxx.
References TMath::Abs(), CheckLatexSyntax(), TString::Data(), fError, FirstParse(), fTabSize, TAttText::GetTextAngle(), TAttText::GetTextSize(), TNamed::GetTitle(), gPad, TString::Length(), TAttText::SetTextAngle(), text(), and TLatexFormSize::Width().
Referenced by TPie::Paint(), TPaveStats::Paint(), and TGaxis::PaintAxis().
Double_t TLatex::GetYsize | ( | ) |
Definition at line 2237 of file TLatex.cxx.
References TMath::Abs(), CheckLatexSyntax(), TString::Data(), fError, FirstParse(), fTabSize, TAttText::GetTextSize(), TNamed::GetTitle(), gPad, TLatexFormSize::Height(), TString::Length(), and text().
Referenced by TPie::Paint().
Reimplemented from TText.
Definition at line 2188 of file TLatex.cxx.
References CheckLatexSyntax(), TString::Data(), fError, FirstParse(), fTabSize, TAttText::fTextAngle, TText::fX, TText::fY, TText::GetControlBox(), TAttText::GetTextAngle(), TAttText::GetTextSize(), TNamed::GetTitle(), gPad, TLatexFormSize::Height(), i, kTextNDC, TString::Length(), TObject::TestBit(), text(), TLatexFormSize::Width(), x1, and x2.
Referenced by TGaxis::PaintAxis().
void TLatex::Paint | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TText.
Definition at line 1779 of file TLatex.cxx.
References TText::fX, TText::fY, TAttText::GetTextAngle(), TAttText::GetTextSize(), TNamed::GetTitle(), gPad, kTextNDC, PaintLatex(), and TObject::TestBit().
void TLatex::PaintLatex | ( | Double_t | x, | |
Double_t | y, | |||
Double_t | angle, | |||
Double_t | size, | |||
const char * | text | |||
) | [virtual] |
Definition at line 1798 of file TLatex.cxx.
References TMath::Abs(), Analyse(), CheckLatexSyntax(), TString::Data(), fError, FirstParse(), fOriginSize, fShow, TextSpec_t::fSize, fTabSize, TAttText::fTextAlign, TAttText::fTextFont, TText::fX, TText::fY, TAttLine::GetLineColor(), TAttLine::GetLineWidth(), TAttText::GetTextColor(), TAttText::GetTextFont(), gPad, gVirtualPS, gVirtualX, h, TLatexFormSize::Height(), kFALSE, kLatex, kTRUE, TString::Length(), length, TAttText::Modify(), TLatexFormSize::Over(), TObject::ResetBit(), TObject::SetBit(), TAttLine::SetLineColor(), TAttLine::SetLineWidth(), TAttText::SetTextAlign(), TAttText::SetTextAngle(), TAttText::SetTextColor(), TAttText::SetTextFont(), TAttText::SetTextSize(), spec, text(), TLatexFormSize::Under(), w, and TLatexFormSize::Width().
Referenced by TSpider::Paint(), TPie::Paint(), Paint(), TGaxis::PaintAxis(), and TGraphPolargram::PaintPolarDivisions().
void TLatex::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TText.
Definition at line 2294 of file TLatex.cxx.
References xmlio::Class, TROOT::ClassSaved(), TText::fX, TText::fY, TNamed::GetTitle(), gROOT, kTextNDC, s, TAttLine::SaveLineAttributes(), TAttText::SaveTextAttributes(), and TObject::TestBit().
void TLatex::SetIndiceSize | ( | Double_t | factorSize | ) | [virtual] |
void TLatex::SetLimitIndiceSize | ( | Int_t | limitFactorSize | ) | [virtual] |
TLatexFormSize TLatex::Analyse | ( | Double_t | x, | |
Double_t | y, | |||
TextSpec_t | spec, | |||
const Char_t * | t, | |||
Int_t | length | |||
) | [protected] |
TLatexFormSize TLatex::Anal1 | ( | TextSpec_t | spec, | |
const Char_t * | t, | |||
Int_t | length | |||
) | [protected] |
void TLatex::DrawLine | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | x2, | |||
Double_t | y2, | |||
TextSpec_t | spec | |||
) | [protected] |
void TLatex::DrawCircle | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | r, | |||
TextSpec_t | spec | |||
) | [protected] |
void TLatex::DrawParenthesis | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | r1, | |||
Double_t | r2, | |||
Double_t | phimin, | |||
Double_t | phimax, | |||
TextSpec_t | spec | |||
) | [protected] |
TLatexFormSize TLatex::FirstParse | ( | Double_t | angle, | |
Double_t | size, | |||
const Char_t * | text | |||
) | [protected] |
void TLatex::Savefs | ( | TLatexFormSize * | fs | ) | [protected] |
TLatexFormSize TLatex::Readfs | ( | ) | [protected] |
Double_t TLatex::GetHeight | ( | ) | const |
Double_t TLatex::GetXsize | ( | ) |
Double_t TLatex::GetYsize | ( | ) |
Reimplemented from TText.
virtual void TLatex::PaintLatex | ( | Double_t | x, | |
Double_t | y, | |||
Double_t | angle, | |||
Double_t | size, | |||
const char * | text | |||
) | [virtual] |
virtual void TLatex::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TText.
virtual void TLatex::SetIndiceSize | ( | Double_t | factorSize | ) | [virtual] |
virtual void TLatex::SetLimitIndiceSize | ( | Int_t | limitFactorSize | ) | [virtual] |
Double_t TLatex::fFactorSize [protected] |
Definition at line 77 of file TLatex.h.
Referenced by Analyse(), Copy(), operator=(), SetIndiceSize(), and TLatex().
Double_t TLatex::fFactorPos [protected] |
Int_t TLatex::fLimitFactorSize [protected] |
Relative position of subscripts and superscripts.
Definition at line 79 of file TLatex.h.
Referenced by Analyse(), Copy(), operator=(), SetLimitIndiceSize(), and TLatex().
const Char_t* TLatex::fError [protected] |
Definition at line 80 of file TLatex.h.
Referenced by Analyse(), CheckLatexSyntax(), Copy(), FirstParse(), GetBoundingBox(), GetXsize(), GetYsize(), operator=(), PaintLatex(), and TLatex().
Bool_t TLatex::fShow [protected] |
error code
Definition at line 81 of file TLatex.h.
Referenced by Analyse(), Copy(), FirstParse(), operator=(), PaintLatex(), and TLatex().
FormSize_t* TLatex::fTabSize [protected] |
is true during the second pass (Painting)
Definition at line 82 of file TLatex.h.
Referenced by FirstParse(), GetBoundingBox(), GetXsize(), GetYsize(), operator=(), PaintLatex(), Readfs(), Savefs(), and TLatex().
Double_t TLatex::fOriginSize [protected] |
array of values for the different zones
Definition at line 83 of file TLatex.h.
Referenced by Analyse(), Copy(), FirstParse(), operator=(), PaintLatex(), and TLatex().
Int_t TLatex::fTabMax [protected] |
Int_t TLatex::fPos [protected] |
Bool_t TLatex::fItalic [protected] |
const Char_t* TLatex::fError [protected] |
FormSize_t* TLatex::fTabSize [protected] |