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