Re: canvas enhancement

From: Jeff Godfrey (jeff_godfrey_at_pobox.com)
Date: 06/04/04


Date: Thu, 3 Jun 2004 22:21:23 -0500


"Tom Krehbiel" <tom.krehbiel@freescale.com> wrote in message
news:67aa8e45.0406031537.abd83e4@posting.google.com...
: Jeff,
: Just for fun I implemented Astrodids on a canvas, but couldn't finish
: it because it was to slow on my 266MHz Pentem II. The way you move
: objects it to tag all the points in the object and then do a move on
: the the tag. Doing coordinate transforms and rotation is still a
: problem
: Tom Krehbiel

Tom,

I really haven't had to resort to that level, as I created most of my
objects with polygons - so I can tag the entire object and "move" it with
said tag. Again, what I have is working fine, I just found myself wishing I
could move vector-type objects to an absolute canvas coordinate (quickly).
Since we have the ability to move (vector based) objects *incrementally*, it
just seems that there should be a similar command to move (vector based)
objects to an *absolute* position (other than iterating through all points
and modifying them using "coords"). Obviously, there are some issues with
this, such as vector objects don't generally have an "anchor" position.

Anyway, I don't have strong feelings about this - it just seems to be a
"missing" functionality.

Jeff



Relevant Pages