11#ifndef ROOT_TQt6PadPainter
12#define ROOT_TQt6PadPainter
22namespace Experimental {
bool Bool_t
Boolean (0=false, 1=true) (bool)
short Color_t
Color number (short)
float Float_t
Float 4 bytes (float)
#define ClassDefOverride(name, id)
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 SetOpacity
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 y1
QBrush GetFillBrush()
Return QBrush for fill drawing drawing.
void SaveImage(TVirtualPad *, const char *, Int_t) const override
Produce image.
Bool_t IsNative() const override
Int_t CreateDrawable(UInt_t, UInt_t) override
void ClearDrawable() override
TQt6PadPainter(const TQt6PadPainter &rhs)=delete
Bool_t HasTTFonts() const override
void SetDoubleBuffer(Int_t, Int_t) override
void DrawPolyLineNDC(Int_t n, const Double_t *u, const Double_t *v) override
Paint polyline in normalized coordinates.
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.
void DrawImage(TImage *img, Int_t x, Int_t y, Int_t flags=0) override
Draw image, need to be implemented in correspondent.
void SelectDrawable(Int_t) override
TQt6PadPainter(TQt6PadPainter &&rhs)=delete
TQt6PadPainter(QPaintWidget *widget=nullptr)
Bool_t IsSupportAlpha() const override
static QColor GetQColor(Color_t id)
Return QColor created from specified TColor.
void DrawTTFglyphs(Int_t px, Int_t py, TTFhandle &ttf, ETextMode mode) override
Render TTF glyphs on drawable area.
QPaintWidget * fPaintWidget
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, EBoxMode mode) override
Paint a simple box.
void DrawPolyLine(Int_t n, const Double_t *x, const Double_t *y) override
Paint Polyline.
void DrawLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2) override
Paint a simple line in normalized coordinates.
void CopyDrawable(Int_t, Int_t, Int_t) override
TQt6PadPainter & operator=(const TQt6PadPainter &rhs)=delete
void DestroyDrawable(Int_t) override
QPen GetLinePen()
Return QPen for lines drawing.
An abstract interface to image processing library.
Extends TVirtualPadPainter interface to simplify work with graphical attributes.
Basic TCanvasImp ABI implementation for Qt6.
Dynamic handle to work with freetype 2 library.
TVirtualPad is an abstract base class for the Pad and Canvas classes.