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) { |