39 }
else if ((
style > 4000) && (
style <= 4100)) {
40 if ((
style < 4100) && with_transparency)
45 return { color,
style };
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
short Font_t
Font number (short).
double Double_t
Double 8 bytes.
short Color_t
Color number (short).
short Style_t
Style number (short).
virtual Color_t GetFillColor() const
Return the fill area color.
virtual Style_t GetFillStyle() const
Return the fill area style.
static Int_t GetColorTransparent(Int_t color, Float_t a)
void GetTextExtent(Font_t font, Double_t size, UInt_t &w, UInt_t &h, const char *mess) override
Returns text extend.
UInt_t GetTextAdvance(Font_t font, Double_t size, const char *text, Bool_t kern) override
Returns text advance.
const TAttFill & GetAttFill() const override
Bool_t fFullyTransparent
if transformed fill attributes fully transparent
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.
Dynamic handle to work with freetype 2 library.
void GetTextExtent(UInt_t &w, UInt_t &h, const char *text)
Get width (w) and height (h) when text is horizontal.
Bool_t SetTextSize(Float_t textsize)
Set current text size.
const FT_BBox & GetBox() const
void SetTextFont(Font_t fontnumber)
Set specified font.
void SetKerning(Bool_t state)
void GetTextAdvance(UInt_t &a, const char *text)
Get advance (a) when text is horizontal.
virtual Bool_t IsCocoa() const
virtual Bool_t HasTTFonts() const
Return true if TTF font can be used.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.