#include <TQtPadFont.h>
Inheritance diagram for TQtPadFont:
Public Member Functions | |
TQtPadFont () | |
TQtPadFont (const TQtPadFont &src) | |
virtual | ~TQtPadFont () |
void | SetTextFont (const char *fontname, int italic, int bold) |
void | SetTextFont (Font_t fontnumber=62) |
void | SetTextSize (Float_t textsize=1) |
void | SetTextSizePixels (Int_t npixels) |
void | SetTextMagnify (Float_t mgn) |
Static Public Member Functions | |
static const char * | RomanFontName () |
static const char * | ArialFontName () |
static const char * | CourierFontName () |
static const char * | SymbolFontFamily () |
static void | SetSymbolFontFamily (const char *symbolFnName="Symbol") |
Static Private Attributes | |
static TString | fgRomanFontName |
static TString | fgArialFontName |
static TString | fgCourierFontName |
static TString | fgSymbolFontFamily |
Definition at line 26 of file TQtPadFont.h.
TQtPadFont::TQtPadFont | ( | ) |
Definition at line 92 of file TQtPadFont.cxx.
References TAttText::fTextFont, and TAttText::fTextSize.
TQtPadFont::TQtPadFont | ( | const TQtPadFont & | src | ) | [inline] |
Definition at line 36 of file TQtPadFont.h.
virtual TQtPadFont::~TQtPadFont | ( | ) | [inline, virtual] |
Definition at line 37 of file TQtPadFont.h.
void TQtPadFont::SetTextFont | ( | const char * | fontname, | |
int | italic, | |||
int | bold | |||
) |
Definition at line 96 of file TQtPadFont.cxx.
References ArialFontName(), CourierFontName(), TAttText::fTextFont, and RomanFontName().
Referenced by CalibrateFont(), TGQt::SetTextFont(), and SetTextFont().
void TQtPadFont::SetTextFont | ( | Font_t | fontnumber = 62 |
) | [virtual] |
Reimplemented from TAttText.
Definition at line 135 of file TQtPadFont.cxx.
References ArialFontName(), CourierFontName(), TAttText::fTextFont, RomanFontName(), SetTextFont(), TAttText::SetTextFont(), and SymbolFontFamily().
void TQtPadFont::SetTextSize | ( | Float_t | textsize = 1 |
) | [virtual] |
Reimplemented from TAttText.
Definition at line 246 of file TQtPadFont.cxx.
References FontMagicFactor(), TAttText::fTextSize, and TAttText::SetTextSize().
Referenced by TGQt::SetTextSize(), and SetTextSizePixels().
void TQtPadFont::SetTextSizePixels | ( | Int_t | npixels | ) | [virtual] |
Reimplemented from TAttText.
Definition at line 259 of file TQtPadFont.cxx.
References SetTextSize().
void TQtPadFont::SetTextMagnify | ( | Float_t | mgn | ) |
Definition at line 298 of file TQtPadFont.cxx.
References TMath::Abs(), FontMagicFactor(), TAttText::fTextSize, and int.
Referenced by TGQt::DrawText().
const char * TQtPadFont::RomanFontName | ( | ) | [static] |
Definition at line 265 of file TQtPadFont.cxx.
References fgRomanFontName.
Referenced by SetTextFont().
const char * TQtPadFont::ArialFontName | ( | ) | [static] |
Definition at line 272 of file TQtPadFont.cxx.
References fgArialFontName.
Referenced by SetTextFont().
const char * TQtPadFont::CourierFontName | ( | ) | [static] |
Definition at line 279 of file TQtPadFont.cxx.
References fgCourierFontName.
Referenced by SetTextFont().
const char * TQtPadFont::SymbolFontFamily | ( | ) | [static] |
Definition at line 285 of file TQtPadFont.cxx.
References fgSymbolFontFamily.
Referenced by SetTextFont().
void TQtPadFont::SetSymbolFontFamily | ( | const char * | symbolFnName = "Symbol" |
) | [static] |
Definition at line 291 of file TQtPadFont.cxx.
References fgSymbolFontFamily.
Referenced by TGQt::Init().
TString TQtPadFont::fgRomanFontName [static, private] |
TString TQtPadFont::fgArialFontName [static, private] |
TString TQtPadFont::fgCourierFontName [static, private] |
TString TQtPadFont::fgSymbolFontFamily [static, private] |
Definition at line 32 of file TQtPadFont.h.
Referenced by SetSymbolFontFamily(), and SymbolFontFamily().