Definition at line 26 of file TPadPainterPS.h.
Public Types | |
| enum | EBoxMode { kHollow , kFilled } |
| enum | ETextMode { kClear , kOpaque } |
Public Member Functions | |
| TPadPainterPS (TVirtualPS *ps) | |
| Consructor Assigns TVirtualPS instance which will be used by the painter. | |
| void | ClearDrawable () override |
| Clear the current gVirtualX window - noop for PS. | |
| virtual void | ClearWindow (Int_t) |
| void | CopyDrawable (Int_t device, Int_t px, Int_t py) override |
| Copy a gVirtualX pixmap - not implemented. | |
| Int_t | CreateDrawable (UInt_t w, UInt_t h) override |
| Create a gVirtualX Pixmap - not implemented. | |
| void | DestroyDrawable (Int_t device) override |
| Close the current gVirtualX pixmap - not implemented. | |
| void | DrawBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, EBoxMode mode) override |
| Paint a simple box. | |
| void | DrawFillArea (Int_t n, const Double_t *x, const Double_t *y) override |
| Paint filled area. | |
| void | DrawFillArea (Int_t n, const Float_t *x, const Float_t *y) override |
| Paint filled area. | |
| void | DrawLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2) override |
| Paint a simple line. | |
| void | DrawLineNDC (Double_t u1, Double_t v1, Double_t u2, Double_t v2) override |
| 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) override |
| Noop, for non-gl pad TASImage calls gVirtualX->CopyArea. | |
| void | DrawPolyLine (Int_t n, const Double_t *x, const Double_t *y) override |
| Paint Polyline. | |
| void | DrawPolyLine (Int_t n, const Float_t *x, const Float_t *y) override |
| Paint polyline. | |
| void | DrawPolyLineNDC (Int_t n, const Double_t *u, const Double_t *v) override |
| Paint polyline in normalized coordinates. | |
| void | DrawPolyMarker (Int_t n, const Double_t *x, const Double_t *y) override |
| Paint polymarker. | |
| void | DrawPolyMarker (Int_t n, const Float_t *x, const Float_t *y) override |
| Paint polymarker. | |
| void | DrawSegments (Int_t n, Double_t *x, Double_t *y) override |
| Paint N segments on the pad. | |
| void | DrawSegmentsNDC (Int_t n, Double_t *u, Double_t *v) override |
| Paint N segments in normalized coordinates on the pad. | |
| void | DrawText (Double_t x, Double_t y, const char *text, ETextMode mode) override |
| Paint text. | |
| void | DrawText (Double_t x, Double_t y, const wchar_t *text, ETextMode mode) override |
| Special version working with wchar_t and required by TMathText. | |
| void | DrawTextNDC (Double_t u, Double_t v, const char *text, ETextMode mode) override |
| Paint text in normalized coordinates. | |
| void | DrawTextNDC (Double_t u, Double_t v, const wchar_t *text, ETextMode mode) override |
| Paint text in normalized coordinates. | |
| void | DrawTextUrl (Double_t x, Double_t y, const char *text, const char *url) override |
| Drawint text with url link. | |
| const TAttFill & | GetAttFill () const override |
| const TAttLine & | GetAttLine () const override |
| Get line attributes. | |
| const TAttMarker & | GetAttMarker () const override |
| Get marker attributes. | |
| const TAttText & | GetAttText () const override |
| Get text attributes. | |
| Color_t | GetFillColor () const override |
| Style_t | GetFillStyle () const override |
| Color_t | GetLineColor () const override |
| Style_t | GetLineStyle () const override |
| Width_t | GetLineWidth () const override |
| Color_t | GetMarkerColor () const override |
| Size_t | GetMarkerSize () const override |
| Style_t | GetMarkerStyle () const override |
| TVirtualPS * | GetPS () const override |
| UInt_t | GetTextAdvance (Font_t font, Double_t size, const char *text, Bool_t kern) override |
| Returns text advance. | |
| Short_t | GetTextAlign () const override |
| Float_t | GetTextAngle () const override |
| void | GetTextAscentDescent (Font_t font, Double_t size, UInt_t &a, UInt_t &d, const char *mess) override |
| Returns text accent / descent. | |
| void | GetTextAscentDescent (Font_t font, Double_t size, UInt_t &a, UInt_t &d, const wchar_t *mess) override |
| Returns text accent / descent. | |
| Color_t | GetTextColor () const override |
| void | GetTextExtent (Font_t font, Double_t size, UInt_t &w, UInt_t &h, const char *mess) override |
| Returns text extend. | |
| void | GetTextExtent (Font_t font, Double_t size, UInt_t &w, UInt_t &h, const wchar_t *mess) override |
| Returns text extend. | |
| Font_t | GetTextFont () const override |
| Float_t | GetTextMagnitude () const override |
| Float_t | GetTextSize () const override |
| Bool_t | HasTTFonts () const override |
| Return true if TTF font can be used. | |
| virtual void | InitPainter () |
| Empty definition. | |
| virtual void | InvalidateCS () |
| Empty definition. | |
| TClass * | IsA () const override |
| virtual Bool_t | IsCocoa () const |
| virtual Bool_t | IsNative () const |
| virtual Bool_t | IsSupportAlpha () const |
| Bool_t | IsTransparent () const override |
| virtual void | LockPainter () |
| Empty definition. | |
| void | NewPage () override |
| Start new page on PS output. | |
| void | OnPad (TVirtualPad *pad) override |
| virtual Int_t | ResizeDrawable (Int_t, UInt_t, UInt_t) |
| void | SaveImage (TVirtualPad *pad, const char *fileName, Int_t type) const override |
| Save the image displayed in the canvas pointed by "pad" into a binary file. | |
| void | SelectDrawable (Int_t device) override |
| Select the window in which the graphics will go - not implemented. | |
| void | SetAttFill (const TAttFill &att) override |
| Provide fill attributes to gVirtualPS. | |
| void | SetAttLine (const TAttLine &att) override |
| Provide line attributes to gVirtualPS. | |
| void | SetAttMarker (const TAttMarker &att) override |
| Provide marker attributes to gVirtualPS. | |
| void | SetAttText (const TAttText &att) override |
| Provide text attributes to gVirtualPS. | |
| virtual void | SetCursor (Int_t win, ECursor cursor) |
| Set cursor for specified device, redirect to gVirtualX. | |
| virtual void | SetDoubleBuffer (Int_t device, Int_t mode) |
| Set double buffer mode for specified device, redirect to gVirtualX. | |
| virtual void | SetDrawMode (Int_t, Int_t) |
| void | SetFillColor (Color_t fcolor) override |
| void | SetFillStyle (Style_t fstyle) override |
| void | SetLineColor (Color_t lcolor) override |
| void | SetLineStyle (Style_t lstyle) override |
| void | SetLineWidth (Width_t lwidth) override |
| void | SetMarkerColor (Color_t mcolor) override |
| void | SetMarkerSize (Size_t msize) override |
| void | SetMarkerStyle (Style_t mstyle) override |
| void | SetOpacity (Int_t percent) override |
| Delegate to gVirtualPS. | |
| void | SetTextAlign (Short_t align) override |
| void | SetTextAngle (Float_t tangle) override |
| void | SetTextColor (Color_t tcolor) override |
| void | SetTextFont (Font_t tfont) override |
| void | SetTextSize (Float_t tsize) override |
| void | SetTextSizePixels (Int_t npixels) override |
| void | Streamer (TBuffer &) override |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| virtual void | UpdateDrawable (Int_t) |
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| static TVirtualPadPainter * | PadPainter (Option_t *opt="") |
| Create a pad painter of specified type. | |
Protected Member Functions | |
| TAttFill | GetAttFillInternal (Bool_t with_transparency) |
| Returns fill attributes after modification Checks for special fill styles 4000 . | |
Protected Attributes | |
| TAttFill | fAttFill |
| current fill attributes | |
| TAttLine | fAttLine |
| current line attributes | |
| TAttMarker | fAttMarker |
| current marker attributes | |
| TAttText | fAttText |
| current text attributes | |
| Bool_t | fFullyTransparent = kFALSE |
| if transformed fill attributes fully transparent | |
Private Member Functions | |
| TPadPainterPS (const TPadPainterPS &)=delete | |
| TPadPainterPS (TPadPainterPS &&)=delete | |
| TPadPainterPS & | operator= (const TPadPainterPS &)=delete |
| TPadPainterPS & | operator= (TPadPainterPS &&)=delete |
Private Attributes | |
| TVirtualPad * | fPad = nullptr |
| TVirtualPS * | fPS = nullptr |
#include <TPadPainterPS.h>
|
inherited |
| Enumerator | |
|---|---|
| kHollow | |
| kFilled | |
Definition at line 27 of file TVirtualPadPainter.h.
|
inherited |
| Enumerator | |
|---|---|
| kClear | |
| kOpaque | |
Definition at line 28 of file TVirtualPadPainter.h.
| TPadPainterPS::TPadPainterPS | ( | TVirtualPS * | ps | ) |
Consructor Assigns TVirtualPS instance which will be used by the painter.
Definition at line 38 of file TPadPainterPS.cxx.
|
privatedelete |
|
privatedelete |
|
static |
|
static |
|
inlinestaticconstexpr |
Definition at line 103 of file TPadPainterPS.h.
|
overridevirtual |
Clear the current gVirtualX window - noop for PS.
Implements TVirtualPadPainter.
Definition at line 138 of file TPadPainterPS.cxx.
|
inlinevirtualinherited |
Reimplemented in TGLPadPainter, and TPadPainter.
Definition at line 98 of file TVirtualPadPainter.h.
Copy a gVirtualX pixmap - not implemented.
Implements TVirtualPadPainter.
Definition at line 146 of file TPadPainterPS.cxx.
Create a gVirtualX Pixmap - not implemented.
Implements TVirtualPadPainter.
Definition at line 129 of file TPadPainterPS.cxx.
|
inlinestatic |
Definition at line 103 of file TPadPainterPS.h.
|
overridevirtual |
Close the current gVirtualX pixmap - not implemented.
Implements TVirtualPadPainter.
Definition at line 154 of file TPadPainterPS.cxx.
|
overridevirtual |
Paint a simple box.
Implements TVirtualPadPainter.
Definition at line 219 of file TPadPainterPS.cxx.
Paint a simple line.
Implements TVirtualPadPainter.
Definition at line 189 of file TPadPainterPS.cxx.
|
overridevirtual |
Paint a simple line in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 201 of file TPadPainterPS.cxx.
|
overridevirtual |
Noop, for non-gl pad TASImage calls gVirtualX->CopyArea.
Implements TVirtualPadPainter.
Definition at line 180 of file TPadPainterPS.cxx.
|
overridevirtual |
Paint polyline in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 304 of file TPadPainterPS.cxx.
Paint N segments on the pad.
Reimplemented from TVirtualPadPainter.
Definition at line 325 of file TPadPainterPS.cxx.
Paint N segments in normalized coordinates on the pad.
Reimplemented from TVirtualPadPainter.
Definition at line 341 of file TPadPainterPS.cxx.
|
overridevirtual |
Special version working with wchar_t and required by TMathText.
Implements TVirtualPadPainter.
Definition at line 398 of file TPadPainterPS.cxx.
|
overridevirtual |
Paint text in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 416 of file TPadPainterPS.cxx.
|
overridevirtual |
Paint text in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 435 of file TPadPainterPS.cxx.
|
overridevirtual |
Drawint text with url link.
Reimplemented from TVirtualPadPainter.
Definition at line 407 of file TPadPainterPS.cxx.
|
inlineoverridevirtualinherited |
Returns fill attributes after modification Checks for special fill styles 4000 .
. 4100
Definition at line 31 of file TPadPainterBase.cxx.
|
inlineoverridevirtualinherited |
Get line attributes.
Reimplemented from TVirtualPadPainter.
Definition at line 80 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Get marker attributes.
Reimplemented from TVirtualPadPainter.
Definition at line 81 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Get text attributes.
Reimplemented from TVirtualPadPainter.
Definition at line 82 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 46 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 47 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
old methods only for backward compatibility
Implements TVirtualPadPainter.
Definition at line 37 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 38 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 39 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Reimplemented from TVirtualPadPainter.
Definition at line 69 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Reimplemented from TVirtualPadPainter.
Definition at line 71 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Reimplemented from TVirtualPadPainter.
Definition at line 70 of file TPadPainterBase.h.
|
inlineoverridevirtual |
Reimplemented from TVirtualPadPainter.
Definition at line 93 of file TPadPainterPS.h.
|
overridevirtualinherited |
Returns text advance.
Reimplemented from TVirtualPadPainter.
Definition at line 140 of file TPadPainterBase.cxx.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 54 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 55 of file TPadPainterBase.h.
|
overridevirtualinherited |
Returns text accent / descent.
Reimplemented from TVirtualPadPainter.
Definition at line 87 of file TPadPainterBase.cxx.
|
overridevirtualinherited |
Returns text accent / descent.
Reimplemented from TVirtualPadPainter.
Definition at line 113 of file TPadPainterBase.cxx.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 56 of file TPadPainterBase.h.
|
overridevirtualinherited |
Returns text extend.
Reimplemented from TVirtualPadPainter.
Definition at line 51 of file TPadPainterBase.cxx.
|
overridevirtualinherited |
Returns text extend.
Reimplemented from TVirtualPadPainter.
Definition at line 69 of file TPadPainterBase.cxx.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 57 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 59 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 58 of file TPadPainterBase.h.
|
inlineoverridevirtual |
Return true if TTF font can be used.
Reimplemented from TVirtualPadPainter.
Definition at line 52 of file TPadPainterPS.h.
|
virtualinherited |
Empty definition.
Reimplemented in TGLPadPainter.
Definition at line 41 of file TVirtualPadPainter.cxx.
|
virtualinherited |
Empty definition.
Reimplemented in TGLPadPainter.
Definition at line 48 of file TVirtualPadPainter.cxx.
|
inlineoverridevirtual |
Reimplemented from TPadPainterBase.
Definition at line 103 of file TPadPainterPS.h.
|
inlinevirtualinherited |
Reimplemented in TGLPadPainter, and TPadPainter.
Definition at line 160 of file TVirtualPadPainter.h.
|
inlinevirtualinherited |
Reimplemented in TGLPadPainter, and TPadPainter.
Definition at line 159 of file TVirtualPadPainter.h.
|
inlinevirtualinherited |
Reimplemented in TGLPadPainter, TPadPainter, and TWebPadPainter.
Definition at line 162 of file TVirtualPadPainter.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 48 of file TPadPainterBase.h.
|
virtualinherited |
Empty definition.
Reimplemented in TGLPadPainter.
Definition at line 55 of file TVirtualPadPainter.cxx.
|
overridevirtual |
Start new page on PS output.
Reimplemented from TVirtualPadPainter.
Definition at line 170 of file TPadPainterPS.cxx.
|
inlineoverridevirtual |
Reimplemented from TVirtualPadPainter.
Definition at line 91 of file TPadPainterPS.h.
|
privatedelete |
|
privatedelete |
|
staticinherited |
Create a pad painter of specified type.
Definition at line 62 of file TVirtualPadPainter.cxx.
Reimplemented in TGLPadPainter, and TPadPainter.
Definition at line 99 of file TVirtualPadPainter.h.
|
overridevirtual |
Save the image displayed in the canvas pointed by "pad" into a binary file.
Implements TVirtualPadPainter.
Definition at line 427 of file TPadPainterPS.cxx.
|
overridevirtual |
Select the window in which the graphics will go - not implemented.
Implements TVirtualPadPainter.
Definition at line 162 of file TPadPainterPS.cxx.
|
overridevirtual |
Provide fill attributes to gVirtualPS.
Reimplemented from TPadPainterBase.
Definition at line 68 of file TPadPainterPS.cxx.
|
overridevirtual |
Provide line attributes to gVirtualPS.
Reimplemented from TPadPainterBase.
Definition at line 80 of file TPadPainterPS.cxx.
|
overridevirtual |
Provide marker attributes to gVirtualPS.
Reimplemented from TPadPainterBase.
Definition at line 92 of file TPadPainterPS.cxx.
|
overridevirtual |
Provide text attributes to gVirtualPS.
Reimplemented from TPadPainterBase.
Definition at line 104 of file TPadPainterPS.cxx.
Set cursor for specified device, redirect to gVirtualX.
Definition at line 208 of file TVirtualPadPainter.cxx.
Set double buffer mode for specified device, redirect to gVirtualX.
Reimplemented in TPadPainter.
Definition at line 198 of file TVirtualPadPainter.cxx.
Reimplemented in TGLPadPainter, and TPadPainter.
Definition at line 104 of file TVirtualPadPainter.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 50 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 51 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 41 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 42 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 43 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Reimplemented from TVirtualPadPainter.
Definition at line 73 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Reimplemented from TVirtualPadPainter.
Definition at line 75 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Reimplemented from TVirtualPadPainter.
Definition at line 74 of file TPadPainterBase.h.
|
overridevirtual |
Delegate to gVirtualPS.
Implements TVirtualPadPainter.
Definition at line 58 of file TPadPainterPS.cxx.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 61 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 62 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 63 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 64 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 65 of file TPadPainterBase.h.
|
inlineoverridevirtualinherited |
Implements TVirtualPadPainter.
Definition at line 66 of file TPadPainterBase.h.
|
overridevirtual |
Reimplemented from TPadPainterBase.
|
inline |
Definition at line 103 of file TPadPainterPS.h.
|
inlinevirtualinherited |
Reimplemented in TGLPadPainter, and TPadPainter.
Definition at line 103 of file TVirtualPadPainter.h.
|
protectedinherited |
current fill attributes
Definition at line 23 of file TPadPainterBase.h.
|
protectedinherited |
current line attributes
Definition at line 24 of file TPadPainterBase.h.
|
protectedinherited |
current marker attributes
Definition at line 25 of file TPadPainterBase.h.
|
protectedinherited |
current text attributes
Definition at line 26 of file TPadPainterBase.h.
if transformed fill attributes fully transparent
Definition at line 27 of file TPadPainterBase.h.
|
private |
Definition at line 29 of file TPadPainterPS.h.
|
private |
Definition at line 28 of file TPadPainterPS.h.