Abstract interface for painting a canvas.
- Author
- Axel Naumann axel@.nosp@m.cern.nosp@m..ch
- Date
- 2017-05-31
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
Definition at line 34 of file RVirtualCanvasPainter.hxx.
|
virtual | ~RVirtualCanvasPainter () |
| Default destructor. More...
|
|
virtual bool | AddPanel (std::shared_ptr< RWebWindow >) |
|
virtual void | CanvasUpdated (uint64_t, bool, CanvasCallback_t)=0 |
| indicate that canvas changed, provides current version of the canvas More...
|
|
virtual void | DoWhenReady (const std::string &, const std::string &, bool, CanvasCallback_t)=0 |
| perform special action when drawing is ready More...
|
|
virtual std::string | GetWindowAddr () const =0 |
|
virtual bool | IsCanvasModified (uint64_t) const =0 |
| return true if canvas modified since last painting More...
|
|
virtual void | NewDisplay (const std::string &where)=0 |
|
virtual int | NumDisplays () const =0 |
|
virtual bool | ProduceBatchOutput (const std::string &, int, int)=0 |
| produce file output in batch mode like png, jpeg, svg or pdf More...
|
|
virtual void | Run (double tm=0.)=0 |
| run canvas functionality in caller thread, not needed when main thread is used More...
|
|
#include <ROOT/RVirtualCanvasPainter.hxx>
◆ ~RVirtualCanvasPainter()
RVirtualCanvasPainter::~RVirtualCanvasPainter |
( |
| ) |
|
|
virtualdefault |
Default destructor.
The implementation is here to pin the vtable.
◆ AddPanel()
virtual bool ROOT::Experimental::Internal::RVirtualCanvasPainter::AddPanel |
( |
std::shared_ptr< RWebWindow > |
| ) |
|
|
inlinevirtual |
◆ CanvasUpdated()
indicate that canvas changed, provides current version of the canvas
◆ Create()
◆ DoWhenReady()
virtual void ROOT::Experimental::Internal::RVirtualCanvasPainter::DoWhenReady |
( |
const std::string & |
, |
|
|
const std::string & |
, |
|
|
bool |
, |
|
|
CanvasCallback_t |
|
|
) |
| |
|
pure virtual |
perform special action when drawing is ready
◆ GetGenerator()
◆ GetWindowAddr()
virtual std::string ROOT::Experimental::Internal::RVirtualCanvasPainter::GetWindowAddr |
( |
| ) |
const |
|
pure virtual |
◆ IsCanvasModified()
virtual bool ROOT::Experimental::Internal::RVirtualCanvasPainter::IsCanvasModified |
( |
uint64_t |
| ) |
const |
|
pure virtual |
return true if canvas modified since last painting
◆ NewDisplay()
virtual void ROOT::Experimental::Internal::RVirtualCanvasPainter::NewDisplay |
( |
const std::string & |
where | ) |
|
|
pure virtual |
◆ NumDisplays()
virtual int ROOT::Experimental::Internal::RVirtualCanvasPainter::NumDisplays |
( |
| ) |
const |
|
pure virtual |
◆ ProduceBatchOutput()
virtual bool ROOT::Experimental::Internal::RVirtualCanvasPainter::ProduceBatchOutput |
( |
const std::string & |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
|
pure virtual |
produce file output in batch mode like png, jpeg, svg or pdf
◆ Run()
virtual void ROOT::Experimental::Internal::RVirtualCanvasPainter::Run |
( |
double |
tm = 0. | ) |
|
|
pure virtual |
run canvas functionality in caller thread, not needed when main thread is used
The documentation for this class was generated from the following files: