TQtPadFont Class Reference

#include <TQtPadFont.h>

Inheritance diagram for TQtPadFont:

TAttText List of all members.

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

Detailed Description

Definition at line 26 of file TQtPadFont.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().


Member Data Documentation

TString TQtPadFont::fgRomanFontName [static, private]

Definition at line 29 of file TQtPadFont.h.

Referenced by RomanFontName().

TString TQtPadFont::fgArialFontName [static, private]

Definition at line 30 of file TQtPadFont.h.

Referenced by ArialFontName().

TString TQtPadFont::fgCourierFontName [static, private]

Definition at line 31 of file TQtPadFont.h.

Referenced by CourierFontName().

TString TQtPadFont::fgSymbolFontFamily [static, private]

Definition at line 32 of file TQtPadFont.h.

Referenced by SetSymbolFontFamily(), and SymbolFontFamily().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:45:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1