home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
- From: jamescr@mullian.ee.mu.OZ.AU (jim crumpler)
- Newsgroups: fj.mail-lists.x-window
- Subject: transparent parts of Pixmaps ??
- Message-ID: <1992Dec23.102629.11700@sm.sony.co.jp>
- Date: 23 Dec 92 10:26:29 GMT
- Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
- Distribution: fj
- Organization: Computer Science, University of Melbourne, Australia
- Lines: 32
- Approved: michael@sm.sony.co.jp
-
- Date: Wed, 23 Dec 1992 07:35:34 GMT
- Message-Id: <jamescr.725096134@munagin>
- Newsgroups: comp.windows.x
- Sender: xpert-request@expo.lcs.mit.edu
-
- Hi.
- After fiddling for ages trying to use XCopyArea to put a
- pixmap onto a window without stamping out a 'box', I've
- finally resorted to posting for HELP!.
-
- Say I've put a Pixmap down already, and want to put
- another Pixmap onto the window partially overlapping it.
- If the actual picture in the pixmaps isn't square, it still
- blanks out the square/retangles shape of the whole Pixmap.
-
- If I was using monochrome I could simply change the CG logical
- functions to simply 'OR' the bits together to sort of emulate
- a transparency.
-
- Is there any way to have transparent parts of a pixmap/image
- so the underlying image is not destroyed by a blank box ???
-
- (I could copy a box out of the window, 'merge' the to Pixmaps
- together by hand, and 'stamp' the box back in it's place , but this
- seems awful slow and silly).
-
-
- Thanks for any help.
-
- Jim..
-
-
-