12 #ifndef QVTK_PAINT_ENGINE_HPP 13 #define QVTK_PAINT_ENGINE_HPP 16 #include <QPaintEngine> 17 #include <vtkSetGet.h> 19 class QVTKPaintEngineInternal;
37 bool begin(QPaintDevice* dev)
override;
45 QPaintEngine::Type
type()
const override;
49 void updateState(
const QPaintEngineState&)
override;
53 void drawPixmap(
const QRectF& r,
const QPixmap& pm,
const QRectF& sr)
override;
57 void drawPath(
const QPainterPath& path)
override;
62 void drawPolygon(
const QPoint* points,
int pointCount, PolygonDrawMode mode)
override;
QPaintEngine::Type type() const override
void drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr) override
void updateState(const QPaintEngineState &) override
void drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode) override
void drawPath(const QPainterPath &path) override
QVTKPaintEngineInternal * Internal
bool begin(QPaintDevice *dev) override
~QVTKPaintEngine() override
directs QPainter calls to a VTK window