Implement TVirtualPadPainter which abstracts painting operations.
TWebPadPainter tries to support old Paint methods of the ROOT classes. Main classes (like histograms or graphs) should be painted on JavaScript side
Definition at line 22 of file TWebPadPainter.h.
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Static Public Member Functions inherited from TPadPainterBase | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Static Public Member Functions inherited from TVirtualPadPainter | |
| 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 Types | |
| enum | { attrLine = 0x1 , attrFill = 0x2 , attrMarker = 0x4 , attrText = 0x8 , attrAll = 0xf } |
Protected Member Functions | |
| Float_t * | StoreOperation (const std::string &oper, unsigned attrkind, int opersize=0) |
| Store operation identifier with appropriate attributes. | |
Protected Member Functions inherited from TPadPainterBase | |
| TAttFill | GetAttFillInternal (Bool_t with_transparency) |
| Returns fill attributes after modification Checks for special fill styles 4000 . | |
Protected Attributes | |
| TWebPainting * | fPainting {nullptr} |
| ! object to store all painting, owned by TWebPS object | |
Protected Attributes inherited from TPadPainterBase | |
| 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 | |
| TWebPadPainter (const TWebPadPainter &rhs)=delete | |
| TWebPadPainter (TWebPadPainter &&rhs)=delete | |
| TWebPadPainter & | operator= (const TWebPadPainter &rhs)=delete |
| TWebPadPainter & | operator= (TWebPadPainter &&rhs)=delete |
Friends | |
| class | TWebCanvas |
Additional Inherited Members | |
Public Types inherited from TVirtualPadPainter | |
| enum | EBoxMode { kHollow , kFilled } |
| enum | ETextMode { kClear , kOpaque } |
#include <TWebPadPainter.h>
| Enumerator | |
|---|---|
| attrLine | |
| attrFill | |
| attrMarker | |
| attrText | |
| attrAll | |
Definition at line 30 of file TWebPadPainter.h.
|
inline |
Definition at line 36 of file TWebPadPainter.h.
|
privatedelete |
|
privatedelete |
Definition at line 90 of file TWebPadPainter.h.
|
inlineoverridevirtual |
Implements TVirtualPadPainter.
Definition at line 45 of file TWebPadPainter.h.
Implements TVirtualPadPainter.
Definition at line 46 of file TWebPadPainter.h.
Implements TVirtualPadPainter.
Definition at line 44 of file TWebPadPainter.h.
Definition at line 90 of file TWebPadPainter.h.
|
inlineoverridevirtual |
Implements TVirtualPadPainter.
Definition at line 47 of file TWebPadPainter.h.
|
overridevirtual |
Paint a simple box.
Implements TVirtualPadPainter.
Definition at line 111 of file TWebPadPainter.cxx.
|
overridevirtual |
Paint filled area.
Implements TVirtualPadPainter.
Definition at line 134 of file TWebPadPainter.cxx.
Paint filled area.
Implements TVirtualPadPainter.
Definition at line 150 of file TWebPadPainter.cxx.
|
overridevirtual |
Paint a simple line.
Implements TVirtualPadPainter.
Definition at line 73 of file TWebPadPainter.cxx.
|
overridevirtual |
Paint a simple line in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 91 of file TWebPadPainter.cxx.
|
overridevirtual |
Noop, for non-gl pad TASImage calls gVirtualX->CopyArea.
Implements TVirtualPadPainter.
Definition at line 63 of file TWebPadPainter.cxx.
|
overridevirtual |
Paint polyline in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 198 of file TWebPadPainter.cxx.
|
overridevirtual |
Special version working with wchar_t and required by TMathText.
Implements TVirtualPadPainter.
Definition at line 277 of file TWebPadPainter.cxx.
|
overridevirtual |
Paint text in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 291 of file TWebPadPainter.cxx.
|
overridevirtual |
Paint text in normalized coordinates.
Implements TVirtualPadPainter.
Definition at line 306 of file TWebPadPainter.cxx.
|
overridevirtual |
Paint text with url.
Reimplemented from TVirtualPadPainter.
Definition at line 262 of file TWebPadPainter.cxx.
|
inlineoverridevirtual |
Reimplemented from TPadPainterBase.
Definition at line 90 of file TWebPadPainter.h.
|
inlineoverridevirtual |
Reimplemented from TVirtualPadPainter.
Definition at line 81 of file TWebPadPainter.h.
|
privatedelete |
|
privatedelete |
|
overridevirtual |
Produce image from WebPadPainter.
Implements TVirtualPadPainter.
Definition at line 322 of file TWebPadPainter.cxx.
|
inlineoverridevirtual |
Implements TVirtualPadPainter.
Definition at line 48 of file TWebPadPainter.h.
|
overridevirtual |
Set opacity - similar to TVirtualPS usecase.
Implements TVirtualPadPainter.
Definition at line 30 of file TWebPadPainter.cxx.
|
inline |
Definition at line 38 of file TWebPadPainter.h.
|
protected |
Store operation identifier with appropriate attributes.
Definition at line 38 of file TWebPadPainter.cxx.
|
overridevirtual |
Reimplemented from TPadPainterBase.
|
inline |
Definition at line 90 of file TWebPadPainter.h.
|
friend |
Definition at line 24 of file TWebPadPainter.h.
|
protected |
! object to store all painting, owned by TWebPS object
Definition at line 28 of file TWebPadPainter.h.