src/gui/painting/qpaintengine_x11.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
equal deleted inserted replaced
6:dee5afe5301f 8:3f74d0d4af4c
  1987             QColormap cmap = QColormap::instance(d->scrn);
  1987             QColormap cmap = QColormap::instance(d->scrn);
  1988             XSetForeground(d->dpy, d->gc, cmap.pixel(d->cpen.color()));
  1988             XSetForeground(d->dpy, d->gc, cmap.pixel(d->cpen.color()));
  1989         }
  1989         }
  1990         XFillRectangle(d->dpy, d->hd, d->gc, x, y, sw, sh);
  1990         XFillRectangle(d->dpy, d->hd, d->gc, x, y, sw, sh);
  1991         restore_clip = true;
  1991         restore_clip = true;
       
  1992     } else if (mono_dst && !mono_src) {
       
  1993         QBitmap bitmap(pixmap);
       
  1994         XCopyArea(d->dpy, bitmap.handle(), d->hd, d->gc, sx, sy, sw, sh, x, y);
  1992     } else {
  1995     } else {
  1993         XCopyArea(d->dpy, pixmap.handle(), d->hd, d->gc, sx, sy, sw, sh, x, y);
  1996         XCopyArea(d->dpy, pixmap.handle(), d->hd, d->gc, sx, sy, sw, sh, x, y);
  1994     }
  1997     }
  1995 
  1998 
  1996     if (d->pdev->devType() == QInternal::Pixmap) {
  1999     if (d->pdev->devType() == QInternal::Pixmap) {