Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A Dumb Canvas?

2 views
Skip to first unread message

Glen Fullmer

unread,
Nov 26, 1993, 8:32:12 AM11/26/93
to
I am in the process of rewriting a C program in TCL that I wrote for the
Amiga. Tcl is impressive. The user interface code that took me six weeks to
write in C took me only 1.5 hours to write in tcl! (It was my first major
Amiga program, so I had to learn the Amiga too, but I am learning tcl the
same way)

Looking at all the functionality of tcl, I figure I can write the whole
application in tcl. There is one problem I have with canvases. I would like
to write a pixel without having the overhead of Tcl building a data structure
for the canvas with a record of each of its pixels. It is ok with a couple
of tens of thousands of pixels but anything beyond that (i.e. 500k pixels)
gets a little obscene. This implies writing a pixel on a canvas with color
at a location without this overhead. I am currently writing a pixel with the
create line x y x y+1 canvas command. I am amazed that it works as well as it
does. Any ideas?

--
Glen Fullmer, glen_f...@pts.mot.com, (407)364-3296
*******************************************************************************
* "For a successful technology, reality must take precedence *
* over public relations, for Nature cannot be fooled." - Richard P. Feynman *
*******************************************************************************

0 new messages