home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!jamescr
- From: jamescr@mullian.ee.mu.OZ.AU (jim crumpler)
- Subject: transparent parts of Pixmaps ??
- Message-ID: <jamescr.725096134@munagin>
- Sender: news@cs.mu.OZ.AU
- Organization: Computer Science, University of Melbourne, Australia
- Date: Wed, 23 Dec 1992 07:35:34 GMT
- Lines: 27
-
- 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..
-
-
-