home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
- From: westhawk!thp@scslwide.sony.co.jp (Timothy H Panton)
- Newsgroups: fj.mail-lists.x-window
- Subject: Re: An Open Challenge (it can't be done!)
- Message-ID: <1992Dec23.122342.14237@sm.sony.co.jp>
- Date: 23 Dec 92 12:23:42 GMT
- Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
- Distribution: fj
- Organization: Workstation Div., Supermicro Systems Group, Sony Corporation
- Lines: 25
- Approved: michael@sm.sony.co.jp
-
- Date: Wed, 23 Dec 92 10:58:07 GMT
- Message-Id: <9212231058.AA09813@westhawk.uucp>
- X-Sun-Charset: US-ASCII
- Content-Length: 812
-
-
- > 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.
-