95 fPointsize (f.fPointsize),
98 fUnderline (f.fUnderline),
99 fOverstrike(f.fOverstrike) { }
118 struct LayoutChunk_t;
147 void ToPostscript(
TString *dst)
const;
179 :
TNamed(name,
""),
TRefCnt(), fFontStruct(0), fFontH(0), fFM(),
180 fFA(), fNamedHash(0), fTabWidth(0), fUnderlinePos(0), fUnderlineHeight(0), fBarHeight(0)
183 for (
Int_t i=0; i<256; i++) {
192 LayoutChunk_t *NewChunk(
TGTextLayout *layout,
int *maxPtr,
193 const char *start,
int numChars,
194 int curX,
int newX,
int y)
const;
205 Int_t TextWidth(
const char *
string,
Int_t numChars = -1)
const;
206 Int_t XTextWidth(
const char *
string,
Int_t numChars = -1)
const;
214 Int_t MeasureChars(
const char *source,
Int_t numChars,
Int_t maxLength,
228 struct FontStateMap_t;
229 struct XLFDAttributes_t;
243 const char *GetUid(
const char *
string);
244 Bool_t ParseXLFD(
const char *
string, XLFDAttributes_t *xa);
246 int FindStateNum(
const FontStateMap_t *map,
const char *strKey);
247 const char *FindStateString(
const FontStateMap_t *map,
int numKey);
248 Bool_t FieldSpecified(
const char *field);
261 void FreeFont(
const TGFont *font);
267 void FreeAttributeInfo(
char **info);
268 char **GetFontFamilies();
269 void FreeFontFamilies(
char **
f);
271 const char *NameOfFont(
TGFont *font);
FontAttributes_t & operator=(const FontAttributes_t &f)
Collectable string class.
void operator=(const TGFont &font)
Definitions for TRefCnt, base class for reference counted objects.
friend class TGTextLayout
FontAttributes_t GetFontAttributes() const
THashTable implements a hash table to store TObject's.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
void operator=(const TGTextLayout &tlayout)
void Print(std::ostream &os, const OptionType &opt)
FontStruct_t GetFontStruct() const
Mother of all ROOT objects.
FontAttributes_t(const FontAttributes_t &f)
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a primitive as a C++ statement(s) on output stream "out".
FontH_t GetFontHandle() const