Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TGFont.h File Reference
#include "TNamed.h"
#include "TGObject.h"
#include "TRefCnt.h"

Classes

struct  FontAttributes_t
struct  FontMetrics_t
class  TGFont
 Encapsulate fonts used in the GUI system. More...
class  TGFontPool
 Provides a pool of fonts. More...
class  TGTextLayout
 Is used to keep track of string measurement information when using the text layout facilities. More...

Enumerations

enum  EFontSlant { kFontSlantRoman = 0 , kFontSlantItalic = 1 , kFontSlantOblique = 2 , kFontSlantUnknown = -1 }
enum  EFontWeight {
  kFontWeightNormal = 0 , kFontWeightMedium = 0 , kFontWeightBold = 1 , kFontWeightLight = 2 ,
  kFontWeightDemibold = 3 , kFontWeightBlack = 4 , kFontWeightUnknown = -1
}
enum  ETextLayoutFlags {
  kTextWholeWords = (1ULL << (0)) , kTextAtLeastOne = (1ULL << (1)) , kTextPartialOK = (1ULL << (2)) , kTextIgnoreTabs = (1ULL << (3)) ,
  kTextIgnoreNewlines = (1ULL << (4))
}

Enumeration Type Documentation

◆ EFontSlant

enum EFontSlant
Enumerator
kFontSlantRoman 
kFontSlantItalic 
kFontSlantOblique 
kFontSlantUnknown 

Definition at line 44 of file TGFont.h.

◆ EFontWeight

Enumerator
kFontWeightNormal 
kFontWeightMedium 
kFontWeightBold 
kFontWeightLight 
kFontWeightDemibold 
kFontWeightBlack 
kFontWeightUnknown 

Definition at line 34 of file TGFont.h.

◆ ETextLayoutFlags

Enumerator
kTextWholeWords 
kTextAtLeastOne 
kTextPartialOK 
kTextIgnoreTabs 
kTextIgnoreNewlines 

Definition at line 26 of file TGFont.h.