Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!mcvax!unido!ztivax!tumuc!lan!stumpf From: stumpf@lan.informatik.tu-muenchen.dbp.de (Markus Stumpf) Newsgroups: comp.windows.x Subject: question: XCopyArea and FillStippled Message-ID: <1010@infovax.lan.informatik.tu-muenchen.dbp.de> Date: 7 Jun 89 18:23:10 GMT Reply-To: stumpf@lan.informatik.tu-muenchen.dbp.de (Markus Stumpf) Organization: Inst. fuer Informatik, TU Muenchen, W. Germany Lines: 34 Hello, I have a problem with the XCopyArea call of Xlib: Does this function support Tiling and Stippling? In my program I create a Pixmap looking like .X.X X.X. .X.X X.X. using XCreatePixmapFromBitmapData(), get a "default" GC with XCreateGC, but with a PlaneMask of AllPlanes and with a FillStyle of FillStippled. I then XSetStipple() this GC with the tiling pixmap and do XCopyArea() a Pixmap (containing a symbol) to another. Later in the program I do XCopyArea the later Pixmap into a window, using the server's DefaultGC, but the symbol is shown solid instead of stippled. If I draw a string with the "stippleGC", everything works right and looks like I think it should. Same with XFillRectangle() - everything is fine! Any hints would be appreciated. I'm using X.V11R3 with all 10 patches and the Perdue speedups in, running on a mVax II with qvss display. Everything compiled with gcc-1.31. Thanks in advance \Maex +------------------------------------------------------------------------------+ | Markus Stumpf | | TU Muenchen local: lan.informatik.tu-muenchen.dbp.de | | Inst. f. Informatik DFN: stumpf@{local} | | Arcisstrasse UUCP: stumpf%{local}@unido.uucp | | D-8000 Muenchen ARPA/CS: stumpf%{local}@relay.cs.net | | West Germany BITNET: infrza02@dm0tui1s.bitnet | +------------------------------------------------------------------------------+