153 PaintInDeviceResolution = 1
156 Q_DECLARE_FLAGS( PaintAttributes, PaintAttribute )
166 void setPaintAttribute( PaintAttribute,
bool on =
true );
168 bool testPaintAttribute( PaintAttribute )
const;
171 void setAlpha(
int alpha );
176 void setCachePolicy( CachePolicy );
178 CachePolicy cachePolicy()
const;
181 void invalidateCache();
184 virtual void draw( QPainter*,
186 const QRectF& canvasRect )
const override;
189 virtual QRectF pixelHint(
const QRectF& )
const;
230 const QSize& imageSize )
const = 0;
235 const QSize& imageSize,
double pixelSize)
const;
246 const QRectF& imageArea,
const QRectF& paintRect,
247 const QSize& imageSize,
bool doCache)
const;
A class representing a text.
Definition qwt_text.h:93