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