home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / tcl / 2197 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  804 b 

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!news-is-not-mail
  2. From: capo@cs.utexas.edu (Charles Read)
  3. Newsgroups: comp.lang.tcl
  4. Subject: possible new option for canvas-rectangles
  5. Date: 21 Dec 1992 17:21:46 -0600
  6. Organization: CS Dept, University of Texas at Austin
  7. Lines: 13
  8. Message-ID: <1h5jiaINNnfa@im4u.cs.utexas.edu>
  9. NNTP-Posting-Host: im4u.cs.utexas.edu
  10. Keywords: canvas, rectangle, GC
  11.  
  12. Many X applications that have a zooming
  13. or "rubber-banding" feature programmed
  14. for MotionNotify events rely on a GC
  15. whose GCFunction bit is set to GXxor.
  16. This provides a convenient way to draw
  17. rectangles non-destructively. It would
  18. be nice if canvas-rectangles used a GC
  19. whose GCFunction bit was configurable.
  20. I suppose the same suggestion could
  21. be helpful for canvas-lines, too.
  22.  
  23. -c
  24.  
  25.