12#ifndef ROOT_TPadPainterBase
13#define ROOT_TPadPainterBase
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int).
float Size_t
Attribute size (float).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
short Width_t
Line width (short).
bool Bool_t
Boolean (0=false, 1=true) (bool).
short Font_t
Font number (short).
short Short_t
Signed Short integer 2 bytes (short).
double Double_t
Double 8 bytes.
short Color_t
Color number (short).
short Style_t
Style number (short).
float Float_t
Float 4 bytes (float).
#define ClassDefOverride(name, id)
void Copy(TAttFill &attfill) const
void Copy(TAttLine &attline) const
void Copy(TAttMarker &attmarker) const
void Copy(TAttText &atttext) const
Extends TVirtualPadPainter interface to simplify work with graphical attributes.
void SetMarkerStyle(Style_t mstyle) override
void SetAttFill(const TAttFill &att) override
Set fill attributes.
void SetLineStyle(Style_t lstyle) override
Color_t GetMarkerColor() const override
void GetTextExtent(Font_t font, Double_t size, UInt_t &w, UInt_t &h, const char *mess) override
Returns text extend.
void SetFillColor(Color_t fcolor) override
const TAttText & GetAttText() const override
Get text attributes.
void SetAttText(const TAttText &att) override
Set text attributes.
void SetTextSize(Float_t tsize) override
Bool_t IsTransparent() const override
UInt_t GetTextAdvance(Font_t font, Double_t size, const char *text, Bool_t kern) override
Returns text advance.
Short_t GetTextAlign() const override
void SetTextAngle(Float_t tangle) override
void SetTextSizePixels(Int_t npixels) override
const TAttMarker & GetAttMarker() const override
Get marker attributes.
Size_t GetMarkerSize() const override
const TAttFill & GetAttFill() const override
TAttLine fAttLine
current line attributes
TAttText fAttText
current text attributes
Style_t GetMarkerStyle() const override
void SetTextFont(Font_t tfont) override
void SetMarkerColor(Color_t mcolor) override
void SetLineColor(Color_t lcolor) override
Font_t GetTextFont() const override
void SetTextAlign(Short_t align) override
void SetFillStyle(Style_t fstyle) override
Color_t GetLineColor() const override
Width_t GetLineWidth() const override
Bool_t fFullyTransparent
if transformed fill attributes fully transparent
Float_t GetTextMagnitude() const override
void SetAttMarker(const TAttMarker &att) override
Set marker attributes.
void SetAttLine(const TAttLine &att) override
Set line attributes.
Color_t GetFillColor() const override
Float_t GetTextAngle() const override
void SetLineWidth(Width_t lwidth) override
TAttMarker fAttMarker
current marker attributes
TAttFill fAttFill
current fill attributes
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.
void SetMarkerSize(Size_t msize) override
Color_t GetTextColor() const override
void SetTextColor(Color_t tcolor) override
Style_t GetLineStyle() const override
const TAttLine & GetAttLine() const override
Get line attributes.
Style_t GetFillStyle() const override
Float_t GetTextSize() const override
To make it possible to use GL for 2D graphic in a TPad/TCanvas.