Retained native painter installed on a CanvasWidget. More...
#include <canvas_widget.hpp>
Public Member Functions | |
| virtual | ~NativeCanvasPainter ()=default |
| virtual void | paint (const NativeCanvasPaintContext &context)=0 |
Retained native painter installed on a CanvasWidget.
Ownership is shared deliberately: CanvasWidget takes a strong snapshot at paint entry, so replacing/resetting the painter from a callback cannot destroy the object while its paint method is on the stack.
|
virtualdefault |
|
pure virtual |