113 RenderPensUnscaled = 0x1
116 Q_DECLARE_FLAGS( RenderHints, RenderHint )
131 Transformation = 1 << 2
134 Q_DECLARE_FLAGS( CommandTypes, CommandType )
146 bool isEmpty()
const;
148 CommandTypes commandTypes()
const;
150 void render( QPainter* )
const;
152 void render( QPainter*,
const QSizeF&,
153 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
155 void render( QPainter*,
const QPointF&,
156 Qt::Alignment = Qt::AlignTop | Qt::AlignLeft )
const;
158 void render( QPainter*,
const QRectF&,
159 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
161 QPixmap toPixmap( qreal devicePixelRatio = 0.0 )
const;
163 QPixmap toPixmap(
const QSize&,
164 Qt::AspectRatioMode = Qt::IgnoreAspectRatio,
165 qreal devicePixelRatio = 0.0 )
const;
167 QImage toImage( qreal devicePixelRatio = 0.0 )
const;
169 QImage toImage(
const QSize&,
170 Qt::AspectRatioMode = Qt::IgnoreAspectRatio,
171 qreal devicePixelRatio = 0.0 )
const;
173 QRectF scaledBoundingRect( qreal sx, qreal sy )
const;
175 QRectF boundingRect()
const;
176 QRectF controlPointRect()
const;
181 void setDefaultSize(
const QSizeF& );
182 QSizeF defaultSize()
const;
184 qreal heightForWidth( qreal width )
const;
185 qreal widthForHeight( qreal height )
const;
187 void setRenderHint( RenderHint,
bool on =
true );
188 bool testRenderHint( RenderHint )
const;
190 RenderHints renderHints()
const;
195 virtual
void drawPath( const QPainterPath& ) QWT_OVERRIDE;
197 virtual
void drawPixmap( const QRectF&,
198 const QPixmap&, const QRectF& ) QWT_OVERRIDE;
200 virtual
void drawImage( const QRectF&, const QImage&,
201 const QRectF&, Qt::ImageConversionFlags ) QWT_OVERRIDE;
203 virtual
void updateState( const QPaintEngineState& ) QWT_OVERRIDE;
206 void renderGraphic( QPainter*, QTransform* ) const;
208 void updateBoundingRect( const QRectF& );
209 void updateControlPointRect( const QRectF& );