home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / tcl / 2455 < prev    next >
Encoding:
Text File  |  1993-01-22  |  862 b   |  20 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!spool.mu.edu!uwm.edu!psuvax1!schwartz
  3. From: schwartz@roke.cs.psu.edu (Scott Schwartz)
  4. Subject: Lots of lines
  5. Message-ID: <C19qKM.Cz5@cs.psu.edu>
  6. Sender: news@cs.psu.edu (Usenet)
  7. Nntp-Posting-Host: roke.cs.psu.edu
  8. Distribution: comp
  9. Date: Fri, 22 Jan 1993 18:39:56 GMT
  10. Lines: 8
  11.  
  12.   I have an application that draws lots and lots of lines on a canvas.
  13. So many lines, in fact, that using the builtin canvas segment command
  14. is impossibly inefficient, largely because it results in one X request
  15. per segment, but also because of all the tcl activity.  What I've done
  16. is to provide a new canvas command, "segments", which draws N
  17. disconnected line segments (in one X operation), but is otherwise
  18. similar to the "segment" command.  I'd like to see something along
  19. these lines as a standard part of Tk; what do you all think?
  20.