Path: utzoo!attcan!uunet!husc6!bloom-beacon!mit-eddie!rutgers!ucsd!ucsdhub!hp-sdd!hplabs!hpda!hpcuhb!hp-sde!hpcea!hpnmdla!brucek From: brucek@hpnmdla.HP.COM (Bruce Kleinman) Newsgroups: comp.windows.x Subject: Pixmap with 'transparent' background? Message-ID: <990001@hpnmdla.HP.COM> Date: 10 Aug 88 01:04:57 GMT Organization: HP Network Measurements Div, Santa Rosa, CA Lines: 17 How does one selectively mask a pixmap into a drawable? I want a bitmap with a white foreground and a 'transparent' background. What I am looking for is the X11 equivalent to XPixmapBitsPutZ under X10. This routine had a mask argument, type Bitmap, indicating which bits to modify. From the man page ... " The area modified will be controlled by the mask argument, if it is non-zero. Only the bits in the mask will be modified on on the screen. " The GC's clip_mask is not a good solution, as it is fixed with respect to the window (modifying clip_[xy]_origin continuously is unacceptable). Ideas? Bruce Kleinman brucek%hpnmd@ce.hp.com -or- ....hplabs!hpnmd!brucek Hewlett Packard - Network Measurements Division Santa Rosa, California