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 const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
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
ESaveImageResult SaveAsImage(TVirtualPad *pad, const char *fileName, Int_t type) const override
Save pad as image.
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 on the pad.
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.
Bool_t FillImageFromPad(TImage *image, TVirtualPad *pad) const override
Fill TImage from specified pad.
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.
virtual void const char * fileName
TVirtualPad is an abstract base class for the Pad and Canvas classes.