library: libGui #include "TGFont.h" | 
TGFontPool
class description - source file - inheritance tree (.pdf)
    public:
                      TGFontPool(TGClient* client)
                      TGFontPool(const TGFontPool&)
              virtual ~TGFontPool()
       static TClass* Class()
              TGFont* FindFont(FontStruct_t font) const
              TGFont* FindFontByHandle(FontH_t font) const
                 void FreeFont(const TGFont* font)
              TGFont* GetFont(const char* font, Bool_t fixedDefault = kTRUE)
              TGFont* GetFont(const TGFont* font)
              TGFont* GetFont(FontStruct_t font)
      virtual TClass* IsA() const
          TGFontPool& operator=(const TGFontPool&)
         virtual void Print(Option_t* option = "") const
         virtual void ShowMembers(TMemberInspector& insp, char* parent)
         virtual void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
    private:
      THashTable* fList  
                                                                      
 TGFont and TGFontPool                                                
                                                                      
 Encapsulate fonts used in the GUI system.                            
 TGFontPool provides a pool of fonts.                                 
                                                                      
 TGFontPool(TGClient *client)
 Create a font pool.
 ~TGFontPool()
 Cleanup font pool.
TGFont* GetFont(const char *font, Bool_t fixedDefault)
 Get the specified font. Returns 0 if error or no font can be found.
 If fixedDefault is false the "fixed" font will not be substituted
 as fallback when the asked for font does not exist.
TGFont* GetFont(const TGFont *font)
 Use font, i.e. increases ref count of specified font. Returns 0
 if font is not found.
TGFont* GetFont(FontStruct_t fs)
 Use font, i.e. increases ref count of specified font.
void FreeFont(const TGFont *font)
 Free font. If ref count is 0 delete font.
TGFont* FindFont(FontStruct_t font) const
 Find font based on its font struct. Returns 0 if font is not found.
TGFont* FindFontByHandle(FontH_t font) const
 Find font based on its font handle. Returns 0 if font is not found.
void Print(Option_t *) const
 List all fonts in the pool.
Inline Functions
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
         TGFontPool TGFontPool(const TGFontPool&)
        TGFontPool& operator=(const TGFontPool&)
Author: Fons Rademakers 20/5/2003
Last update: root/gui:$Name:  $:$Id: TGFont.cxx,v 1.4 2004/09/07 08:13:56 brun Exp $
Copyright  (C) 1995-2003, Rene Brun and Fons Rademakers.               *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.