File indexing completed on 2025-01-18 10:11:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TAnnotation
0013 #define ROOT_TAnnotation
0014
0015
0016 #include "TLatex.h"
0017
0018 class TAnnotation : public TLatex {
0019
0020 protected:
0021 double fZ{0};
0022
0023 public:
0024
0025 TAnnotation() {}
0026 TAnnotation(Double_t x, Double_t y, Double_t z, const char *text);
0027 ~TAnnotation() override;
0028 virtual TAnnotation *DrawAnnotation(Double_t x, Double_t y, Double_t z, const char *text);
0029 void ls(Option_t *option="") const override;
0030 void Paint(Option_t *option="") override;
0031 void PaintAnnotation(Double_t x, Double_t y, Double_t z, Double_t angle, Double_t size, const Char_t *text);
0032 void Print(Option_t *option="") const override;
0033
0034 void SetZ(double z) { fZ = z; }
0035 double GetZ() const { return fZ; }
0036
0037 ClassDefOverride(TAnnotation,1)
0038 };
0039
0040 #endif