#ifndef ROOT_TPadPainter
#define ROOT_TPadPainter
#ifndef ROOT_TVirtualPadPainter
#include "TVirtualPadPainter.h"
#endif
class TVirtualPad;
class TPadPainter : public TVirtualPadPainter {
public:
TPadPainter();
Color_t GetLineColor() const;
Style_t GetLineStyle() const;
Width_t GetLineWidth() const;
void SetLineColor(Color_t lcolor);
void SetLineStyle(Style_t lstyle);
void SetLineWidth(Width_t lwidth);
Color_t GetFillColor() const;
Style_t GetFillStyle() const;
Bool_t IsTransparent() const;
void SetFillColor(Color_t fcolor);
void SetFillStyle(Style_t fstyle);
void SetOpacity(Int_t percent);
Short_t GetTextAlign() const;
Float_t GetTextAngle() const;
Color_t GetTextColor() const;
Font_t GetTextFont() const;
Float_t GetTextSize() const;
Float_t GetTextMagnitude() const;
void SetTextAlign(Short_t align);
void SetTextAngle(Float_t tangle);
void SetTextColor(Color_t tcolor);
void SetTextFont(Font_t tfont);
void SetTextSize(Float_t tsize);
void SetTextSizePixels(Int_t npixels);
Int_t CreateDrawable(UInt_t w, UInt_t h);
void ClearDrawable();
void CopyDrawable(Int_t id, Int_t px, Int_t py);
void DestroyDrawable();
void SelectDrawable(Int_t device);
void DrawPixels(const unsigned char *pixelData, UInt_t width, UInt_t height,
Int_t dstX, Int_t dstY, Bool_t enableAlphaBlending);
void DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2);
void DrawLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2);
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, EBoxMode mode);
void DrawFillArea(Int_t n, const Double_t *x, const Double_t *y);
void DrawFillArea(Int_t n, const Float_t *x, const Float_t *y);
void DrawPolyLine(Int_t n, const Double_t *x, const Double_t *y);
void DrawPolyLine(Int_t n, const Float_t *x, const Float_t *y);
void DrawPolyLineNDC(Int_t n, const Double_t *u, const Double_t *v);
void DrawPolyMarker(Int_t n, const Double_t *x, const Double_t *y);
void DrawPolyMarker(Int_t n, const Float_t *x, const Float_t *y);
void DrawText(Double_t x, Double_t y, const char *text, ETextMode mode);
void DrawText(Double_t x, Double_t y, const wchar_t *text, ETextMode mode);
void DrawTextNDC(Double_t u, Double_t v, const char *text, ETextMode mode);
void DrawTextNDC(Double_t u, Double_t v, const wchar_t *text, ETextMode mode);
void SaveImage(TVirtualPad *pad, const char *fileName, Int_t type) const;
private:
TPadPainter(const TPadPainter &rhs) = delete;
TPadPainter(TPadPainter && rhs) = delete;
TPadPainter & operator = (const TPadPainter &rhs) = delete;
TPadPainter & operator = (TPadPainter && rhs) = delete;
ClassDef(TPadPainter, 0)
};
#endif