TTF


class description - source file - inheritance tree

class TTF

    private:
static Short_t CharToUnicode(UInt_t code) static void LayoutGlyphs() static void PrepareString(const char* string) static void SetRotationMatrix(Float_t angle) public:
TTF(const TTF&) TTF() virtual ~TTF() static TClass* Class() static void Cleanup() static Int_t GetAscent() static const FT_BBox& GetBox() const static TTGlyph* GetGlyphs() static Bool_t GetHinting() static Bool_t GetKerning() static Int_t GetNumGlyphs() static FT_Matrix* GetRotMatrix() static Bool_t GetSmoothing() static void GetTextExtent(UInt_t& w, UInt_t& h, char* text) static Int_t GetWidth() static void Init() virtual TClass* IsA() const static Bool_t IsInitialized() static void SetHinting(Bool_t state) static void SetKerning(Bool_t state) static void SetSmoothing(Bool_t state) static Int_t SetTextFont(const char* fontname) static void SetTextFont(Font_t fontnumber) static void SetTextSize(Float_t textsize) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) static void Version(Int_t& major, Int_t& minor, Int_t& patch)

Data Members

    private:
static Int_t fgAscent string ascent, used to compute Y alignment static FT_BBox fgCBox string control box static void* fgCharMap[32] font character map static Int_t fgCurFontIdx current font index static Int_t fgFontCount number of fonts loaded static char* fgFontName[32] font name static void* fgFace[32] font face static TTGlyph fgGlyphs[1024] glyphs static Bool_t fgHinting use hinting (true by default) static Bool_t fgInit true if the Init has been called static Bool_t fgKerning use kerning (true by default) static void* fgLibrary FreeType font library static Int_t fgNumGlyphs number of glyphs in the string static FT_Matrix* fgRotMatrix rotation matrix static Bool_t fgSmoothing use anti-aliasing (true when >8 planes, false otherwise) static Int_t fgTBlankW trailing blanks width static Int_t fgWidth string width, used to compute X alignment public:
static const enum TTF:: kTTMaxFonts static const enum TTF:: kMaxGlyphs

Class Description



Last update: Fri May 14 13:32:44 2004


ROOT page - Class index - 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.