37   typedef signed long FT_Pos;
 
#define ClassDef(name, id)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t SetTextSize
 
Option_t Option_t fontnumber
 
Option_t Option_t SetTextFont
 
Option_t Option_t textsize
 
Option_t Option_t TPoint TPoint angle
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char fontname
 
Option_t Option_t TPoint TPoint const char text
 
This class is the basic interface to the Win32 graphics system.
 
Interface to low level X11 (Xlib).
 
TTF helper class containing glyphs description.
 
FT_Vector fPos
position of glyph origin
 
FT_Glyph fImage
glyph image
 
UInt_t fIndex
glyph index in face
 
Interface to the freetype 2 library.
 
static void SetKerning(Bool_t state)
Set kerning flag.
 
static Bool_t fgHinting
use hinting (true by default)
 
static Bool_t IsInitialized()
 
static void GetTextAdvance(UInt_t &a, char *text)
Get advance (a) when text is horizontal.
 
static void PrepareString(const char *string)
Put the characters in "string" in the "glyphs" array.
 
static TTF::TTGlyph fgGlyphs[kMaxGlyphs]
glyphs
 
static Bool_t GetKerning()
 
static Bool_t fgSmoothing
use anti-aliasing (true when >8 planes, false otherwise)
 
static void Version(Int_t &major, Int_t &minor, Int_t &patch)
 
static void SetHinting(Bool_t state)
Set hinting flag.
 
static void Init()
Initialise the TrueType fonts interface.
 
static FT_Face fgFace[kTTMaxFonts]
font face
 
static FT_CharMap fgCharMap[kTTMaxFonts]
font character map
 
static void LayoutGlyphs()
Compute the glyphs positions, fgAscent and fgWidth (needed for alignment).
 
static void SetSmoothing(Bool_t state)
Set smoothing (anti-aliasing) flag.
 
static void SetRotationMatrix(Float_t angle)
Set the rotation matrix used to rotate the font outlines.
 
static Short_t CharToUnicode(UInt_t code)
Map char to unicode. Returns 0 in case no mapping exists.
 
static void GetTextExtent(UInt_t &w, UInt_t &h, char *text)
Get width (w) and height (h) when text is horizontal.
 
static TTGlyph * GetGlyphs()
 
static Int_t GetNumGlyphs()
 
static Int_t fgAscent
string ascent, used to compute Y alignment
 
static Int_t fgWidth
string width, used to compute X alignment
 
static Bool_t fgInit
true if the Init has been called
 
static Int_t fgCurFontIdx
current font index
 
static Int_t fgSymbItaFontIdx
Symbol italic font index.
 
static void Cleanup()
Cleanup. Is called by the gCleanupTTF destructor.
 
virtual ~TTF()
Cleanup TTF environment.
 
static const FT_BBox & GetBox()
 
static char * fgFontName[kTTMaxFonts]
font name
 
static FT_Library fgLibrary
FreeType font library.
 
static Int_t fgNumGlyphs
number of glyphs in the string
 
static FT_Matrix * fgRotMatrix
rotation matrix
 
static Bool_t fgKerning
use kerning (true by default)
 
static Int_t fgTBlankW
trailing blanks width
 
static Bool_t GetHinting()
 
static Bool_t GetSmoothing()
 
static Int_t fgFontCount
number of fonts loaded
 
static FT_Matrix * GetRotMatrix()
 
static FT_BBox fgCBox
string control box