Implement TVirtualPadPainter which abstracts painting operations.
Definition at line 26 of file TPadPainter.h.
Public Member Functions | |
TPadPainter () | |
Empty ctor. We need it only because of explicit copy ctor. | |
void | ClearDrawable () |
Clear the current gVirtualX window. | |
void | CopyDrawable (Int_t device, Int_t px, Int_t py) |
Copy a gVirtualX pixmap. | |
Int_t | CreateDrawable (UInt_t w, UInt_t h) |
Create a gVirtualX Pixmap. | |
void | DestroyDrawable (Int_t device) |
Close the current gVirtualX pixmap. | |
void | DrawBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, EBoxMode mode) |
Paint a simple box. | |
void | DrawFillArea (Int_t n, const Double_t *x, const Double_t *y) |
Paint filled area. | |
void | DrawFillArea (Int_t n, const Float_t *x, const Float_t *y) |
Paint filled area. | |
void | DrawLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
Paint a simple line. | |
void | DrawLineNDC (Double_t u1, Double_t v1, Double_t u2, Double_t v2) |
Paint a simple line in normalized coordinates. | |
void | DrawPixels (const unsigned char *pixelData, UInt_t width, UInt_t height, Int_t dstX, Int_t dstY, Bool_t enableAlphaBlending) |
Noop, for non-gl pad TASImage calls gVirtualX->CopyArea. | |
void | DrawPolyLine (Int_t n, const Double_t *x, const Double_t *y) |
Paint Polyline. | |
void | DrawPolyLine (Int_t n, const Float_t *x, const Float_t *y) |
Paint polyline. | |
void | DrawPolyLineNDC (Int_t n, const Double_t *u, const Double_t *v) |
Paint polyline in normalized coordinates. | |
void | DrawPolyMarker (Int_t n, const Double_t *x, const Double_t *y) |
Paint polymarker. | |
void | DrawPolyMarker (Int_t n, const Float_t *x, const Float_t *y) |
Paint polymarker. | |
void | DrawText (Double_t x, Double_t y, const char *text, ETextMode mode) |
Paint text. | |
void | DrawText (Double_t x, Double_t y, const wchar_t *text, ETextMode mode) |
Special version working with wchar_t and required by TMathText. | |
void | DrawTextNDC (Double_t u, Double_t v, const char *text, ETextMode mode) |
Paint text in normalized coordinates. | |
void | DrawTextNDC (Double_t u, Double_t v, const wchar_t *text, ETextMode mode) |
Paint text in normalized coordinates. | |
Color_t | GetFillColor () const |
Delegate to gVirtualX. | |
Style_t | GetFillStyle () const |
Delegate to gVirtualX. | |
Color_t | GetLineColor () const |
Delegate to gVirtualX. | |
Style_t | GetLineStyle () const |
Delegate to gVirtualX. | |
Width_t | GetLineWidth () const |
Delegate to gVirtualX. | |
Short_t | GetTextAlign () const |
Delegate to gVirtualX. | |
Float_t | GetTextAngle () const |
Delegate to gVirtualX. | |
Color_t | GetTextColor () const |
Delegate to gVirtualX. | |
Font_t | GetTextFont () const |
Delegate to gVirtualX. | |
Float_t | GetTextMagnitude () const |
Delegate to gVirtualX. | |
Float_t | GetTextSize () const |
Delegate to gVirtualX. | |
Bool_t | IsTransparent () const |
Delegate to gVirtualX. | |
void | SaveImage (TVirtualPad *pad, const char *fileName, Int_t type) const |
Save the image displayed in the canvas pointed by "pad" into a binary file. | |
void | SelectDrawable (Int_t device) |
Select the window in which the graphics will go. | |
void | SetFillColor (Color_t fcolor) |
Delegate to gVirtualX. | |
void | SetFillStyle (Style_t fstyle) |
Delegate to gVirtualX. | |
void | SetLineColor (Color_t lcolor) |
Delegate to gVirtualX. | |
void | SetLineStyle (Style_t lstyle) |
Delegate to gVirtualX. | |
void | SetLineWidth (Width_t lwidth) |
Delegate to gVirtualX. | |
void | SetOpacity (Int_t percent) |
Delegate to gVirtualX. | |
void | SetTextAlign (Short_t align) |
Delegate to gVirtualX. | |
void | SetTextAngle (Float_t tangle) |
Delegate to gVirtualX. | |
void | SetTextColor (Color_t tcolor) |
Delegate to gVirtualX. | |
void | SetTextFont (Font_t tfont) |
Delegate to gVirtualX. | |
void | SetTextSize (Float_t tsize) |
Delegate to gVirtualX. | |
void | SetTextSizePixels (Int_t npixels) |
Delegate to gVirtualX. | |
Public Member Functions inherited from TVirtualPadPainter | |
virtual | ~TVirtualPadPainter () |
Virtual dtor. | |
virtual void | InitPainter () |
Empty definition. | |
virtual void | InvalidateCS () |
Empty definition. | |
virtual void | LockPainter () |
Empty definition. | |
Private Member Functions | |
TPadPainter (const TPadPainter &rhs)=delete | |
TPadPainter (TPadPainter &&rhs)=delete | |
TPadPainter & | operator= (const TPadPainter &rhs)=delete |
TPadPainter & | operator= (TPadPainter &&rhs)=delete |
Additional Inherited Members | |
Public Types inherited from TVirtualPadPainter | |
enum | EBoxMode { kHollow , kFilled } |
enum | ETextMode { kClear , kOpaque } |
Static Public Member Functions inherited from TVirtualPadPainter | |
static TVirtualPadPainter * | PadPainter (Option_t *opt="") |
Create a pad painter of specified type. | |
#include <TPadPainter.h>
TPadPainter::TPadPainter | ( | ) |
Empty ctor. We need it only because of explicit copy ctor.
Definition at line 72 of file TPadPainter.cxx.
|
privatedelete |
|
privatedelete |
|
virtual |
Clear the current gVirtualX window.
Implements TVirtualPadPainter.
Definition at line 315 of file TPadPainter.cxx.
Copy a gVirtualX pixmap.
Implements TVirtualPadPainter.
Definition at line 324 of file TPadPainter.cxx.
Create a gVirtualX Pixmap.
Implements TVirtualPadPainter.
Definition at line 306 of file TPadPainter.cxx.
Close the current gVirtualX pixmap.
Implements TVirtualPadPainter.
Definition at line 333 of file TPadPainter.cxx.
Paint a simple line in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 375 of file TPadPainter.cxx.
|
virtual |
Noop, for non-gl pad TASImage calls gVirtualX->CopyArea.
Implements TVirtualPadPainter.
Definition at line 351 of file TPadPainter.cxx.
Paint polyline in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 470 of file TPadPainter.cxx.
Special version working with wchar_t and required by TMathText.
Implements TVirtualPadPainter.
Definition at line 534 of file TPadPainter.cxx.
Paint text in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 547 of file TPadPainter.cxx.
|
virtual |
Paint text in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 623 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 143 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 152 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 89 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 98 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 107 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 198 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 207 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 216 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 225 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 243 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 234 of file TPadPainter.cxx.
|
virtual |
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 161 of file TPadPainter.cxx.
|
privatedelete |
|
privatedelete |
|
virtual |
Save the image displayed in the canvas pointed by "pad" into a binary file.
Implements TVirtualPadPainter.
Definition at line 560 of file TPadPainter.cxx.
Select the window in which the graphics will go.
Implements TVirtualPadPainter.
Definition at line 343 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 171 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 180 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 116 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 125 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 134 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 189 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 252 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 261 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 270 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 279 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 288 of file TPadPainter.cxx.
Delegate to gVirtualX.
Implements TVirtualPadPainter.
Definition at line 297 of file TPadPainter.cxx.