Re: XForms: colormap

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 11 Dec 98 07:18:29 PST

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> Anyone know how to shade an area of a pixmap. What I want to do is darken
> all the pixels within a bounding area so it looks shaded.

Check the function XSetStipple(). Exactly how you'd apply it to only
a segment of a Pixmap, I'm not sure -- perhaps some sort playing with
XCopyArea() in conjunction with it.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/