Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uunet!mcsun!ukc!edcastle!hwcs!arnar From: arnar@cs.hw.ac.uk (Arnar Nesset) Newsgroups: comp.windows.x Subject: Bugs in XSetStipple/XSetFillStyle ? Message-ID: <1329@odin.cs.hw.ac.uk> Date: 19 Aug 90 16:00:15 GMT Sender: news@cs.hw.ac.uk Reply-To: arnar@cs.hw.ac.uk (Arnar Nesset) Organization: Computer Science, Heriot-Watt U., Scotland Lines: 20 At my university we use X11 Release 3 (I believe), and this concerns programming in Xlib. I'm using the so-called convenience functions XSetStipple and XSetFillStyle to be able to fill areas with my patterns. They do however affect the LineStyle attribute of the same GC as well, because when I draw something after the patterns, they come out in a funny LineStyle I never set. If I change my GC the 'heavy' way, by assigning valuemask and value and XChangeGC with those parameters, it works perfectly OK. But as far as I understand these two methods should produce the same output. Has anyone experienced this? Are the creators aware of this? I just wanted to let you know. --- Arnar Nesset Dept. of Computer Science, Heriot-Watt University, Edinburgh arnar@uk.ac.hw.cs