162 RenderPensUnscaled = 0x1
165 Q_DECLARE_FLAGS( RenderHints, RenderHint )
185 Transformation = 1 << 2
188 Q_DECLARE_FLAGS( CommandTypes, CommandType )
207 bool isEmpty()
const;
210 CommandTypes commandTypes()
const;
213 void render( QPainter* )
const;
216 void render( QPainter*,
const QSizeF&,
217 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
220 void render( QPainter*,
const QPointF&,
221 Qt::Alignment = Qt::AlignTop | Qt::AlignLeft )
const;
224 void render( QPainter*,
const QRectF&,
225 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
228 QPixmap toPixmap( qreal devicePixelRatio = 0.0 )
const;
231 QPixmap toPixmap(
const QSize&,
232 Qt::AspectRatioMode = Qt::IgnoreAspectRatio,
233 qreal devicePixelRatio = 0.0 )
const;
236 QImage toImage( qreal devicePixelRatio = 0.0 )
const;
239 QImage toImage(
const QSize&,
240 Qt::AspectRatioMode = Qt::IgnoreAspectRatio,
241 qreal devicePixelRatio = 0.0 )
const;
244 QRectF scaledBoundingRect( qreal sx, qreal sy )
const;
247 QRectF boundingRect()
const;
249 QRectF controlPointRect()
const;
257 void setDefaultSize(
const QSizeF& );
259 QSizeF defaultSize()
const;
262 qreal heightForWidth( qreal width )
const;
264 qreal widthForHeight( qreal height )
const;
267 void setRenderHint( RenderHint,
bool on =
true );
269 bool testRenderHint( RenderHint )
const;
272 RenderHints renderHints()
const;
277 virtual void drawPath(
const QPainterPath& )
override;
280 const QPixmap&,
const QRectF& )
override;
282 virtual void drawImage(
const QRectF&,
const QImage&,
283 const QRectF&, Qt::ImageConversionFlags )
override;
285 virtual void updateState(
const QPaintEngineState& )
override;
288 void renderGraphic( QPainter*, QTransform* )
const;
290 void updateBoundingRect(
const QRectF& );
291 void updateControlPointRect(
const QRectF& );
virtual void drawImage(const QRectF &, const QImage &, const QRectF &, Qt::ImageConversionFlags)
Draw an image
Definition qwt_null_paintdevice.cpp:667