12 #ifndef ROOT_TGraphPainter
13 #define ROOT_TGraphPainter
29 class TGraphPainter :
public TVirtualGraphPainter {
35 virtual ~TGraphPainter();
37 void ComputeLogs(Int_t npoints, Int_t opt);
38 virtual Int_t DistancetoPrimitiveHelper(TGraph *theGraph, Int_t px, Int_t py);
39 virtual void DrawPanelHelper(TGraph *theGraph);
40 virtual void ExecuteEventHelper(TGraph *theGraph, Int_t event, Int_t px, Int_t py);
41 virtual char *GetObjectInfoHelper(TGraph *theGraph, Int_t px, Int_t py)
const;
42 virtual Int_t GetHighlightPoint(TGraph *theGraph)
const;
43 virtual void HighlightPoint(TGraph *theGraph, Int_t hpoint, Int_t distance);
44 virtual void PaintHighlightPoint(TGraph *theGraph, Option_t *option);
45 void PaintHelper(TGraph *theGraph, Option_t *option);
46 virtual void PaintGraph(TGraph *theGraph, Int_t npoints,
const Double_t *x,
const Double_t *y, Option_t *chopt);
47 virtual void PaintGrapHist(TGraph *theGraph, Int_t npoints,
const Double_t *x,
const Double_t *y, Option_t *chopt);
48 void PaintGraphAsymmErrors(TGraph *theGraph, Option_t *option);
49 void PaintGraphMultiErrors(TGraph *theGraph, Option_t *option);
50 void PaintGraphBentErrors(TGraph *theGraph, Option_t *option);
51 void PaintGraphErrors(TGraph *theGraph, Option_t *option);
52 void PaintGraphPolar(TGraph *theGraph, Option_t *option);
53 void PaintGraphQQ(TGraph *theGraph, Option_t *option);
54 void PaintGraphReverse(TGraph *theGraph, Option_t *option);
55 void PaintGraphSimple(TGraph *theGraph, Option_t *option);
56 void PaintPolyLineHatches(TGraph *theGraph, Int_t n,
const Double_t *x,
const Double_t *y);
57 void PaintStats(TGraph *theGraph, TF1 *fit);
58 virtual void SetHighlight(TGraph *theGraph);
59 void Smooth(TGraph *theGraph, Int_t npoints, Double_t *x, Double_t *y, Int_t drawtype);
60 static void SetMaxPointsPerLine(Int_t maxp=50);
64 static Int_t fgMaxPointsPerLine;
66 ClassDef(TGraphPainter,0)