SVGLocatable::getTransformToElement()

Hey all,

Could anyone help me understand what
SVGLocatable::getTransformToElement() does exactly? It is defined at
http://www.w3.org/TR/SVG/types.html#InterfaceSVGLocatable

Is it returning a matrix with all the inherited transforms computed?

For example would calling getTransformToElement() on the following <rect
/> ...

  <g transform="translate(20,10)">
    <rect width="100" height="100" transform="translate(50,50)" />
  </g>

... return (1, 0, 0, 1, 70, 60)?

Thanks for clarification.

antoine

Received on Tuesday, 25 September 2001 12:51:41 UTC