11#ifndef ROOT_TGtk4PadPainter
12#define ROOT_TGtk4PadPainter
21namespace 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
void SetGtk4Color(Color_t id)
Assign color to cairo context.
void DrawImage(TImage *img, Int_t x, Int_t y, Int_t flags=0) override
Render image on drawable area.
void DrawPolyLineNDC(Int_t n, const Double_t *u, const Double_t *v) override
Paint polyline in normalized coordinates.
void DrawPolyLine(Int_t n, const Double_t *x, const Double_t *y) override
Paint Polyline.
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.
TGtk4PadPainter(TGtk4PadPainter &&rhs)=delete
Bool_t HasTTFonts() const override
TGtk4PadPainter & operator=(const TGtk4PadPainter &rhs)=delete
void DestroyDrawable(Int_t) override
void ApplyFillBrush()
Complete fill operation - which may include custom pattern handling.
Bool_t SetFillBrush()
Asign fill attributes before drawin shape.
void CopyDrawable(Int_t, Int_t, Int_t) override
void DrawTTFglyphs(Int_t x, Int_t y, TTFhandle &ttf, ETextMode mode) override
Render TTF glyphs on drawable area.
Bool_t IsSupportAlpha() const override
Int_t CreateDrawable(UInt_t, UInt_t) override
void ClearDrawable() override
TGtk4PadPainter(const TGtk4PadPainter &rhs)=delete
Bool_t SetLinePen()
Asign pen attributes to draw line.
void DrawLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2) override
Paint a simple line in normalized coordinates.
void SaveImage(TVirtualPad *, const char *, Int_t) const override
Produce image.
void SetDoubleBuffer(Int_t, Int_t) override
Bool_t IsNative() const override
Bool_t FillImageFromPad(TImage *image, TVirtualPad *pad) const override
extract image from recent drawing
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, EBoxMode mode) override
Paint a simple box.
TGtk4PadPainter(Gtk4DrawArea *widget=nullptr)
void SelectDrawable(Int_t) override
Basic TCanvasImp ABI implementation for Gtk4.
An abstract interface to image processing library.
Extends TVirtualPadPainter interface to simplify work with graphical attributes.
Dynamic handle to work with freetype 2 library.
TVirtualPad is an abstract base class for the Pad and Canvas classes.