22 #if QT_VERSION < 0x040000
25 #include <QtGui/QPaintEngine>
26 #include <QtGui/QPixmap>
35 #if QT_VERSION < 0x040000
65 open(device, rect, painter);
127 if ( device == 0 || !rect.
isValid() )
139 if (
d_device->devType() == QInternal::Widget )
159 if (
d_device->devType() == QInternal::Widget )
161 #if QT_VERSION < 0x040000
163 if ( w->
testWFlags( Qt::WRepaintNoErase | Qt::WResizeNoErase) )
190 #if QT_VERSION < 0x040000
193 QPaintEngine * pe = device -> paintEngine ();
195 if ( type != QPaintEngine::PostScript )
eraseRect(int x, int y, int w, int h)
fill(const QColor &fillColor=Qt::white)
const QPaintDevice * device()
void open(QPaintDevice *, const QRect &, QPainter *painter=NULL)
drawPixmap(int x, int y, const QPixmap &pixmap, int sx=0, int sy=0, int sw=-1, int sh=-1)
PyArray_TYPES type(numeric::array arr)
static void setEnabled(bool enable)
QwtPaintBuffer()
Default constructor.
translate(double dx, double dy)
QPainter * d_devicePainter
virtual ~QwtPaintBuffer()
begin(const QPaintDevice *pd, bool unclipped=FALSE)