home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 18875 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.4 KB

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