ROOT » GUI » GUI » FontMetrics_t

class FontMetrics_t


TGFont and TGFontPool

Encapsulate fonts used in the GUI system.
TGFontPool provides a pool of fonts.
TGTextLayout is used to keep track of string  measurement
information when  using the text layout facilities.
It can be displayed with respect to any origin.


Function Members (Methods)

Data Members

public:
Int_tfAscentfrom baseline to top of font
Int_tfDescentfrom baseline to bottom of font
Bool_tfFixedtrue if monospace, false otherwise
Int_tfLinespacethe sum of the ascent and descent
Int_tfMaxWidthwidth of widest character in font

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

FontAttributes_t& operator=(const FontAttributes_t& f)
void operator=(const TGTextLayout &tlayout)