22 #if QT_VERSION < 0x040000 25 #include <QtGui/QPaintEngine> 26 #include <QtGui/QPixmap> 35 #if QT_VERSION < 0x040000 38 bool QwtPaintBuffer::d_enabled =
true;
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)
QwtPaintBuffer()
Default constructor.
virtual ~QwtPaintBuffer()
QPainter * d_devicePainter
drawPixmap(int x, int y, const QPixmap &pixmap, int sx=0, int sy=0, int sw=-1, int sh=-1)
void open(QPaintDevice *, const QRect &, QPainter *painter=NULL)
PyArray_TYPES type(numeric::array arr)
const QPaintDevice * device()
translate(double dx, double dy)
static void setEnabled(bool enable)
begin(const QPaintDevice *pd, bool unclipped=FALSE)