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

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!think.com!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  3. From: thp@westhawk.UUCP (Timothy H Panton)
  4. Subject: Re: An Open Challenge (it can't be done!)
  5. Message-ID: <9212231058.AA09813@westhawk.uucp>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Organization: The Internet
  8. Date: Wed, 23 Dec 1992 10:58:07 GMT
  9. Lines: 20
  10.  
  11.  
  12. > Here's the short form:
  13. >  - 8 bit image in backing pixmap used to update window
  14. >  - Image drawn in 8 bit X window
  15. >  - Want to draw diagonal lines on top of image that can
  16. >    be removed quickly (i.e. replace them with the data they so
  17. >    recently covered)
  18. >  - Can't do server extensions (too many platforms to support)
  19. > Betcha can't do it!
  20.  
  21. You don't say that the image changes quickly, so you could try creating
  22. a child window on top of your image, with window the background_pixmap
  23. as none. This window will copy the bits of the image. You can now draw
  24. in this window. When you want to erase the line just destroy the
  25. window, the main image will then be exposed.
  26.  
  27. I don't know if this will work well enough, but it might be worth trying.
  28.  
  29. Yet another thing NeWS has - transparent canvases. Sigh.
  30. Tim.
  31.