10 #ifndef QWT_NULL_PAINT_DEVICE_H 11 #define QWT_NULL_PAINT_DEVICE_H 1 14 #include <qpaintdevice.h> 15 #include <qpaintengine.h> 77 virtual QPaintEngine *paintEngine()
const;
79 virtual int metric( PaintDeviceMetric metric )
const;
81 virtual void drawRects(
const QRect *,
int );
82 virtual void drawRects(
const QRectF *,
int );
84 virtual void drawLines(
const QLine *,
int );
85 virtual void drawLines(
const QLineF *,
int );
87 virtual void drawEllipse(
const QRectF &);
88 virtual void drawEllipse(
const QRect &);
90 virtual void drawPath(
const QPainterPath &);
92 virtual void drawPoints(
const QPointF *,
int );
93 virtual void drawPoints(
const QPoint *,
int );
95 virtual void drawPolygon(
96 const QPointF *,
int , QPaintEngine::PolygonDrawMode );
98 virtual void drawPolygon(
99 const QPoint *,
int , QPaintEngine::PolygonDrawMode );
101 virtual void drawPixmap(
const QRectF &,
102 const QPixmap &,
const QRectF &);
104 virtual void drawTextItem(
const QPointF &,
const QTextItem &);
106 virtual void drawTiledPixmap(
const QRectF &,
107 const QPixmap &,
const QPointF &s);
109 virtual void drawImage(
const QRectF &,
110 const QImage &,
const QRectF &, Qt::ImageConversionFlags );
112 virtual void updateState(
const QPaintEngineState &state );
116 virtual QSize sizeMetrics()
const = 0;
A null paint device doing nothing.