/usr/include/root/TGLText.h is in libroot-graf3d-gl-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | // @(#)root/gl:$Id$
// Author: Olivier Couet 12/04/2007
/*************************************************************************
* Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TGLText
#define ROOT_TGLText
#ifndef ROOT_TAttText
#include "TAttText.h"
#endif
class FTFont;
class TGLText : public TAttText {
private:
TGLText(const TGLText&); // Not implemented
TGLText& operator=(const TGLText&); // Not implemented
Double_t fX; // X position
Double_t fY; // Y position
Double_t fZ; // Z position
Double_t fAngle1; // 1st angle.
Double_t fAngle2; // 2nd angle.
Double_t fAngle3; // 3rd angle.
FTFont* fGLTextFont;
public:
TGLText();
TGLText(Double_t x, Double_t y, Double_t z, const char *text);
virtual ~TGLText();
FTFont* GetFont() { return fGLTextFont; }
void SetGLTextAngles(Double_t a1, Double_t a2, Double_t a3);
void SetGLTextFont(Font_t fontnumber);
void PaintGLText(Double_t x, Double_t y, Double_t z, const char *text);
void PaintBBox(const char *text);
void BBox(const char* string, float& llx, float& lly, float& llz,
float& urx, float& ury, float& urz);
ClassDef(TGLText,0) // a GL text
};
#endif
|