13 #include "qwt_global.h"
14 #include "qwt_null_paintdevice.h"
15 #include <qmetatype.h>
93 RenderPensUnscaled = 0x1
113 bool isEmpty()
const;
115 void render( QPainter * )
const;
117 void render( QPainter *,
const QSizeF &,
118 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
120 void render( QPainter *,
const QRectF &,
121 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
123 void render( QPainter *,
const QPointF &,
124 Qt::Alignment = Qt::AlignTop | Qt::AlignLeft )
const;
126 QPixmap toPixmap()
const;
127 QPixmap toPixmap(
const QSize &,
128 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
130 QImage toImage()
const;
131 QImage toImage(
const QSize &,
132 Qt::AspectRatioMode = Qt::IgnoreAspectRatio )
const;
134 QRectF scaledBoundingRect(
double sx,
double sy )
const;
136 QRectF boundingRect()
const;
137 QRectF controlPointRect()
const;
139 const QVector< QwtPainterCommand > &commands()
const;
140 void setCommands( QVector< QwtPainterCommand > & );
142 void setDefaultSize(
const QSizeF & );
143 QSizeF defaultSize()
const;
145 void setRenderHint(
RenderHint,
bool on =
true );
151 virtual void drawPath(
const QPainterPath & );
154 const QPixmap &,
const QRectF & );
157 const QImage &,
const QRectF &, Qt::ImageConversionFlags );
159 virtual void updateState(
const QPaintEngineState &state );
162 void updateBoundingRect(
const QRectF & );
163 void updateControlPointRect(
const QRectF & );