00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef ROOT_TGraphPainter
00013 #define ROOT_TGraphPainter
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef ROOT_Object
00025 #include "TVirtualGraphPainter.h"
00026 #endif
00027
00028 class TGraph;
00029 class TF1;
00030
00031 class TGraphPainter : public TVirtualGraphPainter {
00032
00033 public:
00034
00035 TGraphPainter();
00036
00037 virtual ~TGraphPainter();
00038
00039 void ComputeLogs(Int_t npoints, Int_t opt);
00040 virtual Int_t DistancetoPrimitiveHelper(TGraph *theGraph, Int_t px, Int_t py);
00041 virtual void DrawPanelHelper(TGraph *theGraph);
00042 virtual void ExecuteEventHelper(TGraph *theGraph, Int_t event, Int_t px, Int_t py);
00043 virtual char *GetObjectInfoHelper(TGraph *theGraph, Int_t px, Int_t py) const;
00044 void PaintHelper(TGraph *theGraph, Option_t *option);
00045 virtual void PaintGraph(TGraph *theGraph, Int_t npoints, const Double_t *x, const Double_t *y, Option_t *chopt);
00046 virtual void PaintGrapHist(TGraph *theGraph, Int_t npoints, const Double_t *x, const Double_t *y, Option_t *chopt);
00047 void PaintGraphAsymmErrors(TGraph *theGraph, Option_t *option);
00048 void PaintGraphBentErrors(TGraph *theGraph, Option_t *option);
00049 void PaintGraphErrors(TGraph *theGraph, Option_t *option);
00050 void PaintGraphPolar(TGraph *theGraph, Option_t *option);
00051 void PaintGraphQQ(TGraph *theGraph, Option_t *option);
00052 void PaintGraphSimple(TGraph *theGraph, Option_t *option);
00053 void PaintPolyLineHatches(TGraph *theGraph, Int_t n, const Double_t *x, const Double_t *y);
00054 void PaintStats(TGraph *theGraph, TF1 *fit);
00055 void Smooth(TGraph *theGraph, Int_t npoints, Double_t *x, Double_t *y, Int_t drawtype);
00056
00057 ClassDef(TGraphPainter,0)
00058 };
00059
00060 #endif