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