home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 18878 < 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: westhawk!thp@scslwide.sony.co.jp (Timothy H Panton)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: Re: An Open Challenge (it can't be done!)
  5. Message-ID: <1992Dec23.122342.14237@sm.sony.co.jp>
  6. Date: 23 Dec 92 12:23:42 GMT
  7. Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
  8. Distribution: fj
  9. Organization: Workstation Div., Supermicro Systems Group, Sony Corporation
  10. Lines: 25
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: Wed, 23 Dec 92 10:58:07 GMT
  14. Message-Id: <9212231058.AA09813@westhawk.uucp>
  15. X-Sun-Charset: US-ASCII
  16. Content-Length: 812
  17.  
  18.  
  19. > Here's the short form:
  20. >  - 8 bit image in backing pixmap used to update window
  21. >  - Image drawn in 8 bit X window
  22. >  - Want to draw diagonal lines on top of image that can
  23. >    be removed quickly (i.e. replace them with the data they so
  24. >    recently covered)
  25. >  - Can't do server extensions (too many platforms to support)
  26. > Betcha can't do it!
  27.  
  28. You don't say that the image changes quickly, so you could try creating
  29. a child window on top of your image, with window the background_pixmap
  30. as none. This window will copy the bits of the image. You can now draw
  31. in this window. When you want to erase the line just destroy the
  32. window, the main image will then be exposed.
  33.  
  34. I don't know if this will work well enough, but it might be worth trying.
  35.  
  36. Yet another thing NeWS has - transparent canvases. Sigh.
  37. Tim.
  38.