31   virtual void SetString(
const char *s) { *
this = s; }
 
 
Handle_t GContext_t
Graphics context handle.
 
Handle_t Drawable_t
Drawable handle.
 
Handle_t FontStruct_t
Pointer to font structure.
 
int Int_t
Signed integer 4 bytes (int)
 
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int)
 
#define ClassDefOverride(name, id)
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void gc
 
TGHotString is a string with a "hot" character underlined.
 
TGHotString(const char *s)
Create a hot string.
 
Int_t fOff1
variable used during drawing (cache)
 
char fHotChar
hot character
 
void DrawHotChar(Drawable_t id, GContext_t gc, Int_t x, Int_t y)
Draw the underline under the hot character.
 
void DrawWrapped(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, FontStruct_t font) override
Draw a hot string in a column with width w.
 
GContext_t fLastGC
context used during last drawing
 
Int_t fHotPos
position of hot character
 
Int_t fOff2
variable used during drawing (cache)
 
TGString wraps a TString and adds some graphics routines like drawing, size of string on screen depen...
 
virtual void SetString(const char *s)
 
const char * GetString() const
 
virtual Int_t GetLines(FontStruct_t font, UInt_t w)
Get number of lines of width w the string would take using a certain font.
 
virtual void DrawWrapped(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, FontStruct_t font)
Draw a string in a column with width w.
 
const char * Data() const