#include <TAttText.h>
Inheritance diagram for TAttText:
Public Member Functions | |
TAttText () | |
TAttText (Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize) | |
virtual | ~TAttText () |
void | Copy (TAttText &atttext) const |
virtual Short_t | GetTextAlign () const |
virtual Float_t | GetTextAngle () const |
virtual Color_t | GetTextColor () const |
virtual Font_t | GetTextFont () const |
virtual Float_t | GetTextSize () const |
virtual void | Modify () |
virtual void | ResetAttText (Option_t *toption="") |
virtual void | SaveTextAttributes (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) |
virtual void | SetTextAttributes () |
virtual void | SetTextAlign (Short_t align=11) |
virtual void | SetTextAngle (Float_t tangle=0) |
virtual void | SetTextColor (Color_t tcolor=1) |
virtual void | SetTextFont (Font_t tfont=62) |
virtual void | SetTextSize (Float_t tsize=1) |
virtual void | SetTextSizePixels (Int_t npixels) |
TAttText () | |
TAttText (Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize) | |
virtual | ~TAttText () |
void | Copy (TAttText &atttext) const |
virtual Short_t | GetTextAlign () const |
virtual Float_t | GetTextAngle () const |
virtual Color_t | GetTextColor () const |
virtual Font_t | GetTextFont () const |
virtual Float_t | GetTextSize () const |
virtual void | Modify () |
virtual void | ResetAttText (Option_t *toption="") |
virtual void | SaveTextAttributes (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) |
virtual void | SetTextAttributes () |
virtual void | SetTextAlign (Short_t align=11) |
virtual void | SetTextAngle (Float_t tangle=0) |
virtual void | SetTextColor (Color_t tcolor=1) |
virtual void | SetTextFont (Font_t tfont=62) |
virtual void | SetTextSize (Float_t tsize=1) |
virtual void | SetTextSizePixels (Int_t npixels) |
Protected Attributes | |
Float_t | fTextAngle |
Float_t | fTextSize |
Short_t | fTextAlign |
Color_t | fTextColor |
Font_t | fTextFont |
Definition at line 32 of file TAttText.h.
TAttText::TAttText | ( | ) |
Definition at line 229 of file TAttText.cxx.
References fTextAlign, fTextAngle, fTextColor, fTextFont, and fTextSize.
TAttText::~TAttText | ( | ) | [virtual] |
Definition at line 244 of file TAttText.cxx.
TAttText::TAttText | ( | ) |
virtual TAttText::~TAttText | ( | ) | [virtual] |
void TAttText::Copy | ( | TAttText & | atttext | ) | const |
Definition at line 251 of file TAttText.cxx.
References fTextAlign, fTextAngle, fTextColor, fTextFont, and fTextSize.
Referenced by TText::Copy(), TLegend::Copy(), TPaveLabel::Copy(), TLegendEntry::Copy(), TStyle::Copy(), TLatex::DrawLatex(), and TText::DrawText().
virtual Short_t TAttText::GetTextAlign | ( | ) | const [inline, virtual] |
Definition at line 46 of file TAttText.h.
References fTextAlign.
Referenced by ClassImp(), TPaveText::GetObject(), TPad::PaintDate(), TGLAxis::PaintGLAxisLabels(), TButton::PaintModified(), InfoPad::PaintModified(), TPaveLabel::PaintPaveLabel(), TPaveText::PaintPrimitives(), TLegend::PaintPrimitives(), TText::Print(), TPaveText::SaveLines(), TStyle::SavePrimitive(), TAttTextEditor::SetModel(), and TStyleManager::UpdateEditor().
virtual Float_t TAttText::GetTextAngle | ( | ) | const [inline, virtual] |
Definition at line 47 of file TAttText.h.
References fTextAngle.
Referenced by ClassImp(), TLatex::GetBoundingBox(), TLatex::GetXsize(), TPie::Paint(), TLatex::Paint(), TGaxis::PaintAxis(), TPad::PaintDate(), TButton::PaintModified(), InfoPad::PaintModified(), TPaveLabel::PaintPaveLabel(), TLegend::PaintPrimitives(), TText::Print(), TPaveText::SaveLines(), TPie::SavePrimitive(), TStyle::SavePrimitive(), and TStyleManager::UpdateEditor().
virtual Color_t TAttText::GetTextColor | ( | ) | const [inline, virtual] |
Definition at line 48 of file TAttText.h.
References fTextColor.
Referenced by ClassImp(), TLatex::FirstParse(), TPie::Paint(), TPaveStats::Paint(), TGraphNode::Paint(), TGaxis::PaintAxis(), TPad::PaintDate(), TGLAxis::PaintGLAxisLabels(), TGLText::PaintGLText(), TLatex::PaintLatex(), TButton::PaintModified(), InfoPad::PaintModified(), TPaveLabel::PaintPaveLabel(), TPaveText::PaintPrimitives(), TLegend::PaintPrimitives(), TText::Print(), TPaveText::SaveLines(), TPie::SavePrimitive(), TStyle::SavePrimitive(), TGaxis::SavePrimitive(), TAttTextEditor::SetModel(), TPieEditor::SetModel(), TStyleManager::UpdateEditor(), TPaveText::UseCurrentStyle(), and TPaveStats::UseCurrentStyle().
virtual Font_t TAttText::GetTextFont | ( | ) | const [inline, virtual] |
Definition at line 49 of file TAttText.h.
References fTextFont.
Referenced by TLatex::Analyse(), ClassImp(), TPieEditor::DoTextChange(), TLatex::FirstParse(), TStyleManager::ModAttDateTextFont(), TStyleManager::ModAttDateTextSizeInPixels(), TStyleManager::ModTextFont(), TStyleManager::ModTextSizeInPixels(), TPie::Paint(), TPaveStats::Paint(), TGraphNode::Paint(), TGaxis::PaintAxis(), TPad::PaintDate(), TGLAxis::PaintGLAxisLabels(), TLatex::PaintLatex(), TButton::PaintModified(), InfoPad::PaintModified(), TPaveLabel::PaintPaveLabel(), TPaveText::PaintPrimitives(), TLegend::PaintPrimitives(), THistPainter::PaintText(), THistPainter::PaintTH2PolyText(), TText::Print(), TAttTextEditor::ProcessMessage(), TRecorderRecording::RecordPave(), TRecorderRecording::RecordText(), TPaveText::SaveLines(), TPie::SavePrimitive(), TStyle::SavePrimitive(), TGaxis::SavePrimitive(), TLegend::SetHeader(), TAttTextEditor::SetModel(), TPieEditor::SetModel(), TStyleManager::UpdateEditor(), TPaveText::UseCurrentStyle(), and TPaveStats::UseCurrentStyle().
virtual Float_t TAttText::GetTextSize | ( | ) | const [inline, virtual] |
Definition at line 50 of file TAttText.h.
References fTextSize.
Referenced by ClassImp(), TLatex::GetBoundingBox(), TPaveText::GetObject(), TLatex::GetXsize(), TLatex::GetYsize(), TStyleManager::ModAttDateTextSizeInPixels(), TStyleManager::ModTextSizeInPixels(), TSpider::Paint(), TPie::Paint(), TLatex::Paint(), TPaveStats::Paint(), TGraphNode::Paint(), TGaxis::PaintAxis(), TPad::PaintDate(), TGLText::PaintGLText(), TButton::PaintModified(), InfoPad::PaintModified(), TPaveLabel::PaintPaveLabel(), TPaveText::PaintPrimitives(), TLegend::PaintPrimitives(), TText::Print(), TRecorderRecording::RecordPave(), TRecorderRecording::RecordText(), TPaveText::SaveLines(), TPie::SavePrimitive(), TStyle::SavePrimitive(), TAttTextEditor::SetModel(), TPieEditor::SetModel(), TPaveText::UseCurrentStyle(), and TPaveStats::UseCurrentStyle().
void TAttText::Modify | ( | ) | [virtual] |
Definition at line 264 of file TAttText.cxx.
References fTextAlign, fTextAngle, fTextColor, fTextFont, fTextSize, gPad, and gVirtualX.
Referenced by TLatex::Analyse(), TText::DistancetoPrimitive(), TText::ExecuteEvent(), Hello::Hello(), TText::Paint(), TLatex::PaintLatex(), TText::PaintText(), and TText::PaintTextNDC().
void TAttText::ResetAttText | ( | Option_t * | toption = "" |
) | [virtual] |
Definition at line 294 of file TAttText.cxx.
References fTextAlign, fTextAngle, fTextColor, fTextFont, and fTextSize.
Referenced by TStyle::Reset().
void TAttText::SaveTextAttributes | ( | 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 | |||
) | [virtual] |
Definition at line 307 of file TAttText.cxx.
References fTextAlign, fTextAngle, fTextColor, fTextFont, fTextSize, and TColor::SaveColor().
Referenced by TGraphNode::SaveAttributes(), TLegendEntry::SaveEntry(), TLegend::SavePrimitive(), TLatex::SavePrimitive(), TPaveClass::SavePrimitive(), TPaveText::SavePrimitive(), TGroupButton::SavePrimitive(), TPavesText::SavePrimitive(), TPaveLabel::SavePrimitive(), TPaveStats::SavePrimitive(), TDiamond::SavePrimitive(), TText::SavePrimitive(), and TButton::SavePrimitive().
void TAttText::SetTextAttributes | ( | ) | [virtual] |
Definition at line 336 of file TAttText.cxx.
References fTextAlign, fTextAngle, fTextColor, fTextFont, fTextSize, and TVirtualPadEditor::UpdateTextAttributes().
virtual void TAttText::SetTextAlign | ( | Short_t | align = 11 |
) | [inline, virtual] |
Definition at line 55 of file TAttText.h.
References align(), and fTextAlign.
Referenced by TPaveText::AddText(), TLatex::Analyse(), canvas_write(), complex_1(), composite(), demoshelp(), TGaxis::DrawAxis(), TPad::DrawClassObject(), TLatex::FirstParse(), help(), hlabels1(), hlabels2(), hype(), ideal(), TInspectCanvas::InspectObject(), kalman_do(), labels1(), labels2(), mass_spectrum(), TStyleManager::ModAttDateTextAlign(), TStyleManager::ModTextAlign(), ntuple1(), TColorWheel::Paint(), TSpider::Paint(), TTreePerfStats::Paint(), TGaxis::PaintAxis(), TColorWheel::PaintCircle(), TColorWheel::PaintCircles(), TGLAxis::PaintGLAxisLabels(), TColorWheel::PaintGray(), TLatex::PaintLatex(), TGraphPolargram::PaintPolarDivisions(), TPaveText::PaintPrimitives(), TColorWheel::PaintRectangles(), THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), TGraphPainter::PaintStats(), parab(), plotNtuple(), ProofNtuple::PlotNtuple(), TAttTextEditor::ProcessMessage(), pstable(), quarks(), RadioNuclides(), TPaveText::ReadFile(), regression_averagedevs(), TStyle::Reset(), s_difference(), s_intersection(), s_union(), TPad::SetAttTextPS(), TStyle::SetOptDate(), TGWin32::SetTextAlign(), TGX11::SetTextAlign(), TMemStatShow::Show(), splines(), statfitparam(), table(), TLegend::TLegend(), ttext1(), and xtru().
virtual void TAttText::SetTextAngle | ( | Float_t | tangle = 0 |
) | [inline, virtual] |
Definition at line 56 of file TAttText.h.
References fTextAngle.
Referenced by TLatex::Analyse(), TGaxis::DrawAxis(), TLatex::FirstParse(), TLatex::GetXsize(), TInspectCanvas::InspectObject(), TStyleManager::ModAttDateTextAngle(), TStyleManager::ModTextAngle(), TColorWheel::Paint(), TGaxis::PaintAxis(), TColorWheel::PaintCircles(), TColorWheel::PaintGray(), TLatex::PaintLatex(), TColorWheel::PaintRectangles(), quarks(), TPaveText::ReadFile(), TPad::SetAttTextPS(), TLegend::TLegend(), and ttext1().
virtual void TAttText::SetTextColor | ( | Color_t | tcolor = 1 |
) | [inline, virtual] |
Definition at line 57 of file TAttText.h.
References fTextColor.
Referenced by TPaveText::AddText(), AddText(), TLatex::Analyse(), bexec(), bexec2(), demoshelp(), TPieEditor::DoTextChange(), TGaxis::DrawAxis(), TPad::DrawClassObject(), StatDialogBDT::DrawTree(), exclusiongraph2(), TLatex::FirstParse(), goftest(), graphpolar(), h1draw(), help(), TGaxis::ImportAxisAttributes(), TInspectCanvas::InspectObject(), kalman_do(), TStyleManager::ModAttDateTextColor(), TStyleManager::ModTextColor(), mp3player(), multigraph(), TColorWheel::Paint(), TPie::Paint(), Hello::Paint(), TGaxis::PaintAxis(), TColorWheel::PaintCircle(), TColorWheel::PaintCircles(), TGLAxis::PaintGLAxisLabels(), TGraphPainter::PaintGraphPolar(), TColorWheel::PaintGray(), TLatex::PaintLatex(), TGraphPolargram::PaintPolarDivisions(), TPaveText::PaintPrimitives(), TColorWheel::PaintRectangles(), THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), TGraphPainter::PaintStats(), THistPainter::PaintTitle(), pcon(), pgon(), TAttTextEditor::ProcessMessage(), quarks(), RadioNuclides(), TPaveText::ReadFile(), rf106_plotdecoration(), TPad::SetAttTextPS(), TGX11::SetTextColor(), TGaxis::SetTitleColor(), TMemStatShow::Show(), TestSPlot(), TLegend::TLegend(), tmultigraph1(), TPie::TPie(), transpad(), ttext1(), TPaveText::UseCurrentStyle(), TPaveStats::UseCurrentStyle(), and zdemo().
virtual void TAttText::SetTextFont | ( | Font_t | tfont = 62 |
) | [inline, virtual] |
Definition at line 58 of file TAttText.h.
References fTextFont.
Referenced by TPaveText::AddText(), TLatex::Analyse(), demoshelp(), TPieEditor::DoTextChange(), double32(), TGaxis::DrawAxis(), TPad::DrawClassObject(), TLatex::FirstParse(), FittingDemo(), goftest(), Hello::Hello(), help(), TGaxis::ImportAxisAttributes(), TInspectCanvas::InspectObject(), itbf(), markerwarning(), mass_spectrum(), TStyleManager::ModAttDateTextFont(), TStyleManager::ModAttDateTextSizeInPixels(), TStyleManager::ModTextFont(), TStyleManager::ModTextSizeInPixels(), TColorWheel::Paint(), TPie::Paint(), TPaveStats::Paint(), TGaxis::PaintAxis(), TColorWheel::PaintCircles(), TGraphPainter::PaintGraphPolar(), TColorWheel::PaintGray(), TLatex::PaintLatex(), TGraphPolargram::PaintPolarDivisions(), TPaveText::PaintPrimitives(), TColorWheel::PaintRectangles(), THistPainter::PaintStat(), THistPainter::PaintStat2(), THistPainter::PaintStat3(), TGraphPainter::PaintStats(), THistPainter::PaintTitle(), TAttTextEditor::ProcessMessage(), pstable(), quantiles(), quarks(), TPaveText::ReadFile(), TPad::SetAttTextPS(), TQtPadFont::SetTextFont(), TGaxis::SetTitleFont(), table(), TestSPlot(), tgaxis1(), tgaxis2(), th2polyEurope(), TLegend::TLegend(), TPaveClass::TPaveClass(), TPie::TPie(), ttext1(), TPaveText::UseCurrentStyle(), TPaveStats::UseCurrentStyle(), and zdemo().
virtual void TAttText::SetTextSize | ( | Float_t | tsize = 1 |
) | [inline, virtual] |
Definition at line 59 of file TAttText.h.
References fTextSize.
Referenced by TPaveText::AddText(), TLatex::Analyse(), TDialogCanvas::BuildStandardButtons(), complex_1(), composite(), TPieEditor::DoTextChange(), double32(), TGaxis::DrawAxis(), TPad::DrawClassObject(), StatDialogMVAEffs::DrawHistograms(), exclusiongraph2(), TText::ExecuteEvent(), TLatex::FirstParse(), FittingDemo(), graphpolar(), h1draw(), Hello::Hello(), hype(), ideal(), TInspectCanvas::InspectObject(), kalman_do(), kerning(), markerwarning(), mass_spectrum(), memstat(), TStyleManager::ModAttDateTextSize(), TStyleManager::ModAttDateTextSizeInPixels(), TStyleManager::ModTextSize(), TStyleManager::ModTextSizeInPixels(), mp3player(), mvas(), NewGameButton::NewGameButton(), TColorWheel::Paint(), TSpider::Paint(), TPie::Paint(), TPaveStats::Paint(), TTreePerfStats::Paint(), TGaxis::PaintAxis(), TColorWheel::PaintCircle(), TColorWheel::PaintCircles(), TClassTree::PaintClass(), TGLAxis::PaintGLAxisLabels(), TGraphPainter::PaintGraphPolar(), TColorWheel::PaintGray(), TLatex::PaintLatex(), TPaveText::PaintPrimitives(), TLegend::PaintPrimitives(), TColorWheel::PaintRectangles(), THistPainter::PaintStat(), THistPainter::PaintStat2(), TGraphPainter::PaintStats(), THistPainter::PaintTitle(), parab(), PauseButton::PauseButton(), TAttTextEditor::ProcessMessage(), pstable(), quantiles(), quarks(), QuitButton::QuitButton(), RadioNuclides(), TPaveText::ReadFile(), regression_averagedevs(), TStyle::Reset(), rf106_plotdecoration(), s_difference(), s_intersection(), s_union(), TPad::SetAttTextPS(), TQtPadFont::SetTextSize(), TMemStatShow::Show(), splines(), table(), th2polyEurope(), TLegend::TLegend(), TPie::TPie(), ttext1(), TPaveText::UseCurrentStyle(), TPaveStats::UseCurrentStyle(), and xtru().
void TAttText::SetTextSizePixels | ( | Int_t | npixels | ) | [virtual] |
Definition at line 346 of file TAttText.cxx.
References TVirtualPad::AbsPixeltoY(), fTextFont, fTextSize, TROOT::GetSelectedPad(), TVirtualPad::GetY1(), TVirtualPad::GetY2(), and gROOT.
void TAttText::Copy | ( | TAttText & | atttext | ) | const |
virtual Short_t TAttText::GetTextAlign | ( | ) | const [inline, virtual] |
virtual Float_t TAttText::GetTextAngle | ( | ) | const [inline, virtual] |
virtual Color_t TAttText::GetTextColor | ( | ) | const [inline, virtual] |
virtual Font_t TAttText::GetTextFont | ( | ) | const [inline, virtual] |
virtual Float_t TAttText::GetTextSize | ( | ) | const [inline, virtual] |
virtual void TAttText::Modify | ( | ) | [virtual] |
virtual void TAttText::ResetAttText | ( | Option_t * | toption = "" |
) | [virtual] |
virtual void TAttText::SaveTextAttributes | ( | 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 | |||
) | [virtual] |
virtual void TAttText::SetTextAttributes | ( | ) | [virtual] |
virtual void TAttText::SetTextAlign | ( | Short_t | align = 11 |
) | [inline, virtual] |
virtual void TAttText::SetTextAngle | ( | Float_t | tangle = 0 |
) | [inline, virtual] |
virtual void TAttText::SetTextColor | ( | Color_t | tcolor = 1 |
) | [inline, virtual] |
virtual void TAttText::SetTextFont | ( | Font_t | tfont = 62 |
) | [inline, virtual] |
virtual void TAttText::SetTextSize | ( | Float_t | tsize = 1 |
) | [inline, virtual] |
virtual void TAttText::SetTextSizePixels | ( | Int_t | npixels | ) | [virtual] |
Float_t TAttText::fTextAngle [protected] |
Definition at line 35 of file TAttText.h.
Referenced by TLatex::Analyse(), Copy(), TText::DistancetoPrimitive(), TGaxis::DrawAxis(), TText::ExecuteEvent(), TLatex::GetBoundingBox(), TText::GetBoundingBox(), GetTextAngle(), Modify(), ResetAttText(), SaveTextAttributes(), TGX11::SetCharacterUp(), TGWin32::SetCharacterUp(), TGQt::SetCharacterUp(), SetTextAngle(), SetTextAttributes(), TAttText(), TImageDump::Text(), TPostScript::Text(), TPDF::Text(), and TSVG::Text().
Float_t TAttText::fTextSize [protected] |
Definition at line 36 of file TAttText.h.
Referenced by Copy(), TGaxis::DrawAxis(), TText::ExecuteEvent(), TText::GetTextAdvance(), TText::GetTextAscentDescent(), TGWin32::GetTextExtent(), TText::GetTextExtent(), GetTextSize(), TGQt::Init(), Modify(), TGWin32::RequestString(), ResetAttText(), SaveTextAttributes(), SetTextAttributes(), TQtPadFont::SetTextMagnify(), TGX11::SetTextSize(), SetTextSize(), TGQt::SetTextSize(), TQtPadFont::SetTextSize(), TGWin32::SetTextSize(), TGX11TTF::SetTextSize(), SetTextSizePixels(), TAttText(), TImageDump::Text(), TPostScript::Text(), TPDF::Text(), TSVG::Text(), and TQtPadFont::TQtPadFont().
Short_t TAttText::fTextAlign [protected] |
Definition at line 37 of file TAttText.h.
Referenced by Copy(), TGaxis::DrawAxis(), TText::ExecuteEvent(), TLatex::FirstParse(), TText::GetControlBox(), GetTextAlign(), TGQt::Init(), Modify(), TText::PaintControlBox(), TGLText::PaintGLText(), TLatex::PaintLatex(), ResetAttText(), SaveTextAttributes(), SetTextAlign(), TGQt::SetTextAlign(), SetTextAttributes(), TAttText(), TImageDump::Text(), TPostScript::Text(), TPDF::Text(), and TSVG::Text().
Color_t TAttText::fTextColor [protected] |
Definition at line 38 of file TAttText.h.
Referenced by TLatex::Analyse(), Copy(), TGaxis::DrawAxis(), TGQt::DrawText(), GetTextColor(), Modify(), ResetAttText(), SaveTextAttributes(), SetTextAttributes(), SetTextColor(), TGQt::SetTextColor(), TPDF::SetTextColor(), TPostScript::SetTextColor(), TSVG::SetTextColor(), TAttText(), TImageDump::Text(), TPostScript::Text(), TPDF::Text(), and TSVG::Text().
Font_t TAttText::fTextFont [protected] |
Definition at line 39 of file TAttText.h.
Referenced by TLatex::Analyse(), Copy(), TGaxis::DrawAxis(), TLatex::FirstParse(), TText::GetTextAdvance(), TText::GetTextAscentDescent(), TGQt::GetTextDecoder(), TText::GetTextExtent(), GetTextFont(), TGQt::Init(), Modify(), TLatex::PaintLatex(), TGQt::RequestString(), ResetAttText(), SaveTextAttributes(), SetTextAttributes(), TGWin32::SetTextFont(), TGX11::SetTextFont(), TGQt::SetTextFont(), TQtPadFont::SetTextFont(), TGX11TTF::SetTextFont(), SetTextFont(), SetTextSizePixels(), TAttText(), TImageDump::Text(), TPostScript::Text(), TPDF::Text(), TSVG::Text(), and TQtPadFont::TQtPadFont().