10 #ifndef QWT_PLOT_RASTERITEM_H
11 #define QWT_PLOT_RASTERITEM_H
13 #include "qwt_global.h"
14 #include "qwt_plot_item.h"
80 PaintInDeviceResolution = 1
92 void setAlpha(
int alpha );
98 void invalidateCache();
100 virtual void draw( QPainter*,
102 const QRectF& canvasRect )
const QWT_OVERRIDE;
104 virtual QRectF pixelHint(
const QRectF& )
const;
128 const QSize& imageSize ) const = 0;
132 const QSize& imageSize,
double pixelSize) const;
141 const QRectF& imageArea, const QRectF& paintRect,
142 const QSize& imageSize,
bool doCache) const;
A class representing an interval.
Base class for items on the plot canvas.
virtual void draw(QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const =0
Draw the item.
virtual QRectF boundingRect() const
A class, which displays raster data.
QFlags< PaintAttribute > PaintAttributes
CachePolicy
Cache policy The default policy is NoCache.
A class representing a text.