10 #ifndef QWT_NULL_PAINT_DEVICE_H 11 #define QWT_NULL_PAINT_DEVICE_H 15 #include <qpaintdevice.h> 16 #include <qpaintengine.h> 80 virtual
int metric( PaintDeviceMetric ) const
QWT_OVERRIDE;
82 virtual
void drawRects(const QRect *,
int );
83 virtual
void drawRects(const QRectF *,
int );
85 virtual
void drawLines(const QLine *,
int );
86 virtual
void drawLines(const QLineF *,
int );
88 virtual
void drawEllipse(const QRectF &);
89 virtual
void drawEllipse(const QRect &);
91 virtual
void drawPath(const QPainterPath &);
93 virtual
void drawPoints(const QPointF *,
int );
94 virtual
void drawPoints(const QPoint *,
int );
96 virtual
void drawPolygon( const QPointF *,
int,
97 QPaintEngine::PolygonDrawMode );
99 virtual
void drawPolygon( const QPoint *,
int,
100 QPaintEngine::PolygonDrawMode );
102 virtual
void drawPixmap(const QRectF &,
103 const QPixmap &, const QRectF &);
105 virtual
void drawTextItem(const QPointF &, const QTextItem &);
107 virtual
void drawTiledPixmap(const QRectF &,
108 const QPixmap &, const QPointF & );
110 virtual
void drawImage(const QRectF &, const QImage &,
111 const QRectF &, Qt::ImageConversionFlags );
113 virtual
void updateState( const QPaintEngineState & );
117 virtual QSize sizeMetrics() const = 0;
121 PaintEngine *d_engine;
A null paint device doing nothing.