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 & );
A null paint device doing nothing.
QFlags< RenderHint > RenderHints
Render hints.
virtual void drawPath(const QPainterPath &)
See QPaintEngine::drawPath()
virtual void updateState(const QPaintEngineState &state)
See QPaintEngine::updateState()
A paint device for scalable graphics.
virtual void drawImage(const QRectF &, const QImage &, const QRectF &, Qt::ImageConversionFlags)
See QPaintEngine::drawImage()
virtual QSize sizeMetrics() const =0
virtual void drawPixmap(const QRectF &, const QPixmap &, const QRectF &)
See QPaintEngine::drawPixmap()