41 }
else if ((
style > 4000) && (
style <= 4100)) {
47 return { color,
style };
62 ttf.SetTextFont(font);
80 ttf.SetTextFont(font);
103 ttf.SetTextFont(font);
107 a =
ttf.GetBoxYMax();
130 ttf.SetTextFont(font);
134 a =
ttf.GetBoxYMax();
151 ttf.SetTextFont(font);
180 ttf.SetTextFont(
att.GetTextFont());
181 ttf.SetTextSize(
att.GetTextSizePixels(*
fPad));
182 ttf.SetRotationMatrix(
att.GetTextAngle());
204 ttf.SetTextFont(
att.GetTextFont());
205 ttf.SetTextSize(
att.GetTextSizePixels(*
fPad));
206 ttf.SetRotationMatrix(
att.GetTextAngle());
228 ttf.SetTextFont(
att.GetTextFont());
229 ttf.SetTextSize(
att.GetTextSizePixels(*
fPad));
230 ttf.SetRotationMatrix(
att.GetTextAngle());
252 ttf.SetTextFont(
att.GetTextFont());
253 ttf.SetTextSize(
att.GetTextSizePixels(*
fPad));
254 ttf.SetRotationMatrix(
att.GetTextAngle());
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
short Style_t
Style number (short)
short Color_t
Color number (short)
short Font_t
Font number (short)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char text
Fill Area Attributes class.
static Int_t GetColorTransparent(Int_t color, Float_t a)
Static function: Returns the transparent color number corresponding to n.
void DrawTextNDC(Double_t u, Double_t v, const char *text, ETextMode mode) override
Paint text at NDC coordinates.
void GetTextExtent(Font_t font, Double_t size, UInt_t &w, UInt_t &h, const char *mess) override
Returns text extend.
const TAttText & GetAttText() const override
Get text attributes.
UInt_t GetTextAdvance(Font_t font, Double_t size, const char *text, Bool_t kern) override
Returns text advance.
const TAttFill & GetAttFill() const override
Get fill attributes.
Bool_t fFullyTransparent
if transformed fill attributes fully transparent
Float_t GetTextMagnitude() const override
void DrawText(Double_t x, Double_t y, const char *text, ETextMode mode) override
Paint text.
virtual Double_t GetTTFScale() const
TAttFill GetAttFillInternal(Bool_t with_transparency)
Returns fill attributes after modification Checks for special fill styles 4000 .
void GetTextAscentDescent(Font_t font, Double_t size, UInt_t &a, UInt_t &d, const char *mess) override
Returns text accent / descent.
virtual void DrawTTFglyphs(Int_t x, Int_t y, TTFhandle &ttf, ETextMode mode)
Performs rendering of TTF glyphs on output device Can be implemented in derived classes instead of im...
Dynamic handle to work with freetype 2 library.
virtual Bool_t HasTTFonts() const
virtual Bool_t IsCocoa() const
virtual Int_t YtoPixel(Double_t y) const =0
virtual UInt_t GetPadWidth() const =0
virtual Int_t VtoPixel(Double_t v) const =0
virtual UInt_t GetPadHeight() const =0
virtual Int_t XtoPixel(Double_t x) const =0
virtual Int_t UtoPixel(Double_t u) const =0
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.