ROOT logo
#ifndef THPRLATEX
#define THPRLATEX
#include "HprElement.h"
#include "TLatex.h"

class THprLatex : public TLatex, public HprElement
{
public:
      // TLatex status bits
    enum { kValignNoShift = BIT(16) };
   THprLatex(){ SetDaughter(this);};
   THprLatex(Double_t x, Double_t y, const Char_t * text);
   ~THprLatex(){};
//   THprLatex       *DrawLatex(Double_t x, Double_t y, const char *text);
//   virtual void    PaintLatex(Double_t x, Double_t y, Double_t angle, Double_t size, const char *text);
   void Paint(const Option_t *opt);
   Bool_t IsSortable() const {return kTRUE;}
   Int_t Compare( const TObject *obj) const
   {
      const HprElement* hpre = dynamic_cast<const HprElement*>(obj);
      if (GetPlane()== hpre->GetPlane())
         return 0;
      if (GetPlane() > hpre->GetPlane())
         return 1;
      else
         return -1;
   }
// #if ROOT_VERSION_CODE >= ROOT_VERSION(5,12,0)
//   void SavePrimitive(ostream &, Option_t *);
// #else
//   void SavePrimitive(ofstream &, Option_t *);
// #endif
ClassDef(THprLatex,1)
};
#endif
 THprLatex.h:1
 THprLatex.h:2
 THprLatex.h:3
 THprLatex.h:4
 THprLatex.h:5
 THprLatex.h:6
 THprLatex.h:7
 THprLatex.h:8
 THprLatex.h:9
 THprLatex.h:10
 THprLatex.h:11
 THprLatex.h:12
 THprLatex.h:13
 THprLatex.h:14
 THprLatex.h:15
 THprLatex.h:16
 THprLatex.h:17
 THprLatex.h:18
 THprLatex.h:19
 THprLatex.h:20
 THprLatex.h:21
 THprLatex.h:22
 THprLatex.h:23
 THprLatex.h:24
 THprLatex.h:25
 THprLatex.h:26
 THprLatex.h:27
 THprLatex.h:28
 THprLatex.h:29
 THprLatex.h:30
 THprLatex.h:31
 THprLatex.h:32
 THprLatex.h:33
 THprLatex.h:34
 THprLatex.h:35