[comp.windows.x] Bugs in XSetStipple/XSetFillStyle ?

arnar@cs.hw.ac.uk (Arnar Nesset) (08/19/90)

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