72   virtual void     SetMbTitle(
const wchar_t *title=L
"");
 
#define ClassDef(name, id)
 
Abstract base class for elements drawn in the editor.
 
The TNamed class is the base class for all named ROOT classes.
 
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
 
Mother of all ROOT objects.
 
Base class for several text objects.
 
@ kTextNDC
The text position is in the NDC space.
 
virtual void ls(Option_t *option="") const
List this text with its attributes.
 
virtual void SetText(Double_t x, Double_t y, const char *text)
 
virtual TPoint GetBBoxCenter()
Return the point given by Alignment as 'center'.
 
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a string.
 
Double_t fY
Y position of text (left,center,etc..)
 
const void * GetWcsTitle(void) const
Returns the text as UNICODE.
 
TText & operator=(const TText &src)
Assignment operator.
 
virtual void SetText(Double_t x, Double_t y, const wchar_t *text)
 
virtual void SetBBoxX2(const Int_t x)
Set right hand side of BoundingBox to a value (resize in x direction on right)
 
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
 
virtual ~TText()
Text default destructor.
 
virtual void GetBoundingBox(UInt_t &w, UInt_t &h, Bool_t angle=kFALSE)
Return text size in pixels.
 
virtual void SetY(Double_t y)
 
virtual void PaintControlBox(Int_t x, Int_t y, Double_t theta)
Paint the text control box.
 
virtual void SetBBoxCenterY(const Int_t y)
Set Y coordinate of the point given by Alignment as 'center'.
 
virtual TText * DrawText(Double_t x, Double_t y, const char *text)
Draw this text with new coordinates.
 
void * fWcsTitle
!Used by TMathText
 
Double_t fX
X position of text (left,center,etc..)
 
virtual void PaintTextNDC(Double_t u, Double_t v, const char *text)
Draw this text with new coordinates in NDC.
 
void Copy(TObject &text) const
Copy this text to text.
 
virtual void SetBBoxY2(const Int_t y)
Set bottom of BoundingBox to a value (resize in y direction on bottom)
 
virtual void PaintText(Double_t x, Double_t y, const char *text)
Draw this text with new coordinates.
 
virtual void GetTextExtent(UInt_t &w, UInt_t &h, const char *text) const
Return text extent for string text.
 
virtual void GetTextAscentDescent(UInt_t &a, UInt_t &d, const char *text) const
Return text ascent and descent for string text.
 
virtual void SetX(Double_t x)
 
virtual void GetTextAdvance(UInt_t &a, const char *text, const Bool_t kern=kTRUE) const
Return text advance for string text if kern is true (default) kerning is taken into account.
 
virtual void SetBBoxY1(const Int_t y)
Set top of BoundingBox to a value (resize in y direction on top)
 
virtual void Print(Option_t *option="") const
Dump this text with its attributes.
 
virtual void SetNDC(Bool_t isNDC=kTRUE)
Set NDC mode on if isNDC = kTRUE, off otherwise.
 
virtual void GetControlBox(Int_t x, Int_t y, Double_t theta, Int_t cBoxX[4], Int_t cBoxY[4])
Return the text control box.
 
virtual void SetBBoxX1(const Int_t x)
Set left hand side of BoundingBox to a value (resize in x direction on left)
 
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
 
virtual void SetBBoxCenterX(const Int_t x)
Set X coordinate of the point given by Alignment as 'center'.
 
virtual TText * DrawTextNDC(Double_t x, Double_t y, const char *text)
Draw this text with new coordinates in NDC.
 
virtual void SetMbTitle(const wchar_t *title=L"")
Change (i.e. set) the title of the TNamed.
 
virtual void SetBBoxCenter(const TPoint &p)
Set the point given by Alignment as 'center'.
 
virtual void Paint(Option_t *option="")
Paint this text with its current attributes.
 
virtual Rectangle_t GetBBox()
Return the "bounding Box" of the Box.
 
Rectangle structure (maps to the X11 XRectangle structure)