home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20515 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.2 KB  |  38 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!jamescr
  3. From: jamescr@mullian.ee.mu.OZ.AU (jim crumpler)
  4. Subject: transparent parts of Pixmaps ??
  5. Message-ID: <jamescr.725096134@munagin>
  6. Sender: news@cs.mu.OZ.AU
  7. Organization: Computer Science, University of Melbourne, Australia
  8. Date: Wed, 23 Dec 1992 07:35:34 GMT
  9. Lines: 27
  10.  
  11. Hi.
  12.     After fiddling for ages trying to use XCopyArea to put a
  13.     pixmap onto a window without stamping out a 'box', I've
  14.     finally resorted to posting for HELP!.
  15.             
  16.     Say I've put a Pixmap down already, and want to put
  17.     another Pixmap onto the window partially overlapping it.
  18.     If the actual picture in the pixmaps isn't square, it still
  19.     blanks out the square/retangles shape of the whole Pixmap.
  20.  
  21.     If I was using monochrome I could simply change the CG logical
  22.     functions to simply 'OR' the bits together to sort of emulate
  23.     a transparency. 
  24.     
  25.     Is there any way to have transparent parts of a pixmap/image
  26.     so the underlying image is not destroyed by a blank box ???
  27.  
  28.     (I could copy a box out of the window, 'merge' the to Pixmaps
  29.     together by hand, and 'stamp' the box back in it's place , but this
  30.     seems awful slow and silly).
  31.  
  32.     
  33. Thanks for any help.
  34.  
  35. Jim..
  36.     
  37.     
  38.