21 class TEveText :
public TEveElement,
27 TEveText(
const TEveText&);
28 TEveText& operator=(
const TEveText&);
43 Float_t fPolygonOffset[2];
46 TEveText(
const char* txt=
"");
47 virtual ~TEveText() {}
49 Int_t GetFontSize()
const {
return fFontSize; }
50 Int_t GetFontFile()
const {
return fFontFile; }
51 Int_t GetFontMode()
const {
return fFontMode; }
52 void SetFontSize(Int_t size, Bool_t validate = kTRUE);
53 void SetFontFile(Int_t file){ fFontFile = file; }
54 void SetFontFile(
const char* name);
55 void SetFontMode(Int_t mode);
57 const char* GetText()
const {
return fText.Data(); }
58 void SetText(
const char* t) { fText = t; }
60 Bool_t GetLighting()
const {
return fLighting; }
61 void SetLighting(Bool_t isOn) { fLighting = isOn; }
63 Bool_t GetAutoLighting()
const {
return fAutoLighting; }
64 void SetAutoLighting(Bool_t isOn) { fAutoLighting = isOn; }
66 Float_t GetExtrude()
const {
return fExtrude; }
67 void SetExtrude(Float_t x) { fExtrude = x; }
69 Float_t GetPolygonOffset(Int_t i)
const {
return fPolygonOffset[i]; }
70 void SetPolygonOffset(Float_t factor, Float_t units);
72 virtual void Paint(Option_t* option=
"");
73 virtual void ComputeBBox();
75 virtual const TGPicture* GetListTreeIcon(Bool_t open=kFALSE);
77 ClassDef(TEveText, 0);