11#ifndef ROOT_TWebPadPainter
12#define ROOT_TWebPadPainter
#define ClassDefOverride(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t DrawFillArea
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint DrawPolyMarker
Option_t Option_t TPoint TPoint const char DrawLine
Option_t Option_t TPoint TPoint percent
Option_t Option_t TPoint TPoint DrawText
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Option_t Option_t TPoint TPoint const char text
Option_t Option_t TPoint TPoint const char y1
Fill Area Attributes class.
virtual Color_t GetFillColor() const
Return the fill area color.
virtual Style_t GetFillStyle() const
Return the fill area style.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual Bool_t IsTransparent() const
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
virtual Color_t GetLineColor() const
Return the line color.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual Width_t GetLineWidth() const
Return the line width.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual Style_t GetLineStyle() const
Return the line style.
virtual Float_t GetTextSize() const
Return the text size.
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual Short_t GetTextAlign() const
Return the text alignment.
virtual Font_t GetTextFont() const
Return the text font.
virtual Color_t GetTextColor() const
Return the text color.
virtual void SetTextAngle(Float_t tangle=0)
Set the text angle.
virtual Float_t GetTextAngle() const
Return the text angle.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
virtual void SetTextSizePixels(Int_t npixels)
Set the text size in pixel.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
To make it possible to use GL for 2D graphic in a TPad/TCanvas.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
Basic TCanvasImp ABI implementation for Web-based Graphics Provides painting of main ROOT classes in ...
Implement TVirtualPadPainter which abstracts painting operations.
Float_t GetTextMagnitude() const override
void DrawPixels(const unsigned char *pixelData, UInt_t width, UInt_t height, Int_t dstX, Int_t dstY, Bool_t enableAlphaBlending) override
Noop, for non-gl pad TASImage calls gVirtualX->CopyArea.
Style_t GetFillStyle() const override
Color_t GetTextColor() const override
void SetFillStyle(Style_t fstyle) override
void SetTextSize(Float_t tsize) override
void SetTextAlign(Short_t align) override
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, EBoxMode mode) override
Paint a simple box.
void DrawTextNDC(Double_t u, Double_t v, const char *text, ETextMode mode) override
Paint text in normalized coordinates.
void SelectDrawable(Int_t) override
Int_t CreateDrawable(UInt_t, UInt_t) override
Float_t * StoreOperation(const std::string &oper, unsigned attrkind, int opersize=0)
Store operation identifier with appropriate attributes.
TWebPadPainter(TWebPadPainter &&rhs)=delete
Float_t GetTextAngle() const override
void SetLineWidth(Width_t lwidth) override
void SetTextSizePixels(Int_t npixels) override
void SetTextAngle(Float_t tangle) override
Bool_t IsTransparent() const override
TWebPadPainter(const TWebPadPainter &rhs)=delete
void ClearDrawable() override
void SetLineStyle(Style_t lstyle) override
Short_t GetTextAlign() const override
void DrawLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2) override
Paint a simple line in normalized coordinates.
Font_t GetTextFont() const override
void DrawPolyLineNDC(Int_t n, const Double_t *u, const Double_t *v) override
Paint polyline in normalized coordinates.
Style_t GetLineStyle() const override
void SetPainting(TWebPainting *p)
Width_t GetLineWidth() const override
void SetTextFont(Font_t tfont) override
void SaveImage(TVirtualPad *, const char *, Int_t) const override
Produce image from WebPadPainter.
void SetTextColor(Color_t tcolor) override
Color_t GetFillColor() const override
Float_t GetTextSize() const override
void SetLineColor(Color_t lcolor) override
void CopyDrawable(Int_t, Int_t, Int_t) override
void DrawPolyLine(Int_t n, const Double_t *x, const Double_t *y) override
Paint Polyline.
Color_t GetLineColor() const override
void SetFillColor(Color_t fcolor) override
void SetOpacity(Int_t percent) override
TWebPadPainter & operator=(const TWebPadPainter &rhs)=delete
void DestroyDrawable(Int_t) override
Object used to store paint operations and deliver them to JSROOT.