Re: Accessing the animated position of an SVG element

Alex Danilo:
> Yes, and it's the CTM on the <g> that gets the supplemental transform,
> so for the <g> getCTM() probably(?) doesn't need to change for the motion.
> 
> I did say "rect" in the above quoted text, not <g>.

Looks like I totally misread the OP’s original fragment; I thought the
<animateMotion> was on the <rect>.

> Once you get inside the <g> and look at the CTM being applied to
> the <rect> it's taken the animateMotion into account, otherwise what
> gets returned from getCTM isn't much use.

OK, right.

> Anyway, I'll stop there. Too many emails this week:-)

:)

-- 
Cameron McCormack ≝ http://mcc.id.au/

Received on Wednesday, 20 October 2010 05:09:22 UTC