#include <TGLFontManager.h>
Definition at line 23 of file TGLFontManager.h.
enum TGLFont::EMode |
Definition at line 26 of file TGLFontManager.h.
Definition at line 33 of file TGLFontManager.h.
Definition at line 34 of file TGLFontManager.h.
enum TGLFont::EMode |
Definition at line 26 of file TGLFontManager.h.
Definition at line 33 of file TGLFontManager.h.
Definition at line 34 of file TGLFontManager.h.
TGLFont::TGLFont | ( | ) |
Definition at line 51 of file TGLFontManager.cxx.
TGLFont::TGLFont | ( | Int_t | size, | |
Int_t | font, | |||
EMode | mode, | |||
FTFont * | f = 0 , |
|||
TGLFontManager * | mng = 0 | |||
) |
Definition at line 60 of file TGLFontManager.cxx.
TGLFont::TGLFont | ( | const TGLFont & | o | ) |
Definition at line 69 of file TGLFontManager.cxx.
TGLFont::~TGLFont | ( | ) | [virtual] |
Definition at line 83 of file TGLFontManager.cxx.
References fManager, and TGLFontManager::ReleaseFont().
TGLFont::TGLFont | ( | ) |
TGLFont::TGLFont | ( | Int_t | size, | |
Int_t | font, | |||
EMode | mode, | |||
FTFont * | f = 0 , |
|||
TGLFontManager * | mng = 0 | |||
) |
TGLFont::TGLFont | ( | const TGLFont & | o | ) |
virtual TGLFont::~TGLFont | ( | ) | [virtual] |
void TGLFont::CopyAttributes | ( | const TGLFont & | o | ) |
Definition at line 91 of file TGLFontManager.cxx.
References fFile, fMode, fSize, fTrashCount, o, SetDepth(), SetFont(), and SetManager().
Int_t TGLFont::GetSize | ( | ) | const [inline] |
Definition at line 58 of file TGLFontManager.h.
References fSize.
Referenced by TGLAxisPainter::SetLabelFont(), and TGLAxisPainter::SetTitleFont().
Int_t TGLFont::GetFile | ( | ) | const [inline] |
EMode TGLFont::GetMode | ( | ) | const [inline] |
Definition at line 60 of file TGLFontManager.h.
References fMode.
Referenced by TEveTextGL::DirectDraw().
Int_t TGLFont::GetTrashCount | ( | ) | const [inline] |
void TGLFont::SetTrashCount | ( | Int_t | c | ) | const [inline] |
Int_t TGLFont::IncTrashCount | ( | ) | const [inline] |
void TGLFont::SetFont | ( | FTFont * | f | ) | [inline] |
const FTFont* TGLFont::GetFont | ( | ) | const [inline] |
void TGLFont::SetManager | ( | TGLFontManager * | mng | ) | [inline] |
Definition at line 68 of file TGLFontManager.h.
References fManager.
Referenced by CopyAttributes().
const TGLFontManager* TGLFont::GetManager | ( | ) | const [inline] |
Float_t TGLFont::GetDepth | ( | ) | const [inline] |
void TGLFont::SetDepth | ( | Float_t | d | ) | [inline] |
Definition at line 72 of file TGLFontManager.h.
References fDepth.
Referenced by CopyAttributes(), and TEveTextGL::DirectDraw().
Float_t TGLFont::GetAscent | ( | ) | const |
Float_t TGLFont::GetDescent | ( | ) | const |
Definition at line 118 of file TGLFontManager.cxx.
References FTFont::Descender(), and fFont.
Referenced by TGLAnnotation::Render().
Float_t TGLFont::GetLineHeight | ( | ) | const |
Definition at line 126 of file TGLFontManager.cxx.
References fFont, and FTFont::LineHeight().
Referenced by TGLAnnotation::Render().
void TGLFont::BBox | ( | const char * | txt, | |
Float_t & | llx, | |||
Float_t & | lly, | |||
Float_t & | llz, | |||
Float_t & | urx, | |||
Float_t & | ury, | |||
Float_t & | urz | |||
) | const |
Definition at line 149 of file TGLFontManager.cxx.
References fFont.
Referenced by TEveTextGL::DirectDraw(), MeasureBaseLineParams(), Render(), TGLOverlayButton::Render(), TGLAnnotation::Render(), TGLCameraOverlay::RenderBar(), TEveCaloLegoOverlay::RenderHeader(), and TEveCaloLegoOverlay::RenderLogaritmicScales().
void TGLFont::Render | ( | const char * | txt, | |
Double_t | x, | |||
Double_t | y, | |||
Double_t | angle, | |||
Double_t | mgn | |||
) | const |
Definition at line 160 of file TGLFontManager.cxx.
References align(), BBox(), fFont, glPopMatrix(), glPushMatrix(), glRotated(), glTranslated(), and gVirtualX.
Referenced by TEveTextGL::DirectDraw(), TGLPadPainter::DrawText(), Render(), TGLOverlayButton::Render(), TGLAnnotation::Render(), TGLCameraOverlay::RenderBar(), TEveCaloLegoOverlay::RenderHeader(), TEveCaloLegoOverlay::RenderLogaritmicScales(), TGLCameraOverlay::RenderPlaneIntersect(), and TGLAxisPainter::RnrText().
void TGLFont::Render | ( | const TString & | txt | ) | const |
Definition at line 231 of file TGLFontManager.cxx.
References fDepth, fFont, fMode, fSize, glPopMatrix(), glPushMatrix(), glScalef(), glTranslatef(), kExtrude, and Render().
void TGLFont::Render | ( | const TString & | txt, | |
Float_t | x, | |||
Float_t | y, | |||
Float_t | z, | |||
ETextAlignH_e | alignH, | |||
ETextAlignV_e | alignV | |||
) | const |
Definition at line 253 of file TGLFontManager.cxx.
References BBox(), fMode, glBitmap(), glPopMatrix(), glPushMatrix(), glRasterPos2i(), glTranslatef(), kBitmap, kBottom, kCenterH, kCenterV, kPixmap, kRight, and Render().
Definition at line 305 of file TGLFontManager.cxx.
References fMode, GL_ALPHA_TEST, GL_COLOR_BUFFER_BIT, GL_CULL_FACE, GL_CURRENT_BIT, GL_ENABLE_BIT, GL_GEQUAL, GL_LIGHTING, GL_LIGHTING_BIT, GL_NORMALIZE, GL_ONE_MINUS_SRC_ALPHA, GL_POLYGON_BIT, GL_SRC_ALPHA, GL_TEXTURE_2D, glAlphaFunc(), glBlendFunc(), glDisable(), glEnable(), glPushAttrib(), kBitmap, kExtrude, kOutline, kPixmap, kPolygon, kTexture, and Warning().
Referenced by TEveTextGL::DirectDraw(), TGLPadPainter::DrawText(), TGLOverlayButton::Render(), TGLAnnotation::Render(), TEveCaloLegoOverlay::RenderHeader(), TEveCaloLegoOverlay::RenderLogaritmicScales(), TGLAxisPainter::RnrLabels(), and TGLAxisPainter::RnrTitle().
void TGLFont::PostRender | ( | ) | const [virtual] |
Definition at line 346 of file TGLFontManager.cxx.
References glPopAttrib().
Referenced by TEveTextGL::DirectDraw(), TGLPadPainter::DrawText(), TGLOverlayButton::Render(), TGLAnnotation::Render(), TEveCaloLegoOverlay::RenderHeader(), TEveCaloLegoOverlay::RenderLogaritmicScales(), TGLAxisPainter::RnrLabels(), and TGLAxisPainter::RnrTitle().
TGLFont::ClassDef | ( | TGLFont | , | |
0 | ||||
) |
void TGLFont::CopyAttributes | ( | const TGLFont & | o | ) |
Int_t TGLFont::GetSize | ( | ) | const [inline] |
Int_t TGLFont::GetFile | ( | ) | const [inline] |
EMode TGLFont::GetMode | ( | ) | const [inline] |
Int_t TGLFont::GetTrashCount | ( | ) | const [inline] |
void TGLFont::SetTrashCount | ( | Int_t | c | ) | const [inline] |
Int_t TGLFont::IncTrashCount | ( | ) | const [inline] |
void TGLFont::SetFont | ( | FTFont * | f | ) | [inline] |
const FTFont* TGLFont::GetFont | ( | ) | const [inline] |
void TGLFont::SetManager | ( | TGLFontManager * | mng | ) | [inline] |
const TGLFontManager* TGLFont::GetManager | ( | ) | const [inline] |
Float_t TGLFont::GetDepth | ( | ) | const [inline] |
void TGLFont::SetDepth | ( | Float_t | d | ) | [inline] |
Float_t TGLFont::GetAscent | ( | ) | const |
Float_t TGLFont::GetDescent | ( | ) | const |
Float_t TGLFont::GetLineHeight | ( | ) | const |
void TGLFont::MeasureBaseLineParams | ( | Float_t & | ascent, | |
Float_t & | descent, | |||
Float_t & | line_height, | |||
const char * | txt = "Xj" | |||
) | const |
void TGLFont::BBox | ( | const char * | txt, | |
Float_t & | llx, | |||
Float_t & | lly, | |||
Float_t & | llz, | |||
Float_t & | urx, | |||
Float_t & | ury, | |||
Float_t & | urz | |||
) | const |
void TGLFont::Render | ( | const char * | txt, | |
Double_t | x, | |||
Double_t | y, | |||
Double_t | angle, | |||
Double_t | mgn | |||
) | const |
void TGLFont::Render | ( | const TString & | txt | ) | const |
void TGLFont::Render | ( | const TString & | txt, | |
Float_t | x, | |||
Float_t | y, | |||
Float_t | z, | |||
ETextAlignH_e | alignH, | |||
ETextAlignV_e | alignV | |||
) | const |
virtual void TGLFont::PreRender | ( | Bool_t | autoLight = kTRUE , |
|
Bool_t | lightOn = kFALSE | |||
) | const [virtual] |
virtual void TGLFont::PostRender | ( | ) | const [virtual] |
TGLFont::ClassDef | ( | TGLFont | , | |
0 | ||||
) |
FTFont* TGLFont::fFont [private] |
Definition at line 39 of file TGLFontManager.h.
Referenced by BBox(), GetAscent(), GetDescent(), GetFont(), GetLineHeight(), MeasureBaseLineParams(), Render(), SetFont(), and TGLFont().
TGLFontManager* TGLFont::fManager [private] |
Definition at line 40 of file TGLFontManager.h.
Referenced by GetManager(), SetManager(), and ~TGLFont().
Float_t TGLFont::fDepth [private] |
Int_t TGLFont::fSize [protected] |
Definition at line 45 of file TGLFontManager.h.
Referenced by CopyAttributes(), GetSize(), operator<(), Render(), and TGLFont().
Int_t TGLFont::fFile [protected] |
Definition at line 46 of file TGLFontManager.h.
Referenced by CopyAttributes(), GetFile(), operator<(), and TGLFont().
EMode TGLFont::fMode [protected] |
Definition at line 47 of file TGLFontManager.h.
Referenced by CopyAttributes(), GetMode(), operator<(), PreRender(), Render(), and TGLFont().
Int_t TGLFont::fTrashCount [mutable, protected] |
Definition at line 49 of file TGLFontManager.h.
Referenced by CopyAttributes(), GetTrashCount(), IncTrashCount(), SetTrashCount(), and TGLFont().
FTFont* TGLFont::fFont [private] |
Definition at line 39 of file TGLFontManager.h.
TGLFontManager* TGLFont::fManager [private] |
Definition at line 40 of file TGLFontManager.h.