Re: canvas drawing speed

From: Erick Gallesio <eg_at_kaolin.unice.fr>
Date: Tue, 28 Feb 1995 22:41:45 +0000

> I was wondering if anyone could give me a subjective idea of how fast
> drawing in the canvas is when going through STk.
>
> I compiled STk and ran several of the demos last night. turtle.stk in
> particular does a lot of line drawing, and I noticed it wasn't
> particularly quick. Maybe it's just doing a lot of calculations or
> something? I want to use the canvas to dynamically update a scrolled
> display with lots of lines.

Canvases are not too fast (this is due to the way Tk implement them).
But they are not too slow too :)

>
> Along the same vein, is there any way to move regions of the canvas
> around quickly without individually translating every object?
>

You cannot move easily a region (i.e. a rectangle of the canvas to another
place), but "tags" permits to move a set of object in one shot (and it is
fast!).


Hope it helps.

                -- Erick
Received on Tue Feb 28 1995 - 22:41:46 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST