size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
Option_t Option_t TPoint TPoint angle
Option_t Option_t TPoint TPoint const char text
An annotation is a TLatex which can be drawn in a 2D or 3D space.
void PaintAnnotation(Double_t x, Double_t y, Double_t z, Double_t angle, Double_t size, const Char_t *text)
Paint this annotation with new coordinates.
TClass * IsA() const override
~TAnnotation() override
annotation default destructor.
double fZ
Z position of text.
void ls(Option_t *option="") const override
List this annotation with its attributes.
void Print(Option_t *option="") const override
Dump this annotation with its attributes.
void Paint(Option_t *option="") override
Paint a TAnnotation.
virtual TAnnotation * DrawAnnotation(Double_t x, Double_t y, Double_t z, const char *text)
Draw this annotation with new coordinates.
virtual Float_t GetTextSize() const
Return the text size.
virtual Short_t GetTextAlign() const
Return the text alignment.
virtual Font_t GetTextFont() const
Return the text font.
virtual Color_t GetTextColor() const
Return the text color.
virtual Float_t GetTextAngle() const
Return the text angle.
void Copy(TAttText &atttext) const
Copy this text attributes to a new TAttText.
@ kTextNDC
The text position is in NDC coordinates.
virtual void PaintLatex(Double_t x, Double_t y, Double_t angle, Double_t size, const char *text)
Main drawing function.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
@ kCanDelete
if object in a list can be deleted
static void IndentLevel()
Functions used by ls() to indent an object hierarchy.
Double_t fY
Y position of text (left,center,etc..)
Double_t fX
X position of text (left,center,etc..)
virtual void SetNDC(Bool_t isNDC=kTRUE)
Set NDC mode on if isNDC = kTRUE, off otherwise.
virtual void WCtoNDC(const Float_t *pw, Float_t *pn)=0