W3C home > Mailing lists > Public > www-svg@w3.org > October 2010

Re: Accessing the animated position of an SVG element

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 20 Oct 2010 18:08:43 +1300
To: Alex Danilo <alex@abbra.com>
Cc: Shane Stephens <shans@google.com>, www-svg@w3.org
Message-ID: <20101020050843.GB11508@wok.mcc.id.au>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:23 UTC