ROOT
6.07/01
Reference Guide
|
Line Attributes class.
This class is used (in general by secondary inheritance) by many other classes (graphics, histograms). It holds all the line attributes.
Line attributes are:
The line color is a color index (integer) pointing in the ROOT color table. The line color of any class inheriting from TAttLine
can be changed using the method SetLineColor
and retrieved using the method GetLineColor
. The following table shows the first 50 default colors.
SetLineColorAlpha()
, allows to set a transparent color. In the following example the line color of the histogram histo
is set to blue with a transparency of 35%. The color kBlue
itself remains fully opaque.
The transparency is available on all platforms when the flagOpenGL.CanvasPreferGL
is set to 1
in $ROOTSYS/etc/system.rootrc
, or on Mac with the Cocoa backend. On the file output it is visible with PDF, PNG, Gif, JPEG, SVG ... but not PostScript.
The line width is expressed in pixel units. The line width of any class inheriting from TAttLine
can be changed using the method SetLineWidth
and retrieved using the method GetLineWidth
. The following picture shows the line widths from 1 to 10 pixels.
Line styles are identified via integer numbers. The line style of any class inheriting from TAttLine
can be changed using the method SetLineStyle
and retrieved using the method GetLineStyle
.
The first 10 line styles are predefined as shown on the following picture:
Additional line styles can be defined using TStyle::SetLineStyleString
. For example the line style number 11 can be defined as follow:
Existing line styles (1 to 10) can be redefined using the same method.
Definition at line 32 of file TAttLine.h.
Public Member Functions | |
TAttLine () | |
AttLine default constructor. More... | |
TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth) | |
AttLine normal constructor. More... | |
virtual | ~TAttLine () |
AttLine destructor. More... | |
void | Copy (TAttLine &attline) const |
Copy this line attributes to a new TAttLine. More... | |
Int_t | DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2) |
Compute distance from point px,py to a line. More... | |
virtual Color_t | GetLineColor () const |
virtual Style_t | GetLineStyle () const |
virtual Width_t | GetLineWidth () const |
virtual void | Modify () |
Change current line attributes if necessary. More... | |
virtual void | ResetAttLine (Option_t *option="") |
Reset this line attributes to default values. More... | |
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. More... | |
virtual void | SetLineAttributes () |
Invoke the DialogCanvas Line attributes. More... | |
virtual void | SetLineColor (Color_t lcolor) |
virtual void | SetLineColorAlpha (Color_t lcolor, Float_t lalpha) |
Set a transparent line color. More... | |
virtual void | SetLineStyle (Style_t lstyle) |
virtual void | SetLineWidth (Width_t lwidth) |
ClassDef (TAttLine, 2) | |
Protected Attributes | |
Color_t | fLineColor |
Style_t | fLineStyle |
Width_t | fLineWidth |
#include <TAttLine.h>
TAttLine::TAttLine | ( | ) |
AttLine default constructor.
Definition at line 125 of file TAttLine.cxx.
AttLine normal constructor.
Line attributes are taking from the argument list
Definition at line 142 of file TAttLine.cxx.
|
virtual |
AttLine destructor.
Definition at line 152 of file TAttLine.cxx.
TAttLine::ClassDef | ( | TAttLine | , |
2 | |||
) |
Copy this line attributes to a new TAttLine.
Definition at line 159 of file TAttLine.cxx.
Referenced by TLegendEntry::Copy(), TPolyLine3D::Copy(), TLine::Copy(), TPolyLine::Copy(), TEllipse::Copy(), TBox::Copy(), THelix::Copy(), TLatex::Copy(), TStyle::Copy(), TH1::Copy(), TF1::Copy(), TArc::DrawArc(), TArrow::DrawArrow(), TBox::DrawBox(), TCanvas::DrawClonePad(), TCrown::DrawCrown(), TEllipse::DrawEllipse(), TGraph::DrawGraph(), TLine::DrawLine(), TPolyLine3D::DrawPolyLine(), TPolyLine::DrawPolyLine(), TEfficiency::FillGraph(), and TEfficiency::FillHistogram().
Int_t TAttLine::DistancetoLine | ( | Int_t | px, |
Int_t | py, | ||
Double_t | xp1, | ||
Double_t | yp1, | ||
Double_t | xp2, | ||
Double_t | yp2 | ||
) |
Compute distance from point px,py to a line.
Compute the closest distance of approach from point px,py to this line. The distance is computed in pixels units.
Algorithm:
Definition at line 193 of file TAttLine.cxx.
Referenced by TCurlyLine::DistancetoPrimitive(), TPolyLine3D::DistancetoPrimitive(), TLine::DistancetoPrimitive(), TPolyLine::DistancetoPrimitive(), TPrimary::DistancetoPrimitive(), TGeoTrack::DistancetoPrimitive(), TMarker3DBox::DistancetoPrimitive(), TGraphPolargram::DistancetoPrimitive(), TParticle::DistancetoPrimitive(), TGraphPainter::DistancetoPrimitiveHelper(), and TGraph::InsertPoint().
|
inlinevirtual |
Reimplemented in TGWin32VirtualXProxy.
Definition at line 47 of file TAttLine.h.
Referenced by TGeoVolumeMulti::AddNode(), TGeoVolumeMulti::AddNodeOverlap(), TSpider::AddVariable(), TSelectorDraw::Begin(), TGLUtil::BeginAttLine(), TParallelCoordEditor::CleanUpSelections(), TGeoVolume::CloneVolume(), ROOT::Internal::TBranchProxyDirector::CreateHistogram(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TGeoVolumeMulti::Divide(), TAttLineEditor::DoAlpha(), TAttLineEditor::DoAlphaField(), TF1::DoCreateHistogram(), TAttLineEditor::DoLiveAlpha(), TH2::DoProfile(), TH3::DoProject1D(), TH3::DoProject2D(), TH2::DoProjection(), TParallelCoordEditor::DoSelectionSelect(), TGeoPainter::DrawBatemanSol(), TGQuartz::DrawBox(), TGQuartz::DrawLine(), TPolyLine3D::DrawOutlineCube(), TSpider::DrawPoly(), TGQuartz::DrawPolyLine(), TSpider::DrawSlices(), TEveGeoNode::DumpShapeTree(), TShape::FillBuffer3D(), TGeoShape::FillBuffer3D(), TProofChain::FillDrawAttributes(), TLatex::FirstParse(), TSpider::GetAverageLineColor(), TShape::GetBasicColor(), TGeoShape::GetBasicColor(), TGeoNode::GetColour(), TAttLineEditor::GetCurAlpha(), TPie::GetEntryLineColor(), TEveManager::GetGeometry(), TPainter3dAlgorithms::ImplicitFunction(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TProofDrawHist::Init(), TGLViewer::InitSecondaryObjects(), TGeoVolume::IsStyleDefault(), TGeoVolume::MakeCopyVolume(), TGeoVolumeMulti::MakeCopyVolume(), TMVA::mvas(), TDiamond::Paint(), TSpline::Paint(), TGraphEdge::Paint(), TGraphNode::Paint(), TPolyLine3D::Paint(), TMarker3DBox::Paint(), TPrimary::Paint(), TNode::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), TGaxis::PaintAxis(), TParallelCoordVar::PaintBoxPlot(), THistPainter::PaintContour(), TParallelCoord::PaintEntries(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), TGLAxis::PaintGLAxisBody(), TGraphPainter::PaintGraphAsymmErrors(), TGraphPainter::PaintGraphBentErrors(), TGraphPainter::PaintGraphErrors(), THistPainter::PaintHist(), TParallelCoordVar::PaintHistogram(), TLatex::PaintLatex1(), THistPainter::PaintLego(), TPolyLineShape::PaintNode(), TGeoPainter::PaintOverlap(), TGeoPainter::PaintPhysicalNode(), TGraph2DPainter::PaintPolyLine(), TMultiGraph::PaintPolyLine3D(), TVolumeView::PaintShape(), TVolume::PaintShape(), TParallelCoordRange::PaintSlider(), TSpectrum2Painter::PaintSpectrum(), THistPainter::PaintSurface(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), TGeoPainter::PaintVolume(), TLine::Print(), TEllipse::Print(), TBox::Print(), TGeoChecker::RandomRays(), TGeoPainter::Raytrace(), TGeoVolume::ReplaceNode(), TPaveText::SaveLines(), TPie::SavePrimitive(), TParallelCoordVar::SavePrimitive(), TF3::SavePrimitive(), TGaxis::SavePrimitive(), TParallelCoord::SavePrimitive(), TF2::SavePrimitive(), TPad::SavePrimitive(), TF1::SavePrimitive(), TStyle::SavePrimitive(), TEveTrack::SetAttLineAttMarker(), TEveTrackList::SetLineColor(), TEveTrackList::SetMainColor(), TAttLineEditor::SetModel(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TArrow::TArrow(), TAttLine(), TGeoChecker::TestOverlaps(), TParallelCoordRange::TParallelCoordRange(), TPave::TPave(), TVolume::TVolume(), TStyleManager::UpdateEditor(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().
|
inlinevirtual |
Reimplemented in TGWin32VirtualXProxy.
Definition at line 48 of file TAttLine.h.
Referenced by TGeoVolumeMulti::AddNode(), TGeoVolumeMulti::AddNodeOverlap(), TSpider::AddVariable(), TSelectorDraw::Begin(), TGLUtil::BeginAttLine(), TGeoVolume::CloneVolume(), ROOT::Internal::TBranchProxyDirector::CreateHistogram(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TEveStraightLineSetGL::DirectDraw(), TGeoVolumeMulti::Divide(), TF1::DoCreateHistogram(), TGeoPainter::DrawBatemanSol(), TGQuartz::DrawBox(), TFitParametersDialog::DrawFunction(), TGQuartz::DrawLine(), TPolyLine3D::DrawOutlineCube(), TSpider::DrawPoly(), TGQuartz::DrawPolyLine(), TSpider::DrawSlices(), TProofChain::FillDrawAttributes(), TSpider::GetAverageLineStyle(), TPie::GetEntryLineStyle(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TProofDrawHist::Init(), TGeoVolume::IsStyleDefault(), TGeoVolume::MakeCopyVolume(), TGeoVolumeMulti::MakeCopyVolume(), TCrown::Paint(), TSpline::Paint(), TGraphEdge::Paint(), TGraphNode::Paint(), TPrimary::Paint(), TNode::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), THistPainter::PaintArrows(), THistPainter::PaintCandlePlot(), TGraph2DPainter::PaintContour(), THistPainter::PaintContour(), TEllipse::PaintEllipse(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), THistPainter::PaintHist(), THistPainter::PaintLego(), TGeoPainter::PaintPhysicalNode(), TGraphPolargram::PaintPolarDivisions(), TGraph2DPainter::PaintPolyLine(), TMultiGraph::PaintPolyLine3D(), TGraphPolargram::PaintRadialDivisions(), TVolume::PaintShape(), TSpectrum2Painter::PaintSpectrum(), THistPainter::PaintSurface(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), THistPainter::PaintViolinPlot(), TGeoPainter::PaintVolume(), TLine::Print(), TEllipse::Print(), TBox::Print(), TGeoVolume::ReplaceNode(), TPaveText::SaveLines(), TPie::SavePrimitive(), TParallelCoordVar::SavePrimitive(), TGaxis::SavePrimitive(), TF2::SavePrimitive(), TPad::SavePrimitive(), TF1::SavePrimitive(), TStyle::SavePrimitive(), TEveTrack::SetAttLineAttMarker(), TEveTrackList::SetLineStyle(), TAttLineEditor::SetModel(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TAttLine(), TPave::TPave(), TVolume::TVolume(), TStyleManager::UpdateEditor(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().
|
inlinevirtual |
Reimplemented in TGWin32VirtualXProxy.
Definition at line 49 of file TAttLine.h.
Referenced by TGeoVolumeMulti::AddNode(), TGeoVolumeMulti::AddNodeOverlap(), TSpider::AddVariable(), TLatex::Analyse(), TSelectorDraw::Begin(), TGLUtil::BeginAttLine(), TParallelCoordEditor::CleanUpSelections(), TGeoVolume::CloneVolume(), ROOT::Internal::TBranchProxyDirector::CreateHistogram(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TEveStraightLineSetGL::DirectDraw(), TGeoVolumeMulti::Divide(), TF1::DoCreateHistogram(), TGraphEditor::DoGraphLineWidth(), TAttLineEditor::DoLineWidth(), TParallelCoordEditor::DoSelectionSelect(), TGraphEditor::DoShape(), TGeoPainter::DrawBatemanSol(), TGQuartz::DrawBox(), TGQuartz::DrawLine(), TPolyLine3D::DrawOutlineCube(), TSpider::DrawPoly(), TGQuartz::DrawPolyLine(), TSpider::DrawSlices(), TProofChain::FillDrawAttributes(), TLatex::FirstParse(), TSpider::GetAverageLineWidth(), TPie::GetEntryLineWidth(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TProofDrawHist::Init(), TGeoVolume::IsStyleDefault(), TGeoVolume::MakeCopyVolume(), TGeoVolumeMulti::MakeCopyVolume(), TSpline::Paint(), TGraphEdge::Paint(), TGraphNode::Paint(), TPrimary::Paint(), TNode::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), THistPainter::PaintArrows(), THistPainter::PaintCandlePlot(), TGraph2DPainter::PaintContour(), THistPainter::PaintContour(), TParallelCoord::PaintEntries(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), TGLAxis::PaintGLAxisBody(), TGraphPainter::PaintGraph(), TGraphPainter::PaintGraphAsymmErrors(), TGraphPainter::PaintGraphBentErrors(), TGraphPainter::PaintGraphErrors(), TGraphPainter::PaintGrapHist(), THistPainter::PaintHist(), TParallelCoordVar::PaintHistogram(), TLatex::PaintLatex1(), THistPainter::PaintLego(), TPolyLineShape::PaintNode(), TGeoPainter::PaintPhysicalNode(), TGraph2DPainter::PaintPolyLine(), TMultiGraph::PaintPolyLine3D(), TGraphPainter::PaintPolyLineHatches(), TVolumeView::PaintShape(), TVolume::PaintShape(), TSpectrum2Painter::PaintSpectrum(), THistPainter::PaintSurface(), THistPainter::PaintViolinPlot(), TGeoPainter::PaintVolume(), TLine::Print(), TEllipse::Print(), TBox::Print(), TGeoVolume::ReplaceNode(), TPaveText::SaveLines(), TPie::SavePrimitive(), TParallelCoordVar::SavePrimitive(), TGaxis::SavePrimitive(), TParallelCoord::SavePrimitive(), TF2::SavePrimitive(), TPad::SavePrimitive(), TF1::SavePrimitive(), TStyle::SavePrimitive(), TEveTrack::SetAttLineAttMarker(), TPolyLineShape::SetConnection(), TEveTrackList::SetLineWidth(), TAttLineEditor::SetModel(), TGraphEditor::SetModel(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TGraphPainter::Smooth(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TAttLine(), TVolume::TVolume(), TStyleManager::UpdateEditor(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().
|
virtual |
Change current line attributes if necessary.
Definition at line 229 of file TAttLine.cxx.
Referenced by TLatex::DrawCircle(), TPainter3dAlgorithms::DrawFaceMode1(), TPainter3dAlgorithms::DrawFaceMode2(), TPainter3dAlgorithms::DrawFaceMode3(), TPainter3dAlgorithms::DrawFaceMove1(), TPainter3dAlgorithms::DrawFaceMove2(), TPainter3dAlgorithms::DrawFaceMove3(), TPainter3dAlgorithms::DrawFaceRaster1(), TPainter3dAlgorithms::DrawFaceRaster2(), TLatex::DrawLine(), TLatex::DrawParenthesis(), TDiamond::ExecuteEvent(), TCurlyArc::ExecuteEvent(), TSliderBox::ExecuteEvent(), TCurlyLine::ExecuteEvent(), TASPaletteEditor::LimitLine::ExecuteEvent(), TLine::ExecuteEvent(), TPolyLine::ExecuteEvent(), TEllipse::ExecuteEvent(), TBox::ExecuteEvent(), TPad::ExecuteEvent(), TCrown::Paint(), TDiamond::Paint(), TPolyLine3D::Paint(), TMarker3DBox::Paint(), TNode::Paint(), TArrow::PaintArrow(), TPad::PaintBorder(), TBox::PaintBox(), TEllipse::PaintEllipse(), TLine::PaintLine(), TLine::PaintLineNDC(), TPave::PaintPaveArc(), TGeoPainter::PaintPhysicalNode(), TPolyLineShape::PaintPoints(), TGraphPolargram::PaintPolarDivisions(), TPolyLine::PaintPolyLine(), TPolyLine::PaintPolyLineNDC(), TGraphPolargram::PaintRadialDivisions(), TVolume::PaintShape(), and TGeoTrack::PaintTrack().
Reset this line attributes to default values.
Reimplemented in TGWin32VirtualXProxy.
Definition at line 247 of file TAttLine.cxx.
Referenced by TSpectrum2Painter::Paint(), and TStyle::Reset().
|
virtual |
Save line attributes as C++ statement(s) on output stream out.
Definition at line 257 of file TAttLine.cxx.
Referenced by TGraphEdge::SaveAttributes(), TGraphNode::SaveAttributes(), TLegendEntry::SaveEntry(), TArc::SavePrimitive(), TPavesText::SavePrimitive(), TCrown::SavePrimitive(), TPaveClass::SavePrimitive(), TDiamond::SavePrimitive(), TGroupButton::SavePrimitive(), TPaveLabel::SavePrimitive(), TSlider::SavePrimitive(), TCurlyArc::SavePrimitive(), TCutG::SavePrimitive(), TPaveStats::SavePrimitive(), TButton::SavePrimitive(), TH1K::SavePrimitive(), TPaletteAxis::SavePrimitive(), TWbox::SavePrimitive(), TArrow::SavePrimitive(), TCurlyLine::SavePrimitive(), TLegend::SavePrimitive(), TGraphErrors::SavePrimitive(), TPolyLine3D::SavePrimitive(), TPaveText::SavePrimitive(), THelix::SavePrimitive(), TGraphAsymmErrors::SavePrimitive(), TLine::SavePrimitive(), TPolyLine::SavePrimitive(), TMarker3DBox::SavePrimitive(), TPave::SavePrimitive(), TEllipse::SavePrimitive(), TBox::SavePrimitive(), TGraphBentErrors::SavePrimitive(), TTreePerfStats::SavePrimitive(), TEfficiency::SavePrimitive(), TLatex::SavePrimitive(), TGraph2D::SavePrimitive(), TGraph::SavePrimitive(), TSpline3::SavePrimitive(), TSpline5::SavePrimitive(), TH1::SavePrimitiveHelp(), TEveLine::WriteVizParams(), TEveStraightLineSet::WriteVizParams(), and TEveTrackList::WriteVizParams().
|
virtual |
Invoke the DialogCanvas Line attributes.
Reimplemented in TGWin32VirtualXProxy.
Definition at line 277 of file TAttLine.cxx.
Referenced by TLegend::EditEntryAttLine(), TVolumeView::SetLineAttributes(), RooPlot::SetLineAttributes(), and TVolumePosition::SetLineAttributes().
Reimplemented in TGeoVolumeMulti, TGeoVolume, TGWin32, TGX11, TEveTrackList, TVirtualX, TPostScript, TSpider, TGWin32VirtualXProxy, TPDF, TEveStraightLineSet, TTeXDump, TSVG, TGQuartz, TPaletteAxis, TParallelCoordRange, and TEveLine.
Definition at line 54 of file TAttLine.h.
Referenced by TSpider::AddVariable(), TMVA::annconvergencetest(), TMVA::ROCCalc::ApplySignalAndBackgroundStyle(), arb8(), TMVA::bdtcontrolplots(), TSelectorDraw::Begin(), TMVA::boostcontrolplots(), box(), canvas_write(), combinedFit(), TMVA::compareanapp(), compareFunctions(), complex_1(), composite(), cone(), coneseg(), ConfidenceIntervals(), TMVA::correlationscatters(), TMVA::correlationscattersMultiClass(), create_lin_Nvar_weighted(), TF2::CreateHistogram(), TVolume::CreateTNode(), ctub(), TSpider::DeleteVariable(), TF1::DoCreateHistogram(), doFit(), TF1::DoInitialize(), TAttLineEditor::DoLineAlphaColor(), TAttLineEditor::DoLineColor(), TAttLineEditor::DoLiveAlpha(), TProofProgressMemoryPlot::DoPlot(), TProofProgressDialog::DoPlotRateGraph(), TH2::DoProfile(), TH3::DoProject1D(), TH3::DoProject2D(), TH2::DoProjection(), TParallelCoordEditor::DoSelectLineColor(), TH1Editor::DoSliderMoved(), TH1Editor::DoSliderPressed(), TH2Editor::DoSliderXMoved(), TH2Editor::DoSliderXPressed(), TH2Editor::DoSliderYMoved(), TH2Editor::DoSliderYPressed(), RooStats::LikelihoodIntervalPlot::Draw(), TParallelCoord::Draw(), TASImage::Draw(), TGenerator::Draw(), TMVA::draw_layer(), TMVA::draw_synapse(), TGaxis::DrawAxis(), TGeoPainter::DrawBatemanSol(), TLatex::DrawCircle(), TPad::DrawColorTable(), TKDE::DrawConfidenceInterval(), TAdvancedGraphicsDialog::DrawConfidenceLevels(), TProofBench::DrawCPU(), DrawData(), TProofBench::DrawDataSet(), TMLPAnalyzer::DrawDInputs(), TPad::DrawDist(), TProofBench::DrawEfficiency(), TPainter3dAlgorithms::DrawFaceMode1(), TPainter3dAlgorithms::DrawFaceMode2(), TPainter3dAlgorithms::DrawFaceMode3(), TPainter3dAlgorithms::DrawFaceMove1(), TPainter3dAlgorithms::DrawFaceMove2(), TPainter3dAlgorithms::DrawFaceMove3(), TPainter3dAlgorithms::DrawFaceRaster1(), TPainter3dAlgorithms::DrawFaceRaster2(), TMVA::StatDialogMVAEffs::DrawHistograms(), TLatex::DrawLine(), TStructViewerGUI::DrawLink(), TSpectrum2Painter::DrawMarker(), TMLPAnalyzer::DrawNetwork(), TPolyLine3D::DrawOutlineCube(), TLatex::DrawParenthesis(), TSpider::DrawPoly(), TSpider::DrawPolyAverage(), TGeoPainter::DrawPolygon(), DrawPopulation(), TAdvancedGraphicsDialog::DrawScan(), TSpider::DrawSlices(), TSpider::DrawSlicesAverage(), TMLPAnalyzer::DrawTruthDeviationInsOut(), TMLPAnalyzer::DrawTruthDeviations(), eltu(), TProofPerfAnalysis::FileRatePlot(), TProofPerfAnalysis::FillWrkInfo(), TLatex::FirstParse(), fitCircle(), fitLinear(), fitLinearRobust(), fitMultiGraph(), fitslicesy(), FittingDemo(), GAMinTutorial(), RooStats::HistFactory::HistFactoryNavigation::GetChannelStack(), TPad::GetFrame(), gtra(), hype(), ideal(), TGaxis::ImportAxisAttributes(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TPie::Init(), RooCurve::initialize(), TInspectCanvas::InspectObject(), TMVA::likelihoodrefs(), TASPaletteEditor::LimitLine::LimitLine(), line3Dfit(), RooCurve::makeErrorBand(), mlpHiggs(), TStyleManager::ModLineColor(), mp3player(), multifit(), TMVA::mvas(), TMVA::mvaweights(), na49(), TDiamond::Paint(), TSpectrum2Painter::Paint(), TSpline::Paint(), TGraphEdge::Paint(), TPolyLineShape::Paint(), TGraphNode::Paint(), TPrimary::Paint(), TTreePerfStats::Paint(), TPie::Paint(), TNode::Paint(), TASImage::Paint(), TParallelCoord::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), TAxis3D::PaintAxis(), TGaxis::PaintAxis(), TH1Editor::PaintBox3D(), TParallelCoordVar::PaintBoxPlot(), TColorWheel::PaintCircle(), TGraph2DPainter::PaintContour(), THistPainter::PaintContour(), TParallelCoord::PaintEntries(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), TGraphPainter::PaintGraphAsymmErrors(), TGraphPainter::PaintGraphBentErrors(), TGraphPainter::PaintGraphErrors(), TGraphPainter::PaintGrapHist(), TMarker3DBox::PaintH3(), THistPainter::PaintHist(), TParallelCoordVar::PaintHistogram(), TLatex::PaintLatex1(), THistPainter::PaintLego(), TPolyLineShape::PaintNode(), TGraph2DPainter::PaintPolyLine(), TColorWheel::PaintRectangles(), TVolume::PaintShape(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), para(), parab(), parallelcoord(), pcon(), pgon(), piRandom(), TMVA::plot_efficiencies(), RooAbsData::plotOn(), RooFitResult::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnWithErrorBand(), RooDataSet::plotOnXY(), portfolio(), TGeoChecker::RandomRays(), TProofPerfAnalysis::RatePlot(), rs401d_FeldmanCousins(), TMVA::rulevisCorr(), TMVA::rulevisHists(), RooUnitTest::runCompTests(), s_difference(), s_intersection(), s_union(), TPad::SetAttLinePS(), TSpider::SetAverageLineColor(), TPolyLineShape::SetColorAttribute(), TProofDraw::SetDrawAtt(), TPie::SetEntryLineColor(), TParallelCoordRange::SetLineColor(), TPaletteAxis::SetLineColor(), TGQuartz::SetLineColor(), RooPlot::SetLineColor(), TSpider::SetLineColor(), TGX11::SetLineColor(), TGeoVolume::SetLineColor(), TVirtualGeoTrack::SetName(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TMVA::TMVAGlob::SetSignalAndBackgroundStyle(), TMVA::TMVAGlob::SetTMVAStyle(), shapes(), shapesAnim(), TClassTree::ShowCod(), TPad::ShowGuidelines(), TClassTree::ShowHas(), TClassTree::ShowMul(), TClassTree::ShowRef(), TPie::SortSlices(), sphere(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TestBinomial(), testBinomial(), testCont1D(), testDisc1D(), testEmpDistr(), testPoisson(), testProbVector(), TestSPlot(), TGeoTrack::TGeoTrack(), TNode::TNode(), torus(), TPave::TPave(), TMultiLayerPerceptron::Train(), trap(), trd1(), trd2(), TShape::TShape(), TTree::TTree(), TTreePerfStats::TTreePerfStats(), tube(), tubeseg(), TVolume::TVolume(), unuranHist(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), TTree::UseCurrentStyle(), xtru(), xtruDraw(), and xtruSamples().
Set a transparent line color.
lalpha defines the percentage of the color opacity from 0. (fully transparent) to 1. (fully opaque).
Definition at line 286 of file TAttLine.cxx.
Reimplemented in TGeoVolumeMulti, TGeoVolume, TGWin32, TGX11, TEveTrackList, TVirtualX, TPostScript, TSpider, TGWin32VirtualXProxy, TPDF, TTeXDump, TSVG, TGQuartz, and TEveLine.
Definition at line 56 of file TAttLine.h.
Referenced by TSpider::AddVariable(), TSelectorDraw::Begin(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TMVA::deviations(), TF1::DoCreateHistogram(), TF1::DoInitialize(), TAttLineEditor::DoLineStyle(), TProofProgressMemoryPlot::DoPlot(), TProofProgressDialog::DoPlotRateGraph(), TMultiLayerPerceptron::Draw(), TGenerator::Draw(), TGaxis::DrawAxis(), TGeoPainter::DrawBatemanSol(), TPainter3dAlgorithms::DrawFaceMode2(), TPainter3dAlgorithms::DrawFaceMode3(), TPainter3dAlgorithms::DrawFaceMove1(), TPainter3dAlgorithms::DrawFaceMove2(), TPainter3dAlgorithms::DrawFaceMove3(), TPainter3dAlgorithms::DrawFaceRaster1(), TPainter3dAlgorithms::DrawFaceRaster2(), TFitParametersDialog::DrawFunction(), TSpectrum2Painter::DrawMarker(), TPolyLine3D::DrawOutlineCube(), TSpider::DrawPoly(), TSpider::DrawPolyAverage(), TSpider::DrawSlices(), TSpider::DrawSlicesAverage(), TPad::GetFrame(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TPie::Init(), TInspectCanvas::InspectObject(), TStyleManager::ModLineStyle(), TSpectrum2Painter::Paint(), TSpline::Paint(), TGraphEdge::Paint(), TGraphNode::Paint(), TPrimary::Paint(), TPie::Paint(), TNode::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), THistPainter::PaintArrows(), TGaxis::PaintAxis(), TParallelCoordVar::PaintBoxPlot(), THistPainter::PaintCandlePlot(), TGraph2DPainter::PaintContour(), THistPainter::PaintContour(), TParallelCoord::PaintEntries(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), TGraphPainter::PaintGraphQQ(), THistPainter::PaintHist(), TParallelCoordVar::PaintHistogram(), TGraph2DPainter::PaintLevels(), TGraphPolargram::PaintPolarDivisions(), TGraph2DPainter::PaintPolyLine(), TGraphPolargram::PaintRadialDivisions(), TVolume::PaintShape(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), THistPainter::PaintViolinPlot(), RooAbsData::plotOn(), RooFitResult::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnWithErrorBand(), RooDataSet::plotOnXY(), RooUnitTest::runCompTests(), TPad::SetAttLinePS(), TSpider::SetAverageLineStyle(), TPie::SetEntryLineStyle(), TEveLine::SetLineStyle(), TGQuartz::SetLineStyle(), RooPlot::SetLineStyle(), TSpider::SetLineStyle(), TGeoVolume::SetLineStyle(), TVirtualGeoTrack::SetName(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TPolyLineShape::SetStyleAttribute(), TClassTree::ShowHas(), TClassTree::ShowMul(), TPie::SortSlices(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TPave::TPave(), TTree::TTree(), TVolume::TVolume(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().
Reimplemented in TGeoVolumeMulti, TGeoVolume, TGWin32, TGX11, TEveTrackList, TVirtualX, TPostScript, TSpider, TGWin32VirtualXProxy, TPDF, TTeXDump, TSVG, TGQuartz, TPaletteAxis, TParallelCoordRange, and TEveLine.
Definition at line 57 of file TAttLine.h.
Referenced by TSpider::AddVariable(), TLatex::Analyse(), TMVA::annconvergencetest(), TMVA::ROCCalc::ApplySignalAndBackgroundStyle(), TMVA::bdtcontrolplots(), TSelectorDraw::Begin(), TMVA::boostcontrolplots(), canvas_write(), TMVA::compareanapp(), compareFunctions(), ConfidenceIntervals(), TMVA::correlationscatters(), TMVA::correlationscattersMultiClass(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TF1::DoCreateHistogram(), doFit(), TGraphEditor::DoGraphLineWidth(), TF1::DoInitialize(), TAttLineEditor::DoLineWidth(), TProofProgressMemoryPlot::DoPlot(), TProofProgressDialog::DoPlotRateGraph(), TParallelCoordEditor::DoSelectLineWidth(), TH1Editor::DoSliderMoved(), TH1Editor::DoSliderPressed(), TH2Editor::DoSliderXMoved(), TH2Editor::DoSliderXPressed(), TH2Editor::DoSliderYMoved(), TH2Editor::DoSliderYPressed(), TMultiLayerPerceptron::Draw(), TGenerator::Draw(), Rgl::Draw2DAxis(), TMVA::draw_synapse(), TGaxis::DrawAxis(), TGeoPainter::DrawBatemanSol(), TMVA::DrawCell(), DrawData(), TPad::DrawDist(), TPainter3dAlgorithms::DrawFaceMode2(), TPainter3dAlgorithms::DrawFaceMode3(), TPainter3dAlgorithms::DrawFaceMove1(), TPainter3dAlgorithms::DrawFaceMove2(), TPainter3dAlgorithms::DrawFaceMove3(), TPainter3dAlgorithms::DrawFaceRaster1(), TPainter3dAlgorithms::DrawFaceRaster2(), TMVA::StatDialogMVAEffs::DrawHistograms(), TStructViewerGUI::DrawLink(), TSpectrum2Painter::DrawMarker(), TMVA::StatDialogBDTReg::DrawNode(), TMVA::StatDialogBDT::DrawNode(), TPolyLine3D::DrawOutlineCube(), TSpider::DrawPoly(), TSpider::DrawPolyAverage(), DrawPopulation(), TAdvancedGraphicsDialog::DrawScan(), TSpider::DrawSlices(), TSpider::DrawSlicesAverage(), TLatex::FirstParse(), fitCircle(), fitLinear(), fitMultiGraph(), FittingDemo(), TPad::GetFrame(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TPie::Init(), RooCurve::initialize(), TInspectCanvas::InspectObject(), TMVA::likelihoodrefs(), TASPaletteEditor::LimitLine::LimitLine(), RooCurve::makeErrorBand(), TStyleManager::ModLineWidth(), mp3player(), TMVA::mvas(), TMVA::mvaweights(), TSpectrum2Painter::Paint(), TSpline::Paint(), TGraphEdge::Paint(), TPolyLineShape::Paint(), TGraphNode::Paint(), TPrimary::Paint(), TNode::Paint(), TPie::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), THistPainter::PaintArrows(), TAxis3D::PaintAxis(), TGaxis::PaintAxis(), TH1Editor::PaintBox3D(), TParallelCoordVar::PaintBoxPlot(), THistPainter::PaintCandlePlot(), TGraph2DPainter::PaintContour(), THistPainter::PaintContour(), TParallelCoord::PaintEntries(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), TGraphPainter::PaintGraphAsymmErrors(), TGraphPainter::PaintGraphBentErrors(), TGraphPainter::PaintGraphErrors(), THistPainter::PaintHist(), TParallelCoordVar::PaintHistogram(), TLatex::PaintLatex1(), THistPainter::PaintLegoAxis(), TGraph2DPainter::PaintPolyLine(), TColorWheel::PaintRectangles(), TVolume::PaintShape(), THistPainter::PaintViolinPlot(), piRandom(), TMVA::plot_efficiencies(), RooAbsData::plotOn(), RooFitResult::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnWithErrorBand(), RooDataSet::plotOnXY(), TMVA::probas(), RadioNuclides(), TGeoChecker::RandomRays(), TStyle::Reset(), TMVA::rulevisHists(), RooUnitTest::runCompTests(), TPad::SetAttLinePS(), TSpider::SetAverageLineWidth(), TPie::SetEntryLineWidth(), TEveLine::SetLineWidth(), TParallelCoordRange::SetLineWidth(), TPaletteAxis::SetLineWidth(), TGQuartz::SetLineWidth(), RooPlot::SetLineWidth(), TSpider::SetLineWidth(), TGeoVolume::SetLineWidth(), TVirtualGeoTrack::SetName(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TMVA::TMVAGlob::SetSignalAndBackgroundStyle(), TPolyLineShape::SetSizeAttribute(), TPie::SortSlices(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TestBinomial(), TGeoTrack::TGeoTrack(), TLatex::TLatex(), TStyle::TStyle(), TTree::TTree(), TVolume::TVolume(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().
|
protected |
Definition at line 35 of file TAttLine.h.
Referenced by Copy(), TGaxis::DrawAxis(), TSVG::DrawBox(), TImageDump::DrawBox(), TTeXDump::DrawBox(), TPDF::DrawBox(), TPostScript::DrawBox(), TImageDump::DrawFrame(), TPDF::DrawPolyLine(), TPostScript::DrawPolyLine(), TPDF::DrawPolyLineNDC(), TPostScript::DrawPolyLineNDC(), TSVG::DrawPS(), TImageDump::DrawPS(), TTeXDump::DrawPS(), TPDF::DrawPS(), TPostScript::DrawPS(), GetLineColor(), Modify(), ResetAttLine(), SaveLineAttributes(), TGaxis::SavePrimitive(), TGeoVolume::SavePrimitive(), SetLineAttributes(), SetLineColor(), TSVG::SetLineColor(), TTeXDump::SetLineColor(), TPDF::SetLineColor(), TPostScript::SetLineColor(), TEveTrackList::SetLineColor(), TGWin32::SetLineColor(), SetLineColorAlpha(), TEveTrackList::SetMainColor(), TAttLine(), TEveLine::TEveLine(), TEveStraightLineSet::TEveStraightLineSet(), TEveTrack::TEveTrack(), TEveTrackList::TEveTrackList(), TGWin32::UpdateLineColor(), and TPostScript::Zone().
|
protected |
Definition at line 36 of file TAttLine.h.
Referenced by Copy(), TGaxis::DrawAxis(), TPDF::DrawPolyLine(), TPostScript::DrawPolyLine(), TPDF::DrawPolyLineNDC(), TPostScript::DrawPolyLineNDC(), TPDF::DrawPolyMarker(), TPostScript::DrawPolyMarker(), TSVG::DrawPS(), TImageDump::DrawPS(), TTeXDump::DrawPS(), TPDF::DrawPS(), TPostScript::DrawPS(), GetLineStyle(), TGraphPolargram::Init(), Modify(), ResetAttLine(), SaveLineAttributes(), TGaxis::SavePrimitive(), TGeoVolume::SavePrimitive(), SetLineAttributes(), SetLineStyle(), TSVG::SetLineStyle(), TTeXDump::SetLineStyle(), TPDF::SetLineStyle(), TPostScript::SetLineStyle(), TEveTrackList::SetLineStyle(), TGX11::SetLineStyle(), TGWin32::SetLineStyle(), TAttLine(), TGWin32::UpdateLineStyle(), and TPostScript::Zone().
|
protected |
Definition at line 37 of file TAttLine.h.
Referenced by Copy(), DistancetoLine(), TBox::DistancetoPrimitive(), TPad::DistancetoPrimitive(), TGaxis::DrawAxis(), TSVG::DrawBox(), TImageDump::DrawBox(), TTeXDump::DrawBox(), TPDF::DrawBox(), TPostScript::DrawBox(), TPDF::DrawPolyLine(), TPostScript::DrawPolyLine(), TPDF::DrawPolyLineNDC(), TPostScript::DrawPolyLineNDC(), TSVG::DrawPolyMarker(), TPDF::DrawPolyMarker(), TPostScript::DrawPolyMarker(), TImageDump::DrawPS(), TSVG::DrawPS(), TTeXDump::DrawPS(), TPDF::DrawPS(), TPostScript::DrawPS(), GetLineWidth(), Modify(), TPDF::NewPage(), ResetAttLine(), SaveLineAttributes(), TGaxis::SavePrimitive(), TGeoVolume::SavePrimitive(), TPostScript::SetFillPatterns(), SetLineAttributes(), TGWin32::SetLineType(), SetLineWidth(), TSVG::SetLineWidth(), TTeXDump::SetLineWidth(), TPDF::SetLineWidth(), TPostScript::SetLineWidth(), TEveTrackList::SetLineWidth(), TGX11::SetLineWidth(), TGWin32::SetLineWidth(), TAttLine(), and TPostScript::Zone().