340 if (!
gPad->IsBatch()) {
385 out<<
" "<<
name<<
"->SetTextColor(ci);" << std::endl;
390 out<<
" "<<
name<<
"->SetTextFont("<<
fTextFont<<
");"<<std::endl;
393 out<<
" "<<
name<<
"->SetTextSize("<<
fTextSize<<
");"<<std::endl;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
Option_t Option_t TPoint TPoint angle
R__EXTERN TStyle * gStyle
virtual Float_t GetTextSize() const
Return the text size.
virtual void Modify()
Change current text attributes if necessary.
virtual Short_t GetTextAlign() const
Return the text alignment.
virtual Font_t GetTextFont() const
Return the text font.
Color_t fTextColor
Text color.
Float_t fTextAngle
Text angle.
TAttText()
AttText default constructor.
virtual void SetTextColorAlpha(Color_t tcolor, Float_t talpha)
Set a transparent marker color.
virtual Color_t GetTextColor() const
Return the text color.
virtual ~TAttText()
AttText destructor.
virtual Float_t GetTextAngle() const
Return the text angle.
virtual void SetTextAttributes()
Invoke the DialogCanvas Text attributes.
virtual void SetTextSizePixels(Int_t npixels)
Set the text size in pixel.
Font_t fTextFont
Text font.
virtual void SaveTextAttributes(std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1)
Save text attributes as C++ statement(s) on output stream out.
virtual Float_t GetTextSizePercent(Float_t size)
Return the text in percent of the pad size.
Short_t fTextAlign
Text alignment.
void Copy(TAttText &atttext) const
Copy this text attributes to a new TAttText.
virtual void ResetAttText(Option_t *toption="")
Reset this text attributes to default values.
Float_t fTextSize
Text size.
static Bool_t SaveColor(std::ostream &out, Int_t ci)
Save a color with index > 228 as a C++ statement(s) on output stream out.
static Int_t GetColorTransparent(Int_t color, Float_t a)
Static function: Returns the transparent color number corresponding to n.
static void UpdateTextAttributes(Int_t align, Float_t angle, Int_t col, Int_t font, Float_t tsize)
Update text attributes via the pad editor.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual TVirtualPad * GetSelectedPad() const =0
virtual Double_t GetY1() const =0
virtual Double_t AbsPixeltoY(Int_t py)=0
virtual Double_t GetY2() const =0
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.