13 #include "qwt_global.h"
14 #include "qwt_null_paintdevice.h"
15 #include <qmetatype.h>
95 RenderPensUnscaled = 0x1
115 bool isEmpty()
const;
117 void render( QPainter * )
const;
119 void render( QPainter *,
const QSizeF &,
120 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
122 void render( QPainter *,
const QRectF &,
123 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
125 void render( QPainter *,
const QPointF &,
126 Qt::Alignment = Qt::AlignTop | Qt::AlignLeft )
const;
128 QPixmap toPixmap()
const;
129 QPixmap toPixmap(
const QSize &,
130 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
132 QImage toImage()
const;
133 QImage toImage(
const QSize &,
134 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
136 QRectF scaledBoundingRect(
double sx,
double sy )
const;
138 QRectF boundingRect()
const;
139 QRectF controlPointRect()
const;
141 const QVector< QwtPainterCommand > &commands()
const;
142 void setCommands( QVector< QwtPainterCommand > & );
144 void setDefaultSize(
const QSizeF & );
145 QSizeF defaultSize()
const;
147 void setRenderHint(
RenderHint,
bool on =
true );
153 virtual void drawPath(
const QPainterPath & );
156 const QPixmap &,
const QRectF & );
159 const QImage &,
const QRectF &, Qt::ImageConversionFlags );
161 virtual void updateState(
const QPaintEngineState &state );
164 void updateBoundingRect(
const QRectF & );
165 void updateControlPointRect(
const QRectF & );
Definition: qwt_painter_command.h:32
virtual void drawPath(const QPainterPath &)
See QPaintEngine::drawPath()
Definition: qwt_null_paintdevice.cpp:510
virtual QSize sizeMetrics() const =0
QFlags< RenderHint > RenderHints
Render hints.
Definition: qwt_graphic.h:103
virtual void drawImage(const QRectF &, const QImage &, const QRectF &, Qt::ImageConversionFlags)
See QPaintEngine::drawImage()
Definition: qwt_null_paintdevice.cpp:579
virtual void updateState(const QPaintEngineState &)
See QPaintEngine::updateState()
Definition: qwt_null_paintdevice.cpp:590
A paint device for scalable graphics.
Definition: qwt_graphic.h:75
RenderHint
Definition: qwt_graphic.h:82
virtual void drawPixmap(const QRectF &, const QPixmap &, const QRectF &)
See QPaintEngine::drawPixmap()
Definition: qwt_null_paintdevice.cpp:552
A null paint device doing nothing.
Definition: qwt_null_paintdevice.h:32