97 PaintInDeviceResolution = 1
100 Q_DECLARE_FLAGS( PaintAttributes, PaintAttribute )
106 void setPaintAttribute( PaintAttribute,
bool on =
true );
107 bool testPaintAttribute( PaintAttribute )
const;
109 void setAlpha(
int alpha );
112 void setCachePolicy( CachePolicy );
113 CachePolicy cachePolicy()
const;
115 void invalidateCache();
117 virtual void draw( QPainter*,
119 const QRectF& canvasRect )
const QWT_OVERRIDE;
121 virtual QRectF pixelHint(
const QRectF& )
const;
145 const QSize& imageSize ) const = 0;
149 const QSize& imageSize,
double pixelSize) const;
158 const QRectF& imageArea, const QRectF& paintRect,
159 const QSize& imageSize,
bool doCache) const;
A class representing a text.
Definition qwt_text.h:69